Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/
Dassign_t.pass.cpp31 std::ostringstream outf; in main() local
32 std::ostream_iterator<int> i(outf); in main()
34 assert(outf.str() == "2"); in main()
37 std::ostringstream outf; in main() local
38 std::ostream_iterator<int> i(outf, ", "); in main()
40 assert(outf.str() == "2, "); in main()
43 std::wostringstream outf; in main() local
44 std::ostream_iterator<int, wchar_t> i(outf); in main()
46 assert(outf.str() == L"2"); in main()
49 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.c460 FILE *outf; in main() local
472 outf = fopen(FGETSFILE, "wb+"); in main()
473 if(!outf) { in main()
481 fclose(outf); in main()
487 fwrite(buffer, 1, strlen(buffer), outf); in main()
492 fclose(outf); in main()
496 outf = fopen(FREADFILE, "wb+"); in main()
497 if(!outf) { in main()
505 fclose(outf); in main()
511 fwrite(buffer, 1, nread, outf); in main()
[all …]
/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/valgrind/none/tests/mips32/
Dfpu_branches.c46 float outf = 0; \
58 : "=f" (outf) \
63 instruction, outf, fs_f[i], ft_f[i]); \
90 float outf = 0; \
101 : "=f" (outf) \
106 instruction, outf, fs_f[i], ft_f[i]); \
132 float outf = 0; \
144 : "=f" (outf) \
149 instruction, outf, fs_f[i], ft_f[i]); \
/external/valgrind/none/tests/mips64/
Dmacro_fpu.h219 float outf = 0; \
233 : "=f" (outf) \
238 instruction, outf, fs_f[i], ft_f[i]); \
267 float outf = 0; \
280 : "=f" (outf) \
285 instruction, outf, fs_f[i], ft_f[i]); \
313 float outf = 0; \
326 : "=f" (outf) \
331 instruction, outf, fs_f[i], ft_f[i]); \
/external/strace/
Dcount.c155 call_summary_pers(FILE *outf) in call_summary_pers() argument
169 fprintf(outf, header, in call_summary_pers()
172 fprintf(outf, header, dashes, dashes, dashes, dashes, dashes, dashes); in call_summary_pers()
207 fprintf(outf, data, in call_summary_pers()
215 fprintf(outf, header, dashes, dashes, dashes, dashes, dashes, dashes); in call_summary_pers()
216 fprintf(outf, summary, in call_summary_pers()
222 call_summary(FILE *outf) in call_summary() argument
233 fprintf(outf, in call_summary()
236 call_summary_pers(outf); in call_summary()
Dstrace.c518 if (tcp->outf == stderr) in outf_perror()
533 int n = vfprintf(current_tcp->outf, fmt, args); in tvprintf()
559 int n = fputs_unlocked(str, current_tcp->outf); in tprints()
593 if (fflush(tcp->outf)) in flush_tcp_output()
695 tcp->outf = shared_log; /* if not -ff mode, the same file is for all */ in newoutf()
699 tcp->outf = strace_fopen(name); in newoutf()
809 if (tcp->outf) { in droptcb()
812 fprintf(tcp->outf, " <detached ...>\n"); in droptcb()
813 fclose(tcp->outf); in droptcb()
816 fprintf(tcp->outf, " <detached ...>\n"); in droptcb()
[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/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/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/icu/icu4c/source/tools/escapesrc/
Descapesrc.cpp361 std::ofstream outf; in convert() local
363 outf.open(outfile.c_str(), std::ios::out); in convert()
365 if(!outf.is_open()) { in convert()
371 outf << "#line 1 \"" << infile << "\"" << '\n'; in convert()
378 outf.close(); in convert()
383 outf << linestr << '\n'; in convert()
/external/autotest/client/site_tests/security_Firewall/
Dsecurity_Firewall.py44 outf = open(os.path.join(self.resultsdir, "%s_rules" % executable), 'w')
46 outf.write(rule + "\n")
48 outf.close()
/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/python/cpython3/Lib/distutils/command/
Dbuild_scripts.py129 with open(outfile, "wb") as outf:
130 outf.write(shebang)
131 outf.writelines(f.readlines())
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c2200 char outf[INOUTF_SZ]; in do_scsi_device_read_write() local
2225 strcpy(outf, device); in do_scsi_device_read_write()
2248 inf, skip, outf, seek, dd_count); in do_scsi_device_read_write()
2319 if (outf[0] && ('-' != outf[0])) { in do_scsi_device_read_write()
2320 out_type = dd_filetype(outf); in do_scsi_device_read_write()
2327 ME "unable to use scsi tape device %s\n", outf); in do_scsi_device_read_write()
2330 if ((outfd = open(outf, O_RDWR)) < 0) { in do_scsi_device_read_write()
2333 outf); in do_scsi_device_read_write()
2357 if ((outfd = open(outf, flags, 0666)) < 0) { in do_scsi_device_read_write()
2361 outf); in do_scsi_device_read_write()
[all …]
/external/python/cpython3/Python/
Dsysmodule.c107 sys_displayhook_unencodable(PyObject *outf, PyObject *o) in sys_displayhook_unencodable() argument
114 stdout_encoding = _PyObject_GetAttrId(outf, &PyId_encoding); in sys_displayhook_unencodable()
131 buffer = _PyObject_GetAttrId(outf, &PyId_buffer); in sys_displayhook_unencodable()
146 if (PyFile_WriteObject(escaped_str, outf, Py_PRINT_RAW) != 0) { in sys_displayhook_unencodable()
165 PyObject *outf; in sys_displayhook() local
187 outf = _PySys_GetObjectId(&PyId_stdout); in sys_displayhook()
188 if (outf == NULL || outf == Py_None) { in sys_displayhook()
192 if (PyFile_WriteObject(o, outf, 0) != 0) { in sys_displayhook()
197 err = sys_displayhook_unencodable(outf, o); in sys_displayhook()
210 if (PyFile_WriteObject(newline, outf, Py_PRINT_RAW) != 0) in sys_displayhook()

12