/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/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/android/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 | 43 public boolean parse(String line, int lineIndex) { argument 47 // line # (skip) 48 tokenIndex = tokenizer_.nextToken(line, tokenIndex); 49 delimIndex = tokenizer_.nextDelimiter(line, tokenIndex); 52 tokenIndex = tokenizer_.nextToken(line, delimIndex); 53 delimIndex = tokenizer_.nextDelimiter(line, tokenIndex); 54 mField1 = line.substring(tokenIndex, delimIndex); 57 tokenIndex = tokenizer_.nextToken(line, delimIndex); 58 // delimIndex = tokenizer_.nextDelimiter(line, tokenIndex); 59 mCardName = line [all...] |
H A D | AlsaDevicesParser.java | 64 public boolean parse(String line) { argument 82 tokenOffset = mTokenizer.nextToken(line, delimOffset); 86 delimOffset = mTokenizer.nextDelimiter(line, tokenOffset); 88 delimOffset = line.length(); 90 String token = line.substring(tokenOffset, delimOffset); 99 if (line.charAt(delimOffset) != '-') { 182 private boolean isLineDeviceRecord(String line) { argument 183 return line.charAt(kIndex_CardDeviceField) == '['; 259 String line = ""; 260 while ((line [all...] |
/frameworks/rs/cpu_ref/linkloader/utils/ |
H A D | rsl_assert.cpp | 29 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
|
H A D | rsl_assert.h | 25 unsigned line,
|
/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/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 | 64 * specified text with one line per paragraph. 73 * specified text slice with one line per paragraph. 109 * default line spacing 110 * @param spacingAdd amount to add to the default line spacing 129 * default line spacing 130 * @param spacingAdd amount to add to the default line spacing 227 // The baseline is the top of the following line minus the current line's descent. 249 // Reset tabStops, we'll rebuild if we encounter a line with 274 // to the paragraph direction of the line 474 getLineStartPos(int line, int left, int right) argument 615 getLineBounds(int line, Rect bounds) argument 631 getLineTop(int line) argument 636 getLineDescent(int line) argument 643 getLineStart(int line) argument 650 getParagraphDirection(int line) argument 657 getLineContainsTab(int line) argument 666 getLineDirections(int line) argument 834 getHorizontal(int offset, boolean trailing, int line, boolean clamped) argument 869 getLineLeft(int line) argument 900 getLineRight(int line) argument 931 getLineMax(int line) argument 941 getLineWidth(int line) argument 954 getLineExtent(int line, boolean full) argument 990 getLineExtent(int line, TabStops tabStops, boolean full) argument 1055 getOffsetForHorizontal(int line, float horiz) argument 1130 getLineEnd(int line) argument 1138 getLineVisibleEnd(int line) argument 1142 getLineVisibleEnd(int line, int start, int end) argument 1168 getLineBottom(int line) argument 1175 getLineBaseline(int line) argument 1184 getLineAscent(int line) argument 1286 shouldClampCursor(int line) argument 1379 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument 1474 getParagraphAlignment(int line) argument 1495 getParagraphLeft(int line) argument 1507 getParagraphRight(int line) argument 1522 getParagraphLeadingMargin(int line) argument 1761 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument 1816 getEllipsisStart(int line) argument 1822 getEllipsisCount(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
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | HexDump.java | 32 byte[] line = new byte[16]; 46 if (line[j] > ' ' && line[j] < '~') 48 result.append(new String(line, j, 1)); 66 line[lineIndex++] = b; 80 if (line[i] > ' ' && line[i] < '~') 82 result.append(new String(line, i, 1));
|
/frameworks/webview/chromium/tools/ |
H A D | webview_command_line | 17 CMD_LINE_FILE=/data/local/tmp/webview-command-line 20 # If nothing specified, print the command line (stripping off "webview"). 23 # If given an empty string, delete the command line.
|