Searched refs:pathbuf (Results 1 - 9 of 9) sorted by relevance
/third_party/ltp/testcases/realtime/func/pi-tests/ |
H A D | testpi-0.c | 74 char *pathbuf; in main() local 80 pathbuf = malloc(n); in main() 81 if (!pathbuf) in main() 83 confstr(_CS_GNU_LIBC_VERSION, pathbuf, n); in main() 85 printf("LIBC_VERSION: %s\n", pathbuf); in main() 86 free(pathbuf); in main() 89 pathbuf = malloc(n); in main() 90 if (!pathbuf) in main() 92 confstr(_CS_GNU_LIBPTHREAD_VERSION, pathbuf, n); in main() 94 printf("LIBPTHREAD_VERSION: %s\n", pathbuf); in main() [all...] |
/third_party/gn/src/gn/ |
H A D | filesystem_utils.cc | 508 char* pathbuf = path->empty() ? nullptr : &(*path)[0]; in NormalizePath() local 514 if (!path->empty() && pathbuf[0] == '/') { in NormalizePath() 517 if (path->size() > 1 && pathbuf[1] == '/') { in NormalizePath() 528 if (pathbuf[src_i] == '.') { in NormalizePath() 529 if (src_i == 0 || IsSlash(pathbuf[src_i - 1])) { in NormalizePath() 535 pathbuf[dest_i++] = pathbuf[src_i++]; in NormalizePath() 554 pathbuf[dest_i++] = '.'; in NormalizePath() 555 pathbuf[dest_i++] = '.'; in NormalizePath() 557 pathbuf[dest_ in NormalizePath() [all...] |
/third_party/python/Python/ |
H A D | dynload_shlib.c | 60 char pathbuf[260]; in _PyImport_FindSharedFuncptr() local 65 PyOS_snprintf(pathbuf, sizeof(pathbuf), "./%-.255s", pathname); in _PyImport_FindSharedFuncptr() 66 pathname = pathbuf; in _PyImport_FindSharedFuncptr()
|
/third_party/musl/src/misc/ |
H A D | nftw.c | 151 char pathbuf[PATH_MAX+1]; 160 memcpy(pathbuf, path, l+1); 163 r = do_nftw(pathbuf, fn, fd_limit, flags, NULL);
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | nftw.c | 111 char pathbuf[PATH_MAX+1]; in nftw() local 120 memcpy(pathbuf, path, l+1); in nftw() 123 r = do_nftw(pathbuf, fn, fd_limit, flags, NULL); in nftw()
|
/third_party/ltp/testcases/kernel/mem/lib/ |
H A D | mem.c | 632 char pathbuf[PATH_MAX]; in path_exist() local 635 vsnprintf(pathbuf, sizeof(pathbuf), path, ap); in path_exist() 638 return access(pathbuf, F_OK) == 0; in path_exist()
|
/third_party/libuv/src/unix/ |
H A D | kqueue.c | 468 char pathbuf[MAXPATHLEN]; in uv__fs_event() local 484 if (fcntl(handle->event_watcher.fd, F_GETPATH, pathbuf) == 0) in uv__fs_event() 485 path = uv__basename_r(pathbuf); in uv__fs_event()
|
/third_party/node/deps/uv/src/unix/ |
H A D | kqueue.c | 471 char pathbuf[MAXPATHLEN]; in uv__fs_event() local 487 if (fcntl(handle->event_watcher.fd, F_GETPATH, pathbuf) == 0) in uv__fs_event() 488 path = uv__basename_r(pathbuf); in uv__fs_event()
|
/third_party/ffmpeg/libavformat/ |
H A D | http.c | 2048 char auth[1024], pathbuf[1024], *path; in http_proxy_open() local 2060 pathbuf, sizeof(pathbuf), uri); in http_proxy_open() 2062 path = pathbuf; in http_proxy_open()
|
Completed in 15 milliseconds