Searched defs:line (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/base/tools/aapt/
H A DSourcePos.h13 int line; member in class:SourcePos
H A DSourcePos.cpp14 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...]
/frameworks/base/tools/localize/
H A DSourcePos.h12 int line; member in class:SourcePos
H A DSourcePos.cpp17 int line; member in struct:ErrorPos
22 ErrorPos(const string& file, int line, const string& error);
39 line(that.line),
46 line(l),
60 if (this->line < rhs.line) return true;
61 if (this->line == rhs.line) {
72 && this->line
[all...]
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Duassert.h12 static void _uassert(int x, const char *xstr, const char *file, int line) { argument
14 printf("assert %s failed at %s:%d\n", xstr, file, line);
/frameworks/base/core/java/com/android/internal/os/
H A DAndroidPrintStream.java46 protected void log(String line) { argument
47 Log.println(priority, tag, line);
H A DLoggingPrintStream.java32 * A print stream which logs output line by line.
70 * Logs the given line.
72 protected abstract void log(String line); argument
80 * Searches buffer for line breaks and logs a message for each one.
82 * @param completely true if the ending chars should be treated as a line
83 * even though they don't end in a line break
91 // Log one line for each line break.
303 // Log one line fo
[all...]
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
H A DLineVerifierElem.java36 public LineVerifierElem addExpected(final String line) { argument
37 if (!TextUtils.isEmpty(line)) {
38 mExpectedLineList.add(line);
51 final String line = lineArray[i];
52 if (TextUtils.isEmpty(line)) {
56 if ("BEGIN:VCARD".equalsIgnoreCase(line)) {
58 mTestCase.fail("Multiple \"BEGIN:VCARD\" line found");
63 } else if ("END:VCARD".equalsIgnoreCase(line)) {
65 mTestCase.fail("Multiple \"END:VCARD\" line found");
70 } else if ((mIsV30 ? "VERSION:3.0" : "VERSION:2.1").equalsIgnoreCase(line)) {
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DKMLFormatter.java76 public void addLine(String line) { argument
77 mBuilder.append(line);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfEditTexts.java93 String getBody(String line) { argument
94 StringBuilder sb = new StringBuilder((line.length() + 5) * mLinesPerEditText);
96 sb.append(i + 1).append(' ').append(line);
98 sb.append('\n'); // all but last line
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DATResponseParser.java26 private String line; field in class:ATResponseParser
33 ATResponseParser (String line) argument
35 this.line = line;
49 char c = line.charAt(tokStart);
67 char c = line.charAt(i);
86 return line.substring(tokStart, tokEnd);
92 return next < line.length();
98 int len = line.length();
111 char c = line
[all...]
H A DDriverCall.java55 fromCLCCLine(String line) { argument
60 ATResponseParser p = new ATResponseParser(line);
75 // like "NOT AVAILABLE" in the CLCC line
92 Log.e(LOG_TAG,"Invalid CLCC line: '" + line + "'");
/frameworks/base/tests/framework-tests/src/com/android/internal/os/
H A DLoggingPrintStreamTest.java180 protected void log(String line) { argument
181 lines.add(line);
/frameworks/base/tools/preload/
H A DRecord.java18 * One line from the loaded-classes file.
73 /** Source file line# */
77 * Parses a line from the loaded-classes file.
79 Record(String line, int lineNum) { argument
80 char typeChar = line.charAt(0);
86 default: throw new AssertionError("Bad line: " + line);
92 line = line.replace(REPLACE_CLASSES[i], REPLACE_CLASSES[i+1]);
95 line
[all...]
H A DMemoryUsage.java52 public MemoryUsage(String line) { argument
53 String[] parsed = line.split(",");
248 String line = in.readLine();
249 if (line == null || !line.startsWith("DECAFBAD,")) {
251 + ": " + line + "; command was " + Arrays.toString(commands));
260 return new MemoryUsage(line);
/frameworks/base/libs/ui/
H A DKeyLayoutMap.cpp27 next_token(char const** p, int *line) argument
34 (*line)++;
114 int line = 1; local
118 String8 token = next_token(&p, &line);
128 LOGE("%s:%d: expected key, got '%s'\n", filename, line,
138 filename, line, token.string());
141 //LOGI("%s:%d: got scancode %d\n", filename, line, scancode );
146 //LOGI("%s:%d: got keycode %d for %s\n", filename, line, keycode, token.string() );
149 filename, line, token.string());
169 //LOGI("%s:%d: got flags %x for %s\n", filename, line, tm
[all...]
/frameworks/base/awt/java/awt/geom/
H A DLine2D.java31 * The Class Line2D represents a line whose data is given in high-precision
140 * Sets the data values that define the line.
308 * The x coordinate of the start line point.
313 * The y coordinate of the start line point.
318 * The x coordinate of the end line point.
323 * The y coordinate of the end line point.
338 * Constructs a new Line2D.Iterator for given line and transformation.
458 * Sets the line's endpoints.
472 * Sets the line's endpoints.
484 * Sets the line'
489 setLine(Line2D line) argument
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/render/
H A DJavaArcRasterizer.java30 static void addX0LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { argument
32 for(int i = 0; i < line.length; i++) {
33 int x2 = line[i];
42 static void addX1LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { argument
44 for(int i = 0; i < line.length; i++) {
45 int x2 = line[i];
54 static void addX2LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) { argument
56 for(int i = 0; i < line.length; i++) {
57 int x2 = line[i];
66 static void addX3LineSeg(MultiRectArea mra, int[] line, in argument
78 addY0LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) argument
90 addY1LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) argument
102 addY2LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) argument
114 addY3LineSeg(MultiRectArea mra, int[] line, int cx, int cy, int b, int start, int finish) argument
126 addX0Line(MultiRectArea mra, int[] line, int cx, int cy, int b) argument
134 addX1Line(MultiRectArea mra, int[] line, int cx, int cy, int b) argument
142 addX2Line(MultiRectArea mra, int[] line, int cx, int cy, int b) argument
150 addX3Line(MultiRectArea mra, int[] line, int cx, int cy, int b) argument
158 addY0Line(MultiRectArea mra, int[] line, int cx, int cy, int a) argument
166 addY1Line(MultiRectArea mra, int[] line, int cx, int cy, int a) argument
174 addY2Line(MultiRectArea mra, int[] line, int cx, int cy, int a) argument
182 addY3Line(MultiRectArea mra, int[] line, int cx, int cy, int a) argument
[all...]
/frameworks/base/core/java/android/text/
H A DBoringLayout.java27 * fits on a single line and is all left-to-right characters.
301 @Override public int getLineTop(int line) { argument
302 if (line == 0)
308 @Override public int getLineDescent(int line) { argument
312 @Override public int getLineStart(int line) { argument
313 if (line == 0)
319 @Override public int getParagraphDirection(int line) { argument
323 @Override public boolean getLineContainsTab(int line) { argument
327 @Override public float getLineMax(int line) { argument
331 @Override public final Directions getLineDirections(int line) { argument
344 getEllipsisCount(int line) argument
349 getEllipsisStart(int line) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteDebug.cpp97 char line[1024]; local
112 if(fgets(line, 1024, fp) == 0) return 0;
114 len = strlen(line);
116 line[--len] = 0;
119 if (line[18] == '-') skip = 1;
121 start = strtoul(line, 0, 16);
123 if (len > 50 && !strncmp(line + 49, "/tmp/sqlite-heap", strlen("/tmp/sqlite-heap"))) {
127 if (fgets(line, 1024, fp) == 0) return 0;
128 if (sscanf(line, "Size: %d kB", &size) != 1) return 0;
129 if (fgets(line, 102
[all...]
H A Dandroid_os_Debug.cpp93 char line[1024]; local
107 if(fgets(line, 1024, fp) == 0) return;
115 len = strlen(line);
117 line[--len] = 0;
120 if (len > 18 && line[17] == '-') skip = true;
122 start = strtoul(line, 0, 16);
124 if (strstr(line, "[heap]")) {
126 } else if (strstr(line, "/dalvik-LinearAlloc")) {
128 } else if (strstr(line, "/mspace/dalvik-heap")) {
130 } else if (strstr(line, "/dalvi
236 char line[1024]; local
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java39 * metrics and line metrics.
64 * Basic test showing effect of includePad = true with 1 line.
65 * Top and bottom padding are affected, as is the line descent and height.
80 * Ascent of top line and descent of bottom line are affected.
97 * First line ascent is top, bottom line descent is bottom.
311 private void assertLineMetrics(Layout l, int line, argument
313 String info = "line " + line;
[all...]
/frameworks/base/media/libstagefright/
H A DHTTPDataSource.cpp435 String8 line; local
436 line.append(overrides->keyAt(i));
437 line.append(": ");
438 line.append(overrides->valueAt(i));
439 line.append("\r\n");
441 mHeaders.append(line);
H A DHTTPStream.cpp156 // specifically it terminates header line with only a newline instead of the
163 status_t HTTPStream::receive_line(char *line, size_t size) { argument
190 // We have a complete line.
192 line[saw_CR ? length - 1 : length] = '\0';
197 // We have a complete line.
199 line[length - 1] = '\0';
209 line[length++] = c;
217 char line[2048]; local
218 status_t err = receive_line(line, sizeof(line));
[all...]
/frameworks/base/opengl/libs/EGL/
H A DLoader.cpp95 char line[256]; local
103 while (fgets(line, 256, cfg)) {
106 if (sscanf(line, "%u %u %s", &dpy, &impl, tag) == 3) {

Completed in 594 milliseconds

123