Searched refs:line (Results 126 - 150 of 275) sorted by relevance

1234567891011

/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp66 const char* caller, int line, EGLint error, bool quiet) {
72 caller, line, error, egl_strerror(error));
65 setErrorEtcImpl( const char* caller, int line, EGLint error, bool quiet) argument
/frameworks/support/development/checkstyle/src/com/android/support/checkstyle/
H A DMismatchedAnnotationCheck.java95 // Tag may either have a description or be on a line by itself.
172 for (String line : lines) {
173 if (mMatchTag.matcher(line).find()) {
/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp37 void ExitOnErrorFunc( SLresult result , int line) argument
40 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp560 bool ARTSPConnection::receiveLine(AString *line) { argument
561 line->clear();
571 line->erase(line->size() - 1, 1);
574 // some reponse line ended with '\n', instead of '\r\n'.
578 line->append(&c, 1);
580 if (c == '$' && line->size() == 1) {
671 AString line; local
674 if (!receiveLine(&line)) {
678 if (line
[all...]
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java837 String line = null;
846 while ((line = in.readLine()) != null) {
852 int numIndex = line.indexOf(':');
853 if (numIndex == -1 || numIndex + 1 >= line.length()) {
856 String numString = line.substring(numIndex + 1).trim();
861 Log.e(TAG, "Failed to parse numbers in " + line);
868 if (line.startsWith("bytes")) {
874 Log.e(TAG, "Number overflows in " + line);
878 if (line.startsWith("time")) {
880 } else if (line
[all...]
/frameworks/base/libs/usb/tests/accessorytest/
H A Dusb.c69 char *line = fgets(buffer, sizeof(buffer), stdin); local
70 if (!line || !current_device)
72 ret = usb_device_bulk_transfer(current_device, write_ep, line, strlen(line), 1000);
/frameworks/base/tools/bit/
H A Daapt.cpp26 const regex ELEMENT_REGEX("( *)E: ([^ ]+) \\(line=(\\d+)\\)");
180 const string& line = lines[i]; local
182 if (regex_match(line, match, NS_REGEX)) {
191 } else if (regex_match(line, match, ELEMENT_REGEX)) {
216 } else if (regex_match(line, match, ATTR_REGEX)) {
/frameworks/compile/slang/tests/
H A Dslang_test.py100 """Extracts command line arguments from first comment line in a file."""
102 line = f.readline()
104 if line[0] == '/' and line[1] == '/':
105 return line[2:].strip()
172 # Extra command line arguments can be placed as // comments at the start of
328 Parses command line arguments, adds test directories as tests.
/frameworks/rs/
H A DrsContext.h189 void setWatchdogGL(const char *cmd, uint32_t line, const char *file) const { argument
192 watchdog.line = line;
229 uint32_t line; member in struct:android::renderscript::Context::__anon2015
/frameworks/base/tools/aapt2/util/
H A DFiles.cpp194 for (StringPiece line : util::Tokenize(contents, ' ')) {
195 line = util::TrimWhitespace(line);
196 if (!line.empty()) {
197 out_arglist->push_back(line.to_string());
/frameworks/rs/rsov/driver/
H A DrsovAllocation.cpp352 for (uint32_t line = yoff; line < (yoff + h); line++) {
377 for (uint32_t line = (yoff >> 1); line < ((yoff + h) >> 1); line++) {
405 for (uint32_t line = yoff; line < (yoff + h); line++) {
450 for (uint32_t line
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java40 * metrics and line metrics.
65 * Basic test showing effect of includePad = true with 1 line.
66 * Top and bottom padding are affected, as is the line descent and height.
81 * Ascent of top line and descent of bottom line are affected.
98 * First line ascent is top, bottom line descent is bottom.
312 private void assertLineMetrics(Layout l, int line, argument
314 String info = "line " + line;
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java1683 private void cachePlaylistEntry(String line, String playListDirectory) { argument
1686 int entryLength = line.length();
1687 while (entryLength > 0 && Character.isWhitespace(line.charAt(entryLength - 1))) entryLength--;
1691 if (entryLength < line.length()) line = line.substring(0, entryLength);
1695 char ch1 = line.charAt(0);
1697 (Character.isLetter(ch1) && line.charAt(1) == ':' && line.charAt(2) == '\\'));
1700 line
[all...]
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DBaseCompilationTest.java124 String line = lines.get(i);
129 int end = line.length() - 1; // inclusive
133 result.append(line.substring(start, end + 1));
280 String line;
282 while ((line = reader.readLine()) != null) {
283 sb.append(line).append("\n");
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java581 String line = "Broadcast completed: result=" + resultCode;
582 if (data != null) line = line + ", data=\"" + data + "\"";
583 if (extras != null) line = line + ", extras: " + extras;
584 mPw.println(line);
1105 String line;
1118 line = in.readLine();
1119 if (line == null) {
1122 mPw.println("GDB: " + line);
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DStaggeredGridLayoutManager.java789 int line = mPendingSavedState.mSpanOffsets[i];
790 if (line != Span.INVALID_LINE) {
792 line += mPrimaryOrientation.getEndAfterPadding();
794 line += mPrimaryOrientation.getStartAfterPadding();
797 mSpans[i].setLine(line);
1216 int line;
1218 line = mSpans[i].getEndLine(Span.INVALID_LINE);
1219 if (line != Span.INVALID_LINE) {
1220 line -= mPrimaryOrientation.getEndAfterPadding();
1223 line
1869 recycleFromStart(RecyclerView.Recycler recycler, int line) argument
1898 recycleFromEnd(RecyclerView.Recycler recycler, int line) argument
2607 setLine(int line) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderThreadPriorityTest.java101 for (String line : cgroup.split("\n")) {
102 String fields[] = line.trim().split(":");
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DInstallNonMarketAppsDeprecationTest.java82 String line = reader.readLine();
83 return line.trim();
/frameworks/base/tools/aapt2/
H A DFlags.cpp122 // the first line) followed by the description line. This will make sure
125 for (StringPiece line : util::Tokenize(flag.description, '\n')) {
126 *out << " " << std::setw(kWidth) << std::left << argline << line << "\n"; local
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/
H A DLinkAccessibilityHelper.java293 // section on the first line.
309 // If the span is on a single line, adjust both the left and right bounds
314 // If the span wraps across multiple lines, only use the first line (as returned
316 // the span starts, leaving the "end" of outrect at the end of the line.
336 final int line = getLineAtCoordinate(view, y);
337 return getOffsetAtCoordinate(view, line, x);
358 private static int getOffsetAtCoordinate(TextView view, int line, float x) { argument
360 return view.getLayout().getOffsetForHorizontal(line, x);
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java141 String line;
142 while ((line = reader.readLine()) != null) {
143 mImageList.add(line);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DManageDialog.java179 String line = in.readLine().trim();
180 if (line.startsWith(prefix)) {
181 String[] numbers = line.substring(prefix.length()).split(" +");
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java181 String line = null;
183 while ((line = trackerData.getNextOutput(cursor)) != null) {
184 exportWriter.write(line);
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
H A DMusicProvider.java140 String line = null;
141 while ((line = reader.readLine()) != null) {
142 sb.append(line);

Completed in 7572 milliseconds

1234567891011