/external/harfbuzz_ng/src/ |
check-header-guards.sh | 18 lines=`grep "\<$tag\>" "$x" | wc -l | sed 's/[ ]*//g'` 19 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/skia/src/core/ |
SkLineClipper.h | 27 of those segments sequentially in lines as follows: 28 1st segment: lines[0]..lines[1] 29 2nd segment: lines[1]..lines[2] 30 3rd segment: lines[2]..lines[3] 33 SkPoint lines[kMaxPoints], bool canCullToTheRight);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3DummyStream.cpp | 66 String8 lines; local 67 lines.appendFormat(" Stream[%d]: Dummy\n", mId); 68 write(fd, lines.string(), lines.size());
|
Camera3IOStreamBase.cpp | 69 String8 lines; local 75 lines.appendFormat(" State: %d\n", mState); 76 lines.appendFormat(" Dims: %d x %d, format 0x%x, dataspace 0x%x\n", 79 lines.appendFormat(" Max size: %zu\n", mMaxSize); 80 lines.appendFormat(" Combined usage: %d, max HAL buffers: %d\n", 82 lines.appendFormat(" Frames produced: %d, last timestamp: %" PRId64 " ns\n", 84 lines.appendFormat(" Total buffers: %zu, currently dequeued: %zu\n", 86 write(fd, lines.string(), lines.size());
|
/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/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
|
inspect.py | 375 lines = string.split(string.expandtabs(doc), '\n') 379 # Find minimum indentation of any non-blank lines after first line. 381 for line in lines[1:]: 387 if lines: 388 lines[0] = lines[0].lstrip() 390 for i in range(1, len(lines)): lines[i] = lines[i][margin:] 391 # Remove any trailing or leading blank lines [all...] |
/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
|
inspect.py | 375 lines = string.split(string.expandtabs(doc), '\n') 379 # Find minimum indentation of any non-blank lines after first line. 381 for line in lines[1:]: 387 if lines: 388 lines[0] = lines[0].lstrip() 390 for i in range(1, len(lines)): lines[i] = lines[i][margin:] 391 # Remove any trailing or leading blank lines [all...] |
/build/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)
|
/external/deqp/scripts/src_util/ |
check_include_guards.py | 62 lines = [] 67 lines.append(line) 71 lines[0] = "#ifndef %s\n" % includeGuard 72 lines[1] = "#define %s\n" % includeGuard 75 lines[len(lines)-1] = ("#endif // %s\n" if isHpp else "#endif /* %s */\n") % includeGuard 78 for line in lines:
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
FASerializer.java | 86 List lines = new ArrayList(); local 88 walkSerializingFA(lines, s); 93 lines.add(s0+"\n"); 96 // sort lines to normalize; makes states come out ordered 98 Collections.sort(lines); 99 for (int i = 0; i < lines.size(); i++) { 100 String line = (String) lines.get(i); 135 protected void walkSerializingFA(List lines, State s) { 188 lines.add(buf.toString()); 191 walkSerializingFA(lines, edge.target) [all...] |
/external/harfbuzz_ng/test/shaping/ |
hb_test_tools.py | 76 def colorize_lines (self, lines): 77 lines = (l if l else '' for l in lines) 78 ss = [self.diff_regex.sub (r'\1\n\2\n', l).splitlines (True) for l in lines] 106 lines = [None, None] 112 if lines[i]: 114 for line in self.colorize_lines (lines): 116 lines = [None, None] 117 lines[i] = l[1:] 118 if (all (lines)) [all...] |
/external/guava/guava/src/com/google/common/io/ |
CharSink.java | 121 * Writes the given lines of text to this sink with each line (including the last) terminated with 123 * {@code writeLines(lines, System.getProperty("line.separator"))}. 127 public void writeLines(Iterable<? extends CharSequence> lines) throws IOException { 128 writeLines(lines, System.getProperty("line.separator")); 132 * Writes the given lines of text to this sink with each line (including the last) terminated with 137 public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator) 139 checkNotNull(lines); 145 for (CharSequence line : lines) {
|
/external/guava/guava-tests/test/com/google/common/io/ |
LineBufferTest.java | 49 bufferHelper("two lines\nbut no newline at end", 50 "two lines\n", "but no newline at end"); 54 "three\r", "lines\r", "no newline at end"); 84 final List<String> lines = Lists.newArrayList(); local 87 lines.add(line + end); 98 return lines; 104 List<String> lines = Lists.newArrayList(); local 107 lines.add(line); 110 return lines; 119 List<String> lines = Lists.newArrayList() local [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_doc_comment.cc | 118 vector<string> lines = Split(comments, "\n"); local 119 while (!lines.empty() && lines.back().empty()) { 120 lines.pop_back(); 126 for (int i = 0; i < lines.size(); i++) { 127 // Most lines should start with a space. Watch out for lines that start 130 if (!lines[i].empty() && lines[i][0] == '/') { 131 printer->Print(" * $line$\n", "line", lines[i]) [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
MethodDescriptor.java | 137 final int [] lines = blockMap [bl]; local 138 if (lines != null) 140 final int lineCount = lines.length; 144 final int line = lines [l]; 158 final int [] lines = lineMap.keys (); local 159 for (int l = 0, lineCount = lines.length; l < lineCount; ++ l) 161 final int line = lines [l]; 203 final int [] lines = m_blockMap [bl]; local 204 for (int l = 0; l < lines.length; ++ l) 207 s.append (lines [l]) 213 final int [] lines = m_lineMap.keys (); local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileSystemUtils.java | 226 List<String> lines = performCommand(cmdAttribs, Integer.MAX_VALUE); local 228 // now iterate over the lines we just read and find the LAST 232 for (int i = lines.size() - 1; i >= 0; i--) { 233 String line = lines.get(i); 238 // all lines are blank 323 // perform the command, asking for up to 3 lines (header, interesting, overflow) 324 List<String> lines = performCommand(cmdAttribs, 3); local 325 if (lines.size() < 2) { 329 "for path '" + path + "'- response was " + lines); 331 String line2 = lines.get(1); // the line we're interested i 398 List<String> lines = new ArrayList<String>(20); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
FormatParagraph.py | 46 # Reformat the comment lines - convert to text sans header. 47 lines = data.split("\n") 48 lines = map(lambda st, l=len(comment_header): st[l:], lines) 49 data = "\n".join(lines) 58 # lines, but whatever!) Can't think of a clean solution, 107 lines = data.split("\n") 109 n = len(lines) 110 while i < n and is_all_white(lines[i]): 114 indent1 = get_indent(lines[i] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
FormatParagraph.py | 46 # Reformat the comment lines - convert to text sans header. 47 lines = data.split("\n") 48 lines = map(lambda st, l=len(comment_header): st[l:], lines) 49 data = "\n".join(lines) 58 # lines, but whatever!) Can't think of a clean solution, 107 lines = data.split("\n") 109 n = len(lines) 110 while i < n and is_all_white(lines[i]): 114 indent1 = get_indent(lines[i] [all...] |
/build/core/ |
checktree | 54 lines = fd.readlines() 62 if len(lines) >= 1: 63 lines = filter(filterit, lines) 64 if len(lines) >= 1: 65 return map(matchit, lines)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_fileinput.py | 18 # Write lines (a list of lines) to temp file number i, and return the 20 def writeTmp(i, lines, mode='w'): # opening in text mode is the default 23 f.writelines(lines) 51 lines = list(fi) 53 self.assertEqual(len(lines), 31) 54 self.assertEqual(lines[4], 'Line 5 of file 1\n') 55 self.assertEqual(lines[30], 'Line 1 of file 4\n') 84 lines = list(fi) 85 self.assertEqual(len(lines), 33 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_fileinput.py | 18 # Write lines (a list of lines) to temp file number i, and return the 20 def writeTmp(i, lines, mode='w'): # opening in text mode is the default 23 f.writelines(lines) 51 lines = list(fi) 53 self.assertEqual(len(lines), 31) 54 self.assertEqual(lines[4], 'Line 5 of file 1\n') 55 self.assertEqual(lines[30], 'Line 1 of file 4\n') 84 lines = list(fi) 85 self.assertEqual(len(lines), 33 [all...] |
/external/google-breakpad/src/testing/gtest/scripts/ |
pump.py | 163 def StartsWith(lines, pos, string): 164 """Returns True iff the given position in lines starts with 'string'.""" 166 return lines[pos.line][pos.column:].startswith(string) 174 # We found regex in lines 186 def FindFirst(lines, token_table, cursor): 187 """Finds the first occurrence of any string in strings in lines.""" 191 for line in lines[start.line:]: 202 return MakeToken(lines, found_start, found_end, token_type) 204 # We failed to find str in lines 208 def SubString(lines, start, end) [all...] |