Home
last modified time | relevance | path

Searched refs:getline (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/external/libcxx/test/std/strings/basic.string/string.nonmembers/string.io/
Dget_line_delim.pass.cpp28 getline(in, s, '*'); in main()
31 getline(in, s, '*'); in main()
34 getline(in, s, '*'); in main()
37 getline(in, s, '*'); in main()
44 getline(in, s, L'*'); in main()
47 getline(in, s, L'*'); in main()
50 getline(in, s, L'*'); in main()
53 getline(in, s, L'*'); in main()
62 getline(in, s, '*'); in main()
65 getline(in, s, '*'); in main()
[all …]
Dget_line.pass.cpp28 getline(in, s); in main()
31 getline(in, s); in main()
34 getline(in, s); in main()
41 getline(in, s); in main()
44 getline(in, s); in main()
47 getline(in, s); in main()
56 getline(in, s); in main()
59 getline(in, s); in main()
62 getline(in, s); in main()
70 getline(in, s); in main()
[all …]
Dget_line_rv.pass.cpp29 getline(std::istringstream(" abc\n def\n ghij"), s); in main()
34 getline(std::wistringstream(L" abc\n def\n ghij"), s); in main()
40 getline(std::istringstream(" abc\n def\n ghij"), s); in main()
46 getline(std::wistringstream(L" abc\n def\n ghij"), s); in main()
Dget_line_delim_rv.pass.cpp29 getline(std::istringstream(" abc* def* ghij"), s, '*'); in main()
34 getline(std::wistringstream(L" abc* def* ghij"), s, L'*'); in main()
40 getline(std::istringstream(" abc* def* ghij"), s, '*'); in main()
46 getline(std::wistringstream(L" abc* def* ghij"), s, L'*'); in main()
/external/python/cpython2/Lib/test/
Dtest_linecache.py42 getline = linecache.getline
45 self.assertEqual(getline(FILENAME, 2**15), EMPTY)
46 self.assertEqual(getline(FILENAME, -1), EMPTY)
49 self.assertRaises(TypeError, getline, FILENAME, 1.1)
52 self.assertEqual(getline(EMPTY, 1), EMPTY)
53 self.assertEqual(getline(INVALID_NAME, 1), EMPTY)
59 self.assertEqual(line, getline(filename, index + 1))
65 self.assertEqual(line, getline(filename, index + 1))
83 linecache.getline(filename, 1)
95 getline = linecache.getline
[all …]
/external/python/cpython3/Lib/test/
Dtest_linecache.py63 cached_line = linecache.getline(self.file_name, index + 1)
76 linecache.getline, self.file_name, 1)
102 getline = linecache.getline
105 self.assertEqual(getline(FILENAME, 2**15), EMPTY)
106 self.assertEqual(getline(FILENAME, -1), EMPTY)
109 self.assertRaises(TypeError, getline, FILENAME, 1.1)
112 self.assertEqual(getline(EMPTY, 1), EMPTY)
113 self.assertEqual(getline(INVALID_NAME, 1), EMPTY)
120 self.assertEqual(line, getline(filename, index + 1))
138 linecache.getline(filename, 1)
[all …]
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
Dgetline_pointer_size.pass.cpp58 is.getline(s, 5); in main()
63 is.getline(s, 5); in main()
68 is.getline(s, 5); in main()
74 is.getline(s, 5); in main()
88 is.getline(s, 5); in main()
104 is.getline(s, 5); in main()
109 is.getline(s, 5); in main()
114 is.getline(s, 5); in main()
120 is.getline(s, 5); in main()
134 is.getline(s, 5); in main()
Dgetline_pointer_size_chart.pass.cpp58 is.getline(s, 5, '*'); in main()
63 is.getline(s, 5, '*'); in main()
68 is.getline(s, 5, '*'); in main()
74 is.getline(s, 5, '*'); in main()
88 is.getline(s, 5, '*'); in main()
104 is.getline(s, 5, L'*'); in main()
109 is.getline(s, 5, L'*'); in main()
114 is.getline(s, 5, L'*'); in main()
120 is.getline(s, 5, L'*'); in main()
134 is.getline(s, 5, L'*'); in main()
/external/protobuf/examples/
Dadd_person.cc18 getline(cin, *person->mutable_name()); in PromptForAddress()
22 getline(cin, email); in PromptForAddress()
30 getline(cin, number); in PromptForAddress()
40 getline(cin, type); in PromptForAddress()
/external/clang/test/Analysis/
Dtaint-tester.cpp8 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
14 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict);
24 while ((read = T.getline(&line, &len, stdin)) != -1) { in getlineTest()
/external/selinux/libselinux/src/
Dinit.c69 num = getline(&buf, &len, fp); in selinuxfs_exists()
75 num = getline(&buf, &len, fp); in selinuxfs_exists()
109 while ((num = getline(&buf, &len, fp)) != -1) { in hidden_def()
/external/python/cpython3/Doc/library/
Dlinecache.rst25 .. function:: getline(filename, lineno, module_globals=None)
42 previously read using :func:`getline`.
54 lines later via :func:`getline` even if *module_globals* is ``None`` in the later
63 >>> linecache.getline(linecache.__file__, 8)
/external/u-boot/examples/standalone/
Datmel_df_pow2.c76 static char *getline(void) in getline() function
137 line = getline(); in atmel_df_pow2()
192 line = getline(); in atmel_df_pow2()
/external/compiler-rt/test/msan/
Dgetline.cc28 int n = getline(&line, &len, fp); in main()
32 n = getline(&line, &len, fp); in main()
/external/tensorflow/tensorflow/lite/testing/kernel_test/
Ddiff_analyzer_test.cc39 std::getline(file, content); in TEST()
40 std::getline(file, content); in TEST()
/external/zlib/src/contrib/iostream3/
Dtest.cc27 while (inf.getline(buf,80,'\n')) { in main()
43 while (inf.getline(buf,80,'\n')) { in main()
/external/python/cpython2/Doc/library/
Dlinecache.rst21 .. function:: getline(filename, lineno[, module_globals])
41 previously read using :func:`getline`.
53 >>> linecache.getline('/etc/passwd', 4)
/external/libpng/scripts/
Ddfn.awk127 if (getline nextline) {
153 if (getline nextline) {
/external/python/cpython2/Demo/threads/
Dsquasher.py45 def getline(text): function
96 cogetline = co.create(getline, test)
/external/eigen/unsupported/Eigen/src/SparseExtra/
DMarketIO.h119 std::getline(in, line); eigen_assert(in.good()); in getMarketHeader()
151 while(input.getline(buffer, maxBuffersize)) in loadMarket()
204 std::getline(in, line); eigen_assert(in.good()); in loadMarketVector()
212 while ( std::getline(in, line) && (i < n) ){ in loadMarketVector()
/external/grpc-grpc/test/cpp/qps/
Dusage_timer.cc62 std::getline(proc_stat, first_line); in get_cpu_usage()
65 std::getline(first_line_s, cpu_time_str, ' '); in get_cpu_usage()
/external/libdrm/amdgpu/
Damdgpu_asic_id.c124 while ((n = getline(&line, &len, fp)) != -1) { in amdgpu_parse_asic_ids()
139 while ((n = getline(&line, &len, fp)) != -1) { in amdgpu_parse_asic_ids()
/external/bcc/src/cc/
Dbcc_perf_map.c50 while (getline(&line, &size, status) != -1) { in bcc_perf_map_nstgid()
92 while (getline(&line, &size, file) != -1) { in bcc_perf_map_foreach_sym()
/external/gptfdisk/
Dsupport.cc42 getline(cin, inString); in ReadString()
60 cin.getline(line, 255); in GetNumber()
109 cin.getline(line, 255); in GetSectorNum()
/external/yapf/plugins/vim/autoload/
Dyapf.vim30 let l:formatted_text = systemlist(l:cmd, join(getline(1, '$'), "\n") . "\n")
33 \ split(system(l:cmd, join(getline(1, '$'), "\n") . "\n"), "\n")

12345678910>>...13