Searched refs:numpaths (Results 1 – 1 of 1) sorted by relevance
406 size_t numpaths = 0; in ifapi_io_dirfiles() local428 if (numpaths % 10 == 9) { in ifapi_io_dirfiles()430 paths = reallocarray(paths, numpaths + 10, sizeof(*paths)); in ifapi_io_dirfiles()432 paths = realloc(paths, (numpaths + 10) * sizeof(*paths)); in ifapi_io_dirfiles()439 paths[numpaths] = strdup(entry->d_name); in ifapi_io_dirfiles()440 if (!paths[numpaths]) in ifapi_io_dirfiles()443 LOG_TRACE("Added %s to the list at index %zi", paths[numpaths], numpaths); in ifapi_io_dirfiles()444 numpaths += 1; in ifapi_io_dirfiles()449 *numfiles = numpaths; in ifapi_io_dirfiles()456 for (size_t i = 0; i < numpaths; i++) in ifapi_io_dirfiles()