/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_difflib.py | 88 Line 4: \thas from:[sst] to:[sss] after : 89 Line 5: has from:[t] to:[ss] at end\t 93 Line 1: preceeded by from:[tt] to:[ssss] 95 Line 3: preceeded by from:[sstst] to:[ssssss] 96 Line 4: has from:[sst] to:[sss] after : 97 Line 5: has from:[t] to:[ss] at end 100 patch914575_from3 = """line 0 102 line 1 103 line 2 104 line [all...] |
/frameworks/base/core/java/android/text/ |
Layout.java | 63 * specified text with one line per paragraph. 72 * specified text slice with one line per paragraph. 108 * default line spacing 109 * @param spacingAdd amount to add to the default line spacing 128 * default line spacing 129 * @param spacingAdd amount to add to the default line spacing 226 // The baseline is the top of the following line minus the current line's descent. 248 // Reset tabStops, we'll rebuild if we encounter a line with 273 // to the paragraph direction of the line 687 int line = getLineForOffset(offset); local 717 int line = getLineForOffset(offset); local 741 int line = getLineForOffset(offset); local 828 int line = getLineForOffset(offset); local 1197 int line = getLineForOffset(caret); local 1307 int line = getLineForOffset(point); local [all...] |
Selection.java | 119 * offset, or return false if the cursor is already on the top line. 137 int line = layout.getLineForOffset(end); local 139 if (line > 0) { 142 if (layout.getParagraphDirection(line) == 143 layout.getParagraphDirection(line - 1)) { 145 move = layout.getOffsetForHorizontal(line - 1, h); 147 move = layout.getLineStart(line - 1); 160 * offset, or return false if the cursor is already on the bottom line. 178 int line = layout.getLineForOffset(end); local 180 if (line < layout.getLineCount() - 1) 254 int line = layout.getLineForOffset(end); local 283 int line = layout.getLineForOffset(end); local 400 int line = layout.getLineForOffset(pt); local 448 int line = layout.getLineForOffset(off1); local [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
tokenizer.py | 58 file: An iterable that yields one line of the file at a time. 69 # The current line number. 72 for line in file: 74 self.__TokenizeLine(line) 78 def _CreateToken(self, string, token_type, line, line_number, values=None): 84 line: The text of the line this token is in. 85 line_number: The line number of the token. 93 return tokens.Token(string, token_type, line, line_number, values) 95 def __TokenizeLine(self, line) [all...] |
/external/chromium_org/testing/gtest/scripts/ |
pump.py | 88 """Represents a position (line and column) in a text file.""" 90 def __init__(self, line=-1, column=-1): 91 self.line = line 95 return self.line == rhs.line and self.column == rhs.column 101 return self.line < rhs.line or ( 102 self.line == rhs.line and self.column < rhs.column [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/common/ |
tokenizer.py | 58 file: An iterable that yields one line of the file at a time. 69 # The current line number. 72 for line in file: 74 self.__TokenizeLine(line) 78 def _CreateToken(self, string, token_type, line, line_number, values=None): 84 line: The text of the line this token is in. 85 line_number: The line number of the token. 93 return tokens.Token(string, token_type, line, line_number, values) 95 def __TokenizeLine(self, line) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Line.java | 41 * <code>Line</code> defines a line. Where a line is defined as infinite along
42 * two points. The two points of the line are defined as the origin and direction.
47 public class Line implements Savable, Cloneable, java.io.Serializable {
55 * Constructor instantiates a new <code>Line</code> object. The origin and
59 public Line() {
65 * Constructor instantiates a new <code>Line</code> object. The origin
67 * @param origin the origin of the line.
68 * @param direction the direction of the line. 231 Line line = (Line) super.clone(); local [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
fixed_debug.h | 106 static inline short EXTRACT16_(int x, char *file, int line) 111 fprintf (stderr, "EXTRACT16: input is not short: %d in %s: line %d\n", x, file, line); 122 static inline int EXTEND32_(int x, char *file, int line) 127 fprintf (stderr, "EXTEND32: input is not short: %d in %s: line %d\n", x, file, line); 138 static inline short SHR16_(int a, int shift, char *file, int line) 143 fprintf (stderr, "SHR16: inputs are not short: %d >> %d in %s: line %d\n", a, shift, file, line); 151 fprintf (stderr, "SHR16: output is not short: %d in %s: line %d\n", res, file, line) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
group-file-lexer.rb | 115 # -> uncomment the next line to manually enable rule tracing 123 # at line 16:9: 'group' 131 # -> uncomment the next line to manually enable rule tracing 139 # -> uncomment the next line to manually enable rule tracing 147 # at line 17:9: '::' 155 # -> uncomment the next line to manually enable rule tracing 163 # -> uncomment the next line to manually enable rule tracing 171 # at line 18:9: ';' 179 # -> uncomment the next line to manually enable rule tracing 187 # -> uncomment the next line to manually enable rule tracin [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
commitmessage.py | 35 for line in lines[index:]: 36 if re.match("^\s*$", line): 50 lines = [line.lstrip() for line in lines] 54 line = self.message_lines[0] 56 line = line.lstrip() 58 line = re.sub("^(\s*)<.+> ", "\1", line) 59 return line [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tokiter.cpp | 32 if (!reader->readLineSkippingComments(line, ec)) { 54 * Read the next token from 'this->line' and append it to 'token'. 57 * the opening quote. If a '#' is encountered, the rest of the line 62 * of the line is reached or an error occurs 65 ICU_Utility::skipWhitespace(line, pos, TRUE); 66 if (pos == line.length()) { 69 UChar c = line.charAt(pos++); 82 while (pos < line.length()) { 83 c = line.charAt(pos); // 16-bit ok 85 UChar32 c32 = line.unescapeAt(pos) [all...] |
/external/clang/test/FixIt/ |
typo.c | 25 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:4-[[@LINE-1]]:9}:"bounds" 28 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:3-[[@LINE-1]]:10}:"top_left" 34 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:3-[[@LINE-1]]:3}:"struct " 39 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:3-[[@LINE-1]]:12}:"Rectangle" 43 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:3-[[@LINE-1]]:11}:"unsigned [all...] |
/external/icu4c/test/intltest/ |
tokiter.cpp | 33 if (!reader->readLineSkippingComments(line, ec)) { 55 * Read the next token from 'this->line' and append it to 'token'. 58 * the opening quote. If a '#' is encountered, the rest of the line 63 * of the line is reached or an error occurs 66 ICU_Utility::skipWhitespace(line, pos, TRUE); 67 if (pos == line.length()) { 70 UChar c = line.charAt(pos++); 83 while (pos < line.length()) { 84 c = line.charAt(pos); // 16-bit ok 86 UChar32 c32 = line.unescapeAt(pos) [all...] |
/external/clang/test/Frontend/ |
verify.c | 8 // expected-error@7 1 {{missing or invalid line number}} 11 // expected-error@10 {{missing or invalid line number}} 14 // expected-error@13 {{missing or invalid line number}} 29 #line 90 32 #line 60 35 // expected-error@+2 {{file not found}} check that multi-line handled correctly: \ 43 #line -2 // expected-error {{line_error}} 52 // CHECK2-NEXT: Line 41: define_error 53 // CHECK2-NEXT: Line 43: line_error 55 // CHECK2-NEXT: Line 43: #line directive requires a positive integer argumen [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
debug.h | 24 toplev.c according to command line options. */ 38 /* Macro defined on line LINE with name and expansion TEXT. */ 39 void (* define) (unsigned int line, const char *text); 41 /* MACRO undefined on line LINE. */ 42 void (* undef) (unsigned int line, const char *macro); 44 /* Record the beginning of a new source file FILE from LINE number 46 void (* start_source_file) (unsigned int line, const char *file); 48 /* Record the resumption of a source file. LINE is the line numbe [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
debug.h | 24 toplev.c according to command line options. */ 38 /* Macro defined on line LINE with name and expansion TEXT. */ 39 void (* define) (unsigned int line, const char *text); 41 /* MACRO undefined on line LINE. */ 42 void (* undef) (unsigned int line, const char *macro); 44 /* Record the beginning of a new source file FILE from LINE number 46 void (* start_source_file) (unsigned int line, const char *file); 48 /* Record the resumption of a source file. LINE is the line numbe [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
debug.h | 24 toplev.c according to command line options. */ 38 /* Macro defined on line LINE with name and expansion TEXT. */ 39 void (* define) (unsigned int line, const char *text); 41 /* MACRO undefined on line LINE. */ 42 void (* undef) (unsigned int line, const char *macro); 44 /* Record the beginning of a new source file FILE from LINE number 46 void (* start_source_file) (unsigned int line, const char *file); 48 /* Record the resumption of a source file. LINE is the line numbe [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
debug.h | 24 toplev.c according to command line options. */ 38 /* Macro defined on line LINE with name and expansion TEXT. */ 39 void (* define) (unsigned int line, const char *text); 41 /* MACRO undefined on line LINE. */ 42 void (* undef) (unsigned int line, const char *macro); 44 /* Record the beginning of a new source file FILE from LINE number 46 void (* start_source_file) (unsigned int line, const char *file); 48 /* Record the resumption of a source file. LINE is the line numbe [all...] |
/bionic/libc/tools/ |
generate-NOTICE.py | 74 for line in lines[start:end]: 75 line = line.replace("\t", " ") 76 line = line.replace("/* ", "") 77 line = line.replace(" * ", "") 78 line = line.replace("** ", "") 79 line = line.replace("# ", "" [all...] |
/external/chromium_org/tools/code_coverage/ |
croc_scan.py | 29 An array of line numbers which are executable. 38 for line in lines: 42 for t in self.re_token.finditer(line): 46 # Inside a multi-line comment, so look for end token 50 line = (line[:comment_index] 52 + line[t.end(0):]) 60 # Single-line comment, so truncate line at start of token 61 line = line[:t.start(0) [all...] |
/external/chromium_org/tools/heapcheck/ |
suppressions.py | 10 # optional one-line comments anywhere in the suppressions file. 24 If ran from the command line, suppressions.py does a self-test of the 56 for line in stack: 57 if line == ELLIPSIS: 62 for char in line: 91 def __init__(self, filename, line, report=''): 92 Exception.__init__(self, filename, line, report) 94 self._line = line 98 return 'Error reading suppressions from "%s" (line %d): %s.' % ( 111 for line in input_file [all...] |
/external/skia/tests/ |
PathOpsDRectTest.cpp | 45 const SkDLine& line = lineTests[index]; local 46 SkASSERT(ValidLine(line)); 47 rect.setBounds(line); 48 REPORTER_ASSERT(reporter, rect.fLeft == SkTMin(line[0].fX, line[1].fX)); 49 REPORTER_ASSERT(reporter, rect.fTop == SkTMin(line[0].fY, line[1].fY)); 50 REPORTER_ASSERT(reporter, rect.fRight == SkTMax(line[0].fX, line[1].fX)); 51 REPORTER_ASSERT(reporter, rect.fBottom == SkTMax(line[0].fY, line[1].fY)) [all...] |
/external/skia/tools/ |
sanitize_source_files.py | 20 """Sanitizes source files with the specified file and line modifiers. 27 line_modifiers: list - line-modification methods which should be applied to 46 line_number = 0 # Keeps track of line numbers in the source file. 49 # Run the line modifiers for each line in this file. 50 for line in lines: 51 original_line = line 55 line = modifier(line, full_item_path, line_number) 56 if original_line != line [all...] |
/frameworks/base/tools/aapt/ |
SourcePos.cpp | 14 int line; member in struct:ErrorPos 20 ErrorPos(const String8& file, int line, const String8& error, bool fatal); 32 :line(-1), fatal(false) 38 line(that.line), 46 line(l), 61 if (this->line < rhs.line) return true; 62 if (this->line == rhs.line) { [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
feedparser.py | 8 message, line by line. This has advantages for certain applications, such as 47 You can also push and pop line-matching predicates onto a stack. When the 48 current predicate matches the current line, a false EOF response 53 # The last partial line pushed into this object. 69 # Don't forget any trailing partial line. 79 # Pop the line off the stack and see if it matches the current 81 line = self._lines.pop() 86 if ateof(line): 87 # We're at the false EOF. But push the last line back first [all...] |