/frameworks/native/opengl/libs/tools/ |
glapigen | 26 while (my $line = <>) { 27 next if $line =~ /^\//; 28 next if $line =~ /^#/; 29 next if $line =~ /^\s*$/; 30 if ($line !~ /^GL_API(CALL)?\s+(.+)\s+GL_APIENTRY\s+([\w]+)\s*\(([^\)]+)\);/) { 37 #printf("%s", $line);
|
gltracegen | 26 while (my $line = <>) { 27 next if $line =~ /^\//; 28 next if $line =~ /^#/; 29 next if $line =~ /^\s*$/; 30 if ($line !~ /^GL_ENTRY\(([^,]+), ([^,]+), ([^\)]+)\)/) {
|
/system/core/sh/ |
mknodes.sh | 47 while IFS=; read -r line; do 48 line="${line%%#*}" 50 set -- $line 53 case "$line" in 82 eval line=\"\$field_${struct}_$field\" 84 [ -n "$line" ] 87 set -- $line 130 while IFS=; read -r line; do 132 set -- $line [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
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; local 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.substring(colonAt + 1) [all...] |
/dalvik/dx/src/com/android/dx/util/ |
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; local 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.substring(colonAt + 1) [all...] |
/external/chromium_org/tools/code_coverage/ |
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 = line[:t.start(0) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
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; local 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.substring(colonAt + 1) [all...] |
/external/wpa_supplicant_8/hostapd/logwatch/ |
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/ |
btif_sock_util.c | 69 #define asrt(s) if(!(s)) BTIF_TRACE_ERROR3("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__) 188 char *line; local 195 line = line_buff; 196 *line++ = ' '; 197 *line++ = ' '; 198 *line++ = ' '; 199 *line++ = ' '; 200 *line++ = ' '; 201 *line++ = ' '; 204 byte2hex((const char*)&j, &line); [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkDLineIntersection.cpp | 12 From http://en.wikipedia.org/wiki/Line-line_intersection 14 SkDPoint SkIntersections::Line(const SkDLine& a, const SkDLine& b) { 58 void SkIntersections::computePoints(const SkDLine& line, int used) { 59 fPt[0] = line.ptAtT(fT[0][0]); 61 fPt[1] = line.ptAtT(fT[0][1]); 108 // see if end points intersect the opposite line 120 /* Determine the intersection point of two line segments 168 static int horizontal_coincident(const SkDLine& line, double y) { 169 double min = line[0].fY; 170 double max = line[1].fY [all...] |
/external/skia/src/pathops/ |
SkDLineIntersection.cpp | 12 From http://en.wikipedia.org/wiki/Line-line_intersection 14 SkDPoint SkIntersections::Line(const SkDLine& a, const SkDLine& b) { 58 void SkIntersections::computePoints(const SkDLine& line, int used) { 59 fPt[0] = line.ptAtT(fT[0][0]); 61 fPt[1] = line.ptAtT(fT[0][1]); 108 // see if end points intersect the opposite line 120 /* Determine the intersection point of two line segments 168 static int horizontal_coincident(const SkDLine& line, double y) { 169 double min = line[0].fY; 170 double max = line[1].fY [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tokenize.py | 5 repeatedly to get the next line of input (or "" for EOF). It generates 12 the original line (string) 74 # Single-line ' or " string. 93 # First (or only) line of ' or " string. 149 def printtoken(type, token, srow_scol, erow_ecol, line): # for testing 162 Each call to the function should return one line of input as a string. 197 tok_type, token, start, end, line = t 269 should return one line of input as a string. Alternately, readline 277 and the line on which the token was found. The line passed is th [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
tokenize.py | 5 repeatedly to get the next line of input (or "" for EOF). It generates 12 the original line (string) 74 # Single-line ' or " string. 93 # First (or only) line of ' or " string. 149 def printtoken(type, token, srow_scol, erow_ecol, line): # for testing 162 Each call to the function should return one line of input as a string. 197 tok_type, token, start, end, line = t 269 should return one line of input as a string. Alternately, readline 277 and the line on which the token was found. The line passed is th [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
error_state.cc | 26 int line, 32 int line, 38 int line, 45 const char* filename, int line, const char* function_name) OVERRIDE; 48 const char* filename, int line, const char* function_name) OVERRIDE; 51 const char* filename, int line, const char* function_name) OVERRIDE; 98 const char* filename, int line, const char* function_name) { 101 SetGLError(filename, line, error, function_name, ""); 108 int line, 115 filename, line, [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-shape-complex-myanmar-machine.hh | 2 #line 1 "hb-ot-shape-complex-myanmar-machine.rl" 35 #line 36 "hb-ot-shape-complex-myanmar-machine.hh.tmp" 263 #line 36 "hb-ot-shape-complex-myanmar-machine.rl" 267 #line 90 "hb-ot-shape-complex-myanmar-machine.rl" 287 #line 288 "hb-ot-shape-complex-myanmar-machine.hh.tmp" 295 #line 111 "hb-ot-shape-complex-myanmar-machine.rl" 304 #line 305 "hb-ot-shape-complex-myanmar-machine.hh.tmp" 315 #line 1 "NONE" 318 #line 319 "hb-ot-shape-complex-myanmar-machine.hh.tmp" 337 #line 83 "hb-ot-shape-complex-myanmar-machine.rl [all...] |
hb-buffer-deserialize-json.hh | 2 #line 1 "hb-buffer-deserialize-json.rl" 35 #line 36 "hb-buffer-deserialize-json.hh.tmp" 438 #line 97 "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 "hb-buffer-deserialize-json.rl" 503 #line 43 "hb-buffer-deserialize-json.rl" 513 #line 51 "hb-buffer-deserialize-json.rl" 519 #line 55 "hb-buffer-deserialize-json.rl" 528 #line 62 "hb-buffer-deserialize-json.rl [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-complex-myanmar-machine.hh | 2 #line 1 "hb-ot-shape-complex-myanmar-machine.rl" 35 #line 36 "hb-ot-shape-complex-myanmar-machine.hh.tmp" 263 #line 36 "hb-ot-shape-complex-myanmar-machine.rl" 267 #line 90 "hb-ot-shape-complex-myanmar-machine.rl" 287 #line 288 "hb-ot-shape-complex-myanmar-machine.hh.tmp" 295 #line 111 "hb-ot-shape-complex-myanmar-machine.rl" 304 #line 305 "hb-ot-shape-complex-myanmar-machine.hh.tmp" 315 #line 1 "NONE" 318 #line 319 "hb-ot-shape-complex-myanmar-machine.hh.tmp" 337 #line 83 "hb-ot-shape-complex-myanmar-machine.rl [all...] |
hb-buffer-deserialize-json.hh | 2 #line 1 "hb-buffer-deserialize-json.rl" 35 #line 36 "hb-buffer-deserialize-json.hh.tmp" 438 #line 97 "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 "hb-buffer-deserialize-json.rl" 503 #line 43 "hb-buffer-deserialize-json.rl" 513 #line 51 "hb-buffer-deserialize-json.rl" 519 #line 55 "hb-buffer-deserialize-json.rl" 528 #line 62 "hb-buffer-deserialize-json.rl [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
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 = CharStream(input).line [all...] |
/external/chromium_org/net/disk_cache/ |
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/stressapptest/src/ |
logger.cc | 79 void Logger::QueueLogLine(string *line) { 80 LOGGER_ASSERT(line != NULL); 90 queued_lines_.push_back(line); 92 WriteAndDeleteLogLine(line); 98 void WriteToFile(const string& line, int fd) { 99 LOGGER_ASSERT(write(fd, line.data(), line.size()) == 100 static_cast<ssize_t>(line.size())); 104 void Logger::WriteAndDeleteLogLine(string *line) { 105 LOGGER_ASSERT(line != NULL) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
SearchEngine.py | 125 line, col = get_line_col(start) 126 res = self.search_backward(text, prog, line, col, wrap, ok) 132 line, col = get_line_col(start) 133 res = self.search_forward(text, prog, line, col, wrap, ok) 136 def search_forward(self, text, prog, line, col, wrap, ok=0): 138 startline = line 139 chars = text.get("%d.0" % line, "%d.0" % (line+1)) 144 return line, m 145 line = line + [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
SearchEngine.py | 125 line, col = get_line_col(start) 126 res = self.search_backward(text, prog, line, col, wrap, ok) 132 line, col = get_line_col(start) 133 res = self.search_forward(text, prog, line, col, wrap, ok) 136 def search_forward(self, text, prog, line, col, wrap, ok=0): 138 startline = line 139 chars = text.get("%d.0" % line, "%d.0" % (line+1)) 144 return line, m 145 line = line + [all...] |
/ndk/sources/host-tools/sed-4.2.1/sed/ |
execute.c | 87 /* Sed operates a line at a time. */ struct 88 struct line { 89 char *text; /* Pointer to line allocated by malloc. */ 100 #define SIZEOF_LINE offsetof (struct line, mbstate) 102 #define SIZEOF_LINE (sizeof (struct line)) 126 /* Current input line number (over all files). */ 129 /* True if we'll reset line numbers and addresses before 133 /* Function to read one line. If FP is NULL, read_fn better not 136 bool (*read_fn) P_((struct input *)); /* read one line */ 158 /* The `current' input line. * variable in typeref:struct:line [all...] |
/bionic/libc/bionic/ |
debug_mapinfo.cpp | 40 static mapinfo_t* parse_maps_line(char* line) { 41 int len = strlen(line); 44 line[--len] = 0; 47 if (line[20] != 'x') return 0; 52 mi->start = strtoul(line, 0, 16); 53 mi->end = strtoul(line + 9, 0, 16); 55 strcpy(mi->name, line + 49);
|