Searched refs:bufStart (Results 1 – 6 of 6) sorted by relevance
490 UTIL_STATIC int UTIL_prepareFileList(const char* dirName, char** bufStart, size_t* pos, char** bufE… in UTIL_prepareFileList() argument527 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd); /* Recursively call "UTIL_prepareFi… in UTIL_prepareFileList()528 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()531 if (*bufStart + *pos + pathLength >= *bufEnd) { in UTIL_prepareFileList()532 ptrdiff_t newListSize = (*bufEnd - *bufStart) + LIST_SIZE_INCREASE; in UTIL_prepareFileList()533 *bufStart = (char*)UTIL_realloc(*bufStart, newListSize); in UTIL_prepareFileList()534 *bufEnd = *bufStart + newListSize; in UTIL_prepareFileList()535 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()537 if (*bufStart + *pos + pathLength < *bufEnd) { in UTIL_prepareFileList()538 strncpy(*bufStart + *pos, path, *bufEnd - (*bufStart + *pos)); in UTIL_prepareFileList()[all …]
459 int bufStart = buf.length(); in parseSection() local692 if (isSegment && buf.length() == bufStart) { in parseSection()
458 int bufStart = buf.length(); in parseSection() local691 if (isSegment && buf.length() == bufStart) { in parseSection()
411 int32_t bufStart = buf.length(); in parseSection() local651 if (isSegment && buf.length() == bufStart) { in parseSection()