Home
last modified time | relevance | path

Searched refs:pathbuf (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/realtime/func/pi-tests/
Dtestpi-0.c74 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/
Dfilesystem_utils.cc507 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/
Ddynload_shlib.c67 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/
Dnftw.c111 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/
Dnftw.c149 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/
Dmem.c632 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/
Dkqueue.c471 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/
Dkqueue.c471 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/
Dhttp.c2048 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()