/third_party/python/Lib/test/ |
D | test_linecache.py | 64 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/ |
D | glmark2Benchmark.cpp | 198 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/ |
D | profile-data-reader.cc | 54 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/ |
D | tmpfile_test.cc | 43 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/ |
D | add_person.cc | 24 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/ |
D | getline.c | 37 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/ |
D | init.c | 68 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/ |
D | linecache.rst | 25 .. 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/ |
D | sfn_test_shaders.cpp | 3070 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/ |
D | test.cc | 27 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/ |
D | ToggleParser.cpp | 29 while (getline(toggles, toggle, ',')) { in ParseEnabledToggles() 43 while (getline(toggles, toggle, ',')) { in ParseDisabledToggles()
|
/third_party/skia/third_party/externals/libpng/scripts/ |
D | dfn.awk | 127 if (getline nextline) { 153 if (getline nextline) {
|
/third_party/json/tests/thirdparty/Fuzzer/ |
D | FuzzerMerge.cpp | 53 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/ |
D | uudecode.c | 38 if ((n = getline(&line, &allocated_length, ifp)) == -1) 56 if (m == 2 || (n = getline(&line, &allocated_length, ifp)) == -1) break;
|
/third_party/libdrm/amdgpu/ |
D | amdgpu_asic_id.c | 124 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/ |
D | vkAppParamsUtil.cpp | 60 while (std::getline(file, line)) in readApplicationParameters() 80 while (std::getline(sstream, token, ',')) in readApplicationParameters()
|
/third_party/json/docs/mkdocs/docs/features/parsing/ |
D | json_lines.md | 21 [`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/ |
D | failure_signal_handler_test.cc | 118 std::getline(error_output, error_line); in TEST_P() 132 std::getline(error_output, error_line); in TEST_P()
|
/third_party/python/Tools/scripts/ |
D | pindent.py | 142 def getline(self): member in PythonIndenter 166 line = self.getline() 210 line = self.getline() 239 line = self.getline()
|
/third_party/tzdata/ |
D | checktab.awk | 12 while (getline <iso_table) { 53 while (getline <zone_table) {
|
/third_party/cups-filters/filter/ |
D | banner.c | 145 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/ |
D | getline.c | 3 ssize_t getline(char **restrict s, size_t *restrict n, FILE *restrict f) in getline() function
|
/third_party/jerryscript/targets/zephyr/src/ |
D | Makefile | 22 obj-y += main-zephyr.o getline-zephyr.o jerry-port.o
|
/third_party/node/deps/cares/ |
D | get_ver.awk | 12 while ((getline < ARGV[1]) > 0) {
|
/third_party/musl/src/passwd/ |
D | fgetspent.c | 12 if (getline(&line, &size, f) >= 0 && __parsespent(line, &sp) >= 0) res = &sp; in fgetspent()
|