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

1234

/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/compile/libbcc/runtime/lib/
H A Deprintf.c27 const char* line, const char* file)
29 fprintf(stderr, format, assertion_expression, line, file);
26 __eprintf(const char* format, const char* assertion_expression, const char* line, const char* file) argument
/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/wilhelm/src/
H A Dassert.c22 void __assert(const char *file, int line, const char *failedexpr) argument
24 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line);
28 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument
30 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"",
31 failedexpr, file, line, func);
/frameworks/base/core/java/com/android/internal/os/
H A DAndroidPrintStream.java46 protected void log(String line) { argument
47 Log.println(priority, tag, line);
/frameworks/av/libvideoeditor/osal/src/
H A DM4PSW_DebugTrace.c38 * void M4OSA_DebugTrace(M4OSA_Int32 line, char* file, M4OSA_Int32 level,
43 * @param line (IN): the line number in the source file
52 M4OSAL_TRACE_EXPORT_TYPE void M4OSA_DebugTrace(M4OSA_Int32 line, argument
70 printf("Error: %li, on %s: %s Line %lu in: %s\n",err,cond,msg,line,file);
75 M4OSAL_TRACE_EXPORT_TYPE M4OSA_Void M4OSA_DEBUG_traceFunction(M4OSA_UInt32 line, argument
82 M4OSA_DebugTrace(line, fileName, level, stringCondition, message, returnedError);
H A DM4PSW_Trace.c39 * void M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file ,M4OSA_Int32 level,
52 M4OSAL_TRACE_EXPORT_TYPE void M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file , argument
69 (char *)message, line, file);
74 M4OSAL_TRACE_EXPORT_TYPE M4OSA_Void M4OSA_TRACE_traceFunction(M4OSA_UInt32 line, argument
94 (char *)message, line, (char*)file);
/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/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DKMLFormatter.java76 public void addLine(String line) { argument
77 mBuilder.append(line);
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.h44 const char* caller, int line, EGLint error, bool quiet);
58 int line, EGLint error, T returnValue, bool quiet = false) {
59 setErrorEtcImpl(caller, line, error, quiet);
57 setErrorEtc(const char* caller, int line, EGLint error, T returnValue, bool quiet = false) argument
H A Degl_tls.cpp71 const char* caller, int line, EGLint error, bool quiet) {
77 caller, line, error, egl_strerror(error));
70 setErrorEtcImpl( const char* caller, int line, EGLint error, bool quiet) argument
H A Dtrace.cpp82 char line[lineSize]; member in class:android::StringBuilder
87 line[0] = '\0';
92 line_index += vsnprintf(line + line_index, lineSize-line_index, fmt, argp);
97 line[lineSize-1] = '\0';
98 return line;
163 ALOGD("%s", ""); // Print a blank line.
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
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 TestCase.fail("Multiple \"BEGIN:VCARD\" line found");
63 } else if ("END:VCARD".equalsIgnoreCase(line)) {
65 TestCase.fail("Multiple \"END:VCARD\" line found");
72 "VERSION:4.0")).equalsIgnoreCase(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/opt/telephony/src/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...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dgrp_data.c51 Word32 line; local
65 for (line=(sfbOffset[sfb + 1] - 1); line>=sfbOffset[sfb]; line--) {
67 if (mdctSpectrum[wnd*FRAME_LEN_SHORT+line] != 0) break;
70 if (line >= sfbOffset[sfb]) break;
172 for (line = lineOffset + sfbOffset[sfb]; line < lineOffset + sfbOffset[sfb+1]; line++) {
173 tmpSpectrum[i] = mdctSpectrum[line];
[all...]
/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/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/tools/preload/
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...]
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/native/libs/utils/
H A DCallStack.cpp104 char line[MAX_BACKTRACE_LINE_LENGTH]; local
106 line, MAX_BACKTRACE_LINE_LENGTH);
107 ALOGD("%s%s", prefix, line);
118 char line[MAX_BACKTRACE_LINE_LENGTH]; local
120 line, MAX_BACKTRACE_LINE_LENGTH);
122 str.append(line);
/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp38 void ExitOnErrorFunc( SLresult result , int line) argument
41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
/frameworks/av/media/libstagefright/wifi-display/
H A DParsedMessage.cpp104 AString line(&data[offset], lineEndOffset - offset);
107 // Special handling for the request/status line.
109 mDict.add(AString("_"), line);
120 if (line.c_str()[0] == ' ' || line.c_str()[0] == '\t') {
124 // Otherwise it's malformed since the first header line
128 value.append(line);
135 ssize_t colonPos = line.find(":");
137 AString key(line, 0, colonPos);
141 line
172 AString line; local
208 AString line; local
[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);

Completed in 374 milliseconds

1234