Searched refs:temp_fd (Results 1 – 11 of 11) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/fsconfig/ |
D | fsconfig02.c | 10 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/ |
D | file_descriptor_shuffle.cc | 27 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/ |
D | gstgdkanimation.c | 95 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()
|
D | gstgdkanimation.h | 56 int temp_fd; member
|
/third_party/python/Lib/test/ |
D | test_netrc.py | 13 temp_fd, temp_filename = tempfile.mkstemp() 14 with os.fdopen(temp_fd, mode=mode) as fp:
|
D | test_subprocess.py | 2446 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/ |
D | placeholder.py | 107 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/ |
D | placeholder.py | 107 temp_fd, self.filename = tempfile.mkstemp( 109 fd = os.fdopen(temp_fd, 'w')
|
/third_party/spirv-tools/test/tools/ |
D | placeholder.py | 107 temp_fd, self.filename = tempfile.mkstemp( 109 fd = os.fdopen(temp_fd, 'w')
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gstdownloadbuffer.h | 110 gint temp_fd; member
|
D | gstdownloadbuffer.c | 912 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()
|