Searched refs:fo (Results 1 - 25 of 62) sorted by relevance

123

/external/eigen/scripts/
H A Drelicense.py58 fo = file(filename)
59 text = fo.read()
60 fo.close()
64 fo = file(filename, "w")
65 fo.write(text)
66 fo.close()
/external/blktrace/btt/
H A Dbno_plot.py99 fo = open(t, 'w') variable
102 print >>fo, fld[0], fld[1], int(fld[2])-int(fld[1])
103 fo.close()
109 fo = open('%s/plot.cmds' % tmpdir, 'w') variable
110 print >>fo, cmds
111 if len(bnos) > 10 or keys_below: print >>fo, 'set key below'
112 print >>fo, plot_cmd
113 fo.close()
/external/autotest/client/common_lib/
H A Dautotemp.py34 t.fo # file object
44 self.fo = os.fdopen(self.fd)
52 if self.fo:
53 self.fo.close()
57 self.fd = self.fo = self.name = None
/external/autotest/client/cros/
H A Downership.py47 self.fo = tempfile.TemporaryFile()
55 self.fo.close() # Will destroy the underlying tempfile
363 data_file.fo.write(data)
364 data_file.fo.seek(0)
372 stdin=data_file.fo,
373 stdout_tee=sig.fo,
374 stderr_tee=err.fo)
376 err.fo.seek(0)
377 logging.error(err.fo.read())
380 sig.fo
[all...]
/external/bzip2/
H A Dxmlproc.sh44 xsl_fo=bz-fo.xsl
50 fofile="${basename}.fo"
93 cleanup $OUT $xmlfmtfile *.aux *.fo *.log *.out
103 cleanup $OUT $xmlfmtfile $pdffile *.aux *.fo *.log *.out
H A DMakefile194 $(DISTNAME)/bz-fo.xsl \
205 MANUAL_SRCS= bz-common.xsl bz-fo.xsl bz-html.xsl bzip.css \
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/
H A Dp8.cpp46 void fo(Outer);
59 fo(o);
/external/tensorflow/tensorflow/core/grappler/
H A Dgraph_view_test.cc65 for (const auto& fo : graph.GetFanouts(*add_node, false)) {
67 strings::StrCat(fo.node->name(), ":", fo.port_id, " "));
/external/python/cpython2/Lib/test/
H A Dtest_deque.py70 fo = open(test_support.TESTFN, "wb")
72 print >> fo, d,
73 fo.close()
74 fo = open(test_support.TESTFN, "rb")
75 self.assertEqual(fo.read(), repr(d))
77 fo.close()
82 fo = open(test_support.TESTFN, "wb")
84 print >> fo, d,
85 fo.close()
86 fo
[all...]
H A Dtest_bool.py23 fo = open(test_support.TESTFN, "wb")
24 print >> fo, False, True
25 fo.close()
26 fo = open(test_support.TESTFN, "rb")
27 self.assertEqual(fo.read(), 'False True\n')
29 fo.close()
H A Dtest_complex.py485 fo = None
487 fo = open(test_support.TESTFN, "wb")
488 print >>fo, a, b
489 fo.close()
490 fo = open(test_support.TESTFN, "rb")
491 self.assertEqual(fo.read(), "%s %s\n" % (a, b))
493 if (fo is not None) and (not fo.closed):
494 fo.close()
H A Dtest_set.py302 fo = open(test_support.TESTFN, "wb")
304 print >> fo, s,
305 fo.close()
306 fo = open(test_support.TESTFN, "rb")
307 self.assertEqual(fo.read(), repr(s))
309 fo.close()
720 fo = open(test_support.TESTFN, "wb")
722 print >> fo, self.set,
723 fo.close()
724 fo
[all...]
/external/smali/smali/
H A Drunantlr.sh83 run_antlr -verbose -fo "$JAVA_DIR" "$G_FILE"
/external/lzma/C/
H A D7zArcIn.c642 UInt32 fo, numFolders, numCodersOutStreams, packStreamIndex; local
676 for (fo = 0; fo < numFolders; fo++)
680 p->FoCodersOffsets[fo] = sd.Data - startBufPtr;
785 p->FoStartPackStreamIndex[fo] = packStreamIndex;
786 p->FoToCoderUnpackSizes[fo] = numCodersOutStreams;
787 p->FoToMainUnpackSizeIndex[fo] = (Byte)indexOfMainStream;
797 p->FoToCoderUnpackSizes[fo] = numCodersOutStreams;
801 p->FoStartPackStreamIndex[fo]
982 UInt32 fo; local
[all...]
/external/libpcap/msdos/
H A Dmakefile.wc53 *$(CC) $(CFLAGS) msdos\pktdrvr.c -fo=$@
56 *$(CC) $(CFLAGS) bpf\net\bpf_filter.c -fo=$@
59 *$(CC) $(CFLAGS) msdos\ndis2.c -fo=$@
63 *$(CC) $(CFLAGS) $[@ -fo=$@
/external/clang/test/Sema/
H A Dms_class_layout.cpp91 virtual void fo(){} function in struct:O
/external/syslinux/dosutil/
H A DMakefile25 $(WCL) $(WCLOPT) -c -fo=$@ $<
/external/python/cpython3/Lib/test/
H A Dtest_deque.py71 fo = open(support.TESTFN, "w")
73 fo.write(str(d))
74 fo.close()
75 fo = open(support.TESTFN, "r")
76 self.assertEqual(fo.read(), repr(d))
78 fo.close()
83 fo = open(support.TESTFN, "w")
85 fo.write(str(d))
86 fo.close()
87 fo
[all...]
H A Dtest_bool.py23 fo = open(support.TESTFN, "w")
24 print(False, True, file=fo)
25 fo.close()
26 fo = open(support.TESTFN, "r")
27 self.assertEqual(fo.read(), 'False True\n')
29 fo.close()
H A Dtest_complex.py486 fo = None
488 fo = open(support.TESTFN, "w")
489 print(a, b, file=fo)
490 fo.close()
491 fo = open(support.TESTFN, "r")
492 self.assertEqual(fo.read(), ("%s %s\n" % (a, b)))
494 if (fo is not None) and (not fo.closed):
495 fo.close()
H A Dtest_set.py325 fo = open(support.TESTFN, "w")
327 fo.write(str(s))
328 fo.close()
329 fo = open(support.TESTFN, "r")
330 self.assertEqual(fo.read(), repr(s))
332 fo.close()
809 fo = open(support.TESTFN, "w")
810 fo.write(str(self.set))
811 fo.close()
812 fo
[all...]
/external/lzma/CPP/7zip/Archive/7z/
H A D7zIn.cpp644 CNum fo; local
647 for (fo = 0; fo < numFolders; fo++)
651 folders.FoCodersDataOffset[fo] = _inByteBack->GetPtr() - startBufPtr;
763 folders.FoToCoderUnpackSizes[fo] = numCodersOutStreams;
765 folders.FoStartPackStreamIndex[fo] = packStreamIndex;
769 folders.FoToMainUnpackSizeIndex[fo] = (Byte)indexOfMainStream;
773 folders.FoToCoderUnpackSizes[fo] = numCodersOutStreams;
774 folders.FoStartPackStreamIndex[fo]
[all...]
/external/autotest/client/site_tests/firmware_TouchMTB/
H A Dtouch_device.py108 with open(filepath, 'w') as fo:
110 fo.write(name if line.startswith('N:') else line + '\n')
/external/lzma/CPP/
H A DBuild.mak116 rc $(RFLAGS) -fo$@ $**
/external/tensorflow/tensorflow/compiler/xla/python/
H A Dlocal_computation_builder.i130 PyObject* fo = PyObject_GetAttrString(o, field);
131 if (!fo) {
134 const int64 value = numpy::PyIntOrPyLongToLong(fo);
136 Py_DECREF(fo);
139 Py_DECREF(fo);

Completed in 815 milliseconds

123