/build/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
|
/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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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/openssh/ |
dh.c | 46 parse_prime(int linenum, char *line, struct dhgroup *dhg) 72 error("moduli:%d: type is not %d", linenum, MODULI_TYPE_SAFE); 82 error("moduli:%d: invalid moduli tests flag", linenum); 90 error("moduli:%d: invalid primality trial count", linenum); 97 error("moduli:%d: invalid prime length", linenum); 108 error("moduli:%d: truncated", linenum); 118 error("moduli:%d: could not parse generator value", linenum); 122 error("moduli:%d: could not parse prime value", linenum); 127 linenum, BN_num_bits(dhg->p), dhg->size - 1); 131 error("moduli:%d: generator is invalid", linenum); 151 int linenum; local [all...] |
auth-options.c | 95 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) 167 file, linenum); 169 file, linenum); 198 file, linenum); 200 file, linenum); 232 file, linenum); 234 file, linenum); 269 file, linenum); 271 file, linenum); 285 file, linenum); [all...] |
servconf.c | 561 int linenum, u_int *flags) 572 filename, linenum, cp); 892 const char *filename, int linenum, int *activep, 915 opcode = parse_token(arg, filename, linenum, &flags); 922 debug3("%s:%d setting %s %s", filename, linenum, arg, cp); 926 "within a Match block", filename, linenum, arg); 949 "ListenAddress.", filename, linenum); 952 filename, linenum); 956 filename, linenum); 960 filename, linenum); 1951 int active, linenum, bad_options = 0; local [all...] |
readconf.c | 490 const char *filename, int linenum) 524 filename, linenum, oattrib); 538 filename, linenum, 589 "\"%.100s\"", filename, linenum, cmd); 597 linenum, cmd); 611 filename, linenum, this_result ? "": "not ", 630 valid_domain(char *name, const char *filename, int linenum) 636 fatal("%s line %d: empty hostname suffix", filename, linenum); 639 "starts with invalid character", filename, linenum, name); 645 "consecutive separators", filename, linenum, name) 1534 int active, linenum; local [all...] |
/art/tools/ |
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/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/icu/icu4c/source/test/intltest/ |
dcfmtest.h | 38 virtual void execParseTest(int32_t lineNum, 51 virtual void execFormatTest(int32_t lineNum,
|
itspoof.h | 49 const char *input, const char *expected, int32_t lineNum);
|
dcfmtest.cpp | 188 int32_t lineNum = 0; 239 lineNum++; 241 dataerrln("File dcfmtest.txt, line %d: ICU Error \"%s\"", lineNum, u_errorName(status)); 268 execParseTest(lineNum, 282 execFormatTest(lineNum, 290 execFormatTest(lineNum, 304 lineNum, UnicodeStringPiece(testLine).data()); 313 void DecimalFormatTest::execParseTest(int32_t lineNum, 329 lineNum, u_errorName(status)); 353 lineNum, InvariantStringPiece(expectedType).data()) [all...] |
/frameworks/base/tools/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);
|
/system/core/liblog/ |
event_tag_map.c | 54 static int scanTagLine(char** pData, EventTag* tag, int lineNum); 262 int tagNum, lineStart, lineNum; 277 lineNum = 1; 282 lineNum++; 294 if (scanTagLine(&cp, &map->tagArray[tagNum], lineNum) != 0) 297 lineNum++; // we eat the '\n' 304 OUT_TAG, *cp, lineNum); 331 static int scanTagLine(char** pData, EventTag* tag, int lineNum) 355 "%s: missing tag string on line %d\n", OUT_TAG, lineNum); 378 "%s: invalid tag chars on line %d\n", OUT_TAG, lineNum); [all...] |
/external/e2fsprogs/lib/ss/ |
ct_c.awk | 52 linenum = $1; 57 printf "Error in line %d: %s\n", linenum, error
|
/external/icu/icu4c/source/tools/gencnval/ |
gencnval.c | 138 static int lineNum = 1; 329 lineNum = 0; 350 lineNum++; 355 fprintf(stderr, "%s:%d: error: cannot start an alias with a space\n", path, lineNum-1); 359 fprintf(stderr, "%s:%d: error: alias needs to start with a converter name\n", path, lineNum); 369 fprintf(stderr, "%s:%d: error: alias table needs to start a list of standard tags\n", path, lineNum); 382 lineNum++; 510 fprintf(stderr, "%s:%d: Unterminated tag list\n", path, lineNum); 526 fprintf(stderr, "%s:%d: too many tags\n", path, lineNum); 544 fprintf(stderr, "%s:%d: error: too many tags\n", path, lineNum); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
CodeContext.py | 91 def get_line_info(self, linenum): 98 text = self.text.get("%d.0" % linenum, "%d.end" % linenum) 120 for linenum in xrange(new_topvisible, stopline-1, -1): 121 indent, text, opener = self.get_line_info(linenum) 127 if opener and linenum < new_topvisible and indent >= stopindent: 128 lines.append((linenum, indent, text, opener))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
CodeContext.py | 91 def get_line_info(self, linenum): 98 text = self.text.get("%d.0" % linenum, "%d.end" % linenum) 120 for linenum in xrange(new_topvisible, stopline-1, -1): 121 indent, text, opener = self.get_line_info(linenum) 127 if opener and linenum < new_topvisible and indent >= stopindent: 128 lines.append((linenum, indent, text, opener))
|
/external/gptfdisk/ |
gptcurses.cc | 219 // Display a single Space on line # lineNum. 221 Space* GPTDataCurses::ShowSpace(int spaceNum, int lineNum) { 233 if ((space != NULL) && (lineNum < (LINES - 5))) { 234 ClearLine(lineNum); 236 move(lineNum, 12); 238 move(lineNum, 24); 241 move(lineNum, 3); 243 move(lineNum, 12); 245 move(lineNum, 24); 247 move(lineNum, 50) [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)
|
/external/skia/gm/ |
nonclosedpaths.cpp | 64 static void SetLocation(SkCanvas* canvas, int counter, int lineNum) { 65 SkScalar x = SK_Scalar1 * 100 * (counter % lineNum) + 10 + SK_Scalar1 / 4; 66 SkScalar y = SK_Scalar1 * 100 * (counter / lineNum) + 10 + 3 * SK_Scalar1 / 4;
|
/dalvik/libdex/ |
DexDebugInfo.h | 30 typedef int (*DexDebugNewPositionCb)(void *cnxt, u4 address, u4 lineNum);
|
/external/lldb/examples/python/ |
jump.py | 26 #print "Matched <linenum>" 62 #print "Matched <filename>:<linenum>" 100 jump <linenum> 103 jump <filename>:<linenum>
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/sax/ |
_exceptions.py | 94 linenum = self.getLineNumber() 95 if linenum is None: 96 linenum = "?" 100 return "%s:%s:%s: %s" % (sysid, linenum, colnum, self._msg)
|