/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/icu4c/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...] |
/external/webkit/Tools/Scripts/ |
VCSUtils.pm | 106 my $svnPropertyValueStartRegEx = qr#^ (\+|-|Merged|Reverse-merged) ([^\r\n]+)#; # $2 is the start of the property's value (which may span multiple lines). 565 # svnConvertedText: the header text with some lines converted to SVN 566 # format. Git-specific lines are preserved. 685 # in some lines corrected. 712 # Fix paths on ""---" and "+++" lines to match the leading 785 # svnConvertedText: the header text with some lines converted to SVN 786 # format. Git-specific lines are preserved. 841 # svnConvertedText: the diff with some lines converted to SVN format. 842 # Git-specific lines are preserved. 909 # modified or patch(1) will complain. So, we only modify non-chunk range lines [all...] |
print-vse-failure-logs | 61 lines = self._executive.run_command([script_path, sln_path]).splitlines() 62 order = [line.strip() for line in lines if line.find("Folder") == -1]
|
/external/skia/src/gpu/ |
GrAAHairLinePathRenderer.cpp | 140 // if it returns -1 then should be drawn as lines 189 * Generates the lines and quads to be rendered. Lines are always recorded in 201 PtArray* lines, 226 SkPoint* pts = lines->push_back_n(2); 241 SkPoint* pts = lines->push_back_n(4); 294 SkPoint* pts = lines->push_back_n(4); 295 // lines should always be in device coords 530 PREALLOC_PTARRAY(128) lines; 538 &lines, &quads, &qSubdivs) 625 int lines = 0; 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...] |
/external/bluetooth/glib/gio/tests/ |
data-output-stream.c | 39 char *lines; local 49 lines = g_malloc0 ((strlen (TEST_STRING) + strlen (endl[newline_type])) * MAX_LINES + 1); 62 g_stpcpy ((char*)(lines + i*strlen(s)), s); 76 g_assert_cmpstr ((char*)data, ==, lines); 81 g_free (lines); 287 g_test_add_func ("/data-input-stream/read-lines-LF", test_read_lines_LF); 288 g_test_add_func ("/data-input-stream/read-lines-CR", test_read_lines_CR); 289 g_test_add_func ("/data-input-stream/read-lines-CR-LF", test_read_lines_CR_LF);
|
/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/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...] |
/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
cpp.py | 197 def _rfind_in_lines(regex, lines, start_position, not_found_position): 209 current_line = lines[start_position.row][:start_position.column] 219 current_line = lines[current_row] 395 """Converts multiple lines into a single line (with line breaks replaced by a 397 def __init__(self, lines, start_position, end_position): 401 lines: a list of multiple lines to combine into a single line. 402 start_position: offset within lines of where to start the single line. 406 trimmed_lines = lines[start_position.row:end_position.row + 1] 506 """Tracks current function name and the number of lines in its body [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.frameworkadmin.equinox_1.0.200.v20100505.jar | |
/external/skia/src/core/ |
SkEdgeBuilder.cpp | 103 SkPoint lines[SkLineClipper::kMaxPoints]; local 104 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 106 this->addLine(&lines[i]);
|
/external/llvm/utils/lit/lit/ |
TestFormats.py | 30 lines = Util.capture([path, '--gtest_list_tests'], 33 lines = lines.replace('\r', '') 34 lines = lines.split('\n') 40 for ln in lines:
|
/external/quake/quake/src/QW/client/ |
console.c | 30 int con_totallines; // total lines in console scrollback 39 // for transparent notify lines 42 int con_notifylines; // scan lines to clear for notify lines 465 Draws the last few lines of output transparently over the game top 540 void Con_DrawConsole (int lines) 548 if (lines <= 0) 552 Draw_ConsoleBackground (lines); 555 con_vislines = lines; 558 rows = (lines-22)>>3; // rows of text to dra [all...] |
/external/quake/quake/src/WinQuake/ |
console.cpp | 39 int con_totallines; // total lines in console scrollback 40 int con_backscroll; // lines up from bottom to display 49 // for transparent notify lines 63 int con_notifylines; // scan lines to clear for notify lines 517 Draws the last few lines of output transparently over the game top 580 void Con_DrawConsole (int lines, qboolean drawinput) 587 if (lines <= 0) 598 Draw_ConsoleBackground (lines); 601 con_vislines = lines; [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_6/ |
shell.js | 87 var lines = msg.split ("\n"); 92 for (var i=0; i<lines.length; i++) 93 writeLineToLog (FAILED + prefix + lines[i]); 104 var lines = msg.split ("\n"); 107 for (var i=0; i<lines.length; i++) 108 writeLineToLog (STATUS + lines[i]);
|
/gdk/samples/quake/jni/ |
console.cpp | 39 int con_totallines; // total lines in console scrollback 40 int con_backscroll; // lines up from bottom to display 49 // for transparent notify lines 63 int con_notifylines; // scan lines to clear for notify lines 517 Draws the last few lines of output transparently over the game top 580 void Con_DrawConsole (int lines, qboolean drawinput) 587 if (lines <= 0) 598 Draw_ConsoleBackground (lines); 601 con_vislines = lines; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElement.java | 173 String[] lines = value.split("\n"); local 176 while ((element = parseLines(lines, index)) != null) { 183 * Parses one element from the input lines array, starting at the inOutIndex 186 private static SimpleElement parseLines(String[] lines, int[] inOutIndex) { 189 while (index < lines.length) { 190 String line = lines[index++]; 255 SimpleElement e2 = SimpleElement.parseLines(lines, inOutIndex);
|
/external/chromium/testing/gmock/scripts/generator/cpp/ |
gmock_class.py | 107 lines = [] 117 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # } 118 lines.append('') 121 lines.append('class Mock%s : public %s {' % (class_name, class_name)) # } 122 lines.append('%spublic:' % (' ' * (_INDENT // 2))) 125 _GenerateMethods(lines, source, class_node) 128 if lines: 130 if len(lines) == 2: 131 del lines[-1] 134 lines.append('};' [all...] |
/external/icu4c/test/perf/normperf/ |
normperf.cpp | 143 fprintf(stderr, "FAILED to read lines from file and create UPerfTest object. Error: %s\n", u_errorName(status)); 199 NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,lines,numLines, uselen); 228 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,lines,numLines, uselen); 258 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,lines,numLines, uselen); 287 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,lines,numLines, uselen); 316 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,lines,numLines, uselen); 345 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); 373 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFD, options,uselen); 401 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_FCD, options,uselen); 430 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_NFC, options,uselen) [all...] |
/external/chromium/testing/gmock/scripts/ |
upload.py | 513 lines = [] 515 lines.append('--' + BOUNDARY) 516 lines.append('Content-Disposition: form-data; name="%s"' % key) 517 lines.append('') 518 lines.append(value) 520 lines.append('--' + BOUNDARY) 521 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' % 523 lines.append('Content-Type: %s' % GetContentType(filename)) 524 lines.append('') 525 lines.append(value [all...] |
/external/chromium/testing/gtest/scripts/ |
upload.py | 513 lines = [] 515 lines.append('--' + BOUNDARY) 516 lines.append('Content-Disposition: form-data; name="%s"' % key) 517 lines.append('') 518 lines.append(value) 520 lines.append('--' + BOUNDARY) 521 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' % 523 lines.append('Content-Type: %s' % GetContentType(filename)) 524 lines.append('') 525 lines.append(value [all...] |