/external/autotest/server/site_tests/video_VDAStress/ |
output_test_video_params.py | 35 mm = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) 49 mm = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
log.py | 73 elif not hasattr(log_file, 'fileno'): 75 "Log file must be None, a string, or file-like object with a fileno()")
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
keyfile.py | 109 def fileno(self): member in class:KeyFile 110 raise NotImplementedError('fileno not implemented in KeyFile')
|
/system/connectivity/apmanager/ |
main.cc | 97 if (dup2(logger_stdin_fd, fileno(stderr)) != fileno(stderr)) {
|
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
connection.py | 191 c1 = _multiprocessing.Connection(os.dup(s1.fileno())) 192 c2 = _multiprocessing.Connection(os.dup(s2.fileno())) 275 fd = duplicate(s.fileno()) 308 fd = duplicate(s.fileno()) 438 for attr in ('fileno', 'close', 'poll', 'recv_bytes', 'send_bytes'):
|
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
connection.py | 191 c1 = _multiprocessing.Connection(os.dup(s1.fileno())) 192 c2 = _multiprocessing.Connection(os.dup(s2.fileno())) 275 fd = duplicate(s.fileno()) 308 fd = duplicate(s.fileno()) 438 for attr in ('fileno', 'close', 'poll', 'recv_bytes', 'send_bytes'):
|
/prebuilts/go/darwin-x86/src/runtime/ |
symtab.go | 300 fileno := int(pcvalue(f, f.pcfile, targetpc, strict)) 302 if fileno == -1 || line == -1 || fileno >= len(datap.filetab) { 303 // print("looking for ", hex(targetpc), " in ", funcname(f), " got file=", fileno, " line=", lineno, "\n") 306 file = gostringnocopy(&datap.pclntable[datap.filetab[fileno]])
|
/prebuilts/go/linux-x86/src/runtime/ |
symtab.go | 300 fileno := int(pcvalue(f, f.pcfile, targetpc, strict)) 302 if fileno == -1 || line == -1 || fileno >= len(datap.filetab) { 303 // print("looking for ", hex(targetpc), " in ", funcname(f), " got file=", fileno, " line=", lineno, "\n") 306 file = gostringnocopy(&datap.pclntable[datap.filetab[fileno]])
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
connection.py | 191 c1 = _multiprocessing.Connection(os.dup(s1.fileno())) 192 c2 = _multiprocessing.Connection(os.dup(s2.fileno())) 275 fd = duplicate(s.fileno()) 308 fd = duplicate(s.fileno()) 438 for attr in ('fileno', 'close', 'poll', 'recv_bytes', 'send_bytes'):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
connection.py | 191 c1 = _multiprocessing.Connection(os.dup(s1.fileno())) 192 c2 = _multiprocessing.Connection(os.dup(s2.fileno())) 275 fd = duplicate(s.fileno()) 308 fd = duplicate(s.fileno()) 438 for attr in ('fileno', 'close', 'poll', 'recv_bytes', 'send_bytes'):
|
/external/autotest/client/common_lib/ |
logging_manager.py | 142 # part of the API, |fileno()|, we need to be able to provide a fake fd that 199 def fileno(self): member in class:LoggingFile 524 if not hasattr(stream, 'fileno'): 534 self._fd = stream.fileno() 564 hasattr(handler.stream, 'fileno') and 565 handler.stream.fileno() == old_stream.fileno())
|
/external/zlib/src/test/ |
minigzip.c | 38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 54 # define fileno(file) file->__file macro 57 # include <unix.h> /* for fileno */ 401 int ifd = fileno(in); 608 file = gzdopen(fileno(stdin), "rb"); 612 file = gzdopen(fileno(stdout), outmode); 638 file = gzdopen(fileno(stdout), outmode);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_posix.py | 131 self.assertTrue(posix.fstatvfs(fp.fileno())) 142 posix.ftruncate(fp.fileno(), 0) 150 fd = posix.dup(fp.fileno()) 166 posix.dup2(fp1.fileno(), fp2.fileno()) 217 self.assertTrue(posix.fstat(fp.fileno())) 302 fd = test_file.fileno()
|
test_file_eintr.py | 45 'infile = _io.FileIO(sys.stdin.fileno(), "rb")') 188 return ('infile = io.open(sys.stdin.fileno(), "rb") ;' 203 return ('infile = io.open(sys.stdin.fileno(), "rt", newline=None) ;'
|
test_gzip.py | 39 # Try flush and fileno. 41 f.fileno() 43 os.fsync(f.fileno())
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_posix.py | 131 self.assertTrue(posix.fstatvfs(fp.fileno())) 142 posix.ftruncate(fp.fileno(), 0) 150 fd = posix.dup(fp.fileno()) 166 posix.dup2(fp1.fileno(), fp2.fileno()) 217 self.assertTrue(posix.fstat(fp.fileno())) 302 fd = test_file.fileno()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_posix.py | 131 self.assertTrue(posix.fstatvfs(fp.fileno())) 142 posix.ftruncate(fp.fileno(), 0) 150 fd = posix.dup(fp.fileno()) 166 posix.dup2(fp1.fileno(), fp2.fileno()) 217 self.assertTrue(posix.fstat(fp.fileno())) 302 fd = test_file.fileno()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_posix.py | 131 self.assertTrue(posix.fstatvfs(fp.fileno())) 142 posix.ftruncate(fp.fileno(), 0) 150 fd = posix.dup(fp.fileno()) 166 posix.dup2(fp1.fileno(), fp2.fileno()) 217 self.assertTrue(posix.fstat(fp.fileno())) 302 fd = test_file.fileno()
|
/external/fio/ |
iolog.c | 106 f = td->files[ipo->fileno]; 154 io_u->file = td->files[ipo->fileno]; 334 int reads, writes, waits, fileno = 0, file_action = 0; /* stupid gcc */ local 377 fileno = get_fileno(td, fname); 381 fileno = add_file(td, fname, 0, 1); 385 fileno = get_fileno(td, fname); 388 fileno = get_fileno(td, fname); 430 ipo->fileno = fileno;
|
/cts/tests/camera/libctscamera2jni/ |
dng-validate-jni.cpp | 411 int stderrFd = dup(fileno(stderr)); 412 dup2(pipeFds[1], fileno(stderr)); 421 dup2(stderrFd, fileno(stderr));
|
/external/bison/lib/ |
error.c | 150 fileno (stdout) == 1 154 /* POSIX states that fileno (stdout) after fclose is unspecified. But in 157 stdout_fd = fileno (stdout);
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
cgiapp.py | 236 bytes_written = os.write(proc.stdin.fileno(), next) 241 data = os.read(proc.stdout.fileno(), 1024) 250 data = os.read(proc.stderr.fileno(), 1024)
|
/external/llvm/lib/MC/ |
MCAsmStreamer.cpp | 193 unsigned EmitDwarfFileDirective(unsigned FileNo, StringRef Directory, 196 void EmitDwarfLocDirective(unsigned FileNo, unsigned Line, 878 unsigned MCAsmStreamer::EmitDwarfFileDirective(unsigned FileNo, 886 FileNo = Table.getFile(Directory, Filename, FileNo); 887 if (FileNo == 0) 890 return FileNo; 905 OS << "\t.file\t" << FileNo << ' '; 913 return FileNo; 916 void MCAsmStreamer::EmitDwarfLocDirective(unsigned FileNo, unsigned Line [all...] |
/external/ppp/pppd/plugins/radius/ |
buildreq.c | 107 while (do_lock_exclusive(fileno(sf))!= 0) 138 ftruncate(fileno(sf),0); 143 if (do_unlock(fileno(sf)) != 0)
|
/external/zlib/src/contrib/iostream2/ |
zstream.h | 35 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 73 m_fp = ::gzdopen(fileno(fp), "rb"); 191 m_fp = ::gzdopen(fileno(fp), mode);
|