Searched refs:pathbuf (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/testcases/realtime/func/pi-tests/ |
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/ |
D | filesystem_utils.cc | 507 char* pathbuf = path->empty() ? nullptr : &(*path)[0]; in NormalizePath() local 513 if (!path->empty() && pathbuf[0] == '/') { in NormalizePath() 516 if (path->size() > 1 && pathbuf[1] == '/') { in NormalizePath() 527 if (pathbuf[src_i] == '.') { in NormalizePath() 528 if (src_i == 0 || IsSlash(pathbuf[src_i - 1])) { in NormalizePath() 534 pathbuf[dest_i++] = pathbuf[src_i++]; in NormalizePath() 553 pathbuf[dest_i++] = '.'; in NormalizePath() 554 pathbuf[dest_i++] = '.'; in NormalizePath() 556 pathbuf[dest_i++] = '/'; in NormalizePath() 593 pathbuf = &(*path)[0]; in NormalizePath() [all …]
|
/third_party/python/Python/ |
D | dynload_shlib.c | 67 char pathbuf[260]; in _PyImport_FindSharedFuncptr() local 72 PyOS_snprintf(pathbuf, sizeof(pathbuf), "./%-.255s", pathname); in _PyImport_FindSharedFuncptr() 73 pathname = pathbuf; in _PyImport_FindSharedFuncptr()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
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/musl/src/misc/ |
D | nftw.c | 149 char pathbuf[PATH_MAX+1]; in nftw() local 158 memcpy(pathbuf, path, l+1); in nftw() 161 r = do_nftw(pathbuf, fn, fd_limit, flags, NULL); in nftw()
|
/third_party/ltp/testcases/kernel/mem/lib/ |
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/ |
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/node/deps/uv/src/unix/ |
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/ |
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()
|