/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/ |
DeviceInfoActivityTest.java | 70 String line; local 71 while((line = bufferedReader.readLine()) != null) { 72 stringBuilder.append(line);
|
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/ |
TestListParser.java | 47 final String line = in.nextLine(); local 48 final String[] parts = line.split(":"); 50 throw new RuntimeException("Invalid Format: " + line);
|
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/ |
AccessPrivateDataTest.java | 110 String line; local 111 while ((line = qtaguidReader.readLine()) != null) { 112 String tokens[] = line.split(" ");
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
SeedTest.java | 54 String line = sc.nextLine().trim(); local 55 if (line.startsWith(":Sending")) { 56 return line;
|
/cts/libs/vogar-expect/src/vogar/util/ |
Strings.java | 46 String line; local 47 while ((line = in.readLine()) != null) { 48 result.append(line); 63 String line; local 64 while ((line = in.readLine()) != null) { 65 list.add(line);
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStrokeTest.java | 59 * Test {@link GestureStroke#getPath()} when a line is provided. 69 * for a single line, where the given toPath bounds exceeds the expected path. 85 * Verifies method returns expected results for a single line, where the given toPath bounds 107 * Verifies method returns expected results for a single line. 110 GestureStroke line = mHelper.createLineGesture(); local 111 OrientedBoundingBox box = line.computeOrientedBoundingBox(); 120 * a simple straight line gesture 123 GestureStroke line = mHelper.createLineGesture(); local 124 mHelper.assertLineBoundingBox(line.boundingBox);
|
/cts/tests/tests/os/src/android/os/cts/ |
CpuFeaturesTest.java | 62 String line; local 63 while ((line = br.readLine()) != null) { 64 Matcher m = p.matcher(line);
|
/cts/tests/tests/security/src/android/security/cts/ |
EncryptionTest.java | 55 String line; local 56 while ((line = br.readLine()) != null) { 57 if (p.matcher(line).matches()) { 58 Log.i(TAG, crypto + " has " + driver + " (" + line + ")");
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
SourcePosition.java | 24 * line number and original bytecode address. 41 * {@code >= -1;} the line number, or {@code -1} if that 44 private final int line; field in class:SourcePosition 53 * @param line {@code >= -1;} original line number or {@code -1} if 56 public SourcePosition(CstUtf8 sourceFile, int address, int line) { 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
HexParser.java | 32 * corresponding to the text. The format is simple: Each line may 36 * is encountered, it and the rest of the line are ignored as a 57 String line; local 59 line = src.substring(at, poundAt); 61 line = src.substring(at, nlAt); 65 int colonAt = line.indexOf(':'); 69 int quoteAt = line.indexOf('\"'); 74 String atStr = line.substring(0, colonAt).trim(); 75 line = line.substring(colonAt + 1) [all...] |
/dalvik/dx/src/com/android/dx/dex/cf/ |
OptimizerOptions.java | 35 * specified on the command line 42 * command line 102 String line; local 104 while (null != (line = bfr.readLine())) { 105 result.add(line);
|
/dalvik/dx/src/com/android/dx/rop/code/ |
SourcePosition.java | 24 * line number and original bytecode address. 41 * {@code >= -1;} the line number, or {@code -1} if that 44 private final int line; field in class:SourcePosition 53 * @param line {@code >= -1;} original line number or {@code -1} if 56 public SourcePosition(CstString sourceFile, int address, int line) { 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/dalvik/dx/src/com/android/dx/util/ |
HexParser.java | 32 * corresponding to the text. The format is simple: Each line may 36 * is encountered, it and the rest of the line are ignored as a 57 String line; local 59 line = src.substring(at, poundAt); 61 line = src.substring(at, nlAt); 65 int colonAt = line.indexOf(':'); 69 int quoteAt = line.indexOf('\"'); 74 String atStr = line.substring(0, colonAt).trim(); 75 line = line.substring(colonAt + 1) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ANTLRStringStream.cs | 56 /** <summary>line number 1..n within the input</summary> */ 57 int line = 1; field in class:Antlr.Runtime.ANTLRStringStream 59 /** <summary>The index of the character relative to the beginning of the line 0..n-1</summary> */ 67 * values line, charPositionInLine, and p that can change as you 122 public virtual int Line { 124 return line; 127 line = value; 147 line = 1; 158 System.out.println("newline char found on line: "+line [all...] |
CommonToken.cs | 41 int line; field in class:Antlr.Runtime.CommonToken 88 line = oldToken.Line; 133 public int Line { 135 return line; 138 line = value; 211 return "[@" + TokenIndex + "," + start + ":" + stop + "='" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]";
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ANTLRStringStream.cs | 58 /** <summary>line number 1..n within the input</summary> */ 59 int line = 1; field in class:Antlr.Runtime.ANTLRStringStream 61 /** <summary>The index of the character relative to the beginning of the line 0..n-1</summary> */ 69 * values line, charPositionInLine, and p that can change as you 131 public virtual int Line 135 return line; 139 line = value; 163 line = 1; 177 System.out.println("newline char found on line: "+line [all...] |
CommonToken.cs | 43 int line; field in class:Antlr.Runtime.CommonToken 95 line = oldToken.Line; 146 public int Line 150 return line; 154 line = value; 250 return "[@" + TokenIndex + "," + start + ":" + stop + "='" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]";
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
SlimStringStream.cs | 59 /** <summary>line number 1..n within the input</summary> */ 60 protected int line = 1; field in class:Antlr.Runtime.SlimStringStream 62 /** <summary>The index of the character relative to the beginning of the line 0..n-1</summary> */ 71 * values line, charPositionInLine, and p that can change as you 128 public int Line 132 return line; 136 line = value; 151 public int Line 183 line = 1; 199 System.out.println("newline char found on line: "+line [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ClassicToken.java | 40 protected int line; field in class:ClassicToken 54 line = oldToken.getLine(); 74 public void setLine(int line) { 75 this.line = line; 87 return line; 139 return "[@"+getTokenIndex()+",'"+txt+"',<"+type+">"+channelStr+","+line+":"+getCharPositionInLine()+"]";
|
RecognitionException.java | 55 * knows its state (such as current input symbol and line info) that 58 * perhaps print an entire line of input not just a single token, for example. 83 /** Track the line at which the error occurred in case this is 85 * unexpected char doesn't carry the line info. 87 public int line; field in class:RecognitionException 92 * imaginary nodes w/o line/col info. We now search backwards looking 93 * for most recent token with line/col info, but notify getErrorHeader() 107 this.line = token.getLine(); 115 this.line = ((CharStream)input).getLine(); 131 // imaginary node; no line/pos info; scan backward [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
FASerializer.java | 100 String line = (String) lines.get(i); local 101 buf.append(line);
|
Message.java | 55 public int line = -1; field in class:Message 71 public void setLine(int line) { 72 this.line = line; 100 if (line != -1) { 101 locationST.add("line", line);
|
/external/bison/src/ |
location.c | 60 int line = cur->line; local 72 line += line < INT_MAX; 87 cur->line = line; 92 if (line == INT_MAX && loc->start.line != INT_MAX) 93 warn_at (*loc, _("line number overflow")); 108 if (0 <= loc.start.line) 147 size_t line; member in struct:caret_info [all...] |
/external/clang/docs/tools/ |
dump_format_style.py | 67 def clean_comment_line(line): 68 return line[3:].strip() + '\n' 81 for line in header: 82 line = line.strip() variable in class:read_options.State 84 if line == 'struct FormatStyle {': 87 if line.startswith('///'): 89 comment = clean_comment_line(line) 90 elif line == '};': 94 if line.startswith('///') [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_suppressions.cc | 108 const char *line = str; local 109 while (line) { 110 while (line[0] == ' ' || line[0] == '\t') 111 line++; 112 const char *end = internal_strchr(line, '\n'); 114 end = line + internal_strlen(line); 115 if (line != end && line[0] != '#') [all...] |