Home
last modified time | relevance | path

Searched refs:temp_fd (Results 1 – 11 of 11) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/fsconfig/
Dfsconfig02.c10 static int fd = -1, temp_fd = -1, invalid_fd = -1; variable
39 {"set-fd-key", &fd, FSCONFIG_SET_FD, NULL, NULL, &temp_fd, EINVAL},
40 {"set-fd-value", &fd, FSCONFIG_SET_FD, "sync", "foo", &temp_fd, EINVAL},
58 temp_fd = SAFE_OPEN("testfile", O_RDWR | O_CREAT, 01444); in setup()
63 if (temp_fd != -1) in cleanup()
64 SAFE_CLOSE(temp_fd); in cleanup()
/third_party/gn/src/base/posix/
Dfile_descriptor_shuffle.cc27 int temp_fd = -1; in PerformInjectiveMultimapDestructive() local
41 if (temp_fd == -1) { in PerformInjectiveMultimapDestructive()
42 if (!delegate->Duplicate(&temp_fd, i->dest)) in PerformInjectiveMultimapDestructive()
45 extra_fds[next_extra_fd++] = temp_fd; in PerformInjectiveMultimapDestructive()
53 j->source = temp_fd; in PerformInjectiveMultimapDestructive()
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/
Dgstgdkanimation.c95 if (ani->temp_fd) { in gst_gdk_animation_finalize()
96 close (ani->temp_fd); in gst_gdk_animation_finalize()
123 return (write (ani->temp_fd, data, size) == size); in gst_gdk_animation_add_data()
129 close (ani->temp_fd); in gst_gdk_animation_done_adding()
130 ani->temp_fd = 0; in gst_gdk_animation_done_adding()
293 gchar *filename = g_strdup_printf ("/proc/self/fd/%d", iter->ani->temp_fd); in gst_gdk_animation_iter_create_pipeline()
348 if (iter->ani->temp_fd == 0 || iter->ani->temp_location == NULL) in gst_gdk_animation_iter_may_advance()
351 data_amount = lseek (iter->ani->temp_fd, 0, SEEK_CUR); in gst_gdk_animation_iter_may_advance()
445 if (ani->temp_fd != 0 && ani->temp_location != NULL && in gst_gdk_animation_get_iter()
446 lseek (ani->temp_fd, 0, SEEK_CUR) < GST_GDK_BUFFER_SIZE) { in gst_gdk_animation_get_iter()
Dgstgdkanimation.h56 int temp_fd; member
/third_party/python/Lib/test/
Dtest_netrc.py13 temp_fd, temp_filename = tempfile.mkstemp()
14 with os.fdopen(temp_fd, mode=mode) as fp:
Dtest_subprocess.py2446 for fd, temp_fd in enumerate(temp_fds):
2447 os.dup2(temp_fd, fd)
2486 for fd, temp_fd in enumerate(temp_fds):
2487 os.dup2(temp_fd, fd)
/third_party/skia/third_party/externals/spirv-tools/test/tools/
Dplaceholder.py107 temp_fd, self.filename = tempfile.mkstemp(
109 fd = os.fdopen(temp_fd, 'w')
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
Dplaceholder.py107 temp_fd, self.filename = tempfile.mkstemp(
109 fd = os.fdopen(temp_fd, 'w')
/third_party/spirv-tools/test/tools/
Dplaceholder.py107 temp_fd, self.filename = tempfile.mkstemp(
109 fd = os.fdopen(temp_fd, 'w')
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstdownloadbuffer.h110 gint temp_fd; member
Dgstdownloadbuffer.c912 dlbuf->temp_fd = fd; in gst_download_buffer_open_temp_location_file()
969 dlbuf->temp_fd = -1; in gst_download_buffer_close_temp_location_file()