/external/clang/test/ |
make_test_dirs.pl | 9 while ($line = <STDIN>) { 10 $line =~ /^\s*/; 12 if ($line =~ /\[([^\]]*)\]/) {
|
/external/compiler-rt/lib/builtins/ |
int_util.c | 30 void compilerrt_abort_impl(const char *file, int line, const char *function) { 31 panic("%s:%d: abort in %s", file, line, function); 37 NORETURN extern void __assert_rtn(const char *func, const char *file, int line, 44 void compilerrt_abort_impl(const char *file, int line, const char *function) { 45 __assert_rtn(function, file, line, "libcompiler_rt abort"); 57 void compilerrt_abort_impl(const char *file, int line, const char *function) {
|
eprintf.c | 30 const char* line, const char* file) 32 fprintf(stderr, format, assertion_expression, line, file);
|
/external/compiler-rt/test/msan/ |
getline.cc | 26 char *line = 0; local 28 int n = getline(&line, &len, fp); 30 assert(strcmp(line, "abcde\n") == 0); 32 n = getline(&line, &len, fp); 34 assert(strcmp(line, "12345\n") == 0); 36 free(line);
|
/external/elfutils/libdw/ |
dwarf_getsrc_file.c | 1 /* Find line information for given file/line/column triple. 67 /* Get the line number information for this file. */ 80 /* Search through all the line number records for a matching 81 file and line/column number. If any of the numbers is zero, 87 Dwarf_Line *line = &lines->info[cnt]; local 89 if (lastfile != line->file) 91 lastfile = line->file; 92 if (lastfile >= line->files->nfiles) 99 const char *fname2 = line->files->info[lastfile].name [all...] |
/external/libxml2/ |
build_glob.py | 19 def striplinesep(line): 20 while line and line[-1] in ('\r','\n'): 21 line = line[:-1] 22 return line 24 def writeline(file, line=None): 25 if line: 26 file.write(line) 41 for line in global_hdr [all...] |
/external/skia/tools/fiddle/ |
parse-fiddle-output | 8 while IFS= read -r line; do 9 type=$(echo $line | sed -n 's/[^"]*"\([^"]*\)":.*/\1/p') 18 echo $line | sed 's/[^"]*"[^"]*": "//; s/"\(,\|\)$//' \
|
/external/skqp/tools/fiddle/ |
parse-fiddle-output | 8 while IFS= read -r line; do 9 type=$(echo $line | sed -n 's/[^"]*"\([^"]*\)":.*/\1/p') 18 echo $line | sed 's/[^"]*"[^"]*": "//; s/"\(,\|\)$//' \
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
BatteryTypeParser.cpp | 30 string line; local 35 // parse line by line 36 while (reader.readLine(&line)) { 37 if (line.empty()) continue; 44 proto.write(BatteryTypeProto::TYPE, line); 49 if (!reader.ok(&line)) { 50 fprintf(stderr, "Bad read from fd %d: %s\n", in, line.c_str());
|
/external/boringssl/src/crypto/perlasm/ |
arm-xlate.pl | 94 my $line = join(",",@_); 95 if ($line =~ /^"(.*)"$/) 118 my $line = shift; 121 pos($line)=0; 123 while ($line =~ m/\G[^@\/\{\"]*/g) { 124 if ($line =~ m/\G(@|\/\/|$)/gc) { 127 elsif ($line =~ m/\G\{/gc) { 128 my $saved_pos = pos($line); 129 $line =~ s/\G([rdqv])([0-9]+)([^\-]*)\-\1([0-9]+)\3/range($1,$3,$2,$4)/e; 130 pos($line) = $saved_pos [all...] |
/external/google-breakpad/src/client/linux/minidump_writer/ |
line_reader_unittest.cc | 62 const char *line; local 64 ASSERT_FALSE(reader.GetNextLine(&line, &len)); 72 const char *line; local 74 ASSERT_TRUE(reader.GetNextLine(&line, &len)); 76 ASSERT_EQ('a', line[0]); 77 ASSERT_EQ('\0', line[1]); 80 ASSERT_FALSE(reader.GetNextLine(&line, &len)); 88 const char *line; local 90 ASSERT_TRUE(reader.GetNextLine(&line, &len)); 92 ASSERT_EQ('a', line[0]) 104 const char *line; local 126 const char *line; local 150 const char *line; local 166 const char *line; local [all...] |
/external/catch2/scripts/ |
approvalTests.py | 25 (?::|\() # : is starting separator between filename and line number on Linux, ( on Windows 26 ([0-9]*) # line number 29 lineNumberParser = re.compile(r' line="[0-9]*"') 83 aLines = [line.rstrip() for line in file.readlines()] 85 bLines = [line.rstrip() for line in file.readlines()] 91 return [line for line in diff if line[0] in ('+', '-') [all...] |
/external/curl/src/ |
tool_parsecfg.c | 43 static const char *unslashquote(const char *line, char *param); 119 char *line; local 130 line = aline; 132 /* line with # in the first non-blank column is a comment! */ 133 while(*line && ISSPACE(*line)) 134 line++; 136 switch(*line) { 148 option = line; 153 while(*line && !ISSPACE(*line) && !ISSEP(*line, dashed_option) 328 char *line = NULL; local [all...] |
/external/cldr/tools/java/org/unicode/cldr/util/ |
RegexFileParser.java | 18 * Parses a line given to it by the RegexFileParser. 21 public void parse(String line); 66 String line = null; local 69 while ((line = reader.readLine()) != null) { 71 line = line.trim(); 73 if (line.length() == 0 || line.startsWith("#")) continue; 75 if (line.charAt(0) == '%') { 76 int pos = line.indexOf("=") [all...] |
/external/doclava/src/com/google/doclava/ |
SourcePositionInfo.java | 22 public SourcePositionInfo(String file, int line, int column) { 24 this.line = line; 30 this.line = that.line; 44 int line = that.line; local 49 line++; 53 return new SourcePositionInfo(that.file, line, 0); 60 int line = that.line - 1; // -1 because, well, it seems to wor local 101 public int line; field in class:SourcePositionInfo [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
SourcePosition.java | 24 * line number and original bytecode address. 41 * {@code >= -1;} the line number, or {@code -1} if that 44 private final int line; field in class:SourcePosition 53 * @param line {@code >= -1;} original line number or {@code -1} if 56 public SourcePosition(CstUtf8 sourceFile, int address, int line) { 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
SourcePosition.java | 24 * line number and original bytecode address. 41 * {@code >= -1;} the line number, or {@code -1} if that 44 private final int line; field in class:SourcePosition 53 * @param line {@code >= -1;} original line number or {@code -1} if 56 public SourcePosition(CstString sourceFile, int address, int line) { 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/development/vndk/tools/header-checker/src/utils/ |
config_file.cpp | 42 std::string line; local 43 while (std::getline(stream_, line)) { 44 ParseLine(++line_no, line); 50 void ConfigParser::ParseLine(size_t line_no, std::string_view line) { 51 if (line.empty() || line[0] == ';' || line[0] == '#') { 52 // Skip empty or comment line. 56 // Parse section name line. 57 if (line[0] == '[') [all...] |
/art/tools/checker/file_format/checker/ |
parser.py | 22 def __isCheckerLine(line): 23 return line.startswith("///") or line.startswith("##") 25 def __extractLine(prefix, line, arch = None, debuggable = False): 26 """ Attempts to parse a check line. The regex searches for a comment symbol 28 beginning of the line. Whitespaces are ignored. 40 # beginning of the line. 41 match = re.match(regexPrefix, line) 43 return line[match.end():].strip() 47 def __preprocessLineForStart(prefix, line, targetArch) [all...] |
/external/grpc-grpc/tools/profiling/latency_profile/ |
profile_analyzer.py | 43 def __init__(self, line, indent): 44 self.tag = line['tag'] 46 self.start_time = line['t'] 48 self.important = line['imp'] 49 self.filename = line['file'] 50 self.fileline = line['line'] 56 def __init__(self, call_stack_builder, line): 59 self.top_line = LineItem(line, self.indent) 63 def mark(self, line) [all...] |
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
Logcat.java | 37 for (LogLine line: lines) { 38 if (tags.contains(line.tag) && (levels == null || levels.indexOf(line.level) >= 0)) { 39 result.add(line); 50 for (LogLine line: lines) { 51 if (tag.equals(line.tag) && (levels == null || levels.indexOf(line.level) >= 0)) { 52 result.add(line);
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
CharStreamState.as | 32 * line, etc...) so that we can rewind the state after scanning ahead. 40 /** What line number is the scanner at before processing buffer[p]? */ 41 public var line:int; 43 /** What char position 0..n-1 in line is scanner before processing buffer[p]? */
|
/external/autotest/client/profilers/powertop/src/ |
xrandr.c | 48 char line[1024]; local 53 memset(line, 0, 1024); 60 if (fgets(line, 1024, file)==NULL) 62 if (line[0]!=' ') { 63 if (line[0]=='T' && line[1]=='V' && line[2]==' ') 68 if (strchr(line,'*') && has_tv)
|
/external/catch2/include/internal/ |
catch_common.cpp | 22 return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0); 27 return line < other.line || ( line == other.line && file != other.file && (std::strcmp(file, other.file) < 0)); 32 os << info.file << '(' << info.line << ')'; 34 os << info.file << ':' << info.line;
|
/external/parameter-framework/upstream/tools/xmlGenerator/analyse/ |
sortAsound.conf.sh | 66 while read line 68 current_command="$( echo "$line" | sed 's/ =.*#.*//' )" 70 current_value="$( echo "$line" | sed 's/.*= \(.*\) #.*/\1/' | tr [:upper:] [:lower:] )" 71 current_mode="$( echo "$line" | sed 's/.*# //' )"
|