Home
last modified time | relevance | path

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

1234567891011

/third_party/python/Lib/test/
Dtest_linecache.py64 cached_line = linecache.getline(self.file_name, index + 1)
77 linecache.getline, self.file_name, 1)
103 getline = linecache.getline
106 self.assertEqual(getline(FILENAME, 2**15), EMPTY)
107 self.assertEqual(getline(FILENAME, -1), EMPTY)
110 self.assertRaises(TypeError, getline, FILENAME, 1.1)
113 self.assertEqual(getline(EMPTY, 1), EMPTY)
114 self.assertEqual(getline(INVALID_NAME, 1), EMPTY)
121 self.assertEqual(line, getline(filename, index + 1))
139 linecache.getline(filename, 1)
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
Dglmark2Benchmark.cpp198 while (std::getline(glmark2Output, line) && BeginsWith(line, "INFO:")) in parseOutput()
207 std::getline(glmark2Output, line); in parseOutput()
210 std::getline(glmark2Output, line); in parseOutput()
214 std::getline(glmark2Output, line); in parseOutput()
215 std::getline(glmark2Output, line); in parseOutput()
216 std::getline(glmark2Output, line); in parseOutput()
217 std::getline(glmark2Output, line); in parseOutput()
224 std::getline(glmark2Output, line); in parseOutput()
228 while (std::getline(glmark2Output, line) && line[0] != '=') in parseOutput()
/third_party/node/deps/v8/src/builtins/
Dprofile-data-reader.cc54 for (std::string line; std::getline(file, line);) { in EnsureInitProfileData()
57 if (!std::getline(line_stream, token, ',')) continue; in EnsureInitProfileData()
63 CHECK(std::getline(line_stream, builtin_name, ',')); in EnsureInitProfileData()
64 CHECK(std::getline(line_stream, token, ',')); in EnsureInitProfileData()
68 std::getline(line_stream, token, ','); in EnsureInitProfileData()
82 CHECK(std::getline(line_stream, builtin_name, ',')); in EnsureInitProfileData()
83 std::getline(line_stream, token, ','); in EnsureInitProfileData()
/third_party/skia/third_party/externals/tint/src/utils/io/
Dtmpfile_test.cc43 EXPECT_TRUE(std::getline(file, line)); in TEST()
45 EXPECT_FALSE(std::getline(file, line)); in TEST()
56 EXPECT_TRUE(std::getline(file, line)); in TEST()
58 EXPECT_TRUE(std::getline(file, line)); in TEST()
60 EXPECT_FALSE(std::getline(file, line)); in TEST()
/third_party/protobuf/examples/
Dadd_person.cc24 getline(cin, *person->mutable_name()); in PromptForAddress()
28 getline(cin, email); in PromptForAddress()
36 getline(cin, number); in PromptForAddress()
46 getline(cin, type); in PromptForAddress()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dgetline.c37 ssize_t read = getline(&line, &len, fp); in getline_0100()
58 ssize_t read = getline(NULL, &len, fp); in getline_0200()
78 ssize_t read = getline(&line, 0, fp); in getline_0300()
/third_party/selinux/libselinux/src/
Dinit.c68 num = getline(&buf, &len, fp); in selinuxfs_exists()
74 num = getline(&buf, &len, fp); in selinuxfs_exists()
107 while ((num = getline(&buf, &len, fp)) != -1) { in init_selinuxmnt()
/third_party/python/Doc/library/
Dlinecache.rst25 .. function:: getline(filename, lineno, module_globals=None)
45 previously read using :func:`getline`.
57 lines later via :func:`getline` even if *module_globals* is ``None`` in the later
66 >>> linecache.getline(linecache.__file__, 8)
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_test_shaders.cpp3070 std::getline(is, line); in from_string()
3088 while (std::getline(is, line)) { in from_string()
3104 while (std::getline(is, line)) { in from_string()
/third_party/zlib/contrib/iostream3/
Dtest.cc27 while (inf.getline(buf,80,'\n')) { in main()
43 while (inf.getline(buf,80,'\n')) { in main()
/third_party/skia/third_party/externals/dawn/src/tests/
DToggleParser.cpp29 while (getline(toggles, toggle, ',')) { in ParseEnabledToggles()
43 while (getline(toggles, toggle, ',')) { in ParseDisabledToggles()
/third_party/skia/third_party/externals/libpng/scripts/
Ddfn.awk127 if (getline nextline) {
153 if (getline nextline) {
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerMerge.cpp53 if (!std::getline(IS, Line, '\n')) return false; in Parse()
60 if (!std::getline(IS, Line, '\n')) return false; in Parse()
69 if (!std::getline(IS, Files[i].Name, '\n')) in Parse()
76 while (std::getline(IS, Line, '\n')) { in Parse()
/third_party/toybox/toys/posix/
Duudecode.c38 if ((n = getline(&line, &allocated_length, ifp)) == -1)
56 if (m == 2 || (n = getline(&line, &allocated_length, ifp)) == -1) break;
/third_party/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()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkAppParamsUtil.cpp60 while (std::getline(file, line)) in readApplicationParameters()
80 while (std::getline(sstream, token, ',')) in readApplicationParameters()
/third_party/json/docs/mkdocs/docs/features/parsing/
Djson_lines.md21 [`std::getline`](https://en.cppreference.com/w/cpp/string/basic_string/getline) can be used:
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dfailure_signal_handler_test.cc118 std::getline(error_output, error_line); in TEST_P()
132 std::getline(error_output, error_line); in TEST_P()
/third_party/python/Tools/scripts/
Dpindent.py142 def getline(self): member in PythonIndenter
166 line = self.getline()
210 line = self.getline()
239 line = self.getline()
/third_party/tzdata/
Dchecktab.awk12 while (getline <iso_table) {
53 while (getline <zone_table) {
/third_party/cups-filters/filter/
Dbanner.c145 if (getline(&line, &len, f) == -1 || in banner_new_from_file()
151 while (getline(&line, &len, f) != -1) { in banner_new_from_file()
/third_party/musl/src/stdio/
Dgetline.c3 ssize_t getline(char **restrict s, size_t *restrict n, FILE *restrict f) in getline() function
/third_party/jerryscript/targets/zephyr/src/
DMakefile22 obj-y += main-zephyr.o getline-zephyr.o jerry-port.o
/third_party/node/deps/cares/
Dget_ver.awk12 while ((getline < ARGV[1]) > 0) {
/third_party/musl/src/passwd/
Dfgetspent.c12 if (getline(&line, &size, f) >= 0 && __parsespent(line, &sp) >= 0) res = &sp; in fgetspent()

1234567891011