/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | daemonize.py | 77 os.dup2(si.fileno(), sys.stdin.fileno()) 81 os.dup2(so.fileno(), sys.stdout.fileno()) 82 os.dup2(so.fileno(), sys.stderr.fileno())
|
H A D | process.py | 85 bb.utils.nonblockingfd(pipe.stdout.fileno()) 88 bb.utils.nonblockingfd(pipe.stderr.fileno()) 91 bb.utils.nonblockingfd(fobj.fileno())
|
H A D | build.py | 681 osi = [os.dup(sys.stdin.fileno()), sys.stdin.fileno()] 682 oso = [os.dup(sys.stdout.fileno()), sys.stdout.fileno()] 683 ose = [os.dup(sys.stderr.fileno()), sys.stderr.fileno()] 687 os.dup2(si.fileno(), osi[1]) 688 os.dup2(logfile.fileno(), oso[1]) 689 os.dup2(logfile.fileno(), ose[1])
|
/openbmc/openbmc/poky/bitbake/bin/ |
H A D | bitbake-server | 39 os.dup2(si.fileno(), sys.stdin.fileno()) 42 os.dup2(so.fileno(), sys.stdout.fileno()) 43 os.dup2(so.fileno(), sys.stderr.fileno())
|
H A D | bitbake-worker | 52 fl = fcntl.fcntl(sys.stdout.fileno(), fcntl.F_GETFL) 54 fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, fl) 61 worker_pipe = sys.stdout.fileno() 253 os.dup2(dumbio, sys.stdin.fileno()) 254 os.dup2(dumbio, sys.stdout.fileno()) 569 worker = BitbakeWorker(os.fdopen(sys.stdin.fileno(), 'rb'))
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_tsol.c | 201 } else if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode() 203 } else if (tcsetattr(fileno(stdout), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode() 215 if (tcgetattr(fileno(stdout), &_saved_tio) < 0) { in enter_raw_mode() 237 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) < 0) { in enter_raw_mode() 239 } else if (tcsetattr(fileno(stdout), TCSADRAIN, &tio) < 0) { in enter_raw_mode() 321 ioctl(fileno(stdout), TIOCSWINSZ, &_saved_winsize); in do_terminal_cleanup() 338 ioctl(fileno(stdout), TIOCGWINSZ, &_saved_winsize); in set_terminal_size() 342 ioctl(fileno(stdout), TIOCSWINSZ, &winsize); in set_terminal_size() 358 ioctl(fileno(stdout), TIOCGWINSZ, &winsize); in print_tsol_usage() 511 fds_wait[1].fd = fileno(stdin); in ipmi_tsol_main() [all …]
|
H A D | ipmi_isol.c | 292 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) in leave_raw_mode() 304 if (tcgetattr(fileno(stdin), &tio) == -1) { in enter_raw_mode() 319 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) in enter_raw_mode() 611 numRead = read(fileno(stdin), in ipmi_isol_red_pill()
|
/openbmc/qemu/tests/functional/ |
H A D | test_multiprocess.py | 48 os.set_inheritable(proxy_sock.fileno(), True) 49 os.set_inheritable(remote_sock.fileno(), True) 60 'devid=lsi1,fd='+str(remote_sock.fileno())) 77 'id=lsi1,fd='+str(proxy_sock.fileno()))
|
H A D | test_virtio_gpu.py | 101 os.set_inheritable(qemu_sock.fileno(), True) 102 os.set_inheritable(vug_sock.fileno(), True) 112 [vug, "--virgl", "--fd=%d" % vug_sock.fileno()], 125 self.vm.add_args("-chardev", "socket,id=vug,fd=%d" % qemu_sock.fileno())
|
H A D | test_aarch64_tcg_plugins.py | 78 mmap.mmap(lf.fileno(), 0, access=mmap.ACCESS_READ) as s: 105 mmap.mmap(lf.fileno(), 0, access=mmap.ACCESS_READ) as s:
|
/openbmc/linux/tools/crypto/ccp/ |
H A D | dbc.py | 37 ret = lib.get_nonce(device.fileno(), ctypes.byref(buf), signature) 48 ret = lib.set_uid(device.fileno(), new_uid, signature) 61 ret = lib.process_param(device.fileno(), message[0], ctypes.pointer(sig), ctypes.pointer(arg))
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 045 | 46 self.vm.add_fd(self.file0.fileno(), 1, 'image0:r') 47 self.vm.add_fd(self.file1.fileno(), 1, 'image1:w+') 48 self.vm.add_fd(self.file2.fileno(), 0, 'image2:r') 49 self.vm.add_fd(self.file3.fileno(), 2, 'image3:r') 50 self.vm.add_fd(self.file4.fileno(), 2, 'image4:r')
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | map_populate.c | 82 ret = ftruncate(fileno(ftmp), MMAP_SZ); in main() 86 MAP_SHARED, fileno(ftmp), 0); in main() 110 return child_f(sock[0], smap, fileno(ftmp)); in main()
|
/openbmc/openbmc/poky/scripts/ |
H A D | oepydevshell-internal.py | 60 cbreaknoecho(sys.stdin.fileno()) 81 echonocbreak(sys.stdin.fileno()) 83 cbreaknoecho(sys.stdin.fileno())
|
/openbmc/linux/tools/include/nolibc/ |
H A D | stdio.h | 55 int fileno(FILE *stream) in fileno() function 108 if (read(fileno(stream), &ch, 1) <= 0) in fgetc() 129 if (write(fileno(stream), &ch, 1) <= 0) in fputc() 150 int fd = fileno(stream); in _fwrite()
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 42 u16 fileno; member 46 u16 fileno; 104 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data); 107 __bfa_trc32(struct bfa_trc_mod_s *trcm, int fileno, int line, u32 data);
|
/openbmc/openbmc/poky/bitbake/lib/prserv/ |
H A D | serv.py | 289 os.dup2(si.fileno(), sys.stdin.fileno()) 294 os.dup2(so.fileno(), sys.stdout.fileno()) 298 os.dup2(so.fileno(), sys.stderr.fileno())
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | qemurunner.py | 41 return os.read(o.fileno(), 1000000).decode("utf-8") 785 poll.register(self.serversock.fileno()) 787 poll.register(self.qemuoutput.fileno()) 808 elif self.serversock and self.serversock.fileno() == fd: 812 poll.unregister(self.serversock.fileno()) 813 poll.register(self.readsock.fileno(), event_read_mask) 819 elif self.readsock and self.readsock.fileno() == fd: 822 elif self.qemuoutput.fileno() == fd: 826 elif self.serialsock and self.serialsock.fileno() == fd: 836 poll.unregister(self.serialsock.fileno()) [all …]
|
/openbmc/bmcweb/test/http/ |
H A D | http_response_test.cpp | 99 res.openFd(fileno(fd)); in TEST() 111 res.openFd(fileno(fd), bmcweb::EncodingType::Base64); in TEST() 153 res.openFd(fileno(f), bmcweb::EncodingType::Base64); in TEST()
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | filemap.py | 44 stat = os.fstat(file_obj.fileno()) 98 self.image_size = os.fstat(self._f_image.fileno()).st_size 119 os.fsync(self._f_image.fileno()), 178 return os.lseek(file_obj.fileno(), offset, whence) 229 os.ftruncate(tmp_obj.fileno(), self.block_size)
|
H A D | partition.py | 283 os.ftruncate(sparse.fileno(), rootfs_size * 1024) 365 os.ftruncate(sparse.fileno(), rootfs_size * 1024) 442 os.ftruncate(sparse.fileno(), size * 1024) 466 os.ftruncate(sparse.fileno(), size * 1024) 510 os.ftruncate(sparse.fileno(), self.size * 1024)
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | devshell.bbclass | 71 os.dup2(m, sys.stdin.fileno()) 72 os.dup2(m, sys.stdout.fileno()) 73 os.dup2(m, sys.stderr.fileno())
|
/openbmc/skeleton/pyipmitest/ |
H A D | ipmi_debug.py | 67 flags = fcntl.fcntl(sys.stdin.fileno(), fcntl.F_GETFL) 69 fcntl.fcntl(sys.stdin.fileno(), fcntl.F_SETFL, flags)
|
/openbmc/openbmc/poky/bitbake/lib/bb/compress/ |
H A D | _pipecompress.py | 157 def fileno(self): member in PipeFile 158 return self.pipe.fileno()
|
/openbmc/qemu/python/qemu/machine/ |
H A D | qtest.py | 154 fd = self._qtest_sock_pair[0].fileno() 164 os.set_inheritable(self._qtest_sock_pair[0].fileno(), True)
|