Home
last modified time | relevance | path

Searched refs:lineNo (Results 1 – 25 of 40) sorted by relevance

12

/external/angle/src/tests/preprocessor_tests/
Dinput_test.cpp38 int lineNo = 0; in TEST() local
39 EXPECT_EQ(0u, input.read(nullptr, 1, &lineNo)); in TEST()
81 int lineNo = 0; in TEST() local
83 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
85 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
87 EXPECT_EQ(1u, input1.read(buf, maxSize, &lineNo)); in TEST()
89 EXPECT_EQ(0u, input1.read(buf, maxSize, &lineNo)); in TEST()
93 EXPECT_EQ(2u, input2.read(buf, maxSize, &lineNo)); in TEST()
95 EXPECT_EQ(1u, input2.read(buf, maxSize, &lineNo)); in TEST()
97 EXPECT_EQ(0u, input2.read(buf, maxSize, &lineNo)); in TEST()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DResourceReader.java47 private int lineNo; field in ResourceReader
89 lineNo = -1; in ResourceReader()
104 this.lineNo = -1; in ResourceReader()
111 this.lineNo= 0; in ResourceReader()
137 lineNo = -1; in ResourceReader()
148 if (lineNo == 0) { in readLine()
150 ++lineNo; in readLine()
158 ++lineNo; in readLine()
201 return lineNo; in getLineNumber()
209 return resourceName + ':' + lineNo; in describePosition()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/
DResourceReader.java49 private int lineNo; field in ResourceReader
91 lineNo = -1; in ResourceReader()
106 this.lineNo = -1; in ResourceReader()
113 this.lineNo= 0; in ResourceReader()
139 lineNo = -1; in ResourceReader()
150 if (lineNo == 0) { in readLine()
152 ++lineNo; in readLine()
160 ++lineNo; in readLine()
203 return lineNo; in getLineNumber()
211 return resourceName + ':' + lineNo; in describePosition()
[all …]
/external/boringssl/src/util/
Ddoc.go98 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e…
100 return nil, lines, lineNo, nil
103 restLineNo = lineNo
172 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error…
174 return "", lines, lineNo, nil
178 restLineNo = lineNo
312 lineNo := 1
317 lineNo += i + 1
330 lineNo += 2
341 lineNo += i
[all …]
Dconvert_comments.go207 var lineNo int
237 fmt.Fprintf(os.Stderr, "%s:%d: Line is now longer than 80 characters\n", path, lineNo+i+1)
243 lineNo += len(group.lines)
/external/catch2/scripts/
Dembed.py27 def mapLine( self, lineNo, line ): argument
59 lineNo = 1
61 outf.write( self.mapLine( lineNo, line ) )
62 lineNo = lineNo + 1
63 print( "Written {0} lines".format( lineNo ) )
/external/boringssl/src/crypto/err/
Derr_data_generate.go184 lineNo := 0
186 lineNo++
194 return fmt.Errorf("bad line %d in %s: found %d values but want 3", lineNo, filename, len(parts))
198 return fmt.Errorf("bad line %d in %s: unknown library", lineNo, filename)
201 return fmt.Errorf("bad line %d in %s: library value too large", lineNo, filename)
205 return fmt.Errorf("bad line %d in %s: %s", lineNo, filename, err)
208 return fmt.Errorf("bad line %d in %s: key too large", lineNo, filename)
/external/angle/src/compiler/preprocessor/
DInput.cpp52 size_t Input::read(char *buf, size_t maxSize, int *lineNo) in read() argument
68 if (*lineNo == INT_MAX) in read()
72 ++(*lineNo); in read()
83 if (*lineNo == INT_MAX) in read()
87 ++(*lineNo); in read()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DInput.cpp60 size_t Input::read(char *buf, size_t maxSize, int *lineNo) in read() argument
76 if (*lineNo == INT_MAX) in read()
80 ++(*lineNo); in read()
91 if (*lineNo == INT_MAX) in read()
95 ++(*lineNo); in read()
/external/libxml2/
Dcheck-xsddata-test-suite.py84 print "instance line %d" % (node.lineNo())
96 nb_instances_tests, node.lineNo())
137 print "instance line %d" % (node.lineNo())
280 nb_schemas_tests, node.lineNo(), sections))
283 print "test %d line %d" % (nb_schemas_tests, node.lineNo())
295 print "warning test line %d has more than one <incorrect> example" %(node.lineNo())
301 print "warning test line %d has more than one <correct> example"% (node.lineNo())
304 print "warning <testCase> line %d has no <correct> nor <incorrect> child" % (node.lineNo())
Dcheck-relaxng-test-suite2.py85 print "instance line %d" % (node.lineNo())
138 print "instance line %d" % (node.lineNo())
282 nb_schemas_tests, node.lineNo(), sections))
285 print "test %d line %d" % (nb_schemas_tests, node.lineNo())
297 print "warning test line %d has more than one <incorrect> example" %(node.lineNo())
303 print "warning test line %d has more than one <correct> example"% (node.lineNo())
306 print "warning <testCase> line %d has no <correct> nor <incorrect> child" % (node.lineNo())
Dcheck-relaxng-test-suite.py268 nb_schemas_tests, node.lineNo(), sections))
271 print "test %d line %d" % (nb_schemas_tests, node.lineNo())
283 print "warning test line %d has more than one <incorrect> example" %(node.lineNo())
289 print "warning test line %d has more than one <correct> example"% (node.lineNo())
292 print "warning <testCase> line %d has no <correct> nor <incorrect> child" % (node.lineNo())
/external/antlr/tool/src/main/java/org/antlr/codegen/
DPython3Target.java148 int lineNo = actionToken.getLine(); in postProcessAction() local
164 lineNo++; in postProcessAction()
196 System.err.println("Warning: badly indented line " + lineNo + " in action:"); in postProcessAction()
206 System.err.println("Warning: badly indented line " + lineNo + " in action:"); in postProcessAction()
212 lineNo++; in postProcessAction()
DPythonTarget.java147 int lineNo = actionToken.getLine(); in postProcessAction() local
163 lineNo++; in postProcessAction()
195 System.err.println("Warning: badly indented line " + lineNo + " in action:"); in postProcessAction()
205 System.err.println("Warning: badly indented line " + lineNo + " in action:"); in postProcessAction()
211 lineNo++; in postProcessAction()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DUCAConformanceTest.java199 int lineNo = 0; in conformanceTest() local
207 lineNo++; in conformanceTest()
214 logln("Skipping line " + lineNo + " because of a known bug"); in conformanceTest()
231 lineNo, cmpres, cmpres2)); in conformanceTest()
239 + ") on line " + lineNo); in conformanceTest()
253 errln("Line " + lineNo + " is not greater or equal than previous line"); in conformanceTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DUCAConformanceTest.java202 int lineNo = 0; in conformanceTest() local
210 lineNo++; in conformanceTest()
217 logln("Skipping line " + lineNo + " because of a known bug"); in conformanceTest()
234 lineNo, cmpres, cmpres2)); in conformanceTest()
242 + ") on line " + lineNo); in conformanceTest()
256 errln("Line " + lineNo + " is not greater or equal than previous line"); in conformanceTest()
/external/llvm-project/mlir/lib/IR/
DDiagnostics.cpp528 unsigned lineNo; member
599 for (unsigned lineNo = 0, e = lines.size(); lineNo < e; ++lineNo) { in computeExpectedDiags() local
601 if (!expected.match(lines[lineNo], &matches)) { in computeExpectedDiags()
605 expectedDiags[diagIndex].lineNo = lineNo + 1; in computeExpectedDiags()
608 lastNonDesignatorLine = lineNo; in computeExpectedDiags()
627 ExpectedDiag record{kind, lineNo + 1, matches[4], expectedStart, false}; in computeExpectedDiags()
638 record.lineNo += offset; in computeExpectedDiags()
640 record.lineNo -= offset; in computeExpectedDiags()
644 record.lineNo = lastNonDesignatorLine + 1; in computeExpectedDiags()
653 record.lineNo = e; in computeExpectedDiags()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtextfile.h67 int32_t lineNo; variable
71 return lineNo; in getLineNumber()
Dtextfile.cpp28 lineNo(0) in TextFile()
105 if (lineNo == 0 && str[0] == 0xFEFF) { in readLine()
108 ++lineNo; in readLine()
/external/junit-params/src/main/java/junitparams/mappers/
DBufferedReaderDataMapper.java28 int lineNo = 0; in map() local
31 if (++lineNo > linesToSkip) { in map()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test_to_fuzzer.go39 lineNo int member
52 s.lineNo++
99 s.test.LineNumber = s.lineNo
129 s.err = fmt.Errorf("line %d: %s", s.lineNo, err)
/external/llvm-project/llvm/tools/split-file/
Dsplit-file.cpp71 const int64_t lineNo = i.line_number(); in handle() local
80 error(input, lineNo, "empty part name"); in handle()
84 error(input, lineNo, "part name cannot have leading or trailing space"); in handle()
90 error(input, lineNo, in handle()
/external/clang/lib/Rewrite/
DRewriter.cpp248 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1; in InsertText() local
251 unsigned lineOffs = Content->SourceLineCache[lineNo]; in InsertText()
382 for (unsigned lineNo = startLineNo; lineNo <= endLineNo; ++lineNo) { in IncreaseIndentation() local
383 unsigned offs = Content->SourceLineCache[lineNo]; in IncreaseIndentation()
/external/llvm-project/clang/lib/Rewrite/
DRewriter.cpp265 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1; in InsertText() local
268 unsigned lineOffs = Content->SourceLineCache[lineNo]; in InsertText()
399 for (unsigned lineNo = startLineNo; lineNo <= endLineNo; ++lineNo) { in IncreaseIndentation() local
400 unsigned offs = Content->SourceLineCache[lineNo]; in IncreaseIndentation()
/external/skia/tests/
DTest.cpp37 this->reportFailed(skiatest::Failure(f.fileName, f.lineNo, f.condition, fullMessage)); in reportFailedWithContext()
41 SkString result = SkStringPrintf("%s:%d\t", this->fileName, this->lineNo); in toString()

12