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/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/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/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/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/skia/tests/
DProcessorTest.cpp391 SkPMColor4f inf[3], outf[3]; in legal_modulation() local
394 outf[i] = SkPMColor4f::FromBytes_RGBA(out[i]); in legal_modulation()
410 const auto& out = outf[maxInIdx]; in legal_modulation()
435 bool isLegalColorModulation = fuzzy_color_equals(outf[0], expectedForColorModulation[0]) && in legal_modulation()
436 fuzzy_color_equals(outf[1], expectedForColorModulation[1]) && in legal_modulation()
437 fuzzy_color_equals(outf[2], expectedForColorModulation[2]); in legal_modulation()
439 bool isLegalAlphaModulation = fuzzy_color_equals(outf[0], expectedForAlphaModulation[0]) && in legal_modulation()
440 fuzzy_color_equals(outf[1], expectedForAlphaModulation[1]) && in legal_modulation()
441 fuzzy_color_equals(outf[2], expectedForAlphaModulation[2]); in legal_modulation()
455 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation()
[all …]
/external/icu/icu4c/source/tools/escapesrc/
Descapesrc.cpp380 std::ofstream outf; in convert() local
382 outf.open(outfile.c_str(), std::ios::out); in convert()
384 if(!outf.is_open()) { in convert()
390 outf << "#line 1 \"" << infile << "\"" << '\n'; in convert()
399 outf << linestr << '\n'; in convert()
406 outf.close(); 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/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/grpc-grpc/tools/line_count/
Dyaml2csv.py32 with open(args.output, 'w') as outf:
34 outf, ['date', 'name', 'language', 'code', 'comment', 'blank'])
/external/cldr/tools/java/org/unicode/cldr/json/
DLdml2JsonConverter.java499 PrintWriter outf = FileUtilities.openUTF8Writer(outputDir, outFilename); in convertCldrItems() local
500 JsonWriter out = new JsonWriter(outf); in convertCldrItems()
632 outf.println(); in convertCldrItems()
681 … PrintWriter outf = FileUtilities.openUTF8Writer(outputDir + "/" + packageName, "package.json"); in writePackageJson() local
712 outf.println(gson.toJson(obj)); in writePackageJson()
713 outf.close(); in writePackageJson()
717 … PrintWriter outf = FileUtilities.openUTF8Writer(outputDir + "/" + packageName, "bower.json"); in writeBowerJson() local
739 outf.println(gson.toJson(obj)); in writeBowerJson()
740 outf.close(); in writeBowerJson()
744 … PrintWriter outf = FileUtilities.openUTF8Writer(outputDir + "/cldr-core", "defaultContent.json"); in writeDefaultContent() local
[all …]
/external/python/cpython3/Lib/distutils/command/
Dbuild_scripts.py129 with open(outfile, "wb") as outf:
130 outf.write(shebang)
131 outf.writelines(f.readlines())
/external/minijail/tools/
Dcompile_seccomp_policy.py89 with opts.output as outf:
90 outf.write(

123