Home
last modified time | relevance | path

Searched refs:first_line (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/protobuf/objectivec/DevTools/
Dpddm.py429 def first_line(self): member in SourceFile.SectionBase
464 (directive, line_num, self.first_line))
470 self.first_line)
498 self.first_line_num, self.first_line))
521 (directive, line_num, self.first_line))
533 (e.message, self.first_line_num, self.first_line))
554 ' "%s".' % (self.first_line_num, self.first_line))
555 import_name = self.first_line.split(' ', 1)[1].strip()
560 (import_name, self.first_line_num, self.first_line))
569 (e.message, self.first_line_num, self.first_line))
/third_party/grpc/test/cpp/qps/
Dusage_timer.cc61 std::string first_line; in get_cpu_usage() local
62 std::getline(proc_stat, first_line); in get_cpu_usage()
63 std::stringstream first_line_s(first_line); in get_cpu_usage()
/third_party/python/Lib/
Ddis.py261 def get_instructions(x, *, first_line=None): argument
275 if first_line is not None:
276 line_offset = first_line - co.co_firstlineno
474 def __init__(self, x, *, first_line=None, current_offset=None): argument
476 if first_line is None:
477 self.first_line = co.co_firstlineno
480 self.first_line = first_line
481 self._line_offset = first_line - co.co_firstlineno
Dcgi.py620 first_line = self.fp.readline() # bytes
621 if not isinstance(first_line, bytes):
623 % (self.fp, type(first_line).__name__))
624 self.bytes_read += len(first_line)
627 while (first_line.strip() != (b"--" + self.innerboundary) and
628 first_line):
629 first_line = self.fp.readline()
630 self.bytes_read += len(first_line)
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.h77 int first_line; member
90 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
97 (Current).first_line = (Current).last_line = \
Dpp.c40 locp->first_line, in glcpp_error()
57 locp->first_line, in glcpp_warning()
/third_party/gn/misc/
Dhelp_as_html.py49 first_line = True
53 if first_line:
58 first_line = False
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DIntermNode_test.cpp99 ASSERT_EQ(original->getLine().first_line, copy->getLine().first_line); in checkSymbolCopy()
108 loc.first_line = mUniqueIndex + 1; in createUniqueSourceLoc()
119 loc.first_line = 2; in getTestSourceLoc()
128 ASSERT_EQ(2, loc.first_line); in checkTestSourceLoc()
/third_party/mbedtls/tests/scripts/
Dcheck_files.py200 def is_valid_shebang(self, first_line, filepath): argument
201 m = re.match(self._shebang_re, first_line)
214 first_line = f.readline()
215 if first_line.startswith(b'#!'):
219 elif not self.is_valid_shebang(first_line, filepath):
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DIntermNode_test.cpp99 ASSERT_EQ(original->getLine().first_line, copy->getLine().first_line); in checkSymbolCopy()
108 loc.first_line = mUniqueIndex + 1; in createUniqueSourceLoc()
119 loc.first_line = 2; in getTestSourceLoc()
128 ASSERT_EQ(2, loc.first_line); in checkTestSourceLoc()
/third_party/python/Lib/distutils/command/
Dbuild_scripts.py84 first_line = f.readline()
85 if not first_line:
89 match = first_line_re.match(first_line)
/third_party/ffmpeg/tools/
Dgraph2dot.c158 struct line *line, *last_line, *first_line; in main() local
160 last_line = first_line = av_malloc(sizeof(struct line)); in main()
184 for (line = first_line; line->next; line = line->next) { in main()
/third_party/boost/boost/iostreams/filter/
Dcounter.hpp42 explicit basic_counter(int first_line = 0, int first_char = 0) in basic_counter() argument
43 : lines_(first_line), chars_(first_char) in basic_counter()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DDiagnostics.cpp72 srcLoc.line = loc.first_line; in error()
80 srcLoc.line = loc.first_line; in warning()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DDiagnostics.cpp72 srcLoc.line = loc.first_line; in error()
80 srcLoc.line = loc.first_line; in warning()
/third_party/json/benchmarks/thirdparty/benchmark/tools/gbench/
Dreport.py99first_line = "{:<{}s}Time CPU Time Old Time New CPU Old CPU New"…
101 output_strs = [first_line, '-' * len(first_line)]
/third_party/mesa3d/src/compiler/glsl/
Dast.h82 locp.first_line = this->location.first_line; in get_location()
99 this->location.first_line = locp.first_line; in set_location()
114 this->location.first_line = begin.first_line; in set_location_range()
126 unsigned first_line; /**< First line number within the source string. */ member
Dglsl_parser_extras.h66 int first_line; member
980 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
988 (Current).first_line = (Current).last_line = \
/third_party/skia/third_party/externals/tint/tools/
Drun_tests.py60 first_line = test.readline()
61 if (first_line.startswith("# v-")):
62 reason = first_line[2:8]
/third_party/cef/tools/yapf/yapf/yapflib/
Dfile_resources.py165 first_line = fd.readlines()[0]
169 return re.match(r'^#!.*\bpython[23]?\b', first_line)
/third_party/benchmark/test/
Doutput_test_helper.cc97 std::string first_line; in CheckCase() local
104 first_line = line; in CheckCase()
112 << "\n started matching near: " << first_line; in CheckCase()
119 << "\n started matching near: " << first_line; in CheckCase()
125 << "\n started matching near: " << first_line; in CheckCase()
/third_party/boost/libs/program_options/src/
Doptions_description.cpp486 bool first_line = true; // of current paragraph! in format_paragraph() local
490 if (!first_line) in format_paragraph()
538 if (first_line) in format_paragraph()
542 first_line = false; in format_paragraph()
/third_party/flutter/skia/third_party/externals/angle2/scripts/
Drun_code_generation.py42 def get_executable_name(first_line): argument
43 if 'vpython' in first_line:
/third_party/skia/third_party/externals/angle2/scripts/
Drun_code_generation.py42 def get_executable_name(first_line): argument
43 binary = os.path.basename(first_line.strip().replace(' ', '/'))
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DInfoSink.cpp46 int string = loc.first_file, line = loc.first_line; in location()

1234