/external/libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/ |
D | assign_t.pass.cpp | 33 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/ |
D | ostream_delim.pass.cpp | 31 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()
|
D | ostream.pass.cpp | 30 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()
|
D | copy.pass.cpp | 22 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/ |
D | assign_c.pass.cpp | 24 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()
|
D | deref.pass.cpp | 23 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()
|
D | increment.pass.cpp | 24 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/ |
D | test.cc | 13 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/ |
D | fopen.c | 458 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/ |
D | count.c | 126 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/ |
D | cgroup.py | 135 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/ |
D | ostream.pass.cpp | 23 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()
|
D | streambuf.pass.cpp | 23 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/ |
D | build_scripts.py | 96 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/ |
D | dtc.c | 178 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/ |
D | dtc.c | 176 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/ |
D | copy_file_large.pass.cpp | 68 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/ |
D | escapesrc.cpp | 377 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/ |
D | proftool.c | 61 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/ |
D | pipes.py | 219 [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/ |
D | benchcmp.go | 184 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/ |
D | pipes.py | 231 [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/ |
D | Ldml2JsonConverter.java | 500 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/ |
D | yaml2csv.py | 32 with open(args.output, 'w') as outf: 34 outf, ['date', 'name', 'language', 'code', 'comment', 'blank'])
|
/external/python/cpython3/Lib/distutils/command/ |
D | build_scripts.py | 129 with open(outfile, "wb") as outf: 130 outf.write(shebang) 131 outf.writelines(f.readlines())
|