/external/chromium_org/tools/cygprofile/ |
mergetraces.py | 21 def ParseLogLines(lines): 22 """Parse log file lines. 25 lines: lines from log file produced by profiled run 45 dash_index = lines[0].find ('-') 46 space_index = lines[0].find (' ') 47 vm_start = int (lines[0][:dash_index], 16) 48 vm_end = int (lines[0][dash_index+1:space_index], 16) 49 for line in lines[2:]:
|
/external/chromium_org/ui/gfx/ |
text_elider.cc | 710 base::i18n::BreakIterator lines(input, 712 if (lines.Init()) { 713 while (lines.Advance()) 714 AddLine(lines.GetString()); 716 NOTREACHED() << "BreakIterator (lines) init failed"; 801 std::vector<base::string16>* lines) 810 lines_(lines), 835 // Wrap the specified word across multiple lines. [all...] |
/external/eigen/test/eigen2/ |
eigen2_hyperplane.cpp | 79 template<typename Scalar> void lines() function 105 // the lines should intersect at the point we called "center" 108 // check conversions between two types of lines 123 CALL_SUBTEST_5( lines<float>() ); 124 CALL_SUBTEST_6( lines<double>() );
|
/external/eigen/test/ |
geo_hyperplane.cpp | 80 template<typename Scalar> void lines() function 106 // the lines should intersect at the point we called "center" 109 // check conversions between two types of lines 154 CALL_SUBTEST_1( lines<float>() ); 155 CALL_SUBTEST_3( lines<double>() );
|
/external/elfutils/libdwfl/ |
libdwflP.h | 201 struct Dwfl_Lines *lines; member in struct:dwfl_cu 213 match those in libdw's Dwarf_CU.lines->info table. */ 216 unsigned int idx; /* My index in the dwfl_cu.lines table. */ 223 const struct Dwfl_Lines *lines = ((const void *) line local 226 return lines->cu; 283 /* Ensure that CU->lines (and CU->cu->lines) is set up. */
|
/external/mdnsresponder/mDNSPosix/ |
parselog.py | 75 lines = f.readlines(100000) 76 if not lines: 78 for line in lines:
|
/external/skia/bench/ |
check_bench_regressions.py | 141 def check_expectations(lines, expectations, revision, key_suffix): 147 for line in lines: 153 this_bench_value = lines[line]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
addinterface.cpp | 79 QStringList lines = ifaces.split(QRegExp("\\n")); local 80 for (QStringList::Iterator it = lines.begin(); 81 it != lines.end(); it++) {
|
/packages/apps/Camera/src/com/android/camera/ |
CameraHolder.java | 88 String[] lines = new String[stack.length]; local 90 lines[i] = stack[i].toString(); 92 s.stack = lines;
|
/packages/apps/Camera2/src/com/android/camera/ |
CameraHolder.java | 88 String[] lines = new String[stack.length]; local 90 lines[i] = stack[i].toString(); 92 s.stack = lines;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
cpp_unittest.py | 238 def process_file_data(self, filename, file_extension, lines, error, fs=None): 240 return cpp_style.process_file_data(filename, file_extension, lines, 245 lines = code.split('\n') 247 self.process_file_data(filename, extension, lines, error_collector, fs) 260 # Perform lint over multiple lines and return the error message. 336 def assert_blank_lines_check(self, lines, start_errors, end_errors): 338 self.process_file_data('foo.cpp', 'cpp', lines, error_collector) 360 def perform_function_detection(self, lines, function_information, detection_line=0): 361 clean_lines = cpp_style.CleansedLines(lines) 636 lines = ['a', 'b', '/* c' [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_setup.c | 29 * \brief Primitive rasterization/rendering (points, lines, triangles) 59 int lines; /**< number of lines on this edge */ member in struct:edge 686 setup->emaj.lines = (int) ceilf(vmax_y - setup->emaj.sy); 691 setup->etop.lines = (int) ceilf(vmax_y - setup->etop.sy); 696 setup->ebot.lines = (int) ceilf(vmid_y - setup->ebot.sy); 710 int lines) 721 assert(lines >= 0); 728 finish_y = sy + lines; 771 eleft->sx += lines * eleft->dxdy [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_setup.c | 29 * \brief Primitive rasterization/rendering (points, lines, triangles) 59 int lines; /**< number of lines on this edge */ member in struct:edge 686 setup->emaj.lines = (int) ceilf(vmax_y - setup->emaj.sy); 691 setup->etop.lines = (int) ceilf(vmax_y - setup->etop.sy); 696 setup->ebot.lines = (int) ceilf(vmid_y - setup->ebot.sy); 710 int lines) 721 assert(lines >= 0); 728 finish_y = sy + lines; 771 eleft->sx += lines * eleft->dxdy [all...] |
/external/chromium_org/chrome/browser/chromeos/imageburner/ |
burn_manager.cc | 84 std::vector<std::string> lines; local 85 Tokenize(file_content, "\n", &lines); 88 for (size_t i = 0; i < lines.size(); ++i) { 89 if (lines[i].empty()) 93 Tokenize(lines[i], "=", &key_value_pair); 94 // Skip lines that don't contain key-value pair and lines without a key.
|
/external/chromium_org/chrome/test/functional/perf/endure_graphs/ |
endure_plotter.js | 257 * @param {Array} plotData A list of data lines to plot, to which new data will 260 * to data lines in |plotData|, to which new data will be appended. 298 var lines = []; 310 lines.push(points); 315 lines = graphUtils.stackFrontToBack(graphUtils.interpolate(lines)); 318 for (var i = 0, line; line = lines[i]; ++i) { 369 var plotData = []; // plotData is a list of graph lines; each graph line is 378 // From index {@code plotData.length} onwards, any graph lines in
|
/external/chromium_org/net/tools/gdig/ |
gdig.cc | 131 std::vector<std::string> lines; local 132 base::SplitString(replay_log_contents, '\n', &lines); 135 for (unsigned i = 0; i < lines.size(); ++i) { 136 if (lines[i].empty()) 139 base::SplitString(lines[i], ' ', &time_and_name);
|
/external/chromium_org/ppapi/generators/ |
idl_diff.py | 20 # blank lines, etc... 30 # A Change object contains the previous lines, new news and change type. 78 # Return True if this change only adds or removes blank lines 250 # Split on lines, adding an END marker to simply add logic 251 lines = output.split('\n') 252 lines = FilterLinesIn(lines) 253 lines.append('END') 261 for line in lines:
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
jsdifflib.js | 47 var lines = str.split(linebreak); 48 for (var i = 0; i < lines.length; i++) { 49 lines[i] = difflib.stripLinebreaks(lines[i]); 52 return lines;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
checker.py | 609 """The base class for processors of lists of lines.""" 615 the lines of a file. Use this method, for example, to prevent 621 def process(self, lines, file_path, **kwargs): 622 """Process lines of text read from a file. 625 lines: A list of lines of text to process. 626 file_path: The path from which the lines were read. 632 the line numbers of the lines for which style errors 704 def process(self, lines, file_path, line_numbers=None): 705 """Check the given lines for style [all...] |
/external/chromium_org/tools/valgrind/asan/third_party/ |
asan_symbolize.py | 223 lines = file(filename).readlines() 229 fragments = lines[0].rstrip().split() 233 self.parse_lines(lines[1:]) 235 def parse_lines(self, lines): 237 for line in lines:
|
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 248 lines = file(filename).readlines() 254 fragments = lines[0].rstrip().split() 258 self.parse_lines(lines[1:]) 260 def parse_lines(self, lines): 262 for line in lines:
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_transfer.c | 516 unsigned lines = (h > 2047) ? 2047 : h; local 528 PUSH_DATA (push, lines); 537 h -= lines; 538 src_offset += src->pitch * lines; 539 dst_offset += dst->pitch * lines; 698 unsigned pages, lines; local 708 lines = (pages > 2047) ? 2047 : pages; 709 pages -= lines; 721 PUSH_DATA (push, lines); 730 s_off += (lines << 12) [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_transfer.c | 516 unsigned lines = (h > 2047) ? 2047 : h; local 528 PUSH_DATA (push, lines); 537 h -= lines; 538 src_offset += src->pitch * lines; 539 dst_offset += dst->pitch * lines; 698 unsigned pages, lines; local 708 lines = (pages > 2047) ? 2047 : pages; 709 pages -= lines; 721 PUSH_DATA (push, lines); 730 s_off += (lines << 12) [all...] |
/external/v8/tools/ |
ll_prof.py | 137 # Get a list of disassembled lines and their addresses. 138 lines = self._GetDisasmLines(arch, options) 139 if len(lines) == 0: 141 # Print annotated lines. 142 address = lines[0][0] 144 for i in xrange(len(lines)): 145 start_offset = lines[i][0] - address 146 if i == len(lines) - 1: 149 end_offset = lines[i + 1][0] - address 162 print "%15.2f %x: %s" % (count, lines[i][0], lines[i][1] [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
AppRTCDemoActivity.java | 308 String[] lines = sdpDescription.split("\n"); local 314 (i < lines.length) && (mLineIndex == -1 || isac16kRtpMap == null); 316 if (lines[i].startsWith("m=audio ")) { 320 Matcher isac16kMatcher = isac16kPattern.matcher(lines[i]); 334 String[] origMLineParts = lines[mLineIndex].split(" "); 347 lines[mLineIndex] = newMLine.toString(); 349 for (String line : lines) {
|