/frameworks/native/opengl/libs/tools/ |
H A D | glentrygen | 26 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*\(([^\)]+)\);/) {
|
H A D | glenumsgen | 21 while (my $line = <STDIN>) { 22 next if $line =~ /^\//; 24 next if $line =~ /_BIT(\d+_|\s+)/; 25 if ($line !~ /^#define\s+(\S+)\s+(0x\S+)/) {
|
H A D | glapigen | 26 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*\(([^\)]+)\);/) { 37 #printf("%s", $line);
|
H A D | gltracegen | 26 while (my $line = <>) { 27 next if $line =~ /^\//; 28 next if $line =~ /^#/; 29 next if $line =~ /^\s*$/; 30 if ($line !~ /^GL_ENTRY\(([^,]+), ([^,]+), ([^\)]+)\)/) {
|
/frameworks/support/v17/leanback/ |
H A D | generatev4.py | 33 for line in file: 35 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) variable 36 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable 37 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable 38 outfile.write(line)
|
/frameworks/wilhelm/src/ |
H A D | assert.c | 24 void __assert(const char *file, int line, const char *failedexpr) argument 26 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line); 30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument 32 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"", 33 failedexpr, file, line, func);
|
/frameworks/base/core/java/com/android/internal/alsa/ |
H A D | LineTokenizer.java | 32 int nextToken(String line, int startIndex) { argument 33 int len = line.length(); 36 if (mDelimiters.indexOf(line.charAt(offset)) == -1) { 45 int nextDelimiter(String line, int startIndex) { argument 46 int len = line.length(); 49 if (mDelimiters.indexOf(line.charAt(offset)) != -1) {
|
H A D | AlsaCardsParser.java | 52 public boolean parse(String line, int lineIndex) { argument 57 // line # (skip) 58 tokenIndex = mTokenizer.nextToken(line, tokenIndex); 59 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); 63 mCardNum = Integer.parseInt(line.substring(tokenIndex, delimIndex)); 65 Slog.e(TAG, "Failed to parse line " + lineIndex + " of " + kCardsFilePath 66 + ": " + line.substring(tokenIndex, delimIndex)); 71 tokenIndex = mTokenizer.nextToken(line, delimIndex); 72 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); 73 mField1 = line [all...] |
H A D | AlsaDevicesParser.java | 66 public boolean parse(String line) { argument 84 tokenOffset = mTokenizer.nextToken(line, delimOffset); 88 delimOffset = mTokenizer.nextDelimiter(line, tokenOffset); 90 delimOffset = line.length(); 92 String token = line.substring(tokenOffset, delimOffset); 102 if (line.charAt(delimOffset) != '-') { 249 private boolean isLineDeviceRecord(String line) { argument 250 return line.charAt(kIndex_CardDeviceField) == '['; 260 String line = ""; 261 while ((line [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Source.h | 36 inline SourceLine line(size_t line) const; 40 * Represents a file on disk and a line number in that file. 45 size_t line; member in struct:aapt::SourceLine 51 * Represents a file on disk and a line:column number in that file. 56 size_t line; member in struct:aapt::SourceLineColumn 64 SourceLine Source::line(size_t line) const { function in class:aapt::Source 65 return SourceLine{ path, line }; 69 return SourceLineColumn{ path, line, colum [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | hexdump.cpp | 47 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...] |
H A D | ParsedMessage.cpp | 106 AString line(&data[offset], lineEndOffset - offset); 109 // Special handling for the request/status line. 111 mDict.add(AString("_"), line); 118 // An empty line separates headers from body. 124 if (line.c_str()[0] == ' ' || line.c_str()[0] == '\t') { 128 // Otherwise it's malformed since the first header line 132 value.append(line); 139 ssize_t colonPos = line.find(":"); 141 AString key(line, 181 AString line; local 226 AString line; local [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | LineVerifierElem.java | 36 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/java/com/android/internal/os/ |
H A D | AndroidPrintStream.java | 46 protected void log(String line) { argument 47 Log.println(priority, tag, line);
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | LineWidth.java | 32 public float getLineWidth(int line) { argument 33 return (line < mFirstWidthLineCount) ? mFirstWidth : mRestWidth;
|
/frameworks/base/tools/aapt/ |
H A D | SourcePos.cpp | 20 int line; member in struct:ErrorPos 26 ErrorPos(const String8& file, int line, const String8& error, Level level); 35 :line(-1), level(NOTE) 41 line(that.line), 49 line(l), 59 this->line = rhs.line; 82 if (this->line >= 0) { 83 fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, typ [all...] |
/frameworks/base/tools/preload/ |
H A D | Record.java | 18 * One line from the loaded-classes file. 103 /** Source file line# */ 107 * Parses a line from the loaded-classes file. 109 Record(String line, int lineNum) { argument 110 char typeChar = line.charAt(0); 116 default: throw new AssertionError("Bad line: " + line); 122 line = line.replace(REPLACE_CLASSES[i], REPLACE_CLASSES[i+1]); 125 line [all...] |
H A D | Compile.java | 46 String line; 48 while ((line = in.readLine()) != null) { 50 if (line.startsWith("I/PRELOAD")) { 52 String clipped = line.substring(19); 56 "Exception while recording line " + lineNumber + ": " + line, e);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 65 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...] |
/frameworks/compile/libbcc/tests/debuginfo/ |
H A D | test_bcc_debuginfo.pl | 44 # at the beginning of a comment line. 47 my($line) = $_; 48 $i = index($line, "DEBUGGER:"); 51 $s = substr($line, $i + $l);
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | quantize.c | 109 Word32 line; local 122 for (line=0; line<noOfLines; line++) { 126 mdctSpeL = mdctSpectrum[line]; 165 quaSpectrum[line] = qua ; 170 for (line=0; line<noOfLines; line++) { 174 mdctSpeL = mdctSpectrum[line]; 235 Word32 line; local 331 Word32 line; local [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 119 * offset, to the beginning if it is on the top line but not at the 120 * start, or return false if the cursor is already on the top line. 138 int line = layout.getLineForOffset(end); 140 if (line > 0) { 143 if (layout.getParagraphDirection(line) == 144 layout.getParagraphDirection(line - 1)) { 146 move = layout.getOffsetForHorizontal(line - 1, h); 148 move = layout.getLineStart(line - 1); 164 * offset, to the end of the buffer if it is on the bottom line but 184 int line [all...] |
H A D | Layout.java | 55 * Value for break strategy indicating simple line breaking. Automatic hyphens are not added 63 * Value for break strategy indicating high quality line breaking, including automatic 64 * hyphenation and doing whole-paragraph optimization of line breaks. 69 * Value for break strategy indicating balanced line breaking. The breaks are chosen to 85 * as suggestions for potential line breaks. 121 * specified text with one line per paragraph. 130 * specified text slice with one line per paragraph. 166 * default line spacing 167 * @param spacingAdd amount to add to the default line spacing 186 * default line spacin 533 getLineStartPos(int line, int left, int right) argument 674 getLineBounds(int line, Rect bounds) argument 690 getLineTop(int line) argument 695 getLineDescent(int line) argument 702 getLineStart(int line) argument 709 getParagraphDirection(int line) argument 716 getLineContainsTab(int line) argument 725 getLineDirections(int line) argument 744 getHyphen(int line) argument 753 getIndentAdjust(int line, Alignment alignment) argument 910 getHorizontal(int offset, boolean trailing, int line, boolean clamped) argument 945 getLineLeft(int line) argument 976 getLineRight(int line) argument 1007 getLineMax(int line) argument 1017 getLineWidth(int line) argument 1030 getLineExtent(int line, boolean full) argument 1066 getLineExtent(int line, TabStops tabStops, boolean full) argument 1131 getOffsetForHorizontal(int line, float horiz) argument 1207 getLineEnd(int line) argument 1215 getLineVisibleEnd(int line) argument 1219 getLineVisibleEnd(int line, int start, int end) argument 1248 getLineBottom(int line) argument 1255 getLineBaseline(int line) argument 1264 getLineAscent(int line) argument 1366 shouldClampCursor(int line) argument 1459 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument 1554 getParagraphAlignment(int line) argument 1575 getParagraphLeft(int line) argument 1587 getParagraphRight(int line) argument 1602 getParagraphLeadingMargin(int line) argument 1841 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument 1896 getEllipsisStart(int line) argument 1902 getEllipsisCount(int line) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
H A D | MIMEContainer.java | 84 String line = in.readLine(); 85 if (line == null) { 89 if (line.startsWith("--") && line.length() == subBoundary.length() + 2 && 90 line.regionMatches(2, subBoundary, 0, subBoundary.length())) { 204 String line = in.readLine(); 205 if ( line == null ) { 208 else if (line.length() == 0) { 212 if (line.charAt(0) <= ' ') { 214 throw new IOException("Illegal blank prefix in header line '" 297 boundaryCheck(String line, String boundary) argument 309 unescape(String text, int line) argument [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
H A D | ParameterChecker.java | 25 String line; 26 while ((line = reader.readLine()) != null) { 27 String s = line.trim(); 34 // skip single-line comments
|