/external/chromium-trace/ |
systrace-legacy.py | 160 lines = out.splitlines(True) 162 for i, line in enumerate(lines): 166 out = ''.join(lines[i+1:]) 176 elif 'TRACE:'.startswith(line) and i == len(lines) - 1:
|
/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/libedit/src/ |
filecomplete.c | 360 size_t line, lines, col, cols, thisguy; local 375 /* how many lines of output, rounded up */ 376 lines = (num + cols - 1) / cols; 382 * On the ith line print elements i, i+lines, i+lines*2, etc. 384 for (line = 0; line < lines; line++) { 386 thisguy = line + col * lines;
|
/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)
|
cpplint.py | 800 """Tracks current function name and the number of lines in its body.""" 826 """Report if too many lines in function body. 846 ' %s has %d non-comment lines' 847 ' (error triggered by exceeding %d lines).' % ( [all...] |
/external/owasp/sanitizer/tools/ |
cut_release.py | 120 lines = [] 138 lines.append("%s%s" % (indentation, replace_fields(match))) 139 lines.append(line) 142 out_file.write("\n".join(lines))
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3InputStream.cpp | 203 String8 lines; local 204 lines.appendFormat(" Stream[%d]: Input\n", mId); 205 write(fd, lines.string(), lines.size());
|
Camera3OutputStream.cpp | 230 String8 lines; local 231 lines.appendFormat(" Stream[%d]: Output\n", mId); 232 lines.appendFormat(" Consumer name: %s\n", mConsumerName.string()); 233 write(fd, lines.string(), lines.size());
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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/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'])
|
/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/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...] |
/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;
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
BaseDevicePolicyTest.java | 135 String[] lines = commandOutput.split("\\r?\\n"); local 136 assertTrue(commandOutput + " should contain at least one line", lines.length >= 1); 137 assertEquals(commandOutput, lines[0], "Users:"); 140 for (int i = 1; i < lines.length; i++) { 143 String[] tokens = lines[i].split("\\{|\\}|:"); 144 assertTrue(lines[i] + " doesn't contain 4 or 5 tokens", 317 // dumpsys user return lines like "UserInfo{0:Owner:13} serialNo=0"
|
/external/google-breakpad/src/processor/ |
module_comparer.cc | 199 // compare range map of lines: 202 iter1 = basic_func->lines.map_.begin(); 203 iter2 = fast_func->lines.map_.begin(); 204 while (iter1 != basic_func->lines.map_.end() 205 && iter2 != fast_func->lines.map_.end()) { 213 ASSERT_TRUE(iter1 == basic_func->lines.map_.end()); 214 ASSERT_TRUE(iter2 == fast_func->lines.map_.end());
|
/prebuilts/python/darwin-x86/2.7.5/bin/ |
smtpd.py | 334 lines = data.split('\n') 336 for line in lines: 347 lines = data.split('\n') 350 for line in lines: 354 lines.insert(i, 'X-Peer: %s' % peer[0]) 355 data = NEWLINE.join(lines)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
smtpd.py | 334 lines = data.split('\n') 336 for line in lines: 347 lines = data.split('\n') 350 for line in lines: 354 lines.insert(i, 'X-Peer: %s' % peer[0]) 355 data = NEWLINE.join(lines)
|
/prebuilts/python/linux-x86/2.7.5/bin/ |
smtpd.py | 334 lines = data.split('\n') 336 for line in lines: 347 lines = data.split('\n') 350 for line in lines: 354 lines.insert(i, 'X-Peer: %s' % peer[0]) 355 data = NEWLINE.join(lines)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
smtpd.py | 334 lines = data.split('\n') 336 for line in lines: 347 lines = data.split('\n') 350 for line in lines: 354 lines.insert(i, 'X-Peer: %s' % peer[0]) 355 data = NEWLINE.join(lines)
|