/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/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/grpc/src/core/lib/gpr/ |
D | tmpfile_windows.cc | 38 TCHAR tmp_path[MAX_PATH]; in gpr_tmpfile() local 50 status = GetTempPath(MAX_PATH, tmp_path); in gpr_tmpfile() 54 success = GetTempFileName(tmp_path, template_string, 0, tmp_filename); in gpr_tmpfile()
|
/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 | 390 char *tmp_path, *p; in realpath_not_final() local 394 tmp_path = strdup(name); in realpath_not_final() 395 if (!tmp_path) { in realpath_not_final() 402 last_component = strrchr(tmp_path, '/'); in realpath_not_final() 404 if (last_component == tmp_path) { in realpath_not_final() 410 p = realpath(tmp_path, resolved_path); in realpath_not_final() 412 last_component = tmp_path; in realpath_not_final() 437 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/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | common.py | 353 tmp_fd, self.tmp_path = tempfile.mkstemp( 361 os.unlink(self.tmp_path) 375 same = filecmp.cmp(self.tmp_path, filename, False) 383 os.unlink(self.tmp_path) 397 os.chmod(self.tmp_path, 0o666 & ~umask) 403 os.rename(self.tmp_path, filename) 406 os.unlink(self.tmp_path)
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | common.py | 365 tmp_fd, self.tmp_path = tempfile.mkstemp( 374 os.unlink(self.tmp_path) 388 same = filecmp.cmp(self.tmp_path, filename, False) 396 os.unlink(self.tmp_path) 412 os.chmod(self.tmp_path, 0o666 & ~umask) 418 os.rename(self.tmp_path, filename) 421 os.unlink(self.tmp_path)
|
/third_party/boost/tools/build/src/tools/ |
D | msvc.py | 960 tmp_path = None 962 tmp_path = feature.get_values('<command>', options) 964 if tmp_path: 965 tmp_path="".join(tmp_path) 966 tmp_path=os.path.dirname(tmp_path) 976 tmp_path = os.path.normpath(vc_path) 979 if not tmp_path and var_name in globals(): 980 … tmp_path = os.path.normpath(os.path.join(common.get_program_files_dir(), globals()[var_name])) 981 return tmp_path
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/ |
D | SDL_waylandmouse.c | 67 char tmp_path[PATH_MAX]; in wayland_create_tmp_file() local 75 SDL_strlcpy(tmp_path, xdg_path, PATH_MAX); in wayland_create_tmp_file() 76 SDL_strlcat(tmp_path, template, PATH_MAX); in wayland_create_tmp_file() 78 fd = mkostemp(tmp_path, O_CLOEXEC); in wayland_create_tmp_file()
|
/third_party/boost/libs/serialization/test/ |
D | test_tools.hpp | 93 boost::filesystem::path tmp_path = in test_filename() local 95 std::strcat(ibuffer, tmp_path.string().c_str()); in test_filename()
|
/third_party/libinput/tools/ |
D | test_tool_option_parsing.py | 312 def recording(tmp_path): argument 313 return str((tmp_path / 'record.out').resolve())
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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/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/libdrm/ |
D | xf86drm.c | 3621 char *value, *tmp_path, *slash; in drm_usb_dev_path() local 3636 tmp_path = realpath(path, NULL); in drm_usb_dev_path() 3637 if (!tmp_path) in drm_usb_dev_path() 3640 slash = strrchr(tmp_path, '/'); in drm_usb_dev_path() 3642 free(tmp_path); in drm_usb_dev_path() 3648 if (snprintf(path, len, "%s", tmp_path) >= (int)len) { in drm_usb_dev_path() 3649 free(tmp_path); in drm_usb_dev_path() 3653 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/boost/libs/filesystem/test/ |
D | operations_test.cpp | 2082 fs::path tmp_path = fs::temp_directory_path(ec); in temp_directory_path_tests() local 2084 BOOST_TEST_EQ(p, tmp_path); in temp_directory_path_tests() 2093 fs::path tmp_path = fs::temp_directory_path(ec); in temp_directory_path_tests() local 2094 BOOST_TEST_EQ(tmp_path, fs::initial_path()); in temp_directory_path_tests()
|
/third_party/weston/clients/ |
D | weston-info.c | 688 struct tablet_v2_path *tmp_path; in destroy_tablet_pad_info() local 695 wl_list_for_each_safe(path, tmp_path, &info->paths, link) { in destroy_tablet_pad_info()
|
/third_party/curl/lib/ |
D | ftp.c | 3907 char *tmp_path = aprintf("%s%s", wildcard->path, finfo->filename); in wc_statemach() local 3908 if(!tmp_path) in wc_statemach() 3913 ftp->pathalloc = ftp->path = tmp_path; in wc_statemach()
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/runner/ |
D | flutter_command_runner.dart | 292 // --bug-report implies --record-to=<tmp_path>
|