/external/llvm/utils/abtest/ |
mark_armfns.py | 12 linenum = 0 variable 20 linenum += 1 22 last_align = linenum 24 last_code = linenum 26 last_globl = linenum 30 if last_code == last_align+1 and (linenum - last_code) < 4: 35 end = linenum 43 linenum = 0 variable 45 linenum += 1 46 if in_func is not None and linenum == end [all...] |
mark_aarch64fns.py | 12 linenum = 0 variable 22 linenum += 1 34 last_align = linenum 38 last_globl = linenum 42 if last_globl+2 == linenum and last_globl_name == labelname: 46 end = linenum 54 linenum = 0 variable 56 linenum += 1 57 if in_func is not None and linenum == end: 61 triple = begins.get(linenum) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/ |
CommentParsingUnitTest.py | 55 LineNum = 0
58 LineNum += 1
59 TestCommentLinesList.append((Comment, LineNum))
96 LineNum = 0
99 LineNum += 1
100 TestCommentLinesList.append((Comment, LineNum))
137 LineNum = 0
140 LineNum += 1
141 TestCommentLinesList.append((Comment, LineNum))
182 LineNum = 0 [all...] |
/build/make/tools/ |
event_log_tags.py | 21 __slots__ = ["tagnum", "tagname", "description", "filename", "linenum"] 23 def __init__(self, tagnum, tagname, description, filename, linenum): 28 self.linenum = linenum 33 def AddError(self, msg, linenum=None): 34 if linenum is None: 35 linenum = self.linenum 36 self.errors.append((self.filename, linenum, msg)) 38 def AddWarning(self, msg, linenum=None) [all...] |
merge-event-log-tags.py | 108 (t.tagname, t.tagnum, orig.filename, orig.linenum), 109 linenum=t.linenum) variable 113 (t.tagname, orig.tagnum, orig.filename, orig.linenum), 114 linenum=t.linenum) variable 123 (t.tagnum, orig.tagname, orig.filename, orig.linenum), 124 linenum=t.linenum) variable
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/ |
VfrError.cpp | 114 IN UINT32 LineNum
121 mWholeScopeLine = LineNum;
178 IN UINT32 LineNum,
196 *FileLine = LineNum;
202 if ((LineNum > pNode->mWholeScopeLine) && (pNode->mNext->mWholeScopeLine > LineNum)) {
204 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1;
210 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1;
215 IN UINT32 LineNum,
228 GetFileNameLineNum (LineNum, &FileName, &FileLine); [all...] |
VfrError.h | 99 UINT8 HandleError (IN EFI_VFR_RETURN_CODE, IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL);
100 UINT8 HandleWarning (IN EFI_VFR_WARNING_CODE, IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL);
101 VOID PrintMsg (IN UINT32 LineNum = 0, IN CHAR8 *TokName = NULL, IN CONST CHAR8 *MsgType = "Error", IN CONST CHAR8 *ErrorMsg = "");
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/ |
VfrError.cpp | 97 IN UINT32 LineNum
104 mWholeScopeLine = LineNum;
162 IN UINT32 LineNum,
180 *FileLine = LineNum;
186 if ((LineNum > pNode->mWholeScopeLine) && (pNode->mNext->mWholeScopeLine > LineNum)) {
188 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1;
194 *FileLine = LineNum - pNode->mWholeScopeLine + pNode->mScopeLineStart - 1;
199 IN UINT32 LineNum,
208 GetFileNameLineNum (LineNum, &FileName, &FileLine); [all...] |
VfrError.h | 82 UINT8 HandleError (IN EFI_VFR_RETURN_CODE, IN UINT32 LineNum = 0, IN INT8 *TokName = "\0");
83 VOID PrintMsg (IN UINT32 LineNum = 0, IN INT8 *TokName = "\0", IN INT8 *MsgType = "Error", IN INT8 *ErrorMsg = "\0");
|
/external/lz4/contrib/gen_manual/ |
gen_manual.cpp | 66 vector<string> get_lines(vector<string>& input, int& linenum, string terminator) 72 while ((size_t)linenum < input.size()) { 73 line = input[linenum]; 75 if (terminator.empty() && line.empty()) { linenum--; break; } 83 linenum++; 108 int linenum, chapter = 1; local 139 for (linenum=0; (size_t)linenum < input.size(); linenum++) { 140 line = input[linenum]; [all...] |
/external/libvpx/libvpx/tools/ |
cpplint.py | 455 def ParseNolintSuppressions(filename, raw_line, linenum, error): 465 linenum: int, the number of the current line. 473 _error_suppressions.setdefault(None, set()).add(linenum) 478 _error_suppressions.setdefault(category, set()).add(linenum) 480 error(filename, linenum, 'readability/nolint', 5, 489 def IsErrorSuppressedByNolint(category, linenum): 497 linenum: int, the current line number. 501 return (linenum in _error_suppressions.get(category, set()) or 502 linenum in _error_suppressions.get(None, set())) 601 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path) [all...] |
/external/google-styleguide/cpplint/ |
cpplint.py | 577 def ParseNolintSuppressions(filename, raw_line, linenum, error): 587 linenum: int, the number of the current line. 593 suppressed_line = linenum + 1 595 suppressed_line = linenum 605 error(filename, linenum, 'readability/nolint', 5, 633 def IsErrorSuppressedByNolint(category, linenum): 641 linenum: int, the current line number. 647 linenum in _error_suppressions.get(category, set()) or 648 linenum in _error_suppressions.get(None, set())) 781 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path) [all...] |
/tools/repohooks/tools/ |
cpplint.py | 578 def ParseNolintSuppressions(filename, raw_line, linenum, error): 588 linenum: int, the number of the current line. 594 suppressed_line = linenum + 1 596 suppressed_line = linenum 606 error(filename, linenum, 'readability/nolint', 5, 634 def IsErrorSuppressedByNolint(category, linenum): 642 linenum: int, the current line number. 648 linenum in _error_suppressions.get(category, set()) or 649 linenum in _error_suppressions.get(None, set())) 782 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path) [all...] |
/external/compiler-rt/lib/sanitizer_common/scripts/ |
cpplint.py | 360 def ParseNolintSuppressions(filename, raw_line, linenum, error): 370 linenum: int, the number of the current line. 378 _error_suppressions.setdefault(None, set()).add(linenum) 383 _error_suppressions.setdefault(category, set()).add(linenum) 385 error(filename, linenum, 'readability/nolint', 5, 394 def IsErrorSuppressedByNolint(category, linenum): 402 linenum: int, the current line number. 406 return (linenum in _error_suppressions.get(category, set()) or 407 linenum in _error_suppressions.get(None, set())) 700 def Check(self, error, filename, linenum) [all...] |
/external/curl/tests/ |
memanalyze.pl | 103 my ($source, $linenum) = ($1, $2); 105 print "LIMIT: $1 returned error at $source:$linenum\n"; 111 $linenum = $2; 129 print "FREE: malloc at ".$getmem{$addr}." is freed again at $source:$linenum\n"; 137 $getmem{$addr}="$source:$linenum"; 147 print "Mixed debug compile ($source:$linenum at line $lnum), rebuild curl now\n"; 155 print "MALLOC: malloc($size) at $source:$linenum", 162 $getmem{$addr}="$source:$linenum"; 180 print "CALLOC: calloc($arg1,$arg2) at $source:$linenum", 187 $getmem{$addr}="$source:$linenum"; [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
CommentParsing.py | 173 # (CommentLine, LineNum)
201 # @param LineNum: Line Num
203 def ParsePcdErrorCode (Value = None, ContainerFile = None, LineNum = None):
215 Line = LineNum)
227 Line = LineNum)
232 # LineNum)
244 for (CommentLine, LineNum) in GenericComment:
262 Line = LineNum)
268 PcdErr.SetLineNum(LineNum)
276 PcdErr.SetErrorNumber(ParsePcdErrorCode(ValueList[0], ContainerFile, LineNum))
[all...] |
/prebuilts/go/darwin-x86/src/bufio/ |
scan_test.go | 153 func genLine(buf *bytes.Buffer, lineNum, n int, addNewline bool) { 155 doCR := lineNum%5 == 0 160 c := 'a' + byte(lineNum+i) 179 lineNum := 0 182 genLine(tmp, lineNum, j, true) 189 lineNum++ 195 for lineNum := 0; s.Scan(); lineNum++ { 196 genLine(tmp, lineNum, j, false) 204 t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Text(), line [all...] |
/prebuilts/go/linux-x86/src/bufio/ |
scan_test.go | 153 func genLine(buf *bytes.Buffer, lineNum, n int, addNewline bool) { 155 doCR := lineNum%5 == 0 160 c := 'a' + byte(lineNum+i) 179 lineNum := 0 182 genLine(tmp, lineNum, j, true) 189 lineNum++ 195 for lineNum := 0; s.Scan(); lineNum++ { 196 genLine(tmp, lineNum, j, false) 204 t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Text(), line [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/VfrCompile/ |
VfrCompile.g | 606 UINT32 *LineNum
616 LineNum - the line number in the preprocessor-output file.
620 in the provided LineNum argument
634 // The given LineNum is the line number from the .i file.
638 if (LineDef->TokenLineNum <= *LineNum) {
640 if (LineDef->Next->TokenLineNum > *LineNum) {
641 *LineNum = *LineNum - LineDef->TokenLineNum + LineDef->HashLineNum;
648 *LineNum = *LineNum - LineDef->TokenLineNum + LineDef->HashLineNum; [all...] |
EfiVfr.h | 63 int LineNum; // line number where the structure was defined
85 UINT32 LineNum;
96 UINT32 LineNum;
118 UINT32 *LineNum
128 LineNum - the line number in the preprocessor-output file.
132 in the provided LineNum argument
139 UINT32 LineNum;
|
/external/icu/icu4c/source/test/intltest/ |
dcfmtest.h | 40 virtual void execParseTest(int32_t lineNum, 53 virtual void execFormatTest(int32_t lineNum,
|
/frameworks/layoutlib/bridge/src/android/text/ |
GreedyLineBreaker.java | 40 int lineNum = 0; 47 float maxWidth = mLineWidth.getLineWidth(lineNum); 78 lineNum++; 79 maxWidth = mLineWidth.getLineWidth(lineNum); 87 lineNum++; 88 maxWidth = mLineWidth.getLineWidth(lineNum); 112 lineNum++; 113 maxWidth = mLineWidth.getLineWidth(lineNum);
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
swr_assert.cpp | 120 uint32_t lineNum, 129 fprintf(stderr, "%s(%d): TRACE in %s:\n", pFileName, lineNum, function); 148 sprintf_s(msgBuf, "%s(%d): TRACE in %s\n", pFileName, lineNum, function); 181 uint32_t lineNum, 191 fprintf(stderr, "%s(%d): ", pFileName, lineNum); 218 sprintf_s(msgBuf, "%s(%d): ASSERT: %s\n", pFileName, lineNum, pExpression); 263 lineNum,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/ |
DscFile.c | 108 ParserSetPosition (DSC->CurrentLine->FileName, DSC->CurrentLine->LineNum);
167 UINT32 LineNum;
221 LineNum = 0;
227 LineNum++;
228 ParserSetPosition (FileName, LineNum);
239 Error (FileName, LineNum, 0, NULL, "invalid format for !include");
248 Error (FileName, LineNum, 0, NULL, "invalid format for !include");
260 Error (FileName, LineNum, 0, NULL, "failed to parse !include file");
272 NewLine->LineNum = LineNum;
[all...] |
/external/deqp/scripts/src_util/ |
check_whitespace.py | 30 for lineNum, line in enumerate(f): 33 print "%s:%i trailing whitespace" % (file, lineNum+1) 36 print "%s:%i merged <space><tab>" % (file, lineNum+1) 39 print "%s:%i incorrect line ending" % (file, lineNum+1)
|