Home
last modified time | relevance | path

Searched refs:fileno (Results 26 – 50 of 116) sorted by relevance

12345

/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-worker48 fl = fcntl.fcntl(sys.stdout.fileno(), fcntl.F_GETFL)
50 fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, fl)
57 worker_pipe = sys.stdout.fileno()
243 os.dup2(dumbio, sys.stdin.fileno())
244 os.dup2(dumbio, sys.stdout.fileno())
559 worker = BitbakeWorker(os.fdopen(sys.stdin.fileno(), 'rb'))
/openbmc/pam-ipmi/src/pam_ipmisave/
H A Dpam_ipmisave.c348 if (fstat(fileno(opwfile), &st) == -1) { in update_pass_special_file()
359 if ((fchown(fileno(pwfile), st.st_uid, st.st_gid) == -1) || in update_pass_special_file()
360 (fchmod(fileno(pwfile), st.st_mode) == -1)) { in update_pass_special_file()
576 if (fflush(pwfile) || fsync(fileno(pwfile))) { in update_pass_special_file()
/openbmc/u-boot/tools/patman/
H A Dcros_subprocess.py182 bytes_written = os.write(self.stdin.fileno(), chunk)
192 data = os.read(self.stdout.fileno(), 1024)
207 data = os.read(self.stderr.fileno(), 1024)
H A Dterminal.py111 os.isatty(sys.stdout.fileno())))
/openbmc/qemu/python/qemu/machine/
H A Dmachine.py243 fd = passfile.fileno()
316 fd = self._cons_sock_pair[0].fileno()
335 os.set_inheritable(self._sock_pair[0].fileno(), True)
351 os.set_inheritable(self._cons_sock_pair[0].fileno(), True)
913 sock_fd=os.dup(self._cons_sock_pair[1].fileno()),
H A Dconsole_socket.py52 socket.socket.__init__(self, fileno=sock_fd)
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_vprintk.c39 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_vprintk()
H A Dtrace_printk.c46 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_printk()
/openbmc/linux/scripts/clang-tools/
H A Drun-clang-tools.py77 os.dup2(devnull, sys.stdout.fileno())
/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/
H A Dconcurrencytest.py277 os.dup2(newsi, sys.stdin.fileno())
280 os.dup2(c2pwrite, sys.stdout.fileno())
281 os.dup2(c2pwrite, sys.stderr.fileno())
/openbmc/qemu/hw/xen/
H A Dxen_pt_load_rom.c45 if (fstat(fileno(fp), &st) == -1) { in pci_assign_dev_load_option_rom()
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/
H A D0001-skip-no_stdout_fileno-test-due-to-load-variability.patch28 # Issue #24402: If stdin is the original terminal but stdout.fileno()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dfix-writing-emtpy-file.patch35 return write(fileno(file), buf, count);
H A Dtftp-hpa-bug-fix-on-separated-CR-and-LF.patch29 + lseek(fileno(file), -1, SEEK_CUR);
/openbmc/linux/tools/perf/util/
H A Ddata.h74 return fileno(data->file.fptr); in perf_data__fd()
/openbmc/openbmc/poky/meta/lib/
H A Dbuildstats.py199 os.write(output.fileno(),
208 os.write(self.monitor_disk.fileno(),
/openbmc/openbmc/poky/bitbake/lib/bb/server/
H A Dprocess.py642 os.set_inheritable(self.bitbake_lock.fileno(), True)
645 …cutable, sys.executable, serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.ready…
851 def fileno(self): member in ConnectionReader
852 return self.reader.fileno()
892 def fileno(self): member in ConnectionWriter
893 return self.writer.fileno()
/openbmc/linux/scripts/
H A Ddiffconfig139 os.dup2(devnull, sys.stdout.fileno())
/openbmc/linux/drivers/scsi/
H A Dst.c2719 fileno = STps->drv_file; in st_int_ioctl()
2735 if (fileno >= 0) in st_int_ioctl()
2736 fileno += arg; in st_int_ioctl()
2751 if (fileno >= 0) in st_int_ioctl()
2752 fileno -= arg; in st_int_ioctl()
2833 if (fileno >= 0) in st_int_ioctl()
2834 fileno += arg; in st_int_ioctl()
2872 fileno = (-1); in st_int_ioctl()
3026 if (fileno >= 0) in st_int_ioctl()
3027 fileno -= undone; in st_int_ioctl()
[all …]
/openbmc/qemu/python/qemu/qmp/
H A Dutil.py148 while sock.fileno() != -1:
/openbmc/openbmc/poky/meta/recipes-graphics/vulkan/vulkan-samples/
H A D0001-Do-not-use-LFS64-functions-on-linux-musl.patch26 int fd = fileno(f);
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dutils.py497 fileno = lf.fileno()
498 fcntl.flock(fileno, op)
499 statinfo = os.fstat(fileno)
525 fcntl.flock(lf.fileno(), fcntl.LOCK_EX|fcntl.LOCK_NB)
529 fcntl.flock(lf.fileno(), fcntl.LOCK_UN)
537 with mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) as mm:
1658 fd = sock.fileno()
/openbmc/u-boot/tools/
H A Dzynqmpimage.c381 err = fstat(fileno(fp), &path_stat); in zynqmpimage_parse_initparams()
451 err = fstat(fileno(fpmu), &path_stat); in zynqmpimage_vrec_header()
/openbmc/openbmc/meta-arm/scripts/
H A Drunfvp106 os.tcsetpgrp(sys.stdin.fileno(), os.getpgrp())
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/
H A D0005-ethernet.c-remove-it.patch184 - if (fstat(fileno(ether_fp), &st) < 0 ||
195 - if (fstat(fileno(ether_fp), &st) < 0) {

12345