Searched defs:line (Results 51 - 75 of 94) sorted by last modified time

1234

/frameworks/compile/linkloader/utils/
H A Drsl_assert.cpp29 unsigned line,
33 llvm::errs() << "rslAssert [" << file << ":" << line << "] " << expr << "\n";
37 ALOGE("rslAssert [%s:%d] %s\n", file, line, expr);
28 ASSERT_FAILED(char const *file, unsigned line, char const *expr) argument
/frameworks/base/tools/aapt/
H A DResource.cpp2265 const char* pkg, const String8& srcName, int line)
2291 sprintf(lineno, ":%d", line);
2299 const char* pkg, const String8& srcName, int line)
2308 sprintf(lineno, ":%d", line);
2608 // Each file path is written on its own line with a terminating backslash.
2264 addProguardKeepRule(ProguardKeepSet* keep, const String8& inClassName, const char* pkg, const String8& srcName, int line) argument
2298 addProguardKeepMethodRule(ProguardKeepSet* keep, const String8& memberName, const char* pkg, const String8& srcName, int line) argument
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...]
H A DSourcePos.h13 int line; member in class:SourcePos
/frameworks/base/tools/aidl/
H A Daidl.cpp759 char line[1024]; local
762 while (fgets(line, sizeof(line), f)) {
764 if (!line[0] || strncmp(line, "//", 2) == 0) {
768 sscanf(line, "%s %[^; \r\n\t];", type, fullname);
832 fprintf(stderr, "%s:%d: bad type in line: %s\n",
833 filename.c_str(), lineno, line);
841 fprintf(stderr, "%s:%d: error reading file, line to long.\n",
990 string line; local
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java208 // - add end-of-line match $
634 public void visitLineNumber(int line, Label start) { argument
H A DDelegateMethodAdapter2.java95 /** Array used to capture the first line number information from the original method
334 * Only writes the first line number present in the original code so that source
338 public void visitLineNumber(int line, Label start) { argument
339 // Capture the first line values for the new delegate method
341 mDelegateLineNumber = new Object[] { line, start };
344 mOrgWriter.visitLineNumber(line, start);
H A DDependencyFinder.java574 public void visitLineNumber(int line, Label start) { argument
H A DStubMethodAdapter.java41 /** Flag to output the first line number. */
235 * Only writes the first line number present in the original code so that source
239 public void visitLineNumber(int line, Label start) { argument
241 mParentVisitor.visitLineNumber(line, start);
/frameworks/base/tools/preload/
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);
H A DRecord.java18 * One line from the loaded-classes file.
93 /** Source file line# */
97 * Parses a line from the loaded-classes file.
99 Record(String line, int lineNum) { argument
100 char typeChar = line.charAt(0);
106 default: throw new AssertionError("Bad line: " + line);
112 line = line.replace(REPLACE_CLASSES[i], REPLACE_CLASSES[i+1]);
115 line
[all...]
/frameworks/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java86 for (String line : lines) {
88 if (line.charAt(1) != '=') {
91 if (line.charAt(0) == 'm') {
92 String[] parts = line.substring(2).split(" ", 4);
102 fields.parse(line);
105 throw new IllegalArgumentException("Invalid SDP: " + line);
516 for (String line : mLines) {
517 if (line.charAt(0) == type) {
518 buffer.append(line).append("\r\n");
525 * Invokes {@link #set} after splitting the line int
527 parse(String line) argument
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DVisualDiffUtils.java31 * Preprocesses the list of diffs so that new line characters appear only at the end of
36 * LinkedList of diffs where new line character appears only on the end of
69 String line = "";
79 line = processDiff(diff, lineNums, lines, line, i, delSpan, isLastDiff);
80 if (line.equals("")) {
86 // If the line is currently empty and this insertion is the entire line, the
87 // expected line is absent, so it has no line numbe
159 processDiff(diff_match_patch.Diff diff, LinkedList<Integer> lineNums, LinkedList<String> lines, String line, int i, String begSpan, boolean forceOutputLine) argument
[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/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java143 String line;
146 line = in.readLine();
147 if (line == null || line.startsWith("}")) {
150 n.rememberLine(line);
158 void rememberLine(String line) { argument
160 line = line.trim();
161 if (line.isEmpty()) return; // only whitespace; drop the line
[all...]
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c60 char *line = fgets(buffer, sizeof(buffer), stdin); local
61 if (!line || !sDevice)
63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000);
/frameworks/base/location/java/android/location/
H A DAddress.java75 * Returns the largest index currently in use to specify an address line.
83 * Returns a line of the address numbered by the given index
84 * (starting at 0), or null if no such line is present.
96 * Sets the line of the address numbered by index (starting at 0) to the
101 public void setAddressLine(int index, String line) { argument
108 mAddressLines.put(index, line);
110 if (line == null) {
111 // We've eliminated a line, recompute the max index
431 String line = mAddressLines.get(i);
432 if (line
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java1569 private void cachePlaylistEntry(String line, String playListDirectory) { argument
1572 int entryLength = line.length();
1573 while (entryLength > 0 && Character.isWhitespace(line.charAt(entryLength - 1))) entryLength--;
1577 if (entryLength < line.length()) line = line.substring(0, entryLength);
1581 char ch1 = line.charAt(0);
1583 (Character.isLetter(ch1) && line.charAt(1) == ':' && line.charAt(2) == '\\'));
1586 line
[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/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/core/tests/coretests/src/com/android/internal/os/
H A DLoggingPrintStreamTest.java184 protected void log(String line) { argument
185 lines.add(line);
/frameworks/av/media/libstagefright/foundation/
H A Dhexdump.cpp47 AString line; local
49 appendIndent(&line, indent);
54 line.append(tmp);
58 line.append(' ');
61 line.append(" ");
64 line.append(tmp);
68 line.append(' ');
76 line.append((char)data[offset + i]);
78 line.append('.');
83 appendTo->append(line);
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp165 AString line; local
167 line.setTo(&data[offset], offsetLF - offset - 1);
169 line.setTo(&data[offset], offsetLF - offset);
172 // ALOGI("#%s#", line.c_str());
174 if (line.empty()) {
179 if (lineNo == 0 && line == "#EXTM3U") {
186 if (line.startsWith("#EXT-X-TARGETDURATION")) {
190 err = parseMetaData(line, &mMeta, "target-duration");
191 } else if (line.startsWith("#EXT-X-MEDIA-SEQUENCE")) {
195 err = parseMetaData(line,
274 parseMetaData( const AString &line, sp<AMessage> *meta, const char *key) argument
298 parseMetaDataDuration( const AString &line, sp<AMessage> *meta, const char *key) argument
322 parseStreamInf( const AString &line, sp<AMessage> *meta) argument
379 FindNextUnquoted( const AString &line, char what, size_t offset) argument
400 parseCipherInfo( const AString &line, sp<AMessage> *meta, const AString &baseURI) argument
469 parseByteRange( const AString &line, uint64_t curOffset, uint64_t *length, uint64_t *offset) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp553 bool ARTSPConnection::receiveLine(AString *line) { argument
554 line->clear();
564 line->erase(line->size() - 1, 1);
568 line->append(&c, 1);
570 if (c == '$' && line->size() == 1) {
661 AString line; local
664 if (!receiveLine(&line)) {
668 if (line.empty()) {
672 ALOGV("line
[all...]
H A DASessionDescription.cpp65 AString line; local
67 // We accept both '\n' and '\r\n' line endings, if it's
69 line.setTo(desc, i, eolPos - i - 1);
71 line.setTo(desc, i, eolPos - i);
74 if (line.empty()) {
79 if (line.size() < 2 || line.c_str()[1] != '=') {
83 ALOGI("%s", line.c_str());
85 switch (line.c_str()[0]) {
88 if (strcmp(line
[all...]

Completed in 350 milliseconds

1234