Home
last modified time | relevance | path

Searched refs:outf (Results 1 – 25 of 53) sorted by relevance

123

/external/libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/
Dassign_t.pass.cpp33 std::ostringstream outf; in main() local
34 std::ostream_iterator<int> i(outf); in main()
36 assert(outf.str() == "2"); in main()
39 std::ostringstream outf; in main() local
40 std::ostream_iterator<int> i(outf, ", "); in main()
42 assert(outf.str() == "2, "); in main()
45 std::wostringstream outf; in main() local
46 std::ostream_iterator<int, wchar_t> i(outf); in main()
48 assert(outf.str() == L"2"); in main()
51 std::wostringstream outf; in main() local
[all …]
/external/libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.cons.des/
Dostream_delim.pass.cpp31 std::ostringstream outf; in main() local
32 std::ostream_iterator<int> i(outf, ", "); in main()
33 assert(outf.good()); in main()
36 std::wostringstream outf; in main() local
37 std::ostream_iterator<double, wchar_t> i(outf, L", "); in main()
38 assert(outf.good()); in main()
41 StringStream outf; in main() local
42 std::ostream_iterator<int, char, MyTraits> i(outf, ", "); in main()
43 assert(outf.good()); in main()
Dostream.pass.cpp30 std::ostringstream outf; in main() local
31 std::ostream_iterator<int> i(outf); in main()
32 assert(outf.good()); in main()
35 StringStream outf; in main() local
36 std::ostream_iterator<int, char, MyTraits> i(outf); in main()
37 assert(outf.good()); in main()
Dcopy.pass.cpp22 std::ostringstream outf; in main() local
23 std::ostream_iterator<int> i(outf); in main()
25 assert(outf.good()); in main()
/external/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/
Dassign_c.pass.cpp24 std::ostringstream outf; in main() local
25 std::ostreambuf_iterator<char> i(outf); in main()
27 assert(outf.str() == "a"); in main()
29 assert(outf.str() == "ab"); in main()
32 std::wostringstream outf; in main() local
33 std::ostreambuf_iterator<wchar_t> i(outf); in main()
35 assert(outf.str() == L"a"); in main()
37 assert(outf.str() == L"ab"); in main()
Dderef.pass.cpp23 std::ostringstream outf; in main() local
24 std::ostreambuf_iterator<char> i(outf); in main()
29 std::wostringstream outf; in main() local
30 std::ostreambuf_iterator<wchar_t> i(outf); in main()
Dincrement.pass.cpp24 std::ostringstream outf; in main() local
25 std::ostreambuf_iterator<char> i(outf); in main()
32 std::wostringstream outf; in main() local
33 std::ostreambuf_iterator<wchar_t> i(outf); in main()
/external/zlib/src/contrib/iostream3/
Dtest.cc13 gzofstream outf; in main() local
17 outf.open("test1.txt.gz"); in main()
18 outf << "The quick brown fox sidestepped the lazy canine\n" in main()
20 outf.close(); in main()
32 outf.rdbuf()->pubsetbuf(0,0); in main()
33 outf.open("test2.txt.gz"); in main()
34 outf << setcompression(Z_NO_COMPRESSION) in main()
37 outf.close(); in main()
/external/curl/docs/examples/
Dfopen.c458 FILE *outf; in main() local
470 outf = fopen(FGETSFILE, "wb+"); in main()
471 if(!outf) { in main()
479 fclose(outf); in main()
485 fwrite(buffer, 1, strlen(buffer), outf); in main()
490 fclose(outf); in main()
494 outf = fopen(FREADFILE, "wb+"); in main()
495 if(!outf) { in main()
503 fclose(outf); in main()
509 fwrite(buffer, 1, nread, outf); in main()
[all …]
/external/strace/
Dcount.c126 call_summary_pers(FILE *outf) in call_summary_pers() argument
140 fprintf(outf, header, in call_summary_pers()
143 fprintf(outf, header, dashes, dashes, dashes, dashes, dashes, dashes); in call_summary_pers()
176 fprintf(outf, data, in call_summary_pers()
184 fprintf(outf, header, dashes, dashes, dashes, dashes, dashes, dashes); in call_summary_pers()
185 fprintf(outf, summary, in call_summary_pers()
191 call_summary(FILE *outf) in call_summary() argument
202 fprintf(outf, in call_summary()
205 call_summary_pers(outf); in call_summary()
/external/autotest/client/tests/cgroup/
Dcgroup.py135 outf = NamedTemporaryFile('w+', prefix="cgroup_client-",
144 ps = item.test("memfill %d %s" % (mem, outf.name))
155 outf.seek(0)
156 outf.flush()
157 out = outf.readlines()
172 ps = item.test("memfill %d %s" % (mem, outf.name))
187 outf.seek(0)
188 outf.flush()
189 out = outf.readlines()
220 ps = item.test("memfill %d %s" % (mem, outf.name))
[all …]
/external/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.cons/
Dostream.pass.cpp23 std::ostringstream outf; in main() local
24 std::ostreambuf_iterator<char> i(outf); in main()
28 std::wostringstream outf; in main() local
29 std::ostreambuf_iterator<wchar_t> i(outf); in main()
Dstreambuf.pass.cpp23 std::ostringstream outf; in main() local
24 std::ostreambuf_iterator<char> i(outf.rdbuf()); in main()
28 std::wostringstream outf; in main() local
29 std::ostreambuf_iterator<wchar_t> i(outf.rdbuf()); in main()
/external/python/cpython2/Lib/distutils/command/
Dbuild_scripts.py96 outf = open(outfile, "w")
98 outf.write("#!%s%s\n" %
102 outf.write("#!%s%s\n" %
108 outf.writelines(f.readlines())
109 outf.close()
/external/dtc/
Ddtc.c178 FILE *outf = NULL; in main() local
344 outf = stdout; in main()
346 outf = fopen(outname, "wb"); in main()
347 if (! outf) in main()
353 dt_to_source(outf, dti); in main()
355 dt_to_blob(outf, dti, outversion); in main()
357 dt_to_asm(outf, dti, outversion); in main()
/external/u-boot/scripts/dtc/
Ddtc.c176 FILE *outf = NULL; in main() local
343 outf = stdout; in main()
345 outf = fopen(outname, "wb"); in main()
346 if (! outf) in main()
352 dt_to_source(outf, dti); in main()
354 dt_to_blob(outf, dti, outversion); in main()
356 dt_to_asm(outf, dti, outversion); in main()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
Dcopy_file_large.pass.cpp68 std::ofstream outf(file.native(), std::ios_base::app); in TEST_CASE() local
69 TEST_REQUIRE(outf.good()); in TEST_CASE()
70 outf << additional_data; in TEST_CASE()
71 TEST_REQUIRE(outf); in TEST_CASE()
/external/icu/icu4c/source/tools/escapesrc/
Descapesrc.cpp377 std::ofstream outf; in convert() local
379 outf.open(outfile.c_str(), std::ios::out); in convert()
381 if(!outf.is_open()) { in convert()
387 outf << "#line 1 \"" << infile << "\"" << '\n'; in convert()
394 outf.close(); in convert()
399 outf << linestr << '\n'; in convert()
/external/u-boot/tools/
Dproftool.c61 static void outf(int level, const char *fmt, ...)
63 #define error(fmt, b...) outf(0, fmt, ##b)
64 #define warn(fmt, b...) outf(1, fmt, ##b)
65 #define notice(fmt, b...) outf(2, fmt, ##b)
66 #define info(fmt, b...) outf(3, fmt, ##b)
67 #define debug(fmt, b...) outf(4, fmt, ##b)
70 static void outf(int level, const char *fmt, ...) in outf() function
/external/python/cpython3/Lib/
Dpipes.py219 [inf, cmd, kind, outf] = item
221 cmd = 'OUT=' + quote(outf) + '; ' + cmd
226 if kind[1] == '-' and outf:
227 cmd = cmd + ' >' + quote(outf)
/external/syzkaller/tools/syz-benchcmp/
Dbenchcmp.go184 outf, err := ioutil.TempFile("", "")
188 if err := htmlTemplate.Execute(outf, graphs); err != nil {
191 outf.Close()
192 name := outf.Name() + ".html"
193 if err := os.Rename(outf.Name(), name); err != nil {
/external/python/cpython2/Lib/
Dpipes.py231 [inf, cmd, kind, outf] = item
233 cmd = 'OUT=' + quote(outf) + '; ' + cmd
238 if kind[1] == '-' and outf:
239 cmd = cmd + ' >' + quote(outf)
/external/cldr/tools/java/org/unicode/cldr/json/
DLdml2JsonConverter.java500 PrintWriter outf = FileUtilities.openUTF8Writer(outputDir, outFilename); in convertCldrItems() local
501 JsonWriter out = new JsonWriter(outf); in convertCldrItems()
634 outf.println(); in convertCldrItems()
683 … PrintWriter outf = FileUtilities.openUTF8Writer(outputDir + "/" + packageName, "package.json"); in writePackageJson() local
714 outf.println(gson.toJson(obj)); in writePackageJson()
715 outf.close(); in writePackageJson()
719 … PrintWriter outf = FileUtilities.openUTF8Writer(outputDir + "/" + packageName, "bower.json"); in writeBowerJson() local
741 outf.println(gson.toJson(obj)); in writeBowerJson()
742 outf.close(); in writeBowerJson()
746 … PrintWriter outf = FileUtilities.openUTF8Writer(outputDir + "/cldr-core", "defaultContent.json"); in writeDefaultContent() local
[all …]
/external/grpc-grpc/tools/line_count/
Dyaml2csv.py32 with open(args.output, 'w') as outf:
34 outf, ['date', 'name', 'language', 'code', 'comment', 'blank'])
/external/python/cpython3/Lib/distutils/command/
Dbuild_scripts.py129 with open(outfile, "wb") as outf:
130 outf.write(shebang)
131 outf.writelines(f.readlines())

123