/external/llvm-project/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 583 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 593 linenum: int, the number of the current line. 599 suppressed_line = linenum + 1 601 suppressed_line = linenum 611 error(filename, linenum, 'readability/nolint', 5, 639 def IsErrorSuppressedByNolint(category, linenum): argument 647 linenum: int, the current line number. 653 linenum in _error_suppressions.get(category, set()) or 654 linenum in _error_suppressions.get(None, set())) 787 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path): argument [all …]
|
/external/google-styleguide/cpplint/ |
D | cpplint.py | 583 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 593 linenum: int, the number of the current line. 599 suppressed_line = linenum + 1 601 suppressed_line = linenum 611 error(filename, linenum, 'readability/nolint', 5, 639 def IsErrorSuppressedByNolint(category, linenum): argument 647 linenum: int, the current line number. 653 linenum in _error_suppressions.get(category, set()) or 654 linenum in _error_suppressions.get(None, set())) 787 def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path): argument [all …]
|
/external/libvpx/libvpx/tools/ |
D | cpplint.py | 455 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 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): argument 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): argument [all …]
|
/external/libaom/libaom/tools/ |
D | cpplint.py | 455 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 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): argument 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): argument [all …]
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 360 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 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): argument 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): argument [all …]
|
/external/starlark-go/internal/chunkedfile/ |
D | chunkedfile.go | 63 linenum := 1 66 fmt.Printf("chunk %d at line %d: %s\n", i, linenum, chunk) 69 src := strings.Repeat("\n", linenum-1) + chunk 76 for j := 0; j < len(lines); j, linenum = j+1, linenum+1 { 85 report.Errorf("\n%s:%d: not a quoted regexp: %s", filename, linenum, rest) 90 report.Errorf("\n%s:%d: %v", filename, linenum, err) 93 wantErrs[linenum] = rx 95 fmt.Printf("\t%d\t%s\n", linenum, rx) 98 linenum++ 107 func (chunk *Chunk) GotError(linenum int, msg string) { [all …]
|
/external/llvm/utils/abtest/ |
D | 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 …]
|
D | 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)
|
/external/curl/tests/ |
D | 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 …]
|
/external/openssh/ |
D | servconf.c | 736 int linenum, u_int *flags) in parse_token() argument 747 filename, linenum, cp); in parse_token() 1265 const char *filename, int linenum, int *activep, in process_server_config_line_depth() argument 1301 opcode = parse_token(arg, filename, linenum, &flags); in process_server_config_line_depth() 1308 debug3("%s:%d setting %s %s", filename, linenum, arg, cp); in process_server_config_line_depth() 1312 "within a Match block", filename, linenum, arg); in process_server_config_line_depth() 1335 filename, linenum); in process_server_config_line_depth() 1339 filename, linenum); in process_server_config_line_depth() 1343 filename, linenum); in process_server_config_line_depth() 1352 filename, linenum); in process_server_config_line_depth() [all …]
|
D | readconf.c | 137 const char *filename, int linenum, int *activep, int flags, 577 int *want_final_pass, const char *filename, int linenum) in match_cfg_line() argument 614 filename, linenum, oattrib); in match_cfg_line() 636 filename, linenum, in match_cfg_line() 695 "\"%.100s\"", filename, linenum, cmd); in match_cfg_line() 703 linenum, cmd); in match_cfg_line() 717 filename, linenum, this_result ? "": "not ", in match_cfg_line() 736 rm_env(Options *options, const char *arg, const char *filename, int linenum) in rm_env() argument 750 filename, linenum, cp); in rm_env() 767 parse_token(const char *cp, const char *filename, int linenum, in parse_token() argument [all …]
|
D | sshsig.c | 623 sshsigopt_parse(const char *opts, const char *path, u_long linenum, in sshsigopt_parse() argument 684 parse_principals_key_and_options(const char *path, u_long linenum, char *line, in parse_principals_key_and_options() argument 708 error("%s:%lu: invalid line", path, linenum); in parse_principals_key_and_options() 729 __func__, path, linenum, required_principal); in parse_principals_key_and_options() 741 error("%s:%lu: invalid options", path, linenum); in parse_principals_key_and_options() 748 error("%s:%lu: invalid key", path, linenum); in parse_principals_key_and_options() 753 debug3("%s:%lu: options %s", path, linenum, opts == NULL ? "" : opts); in parse_principals_key_and_options() 754 if ((sigopts = sshsigopt_parse(opts, path, linenum, &reason)) == NULL) { in parse_principals_key_and_options() 755 error("%s:%lu: bad options: %s", path, linenum, reason); in parse_principals_key_and_options() 781 check_allowed_keys_line(const char *path, u_long linenum, char *line, in check_allowed_keys_line() argument [all …]
|
D | dh.c | 49 parse_prime(int linenum, char *line, struct dhgroup *dhg) in parse_prime() argument 75 error("moduli:%d: type is not %d", linenum, MODULI_TYPE_SAFE); in parse_prime() 85 error("moduli:%d: invalid moduli tests flag", linenum); in parse_prime() 93 error("moduli:%d: invalid primality trial count", linenum); in parse_prime() 100 error("moduli:%d: invalid prime length", linenum); in parse_prime() 111 error("moduli:%d: truncated", linenum); in parse_prime() 121 error("moduli:%d: could not parse generator value", linenum); in parse_prime() 125 error("moduli:%d: could not parse prime value", linenum); in parse_prime() 130 linenum, BN_num_bits(dhg->p), dhg->size - 1); in parse_prime() 134 error("moduli:%d: generator is invalid", linenum); in parse_prime() [all …]
|
/external/libcups/cups/ |
D | ipp-file.c | 54 f.linenum = 1; in _ippFileParse() 92 … v, user_data, "Missing %s name and/or value on line %d of \"%s\".", token, f.linenum, f.filename); in _ippFileParse() 110 …report_error(&f, v, user_data, "Missing ATTR syntax on line %d of \"%s\".", f.linenum, f.filename); in _ippFileParse() 115 …r(&f, v, user_data, "Bad ATTR syntax \"%s\" on line %d of \"%s\".", syntax, f.linenum, f.filename); in _ippFileParse() 121 … report_error(&f, v, user_data, "Missing ATTR name on line %d of \"%s\".", f.linenum, f.filename); in _ippFileParse() 220 DEBUG_printf(("1_ippFileReadToken: linenum=%d, pos=%ld", f->linenum, (long)cupsFileTell(f->fp))); in _ippFileReadToken() 232 f->linenum ++; in _ippFileReadToken() 233 …EBUG_printf(("1_ippFileReadToken: LF in leading whitespace, linenum=%d, pos=%ld", f->linenum, (lon… in _ippFileReadToken() 252 f->linenum ++; in _ippFileReadToken() 253 …DEBUG_printf(("1_ippFileReadToken: LF at end of comment, linenum=%d, pos=%ld", f->linenum, (long)c… in _ippFileReadToken() [all …]
|
/external/zstd/contrib/gen_html/ |
D | gen_html.cpp | 41 vector<string> get_lines(vector<string>& input, int& linenum, string terminator) in get_lines() argument 47 while ((size_t)linenum < input.size()) { in get_lines() 48 line = input[linenum]; in get_lines() 50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines() 58 linenum++; in get_lines() 83 int linenum, chapter = 1; in main() local 114 for (linenum=0; (size_t)linenum < input.size(); linenum++) { in main() 115 line = input[linenum]; in main() 119 lines = get_lines(input, linenum, "}"); in main() 151 comments = get_lines(input, linenum, "*/"); in main() [all …]
|
/external/libcups/scheduler/ |
D | classes.c | 264 int linenum; /* Current line number */ in cupsdLoadAllClasses() local 284 linenum = 0; in cupsdLoadAllClasses() 287 while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) in cupsdLoadAllClasses() 327 "Syntax error on line %d of classes.conf.", linenum); in cupsdLoadAllClasses() 338 "Syntax error on line %d of classes.conf.", linenum); in cupsdLoadAllClasses() 343 "Syntax error on line %d of classes.conf.", linenum); in cupsdLoadAllClasses() 350 cupsdLogMessage(CUPSD_LOG_ERROR, "Bad PrinterId on line %d of classes.conf.", linenum); in cupsdLoadAllClasses() 358 "Bad UUID on line %d of classes.conf.", linenum); in cupsdLoadAllClasses() 365 linenum); in cupsdLoadAllClasses() 387 "Syntax error on line %d of classes.conf.", linenum); in cupsdLoadAllClasses() [all …]
|
D | conf.c | 191 char *value, int linenum); 193 static int parse_groups(const char *s, int linenum); 195 static int parse_variable(const char *filename, int linenum, 201 static int read_location(cups_file_t *fp, char *name, int linenum); 202 static int read_policy(cups_file_t *fp, char *name, int linenum); 2058 int linenum) /* I - Current line number */ in parse_aaa() argument 2077 "context. Using \"required\" instead.", value, linenum, ConfigurationFile); in parse_aaa() 2088 … "Unknown Encryption value %s on line %d of %s.", value, linenum, ConfigurationFile); in parse_aaa() 2105 value, linenum, ConfigurationFile); in parse_aaa() 2208 value, linenum, ConfigurationFile); in parse_aaa() [all …]
|
/external/lz4/contrib/gen_manual/ |
D | gen_manual.cpp | 66 vector<string> get_lines(vector<string>& input, int& linenum, string terminator) in get_lines() argument 71 while ((size_t)linenum < input.size()) { in get_lines() 72 line = input[linenum]; in get_lines() 74 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines() 82 linenum++; in get_lines() 109 int linenum, chapter = 1; in main() local 140 for (linenum=0; (size_t)linenum < input.size(); linenum++) { in main() 141 line = input[linenum]; in main() 145 lines = get_lines(input, linenum, "}"); in main() 178 comments = get_lines(input, linenum, "*/"); in main() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBITestExtended.java | 111 int lineNum = 1; in TestExtended() local 133 lineNum++; in TestExtended() 185 rulesFirstLine = lineNum; in TestExtended() 192 errln("line" + lineNum + ": missing close on <locale tag."); in TestExtended() 211 errln("line" + lineNum + ": Tag expected in test file."); in TestExtended() 224 … errln(String.format("rbbitst.txt:%d Error creating break iterator from rules. %s", lineNum, e)); in TestExtended() 238 lineNum)); in TestExtended() 251 lineNum, column)); in TestExtended() 254 tp.srcLine[breakIdx] = lineNum; in TestExtended() 264 tp.srcLine[idx] = lineNum; in TestExtended() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBITestExtended.java | 114 int lineNum = 1; in TestExtended() local 136 lineNum++; in TestExtended() 188 rulesFirstLine = lineNum; in TestExtended() 195 errln("line" + lineNum + ": missing close on <locale tag."); in TestExtended() 214 errln("line" + lineNum + ": Tag expected in test file."); in TestExtended() 227 … errln(String.format("rbbitst.txt:%d Error creating break iterator from rules. %s", lineNum, e)); in TestExtended() 241 lineNum)); in TestExtended() 254 lineNum, column)); in TestExtended() 257 tp.srcLine[breakIdx] = lineNum; in TestExtended() 267 tp.srcLine[idx] = lineNum; in TestExtended() [all …]
|
/external/openscreen/ |
D | PRESUBMIT.py | 66 linenum, argument 77 linenum: The number of the line to check. 85 line = clean_lines.elided[linenum] 88 error(filename, linenum, error_type, 4, 93 def _CheckNoValueDchecks(filename, clean_lines, linenum, error): argument 98 linenum: The number of the line to check. 102 linenum, error, 'runtime/is_value_dchecks', 106 def _CheckNoexceptOnMove(filename, clean_lines, linenum, error): argument 111 linenum: The number of the line to check. 117 clean_lines, linenum, error, 'runtime/noexcept',
|
/external/icu/icu4c/source/test/intltest/ |
D | dcfmtest.cpp | 210 int32_t lineNum = 0; in DataDrivenTests() local 261 lineNum++; in DataDrivenTests() 263 dataerrln("File dcfmtest.txt, line %d: ICU Error \"%s\"", lineNum, u_errorName(status)); in DataDrivenTests() 290 execParseTest(lineNum, in DataDrivenTests() 304 execFormatTest(lineNum, in DataDrivenTests() 312 execFormatTest(lineNum, in DataDrivenTests() 326 lineNum, UnicodeStringPiece(testLine).data()); in DataDrivenTests() 335 void DecimalFormatTest::execParseTest(int32_t lineNum, in execParseTest() argument 351 lineNum, u_errorName(status)); in execParseTest() 375 lineNum, InvariantStringPiece(expectedType).data()); in execParseTest() [all …]
|
/external/icu/icu4c/source/tools/gencnval/ |
D | gencnval.c | 142 static int lineNum = 1; variable 339 lineNum = 0; in parseFile() 360 lineNum++; in parseFile() 365 … fprintf(stderr, "%s:%d: error: cannot start an alias with a space\n", path, lineNum-1); in parseFile() 369 … fprintf(stderr, "%s:%d: error: alias needs to start with a converter name\n", path, lineNum); in parseFile() 379 …rintf(stderr, "%s:%d: error: alias table needs to start a list of standard tags\n", path, lineNum); in parseFile() 392 lineNum++; in parseFile() 520 fprintf(stderr, "%s:%d: Unterminated tag list\n", path, lineNum); in parseLine() 536 fprintf(stderr, "%s:%d: too many tags\n", path, lineNum); in getTagNumber() 554 fprintf(stderr, "%s:%d: error: too many tags\n", path, lineNum); in getTagNumber() [all …]
|
/external/llvm-project/llvm/lib/ProfileData/ |
D | GCOV.cpp | 86 size_t lineNum) const; 595 void printNext(raw_ostream &OS, uint32_t LineNum) { in printNext() argument 601 OS << format("%5u:", LineNum) << Line << "\n"; in printNext() 676 for (uint32_t lineNum : b.lines) { in collectFunction() local 677 LineInfo &line = si.lines[lineNum]; in collectFunction() 690 LineInfo &line, size_t lineNum) const { in collectSourceLine() 720 if (b->getLastLine() != lineNum) in collectSourceLine() 739 size_t lineNum = 0; in collectSource() local 741 collectSourceLine(si, &summary, line, lineNum); in collectSource() 742 ++lineNum; in collectSource() [all …]
|
/external/python/cpython2/Lib/idlelib/ |
D | CodeContext.py | 91 def get_line_info(self, linenum): argument 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))
|