Searched refs:fnameLength (Results 1 – 2 of 2) sorted by relevance
/external/lz4/programs/ |
D | util.h | 417 int const fnameLength = (int)strlen(cFile.cFileName); in UTIL_prepareFileList() local 418 path = (char*) malloc(dirLength + fnameLength + 2); in UTIL_prepareFileList() 422 memcpy(path+dirLength+1, cFile.cFileName, fnameLength); in UTIL_prepareFileList() 423 pathLength = dirLength+1+fnameLength; in UTIL_prepareFileList() 473 int fnameLength, pathLength; in UTIL_prepareFileList() local 476 fnameLength = (int)strlen(entry->d_name); in UTIL_prepareFileList() 477 path = (char*) malloc(dirLength + fnameLength + 2); in UTIL_prepareFileList() 481 memcpy(path+dirLength+1, entry->d_name, fnameLength); in UTIL_prepareFileList() 482 pathLength = dirLength+1+fnameLength; in UTIL_prepareFileList()
|
/external/zstd/programs/ |
D | util.c | 533 size_t const fnameLength = strlen(cFile.cFileName); in UTIL_prepareFileList() local 534 path = (char*) malloc(dirLength + fnameLength + 2); in UTIL_prepareFileList() 538 memcpy(path+dirLength+1, cFile.cFileName, fnameLength); in UTIL_prepareFileList() 539 pathLength = dirLength+1+fnameLength; in UTIL_prepareFileList() 589 size_t fnameLength, pathLength; in UTIL_prepareFileList() local 592 fnameLength = strlen(entry->d_name); in UTIL_prepareFileList() 593 path = (char*) malloc(dirLength + fnameLength + 2); in UTIL_prepareFileList() 598 memcpy(path+dirLength+1, entry->d_name, fnameLength); in UTIL_prepareFileList() 599 pathLength = dirLength+1+fnameLength; in UTIL_prepareFileList()
|