/external/guava/guava/src/com/google/common/io/ |
LineReader.java | 30 * A class for reading lines of text. Provides the same functionality 44 private final Queue<String> lines = new LinkedList<String>(); field in class:LineReader 47 lines.add(line); 52 * Creates a new instance that will read lines from the given 72 while (lines.peek() == null) { 85 return lines.poll();
|
/external/harfbuzz_ng/src/ |
check-header-guards.sh | 17 lines=`grep -w "$tag" "$x" | wc -l | sed 's/[ ]*//g'` 18 if test "x$lines" != x3; then
|
/external/markdown/markdown/extensions/ |
meta.py | 27 >>> text = ' Some Code - not extra lines of meta data.' 30 u'<pre><code>Some Code - not extra lines of meta data.\\n</code></pre>' 61 def run(self, lines): 66 line = lines.pop(0) 79 lines.insert(0, line) 82 return lines
|
/external/python/cpython2/Lib/ |
keyword.py | 64 lines = [] 69 lines.append(" '" + match.group(1) + "',\n") 71 lines.sort() 78 # insert the lines of keywords 82 format[start:end] = lines
|
/external/python/cpython2/Tools/framer/framer/ |
struct.py | 28 lines = filter(None, s.split("\n")) # get non-empty lines 29 assert lines[0].strip() == "typedef struct {" 30 pyhead = lines[1].strip() 34 for line in lines[2:]:
|
structparse.py | 22 lines = filter(None, s.split("\n")) # get non-empty lines 23 assert lines[0].strip() == "typedef struct {" 24 pyhead = lines[1].strip() 28 for line in lines[2:]:
|
/external/python/cpython2/Tools/scripts/ |
nm2def.py | 45 lines = os.popen(NM % lib).readlines() 46 lines = [s.strip() for s in lines] 48 for line in lines:
|
reindent.py | 14 Also trim excess spaces and tabs from ends of lines, and remove empty lines 33 lines. So long as the input files get a clean bill of health from 166 # Raw file lines. 169 # File lines, rstripped & tab-expanded. Dummy at start is so 172 self.lines = [_rstrip(line).expandtabs() + "\n" 174 self.lines.insert(0, None) 175 self.index = 1 # index into self.lines of next line 178 # comment line. indentlevel is -1 for comment lines, as a 189 # Remove trailing empty lines [all...] |
/external/python/cpython3/Lib/ |
keyword.py | 72 lines = [] 77 lines.append(" '" + match.group(1) + "'," + nl) 78 lines.sort() 80 # insert the lines of keywords into the skeleton 84 format[start:end] = lines
|
/external/python/cpython3/Tools/scripts/ |
nm2def.py | 45 lines = os.popen(NM % lib).readlines() 46 lines = [s.strip() for s in lines] 48 for line in lines:
|
/external/skia/src/core/ |
SkLineClipper.h | 26 of those segments sequentially in lines as follows: 27 1st segment: lines[0]..lines[1] 28 2nd segment: lines[1]..lines[2] 29 3rd segment: lines[2]..lines[3] 32 SkPoint lines[kMaxPoints], bool canCullToTheRight);
|
/external/skqp/src/core/ |
SkLineClipper.h | 26 of those segments sequentially in lines as follows: 27 1st segment: lines[0]..lines[1] 28 2nd segment: lines[1]..lines[2] 29 3rd segment: lines[2]..lines[3] 32 SkPoint lines[kMaxPoints], bool canCullToTheRight);
|
/external/v8/tools/clang/scripts/ |
apply_fixits.py | 67 lines = f.readlines() 79 line = lines[fixit.start_line - 1] 80 lines[fixit.start_line - 1] = (line[:-fixit.start_col - 1] + fixit.text 84 f.writelines(lines)
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SMSDispatcherTest.java.broken | 40 String[] lines = new String[2]; 42 lines[0] = "+CMT: ,158"; 43 lines[1] = "07914140279510F6440A8111110301003BF56080426101748A8C0B05040B" 50 sms = SmsMessage.newFromCMT(lines); 70 String[] lines = new String[2]; 72 lines[0] = "+CMT: ,77"; 73 lines[1] = "07914140279510F6440A8111110301003BF56080426101848A3B0B05040B8423F" 77 sms = SmsMessage.newFromCMT(lines);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
keyword.py | 64 lines = [] 69 lines.append(" '" + match.group(1) + "',\n") 71 lines.sort() 78 # insert the lines of keywords 82 format[start:end] = lines
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
keyword.py | 64 lines = [] 69 lines.append(" '" + match.group(1) + "',\n") 71 lines.sort() 78 # insert the lines of keywords 82 format[start:end] = lines
|
/prebuilts/go/darwin-x86/src/cmd/cover/testdata/ |
p.go | 5 // A package such that there are 3 functions with zero total and covered lines. 6 // And one with 1 total and covered lines. Reproduces issue #20515.
|
/prebuilts/go/linux-x86/src/cmd/cover/testdata/ |
p.go | 5 // A package such that there are 3 functions with zero total and covered lines. 6 // And one with 1 total and covered lines. Reproduces issue #20515.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
keyword.py | 64 lines = [] 69 lines.append(" '" + match.group(1) + "',\n") 71 lines.sort() 78 # insert the lines of keywords 82 format[start:end] = lines
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
keyword.py | 64 lines = [] 69 lines.append(" '" + match.group(1) + "',\n") 71 lines.sort() 78 # insert the lines of keywords 82 format[start:end] = lines
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/cris/ |
macroat.s | 2 ; lines.
|
/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
ProcrankItemTest.java | 41 assertTrue(output.has(ProcrankItem.LINES)); 42 assertTrue(output.get(ProcrankItem.LINES) instanceof JSONArray); 46 JSONArray lines = output.getJSONArray(ProcrankItem.LINES); local 48 assertEquals(2, lines.length()); 49 assertTrue(lines.get(0) instanceof JSONObject); 51 JSONObject line = lines.getJSONObject(0);
|
/bionic/tests/ |
sys_prctl_test.cpp | 47 std::vector<std::string> lines = android::base::Split(file_data, "\n"); local 48 for (size_t i = 0; i < lines.size(); i++) { 49 if (lines[i].empty()) { 54 ASSERT_EQ(2, sscanf(lines[i].c_str(), "%" SCNxPTR "-%" SCNxPTR " ", &start, &end)) 55 << "Failed to parse line: " << lines[i]; 58 << "Overlapping map detected:\n" << lines[i -1] << '\n' << lines[i] << '\n'; local
|
/build/make/tools/ |
product_debug.py | 35 lines = text.split() 36 lines.sort() 37 return "\n".join(lines) 39 def parse_variables(lines): 40 return [split_line(line) for line in lines if line.strip()] 79 lines = sys.stdin.readlines() 80 variables = parse_variables(lines)
|
/development/tools/bugreport/src/com/android/bugreport/monkey/ |
MonkeyLogParser.java | 23 import com.android.bugreport.util.Lines; 48 public void parse(Bugreport bugreport, Lines<? extends Line> in) throws IOException { 49 // Get the lines 50 final Lines<Line> lines = extractAnrLines(in); local 51 if (!lines.hasNext()) { 55 final Line line = lines.next(); 62 final ArrayList<Anr> anrs = anrParser.parse(lines, true); 71 * Pull out the ANR lines from a monkey log. 73 private static Lines<Line> extractAnrLines(Lines<? extends Line> lines) throws IOException [all...] |