Home
last modified time | relevance | path

Searched refs:tmp_path (Results 1 – 17 of 17) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/nftw/
Dlib.c32 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()
Dlib64.c32 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/
Dlinux-inotify.c95 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/
Dtest_c_parser.py80 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/
Dmatchpathcon.c390 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/
Dpull-from-upstream.sh35 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/
Dcommon.py365 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/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dcommon.py353 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/flutter/skia/third_party/externals/sdl/src/video/wayland/
DSDL_waylandmouse.c67 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/elfutils/debuginfod/
Ddebuginfod-client.c1925 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/
Dtest_tool_option_parsing.py325 def recording(tmp_path): argument
326 return str((tmp_path / "record.out").resolve())
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dwpa_debug.c151 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/
Dwpa_debug.c151 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/
Dxf86drm.c4079 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/
Dtest_runpy.py767 def tmp_path(*args, **kwargs): member in TestExit
773 with self.tmp_path() as tmp:
/third_party/python/Lib/
Dmailbox.py363 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/flutter/flutter/packages/flutter_tools/lib/src/runner/
Dflutter_command_runner.dart292 // --bug-report implies --record-to=<tmp_path>