Home
last modified time | relevance | path

Searched refs:fileno (Results 1 – 25 of 140) sorted by relevance

123456

/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Ddaemonize.py77 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 Dprocess.py85 bb.utils.nonblockingfd(pipe.stdout.fileno())
88 bb.utils.nonblockingfd(pipe.stderr.fileno())
91 bb.utils.nonblockingfd(fobj.fileno())
H A Dbuild.py659 osi = [os.dup(sys.stdin.fileno()), sys.stdin.fileno()]
660 oso = [os.dup(sys.stdout.fileno()), sys.stdout.fileno()]
661 ose = [os.dup(sys.stderr.fileno()), sys.stderr.fileno()]
665 os.dup2(si.fileno(), osi[1])
666 os.dup2(logfile.fileno(), oso[1])
667 os.dup2(logfile.fileno(), ose[1])
/OK3568_Linux_fs/yocto/poky/bitbake/bin/
H A Dbitbake-server37 os.dup2(si.fileno(), sys.stdin.fileno())
40 os.dup2(so.fileno(), sys.stdout.fileno())
41 os.dup2(so.fileno(), sys.stderr.fileno())
H A Dbitbake-worker49 fl = fcntl.fcntl(sys.stdout.fileno(), fcntl.F_GETFL)
51 fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, fl)
58 worker_pipe = sys.stdout.fileno()
235 os.dup2(newsi, sys.stdin.fileno())
529 worker = BitbakeWorker(os.fdopen(sys.stdin.fileno(), 'rb'))
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dmap_populate.c84 ret = ftruncate(fileno(ftmp), MMAP_SZ); in main()
88 MAP_SHARED, fileno(ftmp), 0); in main()
112 return child_f(sock[0], smap, fileno(ftmp)); in main()
/OK3568_Linux_fs/yocto/poky/scripts/
H A Doepydevshell-internal.py58 cbreaknoecho(sys.stdin.fileno())
79 echonocbreak(sys.stdin.fileno())
81 cbreaknoecho(sys.stdin.fileno())
/OK3568_Linux_fs/yocto/poky/bitbake/lib/prserv/
H A Dserv.py175 os.dup2(si.fileno(),sys.stdin.fileno())
180 os.dup2(so.fileno(),sys.stdout.fileno())
184 os.dup2(so.fileno(),sys.stderr.fileno())
/OK3568_Linux_fs/kernel/drivers/scsi/bfa/
H A Dbfa_cs.h42 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);
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/
H A Dfilemap.py44 stat = os.fstat(file_obj.fileno())
91 self.image_size = os.fstat(self._f_image.fileno()).st_size
112 os.fsync(self._f_image.fileno()),
171 return os.lseek(file_obj.fileno(), offset, whence)
222 os.ftruncate(tmp_obj.fileno(), self.block_size)
H A Dpartition.py280 os.ftruncate(sparse.fileno(), rootfs_size * 1024)
342 os.ftruncate(sparse.fileno(), rootfs_size * 1024)
419 os.ftruncate(sparse.fileno(), size * 1024)
440 os.ftruncate(sparse.fileno(), size * 1024)
484 os.ftruncate(sparse.fileno(), self.size * 1024)
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Ddevshell.bbclass65 os.dup2(m, sys.stdin.fileno())
66 os.dup2(m, sys.stdout.fileno())
67 os.dup2(m, sys.stderr.fileno())
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dutil.h59 #define fileno _fileno macro
114 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/compress/
H A D_pipecompress.py157 def fileno(self): member in PipeFile
158 return self.pipe.fileno()
/OK3568_Linux_fs/external/xserver/os/
H A Dosinit.c253 if (err && (fileno(err) != 2)) { in OsInit()
254 dup2(fileno(err), 2); in OsInit()
/OK3568_Linux_fs/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)
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/server/
H A Dprocess.py517 os.set_inheritable(self.bitbake_lock.fileno(), True)
520 …table, "bitbake-server", serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.ready…
726 def fileno(self): member in ConnectionReader
727 return self.reader.fileno()
768 def fileno(self): member in ConnectionWriter
769 return self.writer.fileno()
/OK3568_Linux_fs/yocto/poky/meta/lib/
H A Dbuildstats.py148 os.write(output.fileno(),
156 os.write(self.monitor_disk.fileno(),
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/utils/
H A Dconcurrencytest.py274 os.dup2(newsi, sys.stdin.fileno())
277 os.dup2(c2pwrite, sys.stdout.fileno())
278 os.dup2(c2pwrite, sys.stderr.fileno())
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dqemurunner.py127 return os.read(o.fileno(), 1000000).decode("utf-8")
739 poll.register(self.serversock.fileno())
759 elif self.serversock.fileno() == event[0]:
763 poll.unregister(self.serversock.fileno())
764 poll.register(self.readsock.fileno(), event_read_mask)
770 elif self.readsock.fileno() == event[0]:
/OK3568_Linux_fs/external/recovery/mtdutils/
H A Drk29.c198 fd = fileno(stream); in rk29_fread()
262 fd = fileno(stream); in rk29_fwrite()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dst.c2706 int fileno, blkno, at_sm, undone; in st_int_ioctl() local
2718 fileno = STps->drv_file; in st_int_ioctl()
2734 if (fileno >= 0) in st_int_ioctl()
2735 fileno += arg; in st_int_ioctl()
2750 if (fileno >= 0) in st_int_ioctl()
2751 fileno -= arg; in st_int_ioctl()
2786 blkno = fileno = (-1); in st_int_ioctl()
2799 blkno = fileno = (-1); in st_int_ioctl()
2832 if (fileno >= 0) in st_int_ioctl()
2833 fileno += arg; in st_int_ioctl()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_printk.c40 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in test_trace_printk()
/OK3568_Linux_fs/u-boot/tools/
H A Dzynqmpimage.c302 err = fstat(fileno(fp), &path_stat); in zynqmpimage_parse_initparams()
372 err = fstat(fileno(fpmu), &path_stat); in zynqmpimage_vrec_header()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/
H A Drk29.c223 fd = fileno(stream); in rk29_fread()
287 fd = fileno(stream); in rk29_fwrite()

123456