Home
last modified time | relevance | path

Searched refs:_fd (Results 1 - 25 of 25) sorted by relevance

/third_party/python/Lib/multiprocessing/
H A Dresource_tracker.py58 self._fd = None
63 if self._fd is None:
68 os.close(self._fd)
69 self._fd = None
76 return self._fd
84 if self._fd is not None:
90 os.close(self._fd)
101 self._fd = None
137 self._fd = w
147 os.write(self._fd,
[all...]
H A Dshared_memory.py68 _fd = -1 variable in SharedMemory
93 self._fd = _posixshmem.shm_open(
104 self._fd = _posixshmem.shm_open(
112 os.ftruncate(self._fd, size)
113 stats = os.fstat(self._fd)
115 self._mmap = mmap.mmap(self._fd, size)
232 if _USE_POSIX and self._fd >= 0:
233 os.close(self._fd)
234 self._fd = -1
H A Dspawn.py117 resource_tracker._resource_tracker._fd = tracker_fd
H A Dforkserver.py308 resource_tracker._resource_tracker._fd,
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/
H A Dstream.py180 self._fd = fd
184 return self._fd
187 return self._fd.fileno()
190 return self._fd.write(data)
193 return self._fd.close()
200 self._fd = fd
208 return self._fd.write(data)
210 return self._fd.write(data.encode('utf-8'))
212 return self._fd.write(data.encode('utf-8'))
224 self._fd
[all...]
/third_party/alsa-utils/alsactl/
H A Dlock.c45 static int state_lock_(const char *lock_file, int lock, int timeout, int _fd) in state_lock_() argument
66 fd = _fd; in state_lock_()
172 int state_unlock(int _fd, const char *file) in state_unlock() argument
178 err = state_lock_(fn, 0, 10, _fd); in state_unlock()
201 int card_unlock(int _fd, int card_number) in card_unlock() argument
207 err = state_lock_(fn, 0, 10, _fd); in card_unlock()
/third_party/libwebsockets/lib/misc/
H A Ddiskcache.c177 const char *hash_hex, int *_fd, char *cache, int cache_len, in lws_diskcache_query()
195 *_fd = open(cache, O_RDONLY); in lws_diskcache_query()
196 if (*_fd >= 0) { in lws_diskcache_query()
202 if (fstat(*_fd, &s)) { in lws_diskcache_query()
203 close(*_fd); in lws_diskcache_query()
227 *_fd = open(cache, O_RDWR | O_CREAT | O_TRUNC, 0600); in lws_diskcache_query()
228 if (*_fd < 0) { in lws_diskcache_query()
176 lws_diskcache_query(struct lws_diskcache_scan *lds, int is_bot, const char *hash_hex, int *_fd, char *cache, int cache_len, size_t *extant_cache_len) lws_diskcache_query() argument
/third_party/python/Lib/
H A D_pyio.py1492 _fd = -1 variable in FileIO
1513 if self._fd >= 0:
1517 os.close(self._fd)
1519 self._fd = -1
1619 self._fd = fd
1622 if self._fd >= 0 and self._closefd and not self.closed:
1640 (class_name, self._fd, self.mode, self._closefd))
1665 return os.read(self._fd, size)
1679 pos = os.lseek(self._fd, 0, SEEK_CUR)
1680 end = os.fstat(self._fd)
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-diskcache.h116 * \param _fd: pointer to the fd to be set
127 * *_fd has been set to the file descriptor. *extant_cache_len has been set
129 * full filepath of the cached file. Closing _fd is your responsibility.
131 * created in the cache and *_fd set to a file descriptor opened on it RDWR.
133 * when it is done. Closing _fd is your responsibility.
142 const char *hash_hex, int *_fd, char *cache, int cache_len,
/third_party/rust/crates/libc/src/vxworks/
H A Dmod.rs1853 pub fn pread(_fd: ::c_int, _buf: *mut ::c_void, _count: ::size_t, _offset: off64_t) -> ::ssize_t { in pread()
1858 _fd: ::c_int, in pwrite()
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs2008 pub fn login_tty(_fd: ::c_int) -> ::c_int; in login_tty()
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs3554 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs3552 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs3532 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs3677 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs3737 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs3705 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs3801 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs3638 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs3916 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs3612 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/sparc64/
H A Dgeneral.rs3886 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/x32/
H A Dgeneral.rs3580 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/x86/
H A Dgeneral.rs3669 pub _fd: crate::ctypes::c_int,
/third_party/rust/crates/linux-raw-sys/src/x86_64/
H A Dgeneral.rs3590 pub _fd: crate::ctypes::c_int,

Completed in 185 milliseconds