/external/chromium_org/tools/flakiness/ |
find_flakiness.py | 44 for line in data_file: 45 if line: 46 split_line = line.split(' -> ') 61 line = proc.stderr.readline() 62 if not line: 66 print line.rstrip() 68 line = line.rstrip() 69 if line in failed_tests: 70 failed_tests[line] += [all...] |
/external/javassist/src/main/javassist/bytecode/ |
LineNumberAttribute.java | 52 * for a new line in the original source file begins. 62 * This represents the corresponding line number in the original 72 * Returns the line number corresponding to the specified bytecode. 91 * the specified line begins. 93 * @param line the line number. 94 * @return -1 if the specified line is not found. 96 public int toStartPc(int line) { 99 if (line == lineNumber(i)) 114 * The line number 116 public int line; field in class:LineNumberAttribute.Pc [all...] |
/external/skia/tests/ |
PathOpsQuadLineIntersectionThreadedTest.cpp | 14 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, 18 if (line[0].fX == line[1].fX) { 19 double top = line[0].fY; 20 double bottom = line[1].fY; 25 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped); 26 } else if (line[0].fY == line[1].fY) { 27 double left = line[0].fX; 28 double right = line[1].fX 100 SkDLine line = {{{x - h, y - v}, {x, y}}}; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
traceback.py | 21 for filename, lineno, name, line in extracted_list: 23 ' File "%s", line %d, in %s' % (filename,lineno,name)) 24 if line: 25 _print(file, ' %s' % line.strip()) 35 whose source text line is not None. 38 for filename, lineno, name, line in extracted_list: 39 item = ' File "%s", line %d, in %s\n' % (filename,lineno,name) 40 if line: 41 item = item + ' %s\n' % line.strip() 67 ' File "%s", line %d, in %s' % (filename, lineno, name) [all...] |
fileinput.py | 6 for line in fileinput.input(): 7 process(line) 15 Functions filename(), lineno() return the filename and cumulative line 16 number of the line that has just been read; filelineno() returns its 17 line number in the current file; isfirstline() returns true iff the 18 line just read is the first line of its file; isstdin() returns true 19 iff the line was read from sys.stdin. Function nextfile() closes the 20 current file so that the next iteration will read the first line from 22 towards the cumulative line count; the filename is not changed unti [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
traceback.py | 21 for filename, lineno, name, line in extracted_list: 23 ' File "%s", line %d, in %s' % (filename,lineno,name)) 24 if line: 25 _print(file, ' %s' % line.strip()) 35 whose source text line is not None. 38 for filename, lineno, name, line in extracted_list: 39 item = ' File "%s", line %d, in %s\n' % (filename,lineno,name) 40 if line: 41 item = item + ' %s\n' % line.strip() 67 ' File "%s", line %d, in %s' % (filename, lineno, name) [all...] |
fileinput.py | 6 for line in fileinput.input(): 7 process(line) 15 Functions filename(), lineno() return the filename and cumulative line 16 number of the line that has just been read; filelineno() returns its 17 line number in the current file; isfirstline() returns true iff the 18 line just read is the first line of its file; isstdin() returns true 19 iff the line was read from sys.stdin. Function nextfile() closes the 20 current file so that the next iteration will read the first line from 22 towards the cumulative line count; the filename is not changed unti [all...] |
/external/chromium_org/chrome/tools/convert_dict/ |
dic_reader.cc | 22 void SplitDicLine(const std::string& line, std::vector<std::string>* output) { 23 // We split the line on a slash not preceded by a backslash. A slash at the 24 // beginning of the line is not a separator either. 25 size_t slash_index = line.size(); 26 for (size_t i = 0; i < line.size(); i++) { 27 if (line[i] == '/' && i > 0 && line[i - 1] != '\\') { 37 std::string word = line.substr(0, slash_index); 42 if (slash_index < line.size() - 1) 43 output->push_back(line.substr(slash_index + 1)) 59 std::string line = ReadLine(file); local [all...] |
/external/chromium_org/third_party/angle_dx11/tests/preprocessor_tests/ |
location_test.cpp | 26 EXPECT_EQ(location.line, token.location.line); 119 EXPECT_EQ(1, token.location.line); 124 EXPECT_EQ(1, token.location.line); 137 EXPECT_EQ(1, token.location.line); 142 EXPECT_EQ(2, token.location.line); 155 EXPECT_EQ(1, token.location.line); 160 EXPECT_EQ(1, token.location.line); 165 const char* str = "#line 10\n" 175 const char* str = "#line 10 20\n [all...] |
/external/clang/test/FixIt/ |
format.m | 100 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:11-[[@LINE-1]]:13}:"%c" 103 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:11-[[@LINE-1]]:14}:"%c" 106 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:11-[[@LINE-1]]:13}:"%c" 109 // CHECK-NOT: fix-it:"{{.*}}":{[[@LINE-1]]:11-[[@LINE-1]]:13}:"%c" 113 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:11-[[@LINE-1]]:13}:"%c [all...] |
fixit-unicode.c | 19 // CHECK-MACHINE: fix-it:"{{.*}}fixit-unicode.c":{[[@LINE-8]]:15-[[@LINE-8]]:18}:"" 20 // CHECK-MACHINE: fix-it:"{{.*}}fixit-unicode.c":{[[@LINE-9]]:15-[[@LINE-9]]:15}:";" 33 // character, or as <U+2206>.) The fixit should line up with the %d regardless. 35 // CHECK-MACHINE: fix-it:"{{.*}}fixit-unicode.c":{[[@LINE-9]]:16-[[@LINE-9]]:18}:"%ld" 43 // CHECK-MACHINE: fix-it:"{{.*}}":{[[@LINE-3]]:11-[[@LINE-3]]:17}:"\340\270\201ssss" 49 // CHECK-MACHINE: fix-it:"{{.*}}":{[[@LINE-3]]:11-[[@LINE-3]]:17}:"ss\340\270\201ss [all...] |
/external/chromium/googleurl/ |
PRESUBMIT.py | 48 - has a line that ends with whitespace 49 - contains a line >|max_cols| cols unless |max_cols| is 0. 73 # will normalize line endings. 82 for line in lines: 83 if line.endswith(' '): 85 '%s, line %s ends with whitespaces.' % 88 if max_cols and len(line) > max_cols and not 'http://' in line: 90 '%s, line %s has %s chars, please reduce to %d chars.' % 91 (path, line_num, len(line), max_cols)) [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/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/ |
dromaeo-3d-cube.html | 197 if (!Q.Line[0]) { DrawLine(Q[0], Q[1]); Q.Line[0] = true; }; 198 if (!Q.Line[1]) { DrawLine(Q[1], Q[2]); Q.Line[1] = true; }; 199 if (!Q.Line[2]) { DrawLine(Q[2], Q[3]); Q.Line[2] = true; }; 200 if (!Q.Line[3]) { DrawLine(Q[3], Q[0]); Q.Line[3] = true; }; 203 if (!Q.Line[2]) { DrawLine(Q[3], Q[2]); Q.Line[2] = true; } [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
3d-cube.js | 193 if (!Q.Line[0]) { DrawLine(Q[0], Q[1]); Q.Line[0] = true; }; 194 if (!Q.Line[1]) { DrawLine(Q[1], Q[2]); Q.Line[1] = true; }; 195 if (!Q.Line[2]) { DrawLine(Q[2], Q[3]); Q.Line[2] = true; }; 196 if (!Q.Line[3]) { DrawLine(Q[3], Q[0]); Q.Line[3] = true; }; 199 if (!Q.Line[2]) { DrawLine(Q[3], Q[2]); Q.Line[2] = true; } [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
3d-cube.js | 193 if (!Q.Line[0]) { DrawLine(Q[0], Q[1]); Q.Line[0] = true; }; 194 if (!Q.Line[1]) { DrawLine(Q[1], Q[2]); Q.Line[1] = true; }; 195 if (!Q.Line[2]) { DrawLine(Q[2], Q[3]); Q.Line[2] = true; }; 196 if (!Q.Line[3]) { DrawLine(Q[3], Q[0]); Q.Line[3] = true; }; 199 if (!Q.Line[2]) { DrawLine(Q[3], Q[2]); Q.Line[2] = true; } [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
3d-cube.js | 193 if (!Q.Line[0]) { DrawLine(Q[0], Q[1]); Q.Line[0] = true; }; 194 if (!Q.Line[1]) { DrawLine(Q[1], Q[2]); Q.Line[1] = true; }; 195 if (!Q.Line[2]) { DrawLine(Q[2], Q[3]); Q.Line[2] = true; }; 196 if (!Q.Line[3]) { DrawLine(Q[3], Q[0]); Q.Line[3] = true; }; 199 if (!Q.Line[2]) { DrawLine(Q[3], Q[2]); Q.Line[2] = true; } [all...] |
/external/chromium_org/tools/checkdeps/ |
cpp_checker.py | 28 # The maximum line length, this is to be efficient in the case of very long 40 def CheckLine(self, rules, line, dependee_path, fail_on_temp_allow=False): 41 """Checks the given line with the given rule set. 44 is_include is True only if the line is an #include or #import 46 results.DependencyViolation if the line violates a rule, or None 49 found_item = self._EXTRACT_INCLUDE_PATH.match(line) 83 for line_num, line in enumerate(f): 87 line = line.strip() 90 if line.startswith('#if 0') [all...] |
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
xml_formatted_writer.py | 68 # Get all the XML content in a one-line string. 70 # Determine where the line breaks will be. (They will only be between tags.) 74 # Determine indent for each line. 75 for i, line in enumerate(lines): 76 if line[0] == '/': 77 # If the current line starts with a closing tag, decrease indent before 80 lines[i] = indent + '<' + line + '>' 81 if (line[0] not in ['/', '?', '!'] and '</' not in line and 82 line[len(line) - 1] != '/') [all...] |
/external/libvorbis/vq/ |
latticetune.c | 34 command line: 47 char *line,*name; local 51 fprintf(stderr,"Need a lattice codebook on the command line.\n"); 55 fprintf(stderr,"Need a codeword data file on the command line.\n"); 96 line=setup_line(in); 97 while(line){ 102 if(sscanf(line,"%ld",&code)==1) 105 line=setup_line(in); 112 line=setup_line(in); 113 while(line){ [all...] |
/external/opencv/cvaux/src/ |
cvfindhandregion.cpp | 56 float *line, CvSize2D32f size, int flag, 89 assert( points != NULL && line != NULL ); 90 if( points == NULL || line == NULL ) 107 /* alloc memory for the point's projections on the line */ 133 /* find min and max point's projection on the line */ 140 icvSubVector_32f ((IppmVect32f )&points[i], (IppmVect32f )&line[3], sub, 3); 142 icvCrossProduct2L_32f ((IppmVect32f )&line[0], sub, cros); 145 sub[0] = points[i].x - line[3]; 146 sub[1] = points[i].y - line[4]; 147 sub[2] = points[i].z - line[5] [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/test/ |
test_linecache.py | 44 # Bad values for line number should return an empty string 58 for index, line in enumerate(open(filename)): 59 self.assertEqual(line, getline(filename, index + 1)) 64 for index, line in enumerate(open(filename)): 65 self.assertEqual(line, getline(filename, index + 1)) 106 for index, line in enumerate(source): 107 self.assertEqual(line, getline(source_name, index + 1)) 108 source_list.append(line) 117 for index, line in enumerate(source_list): 118 self.assertEqual(line, getline(source_name, index + 1) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_linecache.py | 44 # Bad values for line number should return an empty string 58 for index, line in enumerate(open(filename)): 59 self.assertEqual(line, getline(filename, index + 1)) 64 for index, line in enumerate(open(filename)): 65 self.assertEqual(line, getline(filename, index + 1)) 106 for index, line in enumerate(source): 107 self.assertEqual(line, getline(source_name, index + 1)) 108 source_list.append(line) 117 for index, line in enumerate(source_list): 118 self.assertEqual(line, getline(source_name, index + 1) [all...] |
/system/core/fastbootd/ |
config.c | 61 static int config_parse_line(char *line) 67 c = strchr(line, '#'); 71 if (strspn(line, " \t") == strlen(line)) 74 c = strchr(line, '='); 78 key = line; 97 char *line = buffer; local 101 for (c = 1; line != NULL; c++) { 102 line = strtok_r(str, "\r\n", &saveptr); 103 if (line != NULL) [all...] |