/external/elfutils/tests/ |
run-get-lines.sh | 31 testrun_compare ./get-lines testfile testfile2 <<\EOF 33 5 lines 40 4 lines 46 4 lines 52 4 lines 58 4 lines 64 5 lines
|
/external/icu4c/test/perf/normperf/ |
normperf.h | 33 ULine* lines; member in class:QuickCheckPerfFunction 49 retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); 53 retVal = (*fn)(lines[i].name,-1,mode, options, status); 70 totalChars+= lines[i].len; 79 lines = srcLines; 89 lines = NULL; 102 ULine* lines; member in class:NormPerfFunction 120 retVal = (*fn)(lines[i].name,lines[i].len,pDest,destLen, options, status) [all...] |
/external/v8/tools/ |
logreader.js | 53 * CSV lines parser. 166 * Processes log lines. 168 * @param {Array.<string>} lines Log lines. 171 LogReader.prototype.processLog_ = function(lines) { 172 for (var i = 0, n = lines.length; i < n; ++i, ++this.lineNum_) { 173 var line = lines[i];
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
codecs.py | 452 # If we have lines cached, first merge them back into characters 481 lines = newchars.splitlines(True) 482 if len(lines)<=1: 512 # If we have lines cached from an earlier read, return 539 lines = line.splitlines(True) 540 if lines: 541 if len(lines) > 1: 544 line = lines[0] 545 del lines[0] 546 if len(lines) > 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
codecs.py | 452 # If we have lines cached, first merge them back into characters 481 lines = newchars.splitlines(True) 482 if len(lines)<=1: 512 # If we have lines cached from an earlier read, return 539 lines = line.splitlines(True) 540 if lines: 541 if len(lines) > 1: 544 line = lines[0] 545 del lines[0] 546 if len(lines) > 1 [all...] |
/external/chromium_org/ui/views/widget/ |
tooltip_manager_win.cc | 38 // Maximum number of lines we allow in the tooltip. 43 // of lines of text in the tooltip. |available_width| gives the space available 55 // Split the string into at most kMaxLines lines. 56 std::vector<base::string16> lines; local 57 base::SplitString(*text, '\n', &lines); 58 if (lines.size() > kMaxLines) 59 lines.resize(kMaxLines); 60 *line_count = static_cast<int>(lines.size()); 64 for (std::vector<base::string16>::iterator i = lines.begin(); 65 i != lines.end(); ++i) [all...] |
/external/clang/lib/ARCMigrate/ |
FileRemapper.cpp | 73 SmallVector<StringRef, 64> lines; 74 fileBuf->getBuffer().split(lines, "\n"); 76 for (unsigned idx = 0; idx+3 <= lines.size(); idx += 3) { 77 StringRef fromFilename = lines[idx]; 79 if (lines[idx+1].getAsInteger(10, timeModified)) 80 return report("Invalid file data: '" + lines[idx+1] + "' not a number", 82 StringRef toFilename = lines[idx+2];
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Pyramid.cpp | 31 int lines, size = calcStorage(width, height, border2, levels, &lines); local 34 + sizeof(short *) * lines + 40 ImageTypeShort position = (ImageTypeShort) &y[lines]; 96 unsigned int PyramidShort::calcStorage(real width, real height, real border2, int levels, int *lines) 100 *lines = size = 0; 104 *lines += height + border2;
|
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
Pyramid.cpp | 31 int lines, size = calcStorage(width, height, border2, levels, &lines); local 34 + sizeof(short *) * lines + 40 ImageTypeShort position = (ImageTypeShort) &y[lines]; 96 unsigned int PyramidShort::calcStorage(real width, real height, real border2, int levels, int *lines) 100 *lines = size = 0; 104 *lines += height + border2;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Pyramid.cpp | 31 int lines, size = calcStorage(width, height, border2, levels, &lines); local 34 + sizeof(short *) * lines + 40 ImageTypeShort position = (ImageTypeShort) &y[lines]; 96 unsigned int PyramidShort::calcStorage(real width, real height, real border2, int levels, int *lines) 100 *lines = size = 0; 104 *lines += height + border2;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
tsmthred.cpp | 845 const Line *lines; member in class:CollatorThreadTest 850 lines(NULL), 857 lines = l; 870 resLen = ucol_getSortKey(coll, lines[i].buff, lines[i].buflen, newSk, 1024); 876 cmpres = ucol_strcoll(coll, lines[i-1].buff, lines[i-1].buflen, lines[i].buff, lines[i].buflen); 877 cmpres2 = ucol_strcoll(coll, lines[i].buff, lines[i].buflen, lines[i-1].buff, lines[i-1].buflen) 977 Line *lines = new Line[200000]; local [all...] |
/ndk/sources/host-tools/make-3.81/ |
commands.c | 267 /* Chop CMDS up into individual command lines if necessary. 275 char **lines; 283 /* Chop CMDS->commands up into lines in CMDS->command_lines. 288 lines = (char **) xmalloc (5 * sizeof (char *)); 314 lines = (char **) xrealloc ((char *) lines, 317 lines[idx++] = savestring (p, end - p); 326 lines = (char **) xrealloc ((char *) lines, 331 cmds->command_lines = lines; 273 char **lines; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mhlib.py | 73 lines = s.split("\n") 74 lines = [ line.strip() for line in lines if len(line) >= 2 ] 75 lines.sort() 76 return lines 328 lines = sortLines(msg.getheadertext()) 329 eq(lines, ["Date: 18 July 2001", 332 lines = sortLines(msg.getheadertext(lambda h: len(h)==4)) 333 eq(lines, ["Date: 18 July 2001",
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mhlib.py | 73 lines = s.split("\n") 74 lines = [ line.strip() for line in lines if len(line) >= 2 ] 75 lines.sort() 76 return lines 328 lines = sortLines(msg.getheadertext()) 329 eq(lines, ["Date: 18 July 2001", 332 lines = sortLines(msg.getheadertext(lambda h: len(h)==4)) 333 eq(lines, ["Date: 18 July 2001",
|
/external/chromium/chrome/browser/autofill/ |
autofill_merge_unittest.cc | 167 std::vector<std::string> lines; local 168 Tokenize(profiles, "\n", &lines); 169 for (size_t i = 0; i < lines.size(); ++i) { 170 std::string line = lines[i]; 190 if ((i > 0 && line == kProfileSeparator) || i == lines.size() - 1) {
|
/external/chromium_org/cloud_print/service/ |
service_state.cc | 202 std::vector<std::string> lines; local 203 Tokenize(fetcher_delegate.data(), "\r\n", &lines); 204 for (size_t i = 0; i < lines.size(); ++i) { 205 if (StartsWithASCII(lines[i], kAuthStart, false)) 206 return lines[i].substr(arraysize(kAuthStart) - 1);
|
/external/chromium_org/components/autofill/core/browser/ |
autofill_merge_unittest.cc | 195 std::vector<std::string> lines; local 196 Tokenize(profiles, "\n", &lines); 197 for (size_t i = 0; i < lines.size(); ++i) { 198 std::string line = lines[i]; 218 if ((i > 0 && line == kProfileSeparator) || i == lines.size() - 1) {
|
/external/chromium_org/native_client_sdk/src/tools/ |
decode_dump.py | 118 lines = process_stdout.splitlines() 119 assert len(lines) % 2 == 0 121 for index in xrange(len(lines) / 2): 122 func = lines[index * 2] 123 afilename, lineno = lines[index * 2 + 1].split(':', 1)
|
/external/chromium_org/tools/perf/utils/results_viewer/src/ |
main.js | 202 var lines = []; 211 lines.push(line); 214 return lines; 256 var lines = extractColumnsToPlot(this.dataSet_, variable 258 var data = google.visualization.arrayToDataTable(lines);
|
/external/doclava/src/com/google/doclava/ |
SampleTagInfo.java | 37 * file is copied. If an id is provided, the lines in the given file between the first two lines 125 LineNumberReader lines = new LineNumberReader(input); local 134 String line = lines.readLine(); 215 LineNumberReader lines = new LineNumberReader(input); local 218 String line = lines.readLine(); 219 String lineNum = Integer.toString(lines.getLineNumber());
|
/external/markdown/markdown/ |
preprocessors.py | 23 Preprocessors are run after the text is broken into lines. 26 list of lines of the document, modifies it as necessary and returns 32 def run(self, lines): 36 the (possibly modified) list of lines. 108 def run(self, lines): 109 text = "\n".join(lines) 196 def run (self, lines): 198 for line in lines:
|
/external/opencv/cvaux/src/ |
cvcorrespond.cpp | 324 icvDynamicCorrespondMulti( int lines, /* number of scanlines */ 340 if( (lines < 1) || 351 for( n = 0; n < lines; n++ ) 387 cvDynamicCorrespondMulti( int lines, /* number of scanlines */ 396 IPPI_CALL( icvDynamicCorrespondMulti( lines, /* number of scanlines */
|
cvmorphing.cpp | 279 icvMorphEpilines8uC3Multi( int lines, /* number of lines */ 308 if( lines < 1 || 322 for( currLine = 0; currLine < lines; currLine++ ) 360 cvMorphEpilinesMulti( int lines, /* number of lines */ 379 IPPI_CALL( icvMorphEpilines8uC3Multi( lines, /* number of lines */
|
/external/valgrind/main/VEX/switchback/ |
binary_switchback.pl | 199 # Returns N simulated bbs from output lines 201 my @lines = @{$_[0]}; 202 pop @lines; # not the first... 203 my $line = pop @lines; # ...but the second line. 210 print "Error: Didn't find N bbs simultated, from output lines\n"; 214 # Calls test script to compare current output lines with a reference. 217 my @lines = @{$_[0]}; 225 foreach my $line(@lines) { 264 # Read in reference lines 269 # Compare reference lines with current [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 21 in To:/From:/Cc: etc. fields, as well as Subject: lines. 193 76 characters). Long lines will have the `soft linefeed' quoted-printable 210 lines = body.splitlines(1) 211 for line in lines: 243 if lineno + 1 == len(lines): 255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF: 275 Lines are separated with eol, which defaults to \\n.
|