/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;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElement.java | 214 String[] lines = value.split("\n"); local 217 while ((element = parseLines(lines, index)) != null) { 224 * Parses one element from the input lines array, starting at the inOutIndex 227 private static SimpleElement parseLines(String[] lines, int[] inOutIndex) { 230 while (index < lines.length) { 231 String line = lines[index++]; 296 SimpleElement e2 = SimpleElement.parseLines(lines, inOutIndex);
|
/external/chromium-trace/trace-viewer/tracing/tracing/extras/importer/linux_perf/ |
android_parser_test.html | 16 var lines = [ 45 var m = new tr.Model(lines.join('\n'), false); 59 var lines = [ 63 var m = new tr.Model(lines.join('\n'), false); 77 var lines = [ 85 var m = new tr.Model(lines.join('\n'), false); 104 var lines = [ 133 var m = new tr.Model(lines.join('\n'), false); 147 var lines = [ 159 var m = new tr.Model(lines.join('\n'), false) [all...] |
/external/valgrind/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/ |
fileinput.py | 9 This iterates over the lines of all files listed in sys.argv[1:], 21 the next file (if any); lines not read from the file will not count 26 Before any lines have been read, filename() returns None and both line 27 numbers are zero; nextfile() has no effect. After all lines have been 37 return no lines, except perhaps for interactive use, or if it has been 45 character; otherwise lines are returned including the trailing 68 processing large numbers of input lines. Nevertheless, a significant 117 line from the next file (if any); lines not read from the file will 260 raise RuntimeError, "accessing lines out of order" 321 # The next few lines may raise IOErro [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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fileinput.py | 9 This iterates over the lines of all files listed in sys.argv[1:], 21 the next file (if any); lines not read from the file will not count 26 Before any lines have been read, filename() returns None and both line 27 numbers are zero; nextfile() has no effect. After all lines have been 37 return no lines, except perhaps for interactive use, or if it has been 45 character; otherwise lines are returned including the trailing 68 processing large numbers of input lines. Nevertheless, a significant 117 line from the next file (if any); lines not read from the file will 260 raise RuntimeError, "accessing lines out of order" 321 # The next few lines may raise IOErro [all...] |
/device/google/accessory/arduino/USB_Host_Shield/ |
Max_LCD.cpp | 95 void Max_LCD::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) { 96 if (lines > 1) { 99 _numlines = lines; 103 if ((dotsize != 0) && (lines == 1)) { 138 // finally, set # lines, font size, etc.
|
/external/bison/data/ |
location.cc | 65 /// (line related) Advance to the COUNT next lines. 66 void lines (int count = 1) 221 /// Extend the current location to the COUNT next lines. 222 void lines (unsigned int count = 1) 224 end.lines (count);
|
/external/boringssl/src/crypto/test/ |
file_test.h | 31 // file is a sequence of attributes, blocks, and blank lines. 40 // Blocks are delimited by lines beginning with three hyphens, "---". One such 44 // Outside a block, lines beginning with # are ignored. 47 // line. Blank lines are otherwise ignored. For tests that process multiple 128 // line_ is the number of lines read.
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/bench/ |
cssmin.py | 193 """Wrap the lines of the given CSS to an approximate length.""" 195 lines = [] 200 lines.append(css[line_start:i + 1]) 204 lines.append(css[line_start:]) 205 return '\n'.join(lines)
|
/external/eigen/test/ |
geo_hyperplane.cpp | 79 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 180 CALL_SUBTEST_1( lines<float>() ); 181 CALL_SUBTEST_3( lines<double>() );
|
/external/libvpx/libvpx/vp9/common/x86/ |
vp9_intrapred_ssse3.asm | 124 ; store 4 lines 153 ; store 4 lines 164 ; store next 4 lines 193 ; first 4 lines and first half of 3rd 4 lines 253 ; write 4x4 lines (and the first half of the second 4x4 lines) 281 ; write second half of second 4x4 lines 333 ; store 4 lines 359 ; store 4 lines [all...] |
/external/markdown/markdown/extensions/ |
headerid.py | 99 before = block[:m.start()] # All lines before header 100 after = block[m.end():] # All lines after header 103 # lines before the header must be parsed first, 104 # recursively parse this lines as a block. 118 # Insert remaining lines as first block for future parsing.
|
/external/skia/bench/ |
check_bench_regressions.py | 126 def check_expectations(lines, expectations, key_suffix): 129 For each input line in lines, checks the expectations dictionary to see if 133 lines: dictionary mapping Label objects to the bench values. 150 for line in lines: 159 this_bench_value = lines[line]
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
SettingsCmd.java | 189 final ArrayList<String> lines = new ArrayList<String>(); local 191 return lines; 198 lines.add(cursor.getString(1) + "=" + cursor.getString(2)); 205 Collections.sort(lines); 209 return lines;
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
OptimizingLineBreaker.java | 72 int lines = opt[pos].mPrevCount; local 73 float maxWidth = mLineWidth.getLineWidth(lines); 110 int lines = opt[lastBreak].mPrevCount; local 111 float maxWidth = mLineWidth.getLineWidth(lines); 113 opt[breakIndex] = new Node(lastBreak, lines + 1, 0 /*doesn't matter*/,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
vp9_intrapred_ssse3.asm | 124 ; store 4 lines 153 ; store 4 lines 164 ; store next 4 lines 193 ; first 4 lines and first half of 3rd 4 lines 253 ; write 4x4 lines (and the first half of the second 4x4 lines) 281 ; write second half of second 4x4 lines 333 ; store 4 lines 359 ; store 4 lines [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
RenderScriptLauncher.java | 174 * @param lines The output to parse. 177 private boolean parseLlvmOutput(ArrayList<String> lines) { 179 if (lines.size() == 0) { 192 for (int i = 0; i < lines.size(); i++) { 193 String p = lines.get(i);
|
/external/linux-tools-perf/src/tools/perf/util/ |
dwarf-aux.c | 613 /* Walk on lines of blocks included in given DIE */ 653 * die_walk_lines - Walk on lines inside given DIE 658 * Walk on all lines inside given @rt_die and call @callback on each line. 659 * If the @rt_die is a function, walk only on the lines inside the function, 666 Dwarf_Lines *lines; local 684 /* Get lines list in the CU */ 685 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0) { 686 pr_debug2("Failed to get source lines on this CU.\n"); 689 pr_debug2("Get %zd lines from this CU\n", nlines); 691 /* Walk on the lines on lines list * [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
fancy_getopt.py | 346 # - 2 spaces before option block start lines 351 # Now generate lines of help text. (If 80 columns were good enough 357 lines = [header] 359 lines = ['Option summary:'] 370 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 372 lines.append(" --%-*s " % (max_opt, long)) 379 lines.append(" --%-*s %s" % 382 lines.append(" --%-*s" % opt_names) 385 lines.append(big_indent + l) 389 return lines [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
fancy_getopt.py | 346 # - 2 spaces before option block start lines 351 # Now generate lines of help text. (If 80 columns were good enough 357 lines = [header] 359 lines = ['Option summary:'] 370 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 372 lines.append(" --%-*s " % (max_opt, long)) 379 lines.append(" --%-*s %s" % 382 lines.append(" --%-*s" % opt_names) 385 lines.append(big_indent + l) 389 return lines [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 207 // list of line numbers and a single filename, representing lines that belong 213 Lines.push_back(Line); 218 return lengthOfGCOVString(Filename) + 2 + Lines.size(); 224 for (int i = 0, e = Lines.size(); i != e; ++i) 225 write(Lines[i]); 235 SmallVector<uint32_t, 32> Lines; 240 // function, number of lines belonging to each block, and a set of edges to 245 GCOVLines *&Lines = LinesByFile[Filename]; 246 if (!Lines) { 247 Lines = new GCOVLines(Filename, os) [all...] |
/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...] |