Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 136) sorted by relevance

123456

/frameworks/base/telephony/java/com/android/internal/telephony/
DATResponseParser.java26 private String line; field in ATResponseParser
33 ATResponseParser (String line) in ATResponseParser() argument
35 this.line = line; in ATResponseParser()
49 char c = line.charAt(tokStart); in nextBoolean()
67 char c = line.charAt(i); in nextInt()
86 return line.substring(tokStart, tokEnd); in nextString()
92 return next < line.length(); in hasMore()
98 int len = line.length(); in nextTok()
111 char c = line.charAt(next++); in nextTok()
120 c = line.charAt(next++); in nextTok()
[all …]
/frameworks/base/tools/aapt/
DSourcePos.cpp14 int line; member
20 ErrorPos(const String8& file, int line, const String8& error, bool fatal);
32 :line(-1), fatal(false) in ErrorPos()
38 line(that.line), in ErrorPos()
46 line(l), in ErrorPos()
61 if (this->line < rhs.line) return true; in operator <()
62 if (this->line == rhs.line) { in operator <()
73 && this->line == rhs.line in operator ==()
81 this->line = rhs.line; in operator =()
91 if (this->line >= 0) { in print()
[all …]
/frameworks/base/tools/localize/
DSourcePos.cpp17 int line; member
22 ErrorPos(const string& file, int line, const string& error);
39 line(that.line), in ErrorPos()
46 line(l), in ErrorPos()
60 if (this->line < rhs.line) return true; in operator <()
61 if (this->line == rhs.line) { in operator <()
72 && this->line == rhs.line in operator ==()
80 this->line = rhs.line; in operator =()
88 if (this->line >= 0) { in Print()
89 fprintf(to, "%s:%d: %s\n", this->file.c_str(), this->line, this->error.c_str()); in Print()
[all …]
/frameworks/base/core/jni/
Dandroid_os_Debug.cpp93 char line[1024]; in read_mapinfo() local
107 if(fgets(line, 1024, fp) == 0) return; in read_mapinfo()
115 len = strlen(line); in read_mapinfo()
117 line[--len] = 0; in read_mapinfo()
120 if (len > 18 && line[17] == '-') skip = true; in read_mapinfo()
122 start = strtoul(line, 0, 16); in read_mapinfo()
124 if (strstr(line, "[heap]")) { in read_mapinfo()
126 } else if (strstr(line, "/dalvik-LinearAlloc")) { in read_mapinfo()
128 } else if (strstr(line, "/mspace/dalvik-heap")) { in read_mapinfo()
130 } else if (strstr(line, "/dalvik-heap-bitmap/")) { in read_mapinfo()
[all …]
Dandroid_database_SQLiteDebug.cpp105 char line[1024]; in read_mapinfo() local
120 if(fgets(line, 1024, fp) == 0) return 0; in read_mapinfo()
122 len = strlen(line); in read_mapinfo()
124 line[--len] = 0; in read_mapinfo()
127 if (line[18] == '-') skip = 1; in read_mapinfo()
129 start = strtoul(line, 0, 16); in read_mapinfo()
131 if (len > 50 && !strncmp(line + 49, "/tmp/sqlite-heap", strlen("/tmp/sqlite-heap"))) { in read_mapinfo()
135 if (fgets(line, 1024, fp) == 0) return 0; in read_mapinfo()
136 if (sscanf(line, "Size: %d kB", &size) != 1) return 0; in read_mapinfo()
137 if (fgets(line, 1024, fp) == 0) return 0; in read_mapinfo()
[all …]
/frameworks/base/core/java/android/text/
DSelection.java135 int line = layout.getLineForOffset(end); in moveUp() local
137 if (line > 0) { in moveUp()
140 if (layout.getParagraphDirection(line) == in moveUp()
141 layout.getParagraphDirection(line - 1)) { in moveUp()
143 move = layout.getOffsetForHorizontal(line - 1, h); in moveUp()
145 move = layout.getLineStart(line - 1); in moveUp()
176 int line = layout.getLineForOffset(end); in moveDown() local
178 if (line < layout.getLineCount() - 1) { in moveDown()
181 if (layout.getParagraphDirection(line) == in moveDown()
182 layout.getParagraphDirection(line + 1)) { in moveDown()
[all …]
DLayout.java432 public int getLineBounds(int line, Rect bounds) { in getLineBounds() argument
435 bounds.top = getLineTop(line); in getLineBounds()
437 bounds.bottom = getLineBottom(line); in getLineBounds()
439 return getLineBaseline(line); in getLineBounds()
447 public abstract int getLineTop(int line); in getLineTop() argument
452 public abstract int getLineDescent(int line); in getLineDescent() argument
459 public abstract int getLineStart(int line); in getLineStart() argument
465 public abstract int getParagraphDirection(int line); in getParagraphDirection() argument
472 public abstract boolean getLineContainsTab(int line); in getLineContainsTab() argument
479 public abstract Directions getLineDirections(int line); in getLineDirections() argument
[all …]
DDynamicLayout.java366 public int getLineTop(int line) { in getLineTop() argument
367 return mInts.getValue(line, TOP); in getLineTop()
370 public int getLineDescent(int line) { in getLineDescent() argument
371 return mInts.getValue(line, DESCENT); in getLineDescent()
374 public int getLineStart(int line) { in getLineStart() argument
375 return mInts.getValue(line, START) & START_MASK; in getLineStart()
378 public boolean getLineContainsTab(int line) { in getLineContainsTab() argument
379 return (mInts.getValue(line, TAB) & TAB_MASK) != 0; in getLineContainsTab()
382 public int getParagraphDirection(int line) { in getParagraphDirection() argument
383 return mInts.getValue(line, DIR) >> DIR_SHIFT; in getParagraphDirection()
[all …]
DBoringLayout.java301 @Override public int getLineTop(int line) { in getLineTop() argument
302 if (line == 0) in getLineTop()
308 @Override public int getLineDescent(int line) { in getLineDescent() argument
312 @Override public int getLineStart(int line) { in getLineStart() argument
313 if (line == 0) in getLineStart()
319 @Override public int getParagraphDirection(int line) { in getParagraphDirection() argument
323 @Override public boolean getLineContainsTab(int line) { in getLineContainsTab() argument
327 @Override public float getLineMax(int line) { in getLineMax() argument
331 @Override public final Directions getLineDirections(int line) { in getLineDirections() argument
344 public int getEllipsisCount(int line) { in getEllipsisCount() argument
[all …]
/frameworks/base/awt/org/apache/harmony/awt/gl/render/
DJavaArcRasterizer.java30 …static void addX0LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int fini… in addX0LineSeg() argument
32 for(int i = 0; i < line.length; i++) { in addX0LineSeg()
33 int x2 = line[i]; in addX0LineSeg()
42 …static void addX1LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int fini… in addX1LineSeg() argument
44 for(int i = 0; i < line.length; i++) { in addX1LineSeg()
45 int x2 = line[i]; in addX1LineSeg()
54 …static void addX2LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int fini… in addX2LineSeg() argument
56 for(int i = 0; i < line.length; i++) { in addX2LineSeg()
57 int x2 = line[i]; in addX2LineSeg()
66 …static void addX3LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int fini… in addX3LineSeg() argument
[all …]
/frameworks/base/media/libstagefright/
DHTTPStream.cpp134 status_t HTTPStream::receive_line(char *line, size_t size) { in receive_line() argument
162 line[length - 1] = '\0'; in receive_line()
169 line[length++] = c; in receive_line()
177 char line[1024]; in receive_header() local
178 status_t err = receive_line(line, sizeof(line)); in receive_header()
183 mHeaders.add(string(kStatusKey), string(line)); in receive_header()
185 char *spacePos = strchr(line, ' '); in receive_header()
202 memmove(line, status_start, status_end - status_start); in receive_header()
203 line[status_end - status_start] = '\0'; in receive_header()
205 long tmp = strtol(line, NULL, 10); in receive_header()
[all …]
/frameworks/base/core/java/android/pim/vcard/
DVCardParser_V30.java91 String line; in getNonEmptyLine() local
94 line = mReader.readLine(); in getNonEmptyLine()
95 if (line == null) { in getNonEmptyLine()
104 } else if (line.length() == 0) { in getNonEmptyLine()
112 } else if (line.charAt(0) == ' ' || line.charAt(0) == '\t') { in getNonEmptyLine()
129 builder.append(line.substring(1)); in getNonEmptyLine()
134 builder.append(line.substring(1)); in getNonEmptyLine()
140 mPreviousLine = line; in getNonEmptyLine()
146 mPreviousLine = line; in getNonEmptyLine()
261 String line = getLine(); in getBase64() local
[all …]
DVCardParser_V21.java187 String line; in getNonEmptyLine() local
189 line = getLine(); in getNonEmptyLine()
190 if (line == null) { in getNonEmptyLine()
192 } else if (line.trim().length() > 0) { in getNonEmptyLine()
193 return line; in getNonEmptyLine()
244 String line; in readBeginVCard() local
247 line = getLine(); in readBeginVCard()
248 if (line == null) { in readBeginVCard()
250 } else if (line.trim().length() > 0) { in readBeginVCard()
254 String[] strArray = line.split(":", 2); in readBeginVCard()
[all …]
/frameworks/base/opengl/libs/tools/
Dglentrygen26 while (my $line = <>) {
27 next if $line =~ /^\//;
28 next if $line =~ /^#/;
29 next if $line =~ /^\s*$/;
30 if ($line !~ /^GL_API(CALL)?\s+(.+)\s+GL_APIENTRY\s+([\w]+)\s*\(([^\)]+)\);/) {
Dglapigen26 while (my $line = <>) {
27 next if $line =~ /^\//;
28 next if $line =~ /^#/;
29 next if $line =~ /^\s*$/;
30 if ($line !~ /^GL_API(CALL)?\s+(.+)\s+GL_APIENTRY\s+([\w]+)\s*\(([^\)]+)\);/) {
/frameworks/base/core/java/com/android/internal/util/
DHexDump.java32 byte[] line = new byte[16]; in dumpHexString()
46 if (line[j] > ' ' && line[j] < '~') in dumpHexString()
48 result.append(new String(line, j, 1)); in dumpHexString()
66 line[lineIndex++] = b; in dumpHexString()
80 if (line[i] > ' ' && line[i] < '~') in dumpHexString()
82 result.append(new String(line, i, 1)); in dumpHexString()
/frameworks/base/core/java/android/text/method/
DScrollingMovementMethod.java98 int line = layout.getLineForVertical(areatop); in up() local
99 int linetop = layout.getLineTop(line); in up()
104 line--; in up()
106 if (line >= 0) { in up()
108 widget.getScrollX(), layout.getLineTop(line)); in up()
125 int line = layout.getLineForVertical(areabot); in down() local
127 if (layout.getLineTop(line+1) < areabot + 1) { in down()
132 line++; in down()
135 if (line <= layout.getLineCount() - 1) { in down()
136 widget.scrollTo(widget.getScrollX(), layout.getLineTop(line+1) - in down()
[all …]
/frameworks/base/tools/preload/
DCompile.java46 String line; in main() local
48 while ((line = in.readLine()) != null) { in main()
50 if (line.startsWith("I/PRELOAD")) { in main()
52 String clipped = line.substring(19); in main()
56 "Exception while recording line " + lineNumber + ": " + line, e); in main()
DRecord.java66 Record(String line, int lineNum) { in Record() argument
67 char typeChar = line.charAt(0); in Record()
73 default: throw new AssertionError("Bad line: " + line); in Record()
78 line = line.substring(1); in Record()
79 String[] parts = line.split(":"); in Record()
/frameworks/base/core/java/android/util/
DEventLogTags.java62 String line; in EventLogTags() local
63 while ((line = input.readLine()) != null) { in EventLogTags()
64 Matcher m = COMMENT_PATTERN.matcher(line); in EventLogTags()
67 m = TAG_PATTERN.matcher(line); in EventLogTags()
75 Log.e(TAG, "Error in event log tags entry: " + line, e); in EventLogTags()
78 Log.e(TAG, "Can't parse event log tags entry: " + line); in EventLogTags()
/frameworks/base/tests/DumpRenderTree/assets/
Drun_page_cycler.py63 for line in adb_output.splitlines():
64 line = line.strip()
65 if line.find('INSTRUMENTATION_CODE') == 0:
66 if not line[22:] == '-1':
69 if (line.find('INSTRUMENTATION_FAILED') != -1 or
70 line.find('Process crashed.') != -1):
/frameworks/base/core/java/android/pim/
DICalendar.java397 public String line; // TODO: just point to original text field in ICalendar.ParserState
440 for (String line : lines) { in parseComponentImpl()
442 current = parseLine(line, state, current); in parseComponentImpl()
451 Log.v(TAG, "Cannot parse " + line, fe); in parseComponentImpl()
467 private static Component parseLine(String line, ParserState state, in parseLine() argument
470 state.line = line; in parseLine()
471 int len = state.line.length(); in parseLine()
476 c = line.charAt(state.index); in parseLine()
481 String name = line.substring(0, state.index); in parseLine()
528 String line = state.line; in extractValue() local
[all …]
/frameworks/base/libs/ui/
DKeyLayoutMap.cpp27 next_token(char const** p, int *line) in next_token() argument
34 (*line)++; in next_token()
114 int line = 1; in load() local
118 String8 token = next_token(&p, &line); in load()
128 LOGE("%s:%d: expected key, got '%s'\n", filename, line, in load()
138 filename, line, token.string()); in load()
149 filename, line, token.string()); in load()
172 filename, line, token.string()); in load()
/frameworks/base/docs/html/sdk/api_diff/3/
Dstylesheet-jdiff.css9 …ont-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.95em;}
10 …nt-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.95em;}
11 …nt-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.95em;}
12 …0%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-height:.95em;}
16 line-height:.8em;}
32 line-height:.8em;
/frameworks/base/docs/html/sdk/api_diff/5/
Dstylesheet-jdiff.css9 …ont-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.95em;}
10 …nt-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.95em;}
11 …nt-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.95em;}
12 …0%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-height:.95em;}
16 line-height:.8em;}
32 line-height:.8em;

123456