/third_party/node/deps/npm/node_modules/fs-minipass/ |
D | index.js | 15 const _fd = Symbol('_fd') constant 50 this[_fd] = typeof opt.fd === 'number' ? opt.fd : null 59 if (typeof this[_fd] === 'number') 65 get fd () { return this[_fd] } 84 this[_fd] = fd 100 fs.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => 114 if (this[_autoClose] && typeof this[_fd] === 'number') { 115 fs.close(this[_fd], _ => this.emit('close')) 116 this[_fd] = null 149 if (typeof this[_fd] === 'number') [all …]
|
/third_party/python/Lib/multiprocessing/ |
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, b'PROBE:0:noop\n') [all …]
|
D | shared_memory.py | 67 _fd = -1 variable in SharedMemory 92 self._fd = _posixshmem.shm_open( 103 self._fd = _posixshmem.shm_open( 111 os.ftruncate(self._fd, size) 112 stats = os.fstat(self._fd) 114 self._mmap = mmap.mmap(self._fd, size) 229 if _USE_POSIX and self._fd >= 0: 230 os.close(self._fd) 231 self._fd = -1
|
D | spawn.py | 113 resource_tracker._resource_tracker._fd = tracker_fd
|
D | forkserver.py | 308 resource_tracker._resource_tracker._fd,
|
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/ |
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 = fd [all …]
|
/third_party/alsa-utils/alsactl/ |
D | lock.c | 33 static int state_lock_(const char *file, int lock, int timeout, int _fd) in state_lock_() argument 53 fd = _fd; in state_lock_() 133 int state_unlock(int _fd, const char *file) in state_unlock() argument 137 err = state_lock_(file, 0, 10, _fd); in state_unlock()
|
/third_party/libwebsockets/lib/misc/ |
D | diskcache.c | 177 const char *hash_hex, int *_fd, char *cache, int cache_len, in lws_diskcache_query() argument 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()
|
/third_party/python/Lib/ |
D | _pyio.py | 1501 _fd = -1 variable in FileIO 1522 if self._fd >= 0: 1526 os.close(self._fd) 1528 self._fd = -1 1628 self._fd = fd 1631 if self._fd >= 0 and self._closefd and not self.closed: 1649 (class_name, self._fd, self.mode, self._closefd)) 1674 return os.read(self._fd, size) 1688 pos = os.lseek(self._fd, 0, SEEK_CUR) 1689 end = os.fstat(self._fd).st_size [all …]
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-diskcache.h | 142 const char *hash_hex, int *_fd, char *cache, int cache_len,
|
/third_party/node/deps/npm/node_modules/write-file-atomic/ |
D | index.js | 103 fs.open(tmpfile, 'w', options.mode, function (err, _fd) { argument 104 fd = _fd
|
/third_party/rust/crates/rustix/src/backend/libc/time/ |
D | syscalls.rs | 168 DynamicClockId::Dynamic(_fd) => { in clock_gettime_dynamic()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
D | syscalls.rs | 395 pub(crate) fn is_read_write(_fd: BorrowedFd<'_>) -> io::Result<(bool, bool)> { in is_read_write()
|
/third_party/rust/crates/libc/src/vxworks/ |
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/ |
D | mod.rs | 2008 pub fn login_tty(_fd: ::c_int) -> ::c_int; in login_tty()
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
D | general.rs | 3552 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
D | general.rs | 3554 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/sparc64/ |
D | general.rs | 3886 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
D | general.rs | 3677 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
D | general.rs | 3705 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/sparc/ |
D | general.rs | 3916 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/s390x/ |
D | general.rs | 3612 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/x86_64/ |
D | general.rs | 3590 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
D | general.rs | 3737 pub _fd: crate::ctypes::c_int, field
|
/third_party/rust/crates/linux-raw-sys/src/arm/ |
D | general.rs | 3638 pub _fd: crate::ctypes::c_int, field
|