/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...] |
/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*/,
|
/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.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
robotparser.py | 58 lines = [line.strip() for line in f] 65 elif self.errcode == 200 and lines: 66 self.parse(lines) 77 def parse(self, lines): 78 """parse the input lines from a robots.txt file. 80 one or more blank lines.""" 89 for line in lines:
|
textwrap.py | 50 the maximum width of wrapped lines (unless break_long_words 56 string that will be prepended to all lines save the first 73 be broken, and some lines might be longer than 'width'. 79 Drop leading and trailing whitespace from lines. 246 Wrap a sequence of text chunks and return a list of lines of 248 some lines may be longer than this.) Chunks correspond roughly 254 lines, but apart from that whitespace is preserved. 256 lines = [] 272 if lines: 281 # is the very beginning of the text (ie. no lines started yet) [all...] |
difflib.py | 25 For producing human-readable deltas from sequences of lines of text. 67 to synching up on blocks of "junk lines", though (like blank lines in 68 ordinary text files, or maybe "<P>" lines in HTML files). That may be 110 uses SequenceMatcher both to compare sequences of lines, and to compare 111 sequences of characters within similar (near-matching) lines. 162 if you're comparing lines as sequences of characters, and don't 589 Return a generator of groups with upto n lines of context. 768 Differ is a class for comparing sequences of lines of text, and 770 SequenceMatcher both to compare sequences of lines, and to compar [all...] |
multifile.py | 13 "read some lines from fp" 16 "read lines from fp until it returns an empty string" (A) 19 "read remaining lines from fp until it returns an empty string" 91 # Ignore trailing whitespace on marker lines
|
/prebuilts/python/linux-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.
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
robotparser.py | 58 lines = [line.strip() for line in f] 65 elif self.errcode == 200 and lines: 66 self.parse(lines) 77 def parse(self, lines): 78 """parse the input lines from a robots.txt file. 80 one or more blank lines.""" 89 for line in lines:
|
textwrap.py | 50 the maximum width of wrapped lines (unless break_long_words 56 string that will be prepended to all lines save the first 73 be broken, and some lines might be longer than 'width'. 79 Drop leading and trailing whitespace from lines. 246 Wrap a sequence of text chunks and return a list of lines of 248 some lines may be longer than this.) Chunks correspond roughly 254 lines, but apart from that whitespace is preserved. 256 lines = [] 272 if lines: 281 # is the very beginning of the text (ie. no lines started yet) [all...] |
difflib.py | 25 For producing human-readable deltas from sequences of lines of text. 67 to synching up on blocks of "junk lines", though (like blank lines in 68 ordinary text files, or maybe "<P>" lines in HTML files). That may be 110 uses SequenceMatcher both to compare sequences of lines, and to compare 111 sequences of characters within similar (near-matching) lines. 162 if you're comparing lines as sequences of characters, and don't 589 Return a generator of groups with upto n lines of context. 768 Differ is a class for comparing sequences of lines of text, and 770 SequenceMatcher both to compare sequences of lines, and to compar [all...] |
multifile.py | 13 "read some lines from fp" 16 "read lines from fp until it returns an empty string" (A) 19 "read remaining lines from fp until it returns an empty string" 91 # Ignore trailing whitespace on marker lines
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/ |
multiline_adjlist.py | 15 d. The next d lines are target node labels and optional edge data. 58 lines : string 59 Lines of data in multiline adjlist format. 148 Marker for comment lines 188 def parse_multiline_adjlist(lines, comments = '#', delimiter = None, 191 """Parse lines of a multiline adjacency list representation of a graph. 195 lines : list or iterator of strings 205 Marker for comment lines 217 The graph corresponding to the lines in multiline adjacency list format. 221 >>> lines = ['1 2' [all...] |
/external/icu/icu4c/source/test/intltest/ |
tsmthred.cpp | 1152 const Line *lines; member in class:CollatorThreadTest [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.frameworkadmin.equinox_1.0.200.v20100505.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/ |
org.eclipse.equinox.frameworkadmin.equinox_1.0.500.v20130327-2119.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.equinox.frameworkadmin.equinox_1.0.500.v20130327-2119.jar | |
/art/compiler/dwarf/ |
dwarf_test.h | 52 // If next is true, it must be the next line. Otherwise lines are skipped. 96 std::vector<std::string> lines; local 113 lines.push_back(str); 117 return lines;
|
/external/elfutils/src/tests/ |
dwfllines.c | 57 size_t lines; local 58 if (dwfl_getsrclines (cu, &lines) != 0) 59 continue; // No lines... 61 for (size_t i = 0; i < lines; i++)
|
/external/jsoncpp/test/ |
runjsontests.py | 22 def safeGetLine( lines, index ): 24 if index >= len(lines): 26 return lines[index].strip()
|
/external/v8/tools/ |
nacl-run.py | 85 lines = out.split('\n') 86 if lines[0].find(": ELF 32-bit LSB executable, Intel 80386") > 0: 88 if lines[0].find(": ELF 64-bit LSB executable, x86-64") > 0:
|
/libcore/tzdata/update/src/main/libcore/tzdata/update/ |
FileUtils.java | 182 * Read all lines from a UTF-8 encoded file, returning them as a list of strings. 189 List<String> lines = new ArrayList<>(); local 192 lines.add(line); 194 return lines;
|
/external/deqp/modules/glshared/ |
glsRasterizationTestUtil.cpp | 50 // Lines do not intersect if the other line's endpoints are on the same side 468 // Use axis projected (inaccurate) method, i.e. for X-major lines: 602 * correct line interpolations for the triangulated lines. 631 const float wa = scene.lines[lineNdx].positions[0].w(); 632 const float wb = scene.lines[lineNdx].positions[1].w(); 633 const tcu::Vec2 pa = tcu::Vec2((scene.lines[lineNdx].positions[0].x() / wa + 1.0f) * 0.5f * viewportSize.x(), 634 (scene.lines[lineNdx].positions[0].y() / wa + 1.0f) * 0.5f * viewportSize.y()); 635 const tcu::Vec2 pb = tcu::Vec2((scene.lines[lineNdx].positions[1].x() / wb + 1.0f) * 0.5f * viewportSize.x(), 636 (scene.lines[lineNdx].positions[1].y() / wb + 1.0f) * 0.5f * viewportSize.y()); [all...] |
/development/scripts/ |
stack_core.py | 25 def ConvertTrace(lines): 28 tracer.ConvertTrace(lines) 76 # Examples of matched trace lines include lines from tombstone files like: 79 # Or lines from AndroidFeedback crash report system logs like: 83 # Examples of matched value lines include: 89 # Lines from 'code around' sections of the output will be matched before 90 # value lines because otheriwse the 'code around' sections will be confused as 91 # value lines. 140 def ConvertTrace(self, lines) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_StringIO.py | 113 lines = ['x' * (linesize - 1) + '\n'] * (size // linesize) + \ 115 f = self.MODULE.StringIO(''.join(lines)) 116 for i, expected in enumerate(lines): 122 for i, expected in enumerate(lines): 128 self.assertEqual(f.readlines(), lines) 131 self.assertEqual(f.readlines(size), lines)
|