/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLViewSourceDocument.cpp | 232 Vector<String> lines; 233 text.split('\n', true, lines); 234 unsigned size = lines.size(); 236 String substring = lines[i];
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
split-file-by-class | 95 my @lines = split("\n", $fileContent); 96 foreach my $line (@lines) {
|
/external/chromium_org/tools/clang/scripts/ |
run_tool.py | 77 lines = stdout.splitlines() 78 start_index = lines.index('==== BEGIN EDITS ====') 79 end_index = lines.index('==== END EDITS ====') 81 for line in lines[start_index + 1:end_index]:
|
/external/chromium_org/tools/idl_parser/ |
idl_lexer.py | 174 offs = self.lines[line - 1].find(word) 187 # of multiple lines, tokens can not exist on any of the lines except the 188 # last one, so the recorded value for previous lines are unused. We still 206 return "%s\n%s" % (self.lines[line - 1], caret) 240 self.lines = data.split('\n') 281 self.lines = None
|
/external/chromium_org/ui/gfx/ |
text_elider_unittest.cc | 604 std::vector<string16> lines; local 611 &lines)); 613 const std::string result = UTF16ToUTF8(JoinString(lines, '|')); 616 EXPECT_TRUE(lines.empty()) << "Case " << i << " failed!"; 642 std::vector<string16> lines; local 651 &lines)); 653 const std::string result = UTF16ToUTF8(JoinString(lines, '|')); 656 EXPECT_TRUE(lines.empty()) << "Case " << i << " failed!"; 705 std::vector<string16> lines; local 712 &lines)); 734 std::vector<string16> lines; local [all...] |
render_text_win.cc | 162 // be greater than |start_char| (to avoid constructing empty lines). Returns 168 // TODO(ckocagil): Do not reserve width for whitespace at the end of lines. 230 void CheckLineIntegrity(const std::vector<internal::Line>& lines, 235 for (size_t i = 0; i < lines.size(); ++i) { 236 for (size_t j = 0; j < lines[i].segments.size(); ++j) { 237 const internal::LineSegment* segment = &lines[i].segments[j]; 310 // is broken into lines at |words| boundaries such that each line is no longer 358 void Finalize(std::vector<Line>* lines, Size* size) { 364 lines->swap(lines_); 478 // Stores the resulting lines 761 std::vector<internal::Line> lines; local 769 std::vector<internal::Line> lines; local [all...] |
/external/chromium_org/ui/views/corewm/ |
tooltip_aura.cc | 98 std::vector<string16> lines; local 99 base::SplitString(*text, '\n', &lines); 104 for (std::vector<string16>::iterator l = lines.begin(); l != lines.end(); 132 // Clamp number of lines to |kMaxLines|.
|
/external/libvpx/libvpx/tools/ |
intersect-diffs.py | 12 Given two diffs, A and B, it finds all hunks in B that had non-context lines 35 r.extend(hunk.lines)
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldManifestTest.java | 179 String[] lines = new String(os.toByteArray(), "UTF-8").split("\r\n"); local 180 assertEquals("Manifest-Version: 1.0", lines[0]); 181 assertEquals("Aardvark-Version: 3.0", lines[1]); 182 assertEquals("Signature-Version: 2.0", lines[2]);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Pyramid.h | 45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);
|
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
Pyramid.h | 45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Pyramid.h | 45 static unsigned int calcStorage(real width, real height, real border2, int levels, int *lines);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_doctest.py | 142 return it. The set of lines to return is specified in the 145 def __init__(self, lines): 146 self.lines = lines 149 line = self.lines.pop(0) 201 Source spans multiple lines: require terminating newline. 244 Message spans multiple lines 338 continuation lines, then `DocTest` will raise a ValueError: 836 lines between the first line and the type/value may be omitted or [all...] |
test_traceback.py | 164 lines = traceback.format_exception_only(type(err), err) 165 self.assertEqual(lines, ['AssertionError: \xff\n']) 168 lines = traceback.format_exception_only(type(err), err) 169 self.assertEqual(lines, ['AssertionError: \\xe9\n'])
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_doctest.py | 142 return it. The set of lines to return is specified in the 145 def __init__(self, lines): 146 self.lines = lines 149 line = self.lines.pop(0) 201 Source spans multiple lines: require terminating newline. 244 Message spans multiple lines 338 continuation lines, then `DocTest` will raise a ValueError: 836 lines between the first line and the type/value may be omitted or [all...] |
test_traceback.py | 164 lines = traceback.format_exception_only(type(err), err) 165 self.assertEqual(lines, ['AssertionError: \xff\n']) 168 lines = traceback.format_exception_only(type(err), err) 169 self.assertEqual(lines, ['AssertionError: \\xe9\n'])
|
/external/chromium_org/ |
PRESUBMIT_test.py | 317 lines = ['<<<<<<< HEAD', 323 MockInputApi(), MockFile('some/path/foo_platform.cc', lines)) 378 lines = ['#if defined(OS_WINDOWS)', 384 MockInputApi(), MockFile('some/path/foo_platform.cc', lines)) 385 self.assertEqual(len(lines), len(errors)) 390 lines = ['#if defined(%s)' % m for m in PRESUBMIT._VALID_OS_MACROS] 392 MockInputApi(), MockFile('some/path/foo_platform.cc', lines))
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
View.js | 389 var lines = []; 390 this._collectViewHierarchy("", lines); 391 console.log(lines.join("\n")); 394 _collectViewHierarchy: function(prefix, lines) 396 lines.push(prefix + "[" + this.element.className + "]" + (this._children.length ? " {" : "")); 399 this._children[i]._collectViewHierarchy(prefix + " ", lines); 402 lines.push(prefix + "}");
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
parser.py | 13 """Parse code to find executable lines, excluded lines, etc.""" 18 which the text will be read. Excluded lines are those that match 42 # The text lines of the parsed code. 43 self.lines = self.text.split('\n') 45 # The line numbers of excluded lines of code. 48 # The line numbers of docstring lines. 72 """Find the lines matching one of a list of regexes. 74 Returns a set of line numbers, the lines that contain a match for one 81 for i, ltext in enumerate(self.lines) [all...] |
/external/opencv/cv/src/ |
cvhough.cpp | 80 to be a candidate for line. lines is the output 82 Functions return the actual number of found lines. 86 int threshold, CvSeq *lines, int linesMax ) 153 // stage 3. sort the detected lines by accumulator value 156 // stage 4. store the first min(total,linesMax) lines to the output buffer 167 cvSeqPush( lines, &line ); 194 CvSeq* lines, int linesMax ) 348 icvHoughLinesStandard( img, rho, theta, threshold, lines, linesMax ); 455 cvSeqPush( lines, &line ); 457 if( lines->total >= linesMax 752 CvSeq* lines = 0; local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/ |
pep8.py | 40 300 blank lines 59 The check function requests physical or logical lines by the name of 70 lines: a list of the raw lines from the input file 73 blank_lines: blank lines before this one 129 # Plugins (check functions) for physical lines 181 def trailing_blank_lines(physical_line, lines, line_number): 183 JCR: Trailing blank lines are superfluous. 188 if physical_line.strip() == '' and line_number == len(lines): 202 Limit all lines to a maximum of 79 characters [all...] |
/frameworks/base/core/java/android/text/ |
StaticLayout.java | 599 int[] lines = mLines; local 601 if (want >= lines.length) { 604 System.arraycopy(lines, 0, grow, 0, lines.length); 606 lines = grow; 668 lines[off + START] = start; 669 lines[off + TOP] = v; 670 lines[off + DESCENT] = below + extra; 673 lines[off + mColumns + START] = end; 674 lines[off + mColumns + TOP] = v 827 int[] lines = mLines; local [all...] |
/external/chromium_org/native_client_sdk/src/examples/tutorial/debugging/ |
example.js | 64 var lines = map.split('\n'); 69 for (var i = 0; i < lines.length; i++) { 70 var line = lines[i];
|
/external/chromium_org/tools/grit/grit/ |
clique.py | 77 lines = [] 79 lines.append( 82 lines.append(ReportTranslation(self.cliques_[id][0], langs.keys())) 84 lines.append("ERROR: The following translations are MISSING:") 86 lines.append(ReportTranslation(self.cliques_[id][0], langs.keys())) 87 return '\n'.join(lines)
|
/external/oprofile/events/i386/westmere/ |
unit_masks | 110 0x01 repl L1 data cache lines allocated 111 0x02 m_repl L1D cache lines allocated in the M state 112 0x04 m_evict L1D cache lines replaced in M state 113 0x08 m_snoop_evict L1D snoop eviction of cache lines in M state 142 0x02 s_state L2 lines allocated in the S state 143 0x04 e_state L2 lines allocated in the E state 144 0x07 any L2 lines alloacated 146 0x01 demand_clean L2 lines evicted by a demand request 147 0x02 demand_dirty L2 modified lines evicted by a demand request 148 0x04 prefetch_clean L2 lines evicted by a prefetch reques [all...] |