/third_party/ltp/testcases/kernel/syscalls/nftw/ |
D | lib.c | 32 static char *tmp_path = "./tmp"; variable 65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer() 72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer() 79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer() 140 strcpy(buffer, tmp_path); in test_long_file_name() 162 strcpy(buffer, tmp_path); in test_long_component_name() 183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path() 191 tmp_path, pcPathMax); in test_ENAMETOOLONG_path() 200 path = strcpy(path, tmp_path); in test_ENAMETOOLONG_path() 209 tmpPtr += sprintf(tmpPtr, "/%s", tmp_path); in test_ENAMETOOLONG_path()
|
D | lib64.c | 32 static char *tmp_path = "./tmp"; variable 65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer() 72 if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { in get_long_name_buffer() 79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer() 140 strcpy(buffer, tmp_path); in test_long_file_name() 162 strcpy(buffer, tmp_path); in test_long_component_name() 183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path() 191 tmp_path, pcPathMax); in test_ENAMETOOLONG_path() 200 path = strcpy(path, tmp_path); in test_ENAMETOOLONG_path() 209 tmpPtr += sprintf(tmpPtr, "/%s", tmp_path); in test_ENAMETOOLONG_path()
|
/third_party/node/deps/v8/gni/ |
D | protoc.py | 29 tmp_path = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) 32 tmp_path 37 with open(tmp_path, 'rb') as tmp_rd: 40 if os.path.exists(tmp_path): 41 os.unlink(tmp_path)
|
/third_party/libuv/src/unix/ |
D | linux-inotify.c | 95 char* tmp_path; in uv__inotify_fork() local 120 tmp_path = uv__strdup(handle->path); in uv__inotify_fork() 121 assert(tmp_path != NULL); in uv__inotify_fork() 127 handle->path = tmp_path; in uv__inotify_fork() 138 tmp_path = handle->path; in uv__inotify_fork() 140 err = uv_fs_event_start(handle, handle->cb, tmp_path, 0); in uv__inotify_fork() 141 uv__free(tmp_path); in uv__inotify_fork()
|
/third_party/node/deps/uv/src/unix/ |
D | linux-inotify.c | 95 char* tmp_path; in uv__inotify_fork() local 120 tmp_path = uv__strdup(handle->path); in uv__inotify_fork() 121 assert(tmp_path != NULL); in uv__inotify_fork() 127 handle->path = tmp_path; in uv__inotify_fork() 138 tmp_path = handle->path; in uv__inotify_fork() 140 err = uv_fs_event_start(handle, handle->cb, tmp_path, 0); in uv__inotify_fork() 141 uv__free(tmp_path); in uv__inotify_fork()
|
/third_party/python/Lib/test/test_peg_generator/ |
D | test_c_parser.py | 80 self.tmp_path = tempfile.mkdtemp() 81 change_cwd = os_helper.change_cwd(self.tmp_path) 87 shutil.rmtree(self.tmp_path) 93 generate_parser_c_extension(grammar, Path(self.tmp_path)) 100 TEST_TEMPLATE.format(extension_path=self.tmp_path, test_source=test_source),
|
/third_party/selinux/libselinux/src/ |
D | matchpathcon.c | 387 char *tmp_path, *p; in realpath_not_final() local 391 tmp_path = strdup(name); in realpath_not_final() 392 if (!tmp_path) { in realpath_not_final() 399 last_component = strrchr(tmp_path, '/'); in realpath_not_final() 401 if (last_component == tmp_path) { in realpath_not_final() 407 p = realpath(tmp_path, resolved_path); in realpath_not_final() 409 last_component = tmp_path; in realpath_not_final() 434 free(tmp_path); in realpath_not_final()
|
/third_party/icu/vendor/double-conversion/ |
D | pull-from-upstream.sh | 35 tmp_path="$patch_root_tmp/$2.patch"; 36 diff -u "$old_vendor_path" "$icu4c_path" > "$tmp_path"; 38 patch --merge "$icu4c_path" < "$tmp_path";
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | common.py | 360 tmp_fd, self.tmp_path = tempfile.mkstemp( 369 os.unlink(self.tmp_path) 383 same = filecmp.cmp(self.tmp_path, filename, False) 391 os.unlink(self.tmp_path) 407 os.chmod(self.tmp_path, 0o666 & ~umask) 413 os.rename(self.tmp_path, filename) 416 os.unlink(self.tmp_path)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | common.py | 360 tmp_fd, self.tmp_path = tempfile.mkstemp( 369 os.unlink(self.tmp_path) 383 same = filecmp.cmp(self.tmp_path, filename, False) 391 os.unlink(self.tmp_path) 407 os.chmod(self.tmp_path, 0o666 & ~umask) 413 os.rename(self.tmp_path, filename) 416 os.unlink(self.tmp_path)
|
/third_party/elfutils/debuginfod/ |
D | debuginfod-client.c | 1925 char *tmp_path = NULL; in debuginfod_find_section() local 1927 fd = debuginfod_find_debuginfo (client, build_id, build_id_len, &tmp_path); in debuginfod_find_section() 1935 free (tmp_path); in debuginfod_find_section() 1941 rc = extract_section (fd, section, tmp_path, path); in debuginfod_find_section() 1949 build_id_len, &tmp_path); in debuginfod_find_section() 1952 rc = extract_section (fd, section, tmp_path, path); in debuginfod_find_section() 1957 free (tmp_path); in debuginfod_find_section()
|
/third_party/libinput/tools/ |
D | test_tool_option_parsing.py | 325 def recording(tmp_path): argument 326 return str((tmp_path / "record.out").resolve())
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | wpa_debug.c | 151 char *tmp2, *tmp_path, *fstype; in wpa_debug_open_linux_tracing() local 154 tmp_path = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing() 157 path = tmp_path; in wpa_debug_open_linux_tracing()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | wpa_debug.c | 153 char *tmp2, *tmp_path, *fstype; in wpa_debug_open_linux_tracing() local 156 tmp_path = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing() 159 path = tmp_path; in wpa_debug_open_linux_tracing()
|
/third_party/libdrm/ |
D | xf86drm.c | 4079 char *value, *tmp_path, *slash; in drm_usb_dev_path() local 4099 tmp_path = realpath(path, NULL); in drm_usb_dev_path() 4100 if (!tmp_path) in drm_usb_dev_path() 4103 slash = strrchr(tmp_path, '/'); in drm_usb_dev_path() 4105 free(tmp_path); in drm_usb_dev_path() 4111 if (snprintf(path, len, "%s", tmp_path) >= (int)len) { in drm_usb_dev_path() 4112 free(tmp_path); in drm_usb_dev_path() 4116 free(tmp_path); in drm_usb_dev_path()
|
/third_party/python/Lib/test/ |
D | test_runpy.py | 767 def tmp_path(*args, **kwargs): member in TestExit 773 with self.tmp_path() as tmp:
|
/third_party/python/Lib/ |
D | mailbox.py | 363 tmp_path = os.path.join(self._path, temp_subpath) 366 os.utime(tmp_path, 367 (os.path.getatime(tmp_path), message.get_date())) 371 os.rename(tmp_path, new_path)
|
/third_party/curl/lib/ |
D | ftp.c | 3917 char *tmp_path = aprintf("%s%s", wildcard->path, finfo->filename); in wc_statemach() local 3918 if(!tmp_path) in wc_statemach() 3923 ftp->pathalloc = ftp->path = tmp_path; in wc_statemach()
|