/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
traceback.py | 126 lines = format_exception_only(etype, value) 127 for line in lines: 136 these lines are concatenated and printed, exactly the same text is 155 SyntaxError exceptions, it contains several lines that (when 181 lines = [] 188 lines.append(' File "%s", line %d\n' % (filename, lineno)) 190 lines.append(' %s\n' % badline.strip()) 196 lines.append(' %s^\n' % ''.join(caretspace)) 199 lines.append(_format_final_exc_line(stype, value)) 200 return lines [all...] |
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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
AMReceiver.java | 59 * @param lines a portion of the am output 64 public void processNewLines(String[] lines) { 69 for (String s : lines) { 70 // ignore empty lines.
|
/external/google-breakpad/src/common/ |
stabs_to_module.cc | 129 current_function_->lines.push_back(line); 179 // Compute sizes for each of the function f's lines --- if it has any. 180 if (!f->lines.empty()) { 181 stable_sort(f->lines.begin(), f->lines.end(), 183 vector<Module::Line>::iterator last_line = f->lines.end() - 1; 184 for (vector<Module::Line>::iterator line_it = f->lines.begin();
|
/external/v8/test/webkit/ |
testcfg.py | 72 # Accept several lines of 'Files:'. 103 """Ignore empty lines, valgrind output and Android output.""" 126 def ActIterator(lines): 127 for line in lines: 132 """Iterates over blocks of actual output lines.""" 133 lines = output.stdout.splitlines() 136 for index, line in enumerate(lines): 139 # Iterate over all lines before a separator except the first. 143 yield ActIterator(lines[start_index:index]) 144 # The next block of ouput lines starts after the separator [all...] |
/external/v8/tools/ |
presubmit.py | 362 lines = [] 368 lines.append(str(line)) 369 linenumbers = ', '.join(lines) 370 if len(lines) > 1: 371 print "%s has trailing whitespaces in lines %s." % (name, linenumbers) 378 # Check two empty lines between declarations. 381 lines = [] 386 lines.append(str(line + 1)) 390 lines.append(str(line + 1)) 393 if len(lines) >= 1 [all...] |
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];
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_mpeg2_stereo_proc.cpp | 289 /* can be between -1 (all lines zero) and 575 (no line zero) */ 312 sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp]; /* number of lines to process */ 314 /* from sfbStart up sfbNo lines do ms_stereo or normal stereo */ 326 sfbNo = mp3_sfBandIndex[sfreq].l[sfb+1] - mp3_sfBandIndex[sfreq].l[sfb]; /* No of lines to process */ 355 sfbNo = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; /* No of lines to process */ 383 int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; local 385 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; 387 while (lines > 0) 393 lines = -10; 395 lines-- 485 int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOUtils.java | 516 * Return an Iterator for the lines in a <code>Reader</code>. 538 * @return an Iterator of the lines in the reader, never null 547 * Return an Iterator for the lines in an <code>InputStream</code>, using 571 * @return an Iterator of the lines in the reader, never null [all...] |
/packages/services/Telephony/src/org/apache/commons/io/ |
IOUtils.java | 815 * @param lines the lines to write, null entries produce blank lines 822 public static void writeLines(Collection<Object> lines, String lineEnding, 824 if (lines == null) { 830 for (Iterator<Object> it = lines.iterator(); it.hasNext(); ) { 847 * @param lines the lines to write, null entries produce blank lines 855 public static void writeLines(Collection<Object> lines, String lineEnding [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_tritemp.h | 125 GLint lines; /* number of lines to be sampled on this edge */ member in struct:__anon17139 252 eMaj.lines = FixedToInt(FixedCeil(vMax_fy - eMaj.fsy)); 253 if (eMaj.lines > 0) { 265 eTop.lines = FixedToInt(FixedCeil(vMax_fy - eTop.fsy)); 266 if (eTop.lines > 0) { 275 eBot.lines = FixedToInt(FixedCeil(vMid_fy - eBot.fsy)); 276 if (eBot.lines > 0) { 528 int lines; local 535 lines = eRight->lines [all...] |
/external/icu/icu4c/source/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/skia/src/core/ |
SkScan_Hairline.cpp | 143 // we don't just draw 4 lines, 'cause that can leave a gap in the bottom-right 224 const int lines = 1 << level; 226 Sk2s dt(SK_Scalar1 / lines); 229 SkASSERT((unsigned)lines < SK_ARRAY_COUNT(tmp)); 235 for (int i = 1; i < lines; ++i) { 239 tmp[lines] = pts[2]; 240 lineproc(tmp, lines + 1, clip, blitter); 291 const int lines = compute_cubic_segs(pts); 292 SkASSERT(lines > 0); 293 if (1 == lines) { [all...] |
/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...] |
/development/perftests/panorama/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/clang/lib/ARCMigrate/ |
FileRemapper.cpp | 71 SmallVector<StringRef, 64> lines; 72 fileBuf.get()->getBuffer().split(lines, "\n"); 74 for (unsigned idx = 0; idx+3 <= lines.size(); idx += 3) { 75 StringRef fromFilename = lines[idx]; 77 if (lines[idx+1].getAsInteger(10, timeModified)) 78 return report("Invalid file data: '" + lines[idx+1] + "' not a number", 80 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/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;
|
/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/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 131 LineNumberReader lines = new LineNumberReader(input); local 140 String line = lines.readLine(); 221 LineNumberReader lines = new LineNumberReader(input); local 224 String line = lines.readLine(); 225 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 */
|