/build/kati/ |
log.cc | 27 void ColorErrorLog(const char* file, int line, const char* msg) { 37 file, line, filtered.as_string().c_str()); 39 ERROR("%s:%d: %s", file, line, msg); 43 void ColorWarnLog(const char* file, int line, const char* msg) { 54 file, line, filtered.as_string().c_str()); 56 fprintf(stderr, "%s:%d: %s\n", file, line, msg);
|
/external/bison/examples/calc++/ |
calc++-driver.hh | 0 #line 10057 "../../doc/bison.texi" 7 #line 10073 "../../doc/bison.texi" 16 #line 10089 "../../doc/bison.texi" 27 #line 10107 "../../doc/bison.texi" 32 #line 10118 "../../doc/bison.texi" 37 #line 10132 "../../doc/bison.texi"
|
/external/clang/www/ |
builtins.py | 153 for line in fileinput.input(inplace=1): 155 if builtin in line: 156 line = line.replace(builtin, repl) 159 if unh in line: 161 sys.stdout.write(line)
|
/external/libvpx/libvpx/tools/ |
diff.py | 27 def Append(self, line): 29 if line[0] != " ": 31 self.lines.append(line[1:]) 50 def Append(self, line): 51 """Adds a line to the DiffHunk and its DiffLines children.""" 52 if line[0] == "-": 53 self.left.Append(line) 54 elif line[0] == "+": 55 self.right.Append(line) 56 elif line[0] == " " [all...] |
wrap-commit-msg.py | 23 indicator = has_leading_whitespace(line); 25 preserve_formatting(line); 46 line = fileobj.readline() 47 if not line: 50 if line.lstrip() == line: 51 text += line 55 output += line
|
/external/selinux/libselinux/src/ |
selinux_check_securetty_context.c | 11 char *line = NULL; local 22 while ((len = getline(&line, &line_len, fp)) != -1) { 24 if (line[len - 1] == '\n') 25 line[len - 1] = 0; 28 start = line; 44 free(line);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/ |
SimpleKey.java | 32 private int line; field in class:SimpleKey 36 public SimpleKey(int tokenNumber, boolean required, int index, int line, int column, Mark mark) { 40 this.line = line; 62 return line; 72 + index + " line=" + line + " column=" + column;
|
/external/valgrind/drd/tests/ |
bar_bad_xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 45 <line>...</line> [all...] |
/external/valgrind/gdbserver_tests/ |
mcvabits.stdoutB.exp | 1 Breakpoint 1 at 0x........: file t.c, line 101. 3 Breakpoint 1, breakme (line=113) at t.c:101 4 101 if (line > 1000) 10 Breakpoint 1, breakme (line=118) at t.c:101 11 101 if (line > 1000)
|
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
BugReportParser.java | 30 String line = null; local 31 while ((line = reader.readLine()) != null) { 35 if (line.startsWith(SECTION_HEADER) || (numLines > MAX_LINES)) { 38 sb.append(line); 41 } else if (line.startsWith(sectionWithHeader)) { 42 sb.append(line);
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
call-stack.rb | 5 Call = Struct.new( :file, :line, :method ) 11 line = parts.shift.to_i 13 return Call.new( file, line ) 18 return Call.new( file, line, method ) 35 string = '%s:%i' % [ file, line ]
|
/external/mockito/src/test/java/org/mockito/internal/matchers/ |
MatchersPrinterTest.java | 24 String line = printer.getArgumentsLine((List) Arrays.asList(new Equals(1), new Equals(2)), new PrintSettings()); local 25 assertEquals("(1, 2);", line); 30 String line = printer.getArgumentsBlock((List) Arrays.asList(new Equals(1), new Equals(2)), new PrintSettings()); local 31 assertEquals("(\n 1,\n 2\n);", line); 37 String line = printer.getArgumentsLine((List) Arrays.asList(new Equals(1L), new Equals(2)), PrintSettings.verboseMatchers(1)); local 39 assertEquals("(1L, (Integer) 2);", line); 45 String line = printer.getArgumentsLine((List) Arrays.asList(new Equals(1L), new Equals("x")), PrintSettings.verboseMatchers(1)); local 47 assertEquals("(1L, (String) \"x\");", line); 53 String line = printer.getArgumentsBlock((List) Arrays.asList(new Equals(1L), new Equals(2)), PrintSettings.verboseMatchers(0, 1)); local 55 assertEquals("(\n (Long) 1L,\n (Integer) 2\n);", line); 61 String line = printer.getArgumentsLine((List) Arrays.asList(new Equals(1L), NotNull.NOT_NULL), PrintSettings.verboseMatchers(0)); local [all...] |
/external/selinux/mcstrans/share/util/ |
mlscolor-test | 13 for line in f: 14 if line.startswith('#'): 16 if not line.strip(): 18 line = line.rstrip('\n') 19 # print line 20 context, expected = line.split("=")
|
/external/toolchain-utils/mem_tests/ |
clean_data.py | 24 for line in my_file: 25 new_time = int(line.split(',')[0]) 26 dictionary[new_time] = line
|
/external/toybox/toys/posix/ |
uudecode.c | 30 char *line = 0, mode[16], local 36 free(line); 37 if (!(line = get_line(ifd))) error_exit("bad EOF"); 39 sscanf(line, class[m], mode, &idx); 44 ofd = xcreate(TT.o ? TT.o : line+idx, O_WRONLY|O_CREAT|O_TRUNC, 51 free(line); 52 if (m == 2 || !(line = get_line(ifd))) break; 53 if (!strcmp(line, m ? "====" : "end")) { 59 in = out = line; 97 if (i && i!=len) error_exit("bad %s", line); [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
LineVerifierElem.java | 36 public LineVerifierElem addExpected(final String line) { 37 if (!TextUtils.isEmpty(line)) { 38 mExpectedLineList.add(line); 51 final String line = lineArray[i]; local 52 if (TextUtils.isEmpty(line)) { 56 if ("BEGIN:VCARD".equalsIgnoreCase(line)) { 58 TestCase.fail("Multiple \"BEGIN:VCARD\" line found"); 63 } else if ("END:VCARD".equalsIgnoreCase(line)) { 65 TestCase.fail("Multiple \"END:VCARD\" line found"); 72 "VERSION:4.0")).equalsIgnoreCase(line)) { [all...] |
/libcore/tools/docs/crypto/ |
crypto_docs.py | 26 for line in f: 27 if not line.strip().startswith('#'): 28 stripped_contents += line
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
debug.h | 23 toplev.c according to command line options. */ 37 /* Macro defined on line LINE with name and expansion TEXT. */ 38 void (* define) (unsigned int line, const char *text); 40 /* MACRO undefined on line LINE. */ 41 void (* undef) (unsigned int line, const char *macro); 43 /* Record the beginning of a new source file FILE from LINE number 45 void (* start_source_file) (unsigned int line, const char *file); 47 /* Record the resumption of a source file. LINE is the line numbe [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/ |
continue.s | 1 ; Test line continuation, making sure a commented line is not 2 ; broken up and that a continued line is.
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
NativeBenchmarkTestParser.java | 67 for (String line : lines) { 68 parseLine(line); 72 private void parseLine(String line) { 73 Log.d(LOG_TAG, line); 74 Matcher matcher = COMPLETE_PATTERN.matcher(line); 76 Log.i(LOG_TAG, String.format("Found result for benchmark %s: %s", getRunName(), line)); 77 mMinOpTime = parseDoubleValue(line, matcher.group(1)); 78 mAvgOpTime = parseDoubleValue(line, matcher.group(2)); 79 mMaxOpTime = parseDoubleValue(line, matcher.group(3)); 83 private double parseDoubleValue(String line, String valueString) [all...] |
/external/valgrind/helgrind/tests/ |
tc06_two_races_xml.stderr.exp | 9 <line>Helgrind, a thread error detector</line> 10 <line>Copyright (C) XXXX-YYYY, and GNU GPL'd, by OpenWorks LLP et al.</line> 11 <line>Using Valgrind-X.Y.X and LibVEX; rerun with -h for copyright info</line> 12 <line>Command: ./tc06_two_races</line> 22 <arg>--command-line-only=yes</arg> 55 <line>...</line [all...] |
/external/autotest/tko/parsers/ |
version_1.py | 74 def parse_line_into_dicts(line, attr_dict, perf_dict): 78 typed_match = re.search('^([^=]*)\{(\w*)\}=(.*)$', line) 83 untyped_match = re.search('^([^=]*)=(.*)$', line) 97 msg = ('WARNING: line "%s" found in test ' 99 msg %= line 107 def parse_line_into_dict(line): 109 Parse a perf measurement text line into a dictionary. 111 The line is assumed to be a JSON-formatted string containing key/value 129 @param line: A string line of JSON text from a perf measurements outpu [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/ |
struct.py | 34 for line in lines[2:]:
35 line = line.strip()
36 if line.startswith("}"):
39 assert line.endswith(";")
40 line = line[:-1]
41 words = line.split()
49 mo = rx_name.search(line)
|
structparse.py | 28 for line in lines[2:]:
29 line = line.strip()
30 if line.startswith("}"):
33 assert line.endswith(";")
34 line = line[:-1]
35 words = line.split()
43 mo = rx_name.search(line)
|
/external/autotest/client/profilers/powertop/src/ |
process.c | 42 char line[2048]; local 51 memset(line, 0, 2048); 52 if (fgets(line, 2047, file)==NULL) 54 if (!strstr(line, tokill)) 56 pid = strtoul(line, NULL, 10); 67 char line[2048]; local 72 sprintf(line, "killall %s &> /dev/null", process_to_kill); 73 system(line); 77 void suggest_process_death(char *process_match, char *tokill, struct line *slines, int linecount, double minwakeups, char *comment, int weight)
|