/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
H A D | generate_devtools_html.py | 47 for line in app_input_file: 49 if '<script ' in line or '<link ' in line: 51 if '</head>' in line: 54 app_output_file.write(line)
|
/external/chromium_org/third_party/webrtc/build/ |
H A D | version.py | 38 for line in proc.stdout: 39 line = line.strip() 40 if not line: 42 words = line.split()
|
/external/clang/bindings/python/examples/cindex/ |
H A D | cindex-includes.py | 13 A simple command line tool for dumping a Graphviz description (dot) that 45 line = " "; 49 line += name(i.include) 51 line += '%s->%s' % (name(i.source), name(i.include)) 52 line += "\n"; 53 out.write(line)
|
/external/elfutils/0.153/libdwfl/ |
H A D | dwfl_lineinfo.c | 1 /* Get information from a source line record returned by libdwfl. 54 dwfl_lineinfo (Dwfl_Line *line, Dwarf_Addr *addr, int *linep, int *colp, argument 57 if (line == NULL) 60 struct dwfl_cu *cu = dwfl_linecu (line); 61 const Dwarf_Line *info = &cu->die.cu->lines->info[line->idx]; 66 *linep = info->line;
|
/external/jsilver/src/com/google/clearsilver/jsilver/exceptions/ |
H A D | JSilverAutoEscapingException.java | 26 public JSilverAutoEscapingException(String message, String templateName, int line, int column) { argument 27 super(createMessage(message, templateName, line, column)); 37 private static String createMessage(String message, String resourceName, int line, int column) { argument 42 if (line != UNKNOWN_POSITION) { 43 result.append(" line=").append(line);
|
/external/libedit/doc/ |
H A D | mdoc2man.awk | 36 line="" 53 line=line "\n" 54 line=line str 81 if(length(line)&&!(match(line," $")||prenl)) 113 sub(" $","",line) 116 sub(" $","",line) 152 if(!nospace&&length(line) [all...] |
/external/markdown/markdown/extensions/ |
H A D | meta.py | 66 line = lines.pop(0) 67 if line.strip() == '': 68 break # blank line - done 69 m1 = META_RE.match(line) 74 m2 = META_MORE_RE.match(line) 76 # Add another line to existing key 79 lines.insert(0, line)
|
/external/libpcap/ |
H A D | scanner.c | 0 #line 2 "scanner.c" 3 #line 4 "scanner.c" 247 /* Whether we're considered to be at the beginning of a line. 253 int yy_bs_lineno; /**< The line count. */ 2698 #line 1 "scanner.l" 2699 #line 2 "scanner.l" 2791 #line 2792 "scanner.c" 2960 #line 189 "scanner.l" 2962 #line 2963 "scanner.c" 3047 #line 19 [all...] |
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/ |
H A D | css_checker.py | 61 def braces_have_space_before_and_nothing_after(line): 62 return re.search(r'(?:^|\S){|{\s*\S+\s*$', line) 64 def classes_use_dashes(line): 67 m = re.search(r'\.(-?[_a-zA-Z0-9-]+).*[,{]\s*$', line) 73 def close_brace_on_new_line(line): 74 return (line.find('}') >= 0 and re.search(r'[^ }]', line) and 75 not re.match(frame_reg, line)) 77 def colons_have_space_after(line): 78 return re.search(r'(?<!data):(?!//)\S[^;]+;\s*', line) [all...] |
/external/chromium_org/tools/code_coverage/ |
H A D | croc_scan.py | 29 An array of line numbers which are executable. 38 for line in lines: 42 for t in self.re_token.finditer(line): 46 # Inside a multi-line comment, so look for end token 50 line = (line[:comment_index] 52 + line[t.end(0):]) 60 # Single-line comment, so truncate line at start of token 61 line [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
H A D | HexParser.java | 32 * corresponding to the text. The format is simple: Each line may 36 * is encountered, it and the rest of the line are ignored as a 57 String line; 59 line = src.substring(at, poundAt); 61 line = src.substring(at, nlAt); 65 int colonAt = line.indexOf(':'); 69 int quoteAt = line.indexOf('\"'); 74 String atStr = line.substring(0, colonAt).trim(); 75 line = line [all...] |
/external/pcre/dist/ |
H A D | CheckMan | 12 $line = 0; 19 $line++; 22 printf "Empty line $line of $file\n"; 49 printf "Bad control line $line of $file\n"; 57 printf "Bad backslash in line $line of $file\n";
|
/external/wpa_supplicant_8/hostapd/logwatch/ |
H A D | hostapd | 22 while (defined(my $line = <STDIN>)) { 24 print STDERR "DEBUG($debugcounter): $line"; 27 chomp($line); 29 if (my ($iface,$mac,$layer,$details) = ($line =~ /(.*?): STA (.*?) (.*?): (.*?)$/i)) { 36 push @unmatched, "$line\n";
|
/external/bluetooth/bluedroid/btif/src/ |
H A D | btif_sock_util.c | 67 #define asrt(s) if(!(s)) BTIF_TRACE_ERROR("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__) 186 char *line; local 193 line = line_buff; 194 *line++ = ' '; 195 *line++ = ' '; 196 *line++ = ' '; 197 *line++ = ' '; 198 *line++ = ' '; 199 *line++ = ' '; 202 byte2hex((const char*)&j, &line); [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkDLineIntersection.cpp | 58 void SkIntersections::computePoints(const SkDLine& line, int used) { argument 59 fPt[0] = line.ptAtT(fT[0][0]); 61 fPt[1] = line.ptAtT(fT[0][1]); 114 // see if end points intersect the opposite line 126 /* Determine the intersection point of two line segments 214 static int horizontal_coincident(const SkDLine& line, double y) { argument 215 double min = line[0].fY; 216 double max = line[1].fY; 223 if (AlmostEqualUlps(min, max) && max - min < fabs(line[0].fX - line[ 229 horizontal_intercept(const SkDLine& line, double y) argument 233 horizontal(const SkDLine& line, double y) argument 245 horizontal(const SkDLine& line, double left, double right, double y, bool flipped) argument 302 vertical_coincident(const SkDLine& line, double x) argument 317 vertical_intercept(const SkDLine& line, double x) argument 321 vertical(const SkDLine& line, double x) argument 333 vertical(const SkDLine& line, double top, double bottom, double x, bool flipped) argument [all...] |
/external/skia/src/pathops/ |
H A D | SkDLineIntersection.cpp | 58 void SkIntersections::computePoints(const SkDLine& line, int used) { argument 59 fPt[0] = line.ptAtT(fT[0][0]); 61 fPt[1] = line.ptAtT(fT[0][1]); 114 // see if end points intersect the opposite line 126 /* Determine the intersection point of two line segments 211 static int horizontal_coincident(const SkDLine& line, double y) { argument 212 double min = line[0].fY; 213 double max = line[1].fY; 220 if (AlmostEqualUlps(min, max) && max - min < fabs(line[0].fX - line[ 226 horizontal_intercept(const SkDLine& line, double y) argument 230 horizontal(const SkDLine& line, double y) argument 242 horizontal(const SkDLine& line, double left, double right, double y, bool flipped) argument 299 vertical_coincident(const SkDLine& line, double x) argument 314 vertical_intercept(const SkDLine& line, double x) argument 318 vertical(const SkDLine& line, double x) argument 330 vertical(const SkDLine& line, double top, double bottom, double x, bool flipped) argument [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
H A D | address_formatter.cc | 113 std::string* line) { 114 line->clear(); 120 line->append(separator); 122 line->append(*it); 152 // or end of a line are separators, and therefore only relevant if the 179 std::string line; local 185 if (!line.empty()) { 186 lines->push_back(line); 187 line.clear(); 195 line 111 CombineLinesForLanguage(const std::vector<std::string>& lines, const std::string& language_tag, std::string* line) argument 216 GetFormattedNationalAddressLine( const AddressData& address_data, std::string* line) argument 223 GetStreetAddressLinesAsSingleLine( const AddressData& address_data, std::string* line) argument [all...] |
/external/chromium_org/tools/deep_memory_profiler/lib/ |
H A D | pageframe.py | 136 for line in pfnset_f: 137 line = line.strip() 138 if line.startswith('GLOBAL_STATS:') or line.startswith('STACKTRACES:'): 140 elif line.startswith('PF: '): 141 for encoded_pfn in line[3:].split(): 152 elif line.startswith('PageSize: '): 153 self._pagesize = int(line[10:]) 154 elif line [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/tools/ |
H A D | cpplint.py | 41 same line, but it is far from perfect (in either direction). 70 'NOLINT(category)' comment to the line. NOLINT or NOLINT(*) 71 suppresses errors of all categories on that line. 125 This is the allowed line length for the project. The default value is 408 # False positives include C-style multi-line comments and multi-line strings 425 _END_ASM = 2 # Last line of inline assembly block 447 # The allowed line length of files. 458 Parses any NOLINT comments on the current line, updating the global 464 raw_line: str, the line o [all...] |
/external/libvpx/libvpx/tools/ |
H A D | cpplint.py | 41 same line, but it is far from perfect (in either direction). 70 'NOLINT(category)' comment to the line. NOLINT or NOLINT(*) 71 suppresses errors of all categories on that line. 125 This is the allowed line length for the project. The default value is 408 # False positives include C-style multi-line comments and multi-line strings 425 _END_ASM = 2 # Last line of inline assembly block 447 # The allowed line length of files. 458 Parses any NOLINT comments on the current line, updating the global 464 raw_line: str, the line o [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | RecognitionException.as | 56 * knows its state (such as current input symbol and line info) that 59 * perhaps print an entire line of input not just a single token, for example. 84 /** Track the line at which the error occurred in case this is 86 * unexpected char doesn't carry the line info. 88 public var line:int; variable 93 * imaginary nodes w/o line/col info. We now search backwards looking 94 * for most recent token with line/col info, but notify getErrorHeader() 107 this.line = token.line; 115 this.line [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | trace.cc | 114 char line[kEntrySize + 2]; local 117 vsprintf_s(line, format, ap); 119 vsnprintf(line, kEntrySize, format, ap); 123 line[kEntrySize] = '\0'; 124 LOG(INFO) << line; 134 memcpy(s_trace_buffer->buffer[s_trace_buffer->current], line, kEntrySize); 152 char line[kEntrySize + 2]; local 159 memcpy(line, s_trace_buffer->buffer[current], kEntrySize); 160 line[kEntrySize] = '\0'; 161 size_t length = strlen(line); [all...] |
/external/chromium_org/tools/android/memdump/ |
H A D | memsymbols.py | 52 for line in memdump_contents: 53 line = line.rstrip('\r\n') 54 if line.startswith('[ PID'): 57 r = MAP_RX.match(line) 59 sys.stderr.write('Skipping %s from %s\n' % (line, memdump_file)) 133 for line in nm_fh: 134 line = line.rstrip('\r\n') 136 if line [all...] |
/external/stressapptest/src/ |
H A D | logger.cc | 79 void Logger::QueueLogLine(string *line) { argument 80 LOGGER_ASSERT(line != NULL); 90 queued_lines_.push_back(line); 92 WriteAndDeleteLogLine(line); 98 void WriteToFile(const string& line, int fd) { argument 99 LOGGER_ASSERT(write(fd, line.data(), line.size()) == 100 static_cast<ssize_t>(line.size())); 104 void Logger::WriteAndDeleteLogLine(string *line) { argument 105 LOGGER_ASSERT(line ! [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-buffer-deserialize-json.hh | 2 #line 1 "../../src/hb-buffer-deserialize-json.rl" 35 #line 36 "hb-buffer-deserialize-json.hh.tmp" 438 #line 97 "../../src/hb-buffer-deserialize-json.rl" 465 #line 466 "hb-buffer-deserialize-json.hh.tmp" 470 #line 471 "hb-buffer-deserialize-json.hh.tmp" 496 #line 38 "../../src/hb-buffer-deserialize-json.rl" 503 #line 43 "../../src/hb-buffer-deserialize-json.rl" 513 #line 51 "../../src/hb-buffer-deserialize-json.rl" 519 #line 55 "../../src/hb-buffer-deserialize-json.rl" 528 #line 6 [all...] |