Lines Matching refs:pos

445 UTIL_STATIC int UTIL_prepareFileList(const char* dirName, char** bufStart, size_t* pos, char** bufE…  in UTIL_prepareFileList()  argument
482 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd); /* Recursively call "UTIL_prepareFi… in UTIL_prepareFileList()
486 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
492 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
493 strncpy(*bufStart + *pos, path, *bufEnd - (*bufStart + *pos)); in UTIL_prepareFileList()
494 *pos += pathLength + 1; in UTIL_prepareFileList()
511 UTIL_STATIC int UTIL_prepareFileList(const char* dirName, char** bufStart, size_t* pos, char** bufE… in UTIL_prepareFileList() argument
540 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd); /* Recursively call "UTIL_prepareFi… in UTIL_prepareFileList()
543 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()
549 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()
550 strncpy(*bufStart + *pos, path, *bufEnd - (*bufStart + *pos)); in UTIL_prepareFileList()
551 *pos += pathLength + 1; in UTIL_prepareFileList()
570 UTIL_STATIC int UTIL_prepareFileList(const char* dirName, char** bufStart, size_t* pos, char** bufE… in UTIL_prepareFileList() argument
572 (void)bufStart; (void)bufEnd; (void)pos; in UTIL_prepareFileList()
589 size_t pos; in UTIL_createFileList() local
597 for (i=0, pos=0, nbFiles=0; i<inputNamesNb; i++) { in UTIL_createFileList()
600 if (pos + len >= bufSize) { in UTIL_createFileList()
601 while (pos + len >= bufSize) bufSize += LIST_SIZE_INCREASE; in UTIL_createFileList()
605 assert(pos + len < bufSize); in UTIL_createFileList()
606 memcpy(buf + pos, inputNames[i], len); in UTIL_createFileList()
607 pos += len; in UTIL_createFileList()
611 nbFiles += (unsigned)UTIL_prepareFileList(inputNames[i], &buf, &pos, &bufend); in UTIL_createFileList()
622 for (i=0, pos=0; i<nbFiles; i++) { in UTIL_createFileList()
623 fileTable[i] = buf + pos; in UTIL_createFileList()
624 pos += strlen(fileTable[i]) + 1; in UTIL_createFileList()
627 if (pos > bufSize) { in UTIL_createFileList()