/third_party/python/Lib/multiprocessing/ |
H A D | resource_tracker.py | 58 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 D | shared_memory.py | 68 _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 D | spawn.py | 117 resource_tracker._resource_tracker._fd = tracker_fd
|
H A D | forkserver.py | 308 resource_tracker._resource_tracker._fd,
|
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/ |
H A D | stream.py | 180 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 D | lock.c | 45 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 D | diskcache.c | 177 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.py | 1492 _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 D | lws-diskcache.h | 116 * \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 D | mod.rs | 1853 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 D | mod.rs | 2008 pub fn login_tty(_fd: ::c_int) -> ::c_int; in login_tty()
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 3554 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 3552 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 3532 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 3677 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
H A D | general.rs | 3737 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
H A D | general.rs | 3705 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/mips/ |
H A D | general.rs | 3801 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/arm/ |
H A D | general.rs | 3638 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/sparc/ |
H A D | general.rs | 3916 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/s390x/ |
H A D | general.rs | 3612 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/sparc64/ |
H A D | general.rs | 3886 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/x32/ |
H A D | general.rs | 3580 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/x86/ |
H A D | general.rs | 3669 pub _fd: crate::ctypes::c_int,
|
/third_party/rust/crates/linux-raw-sys/src/x86_64/ |
H A D | general.rs | 3590 pub _fd: crate::ctypes::c_int,
|