/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | qc_main.c | 418 Word16 line; local 422 for (line = sfbOffset[sfbOffs+sfb]; line < sfbOffset[sfbOffs+sfb+1]; line++) { 424 absVal = abs_s(quantSpectrum[line]);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DelegateMethodAdapter2.java | 95 /** 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 D | StubMethodAdapter.java | 41 /** 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);
|
H A D | AsmAnalyzer.java | 209 // - add end-of-line match $ 643 public void visitLineNumber(int line, Label start) { argument
|
H A D | DependencyFinder.java | 574 public void visitLineNumber(int line, Label start) { argument
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 396 public String line; // TODO: just point to original text field in class:ICalendar.ParserState 411 // we deal with line folding, by replacing all "\n " strings 422 * case, expects a BEGIN as the first line. Returns the provided or newly 437 // each line is of the format: 439 for (String line : lines) { 441 current = parseLine(line, state, current); 443 // NOTE: in this case, if the first line is not a BEGIN, a 450 Log.v(TAG, "Cannot parse " + line, fe); 461 * Parses a line into the provided component. Creates a new component if 462 * the line i 466 parseLine(String line, ParserState state, Component component) argument [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 86 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/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 71 * Note: doesn't return the last incomplete line read on EOF, since 230 String line; 232 line = mLineReader.getNextLine(); 234 //System.out.println("MI<< " + line); 236 if (line == null) { 252 processLine(line); 525 processLine (String line) throws InterpreterEx argument 529 commands = splitCommands(line); 569 splitCommands(String line) throws InterpreterEx argument 571 if (!line [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 97 void ExitOnErrorFunc( SLresult result , int line) argument 100 fprintf(stderr, "Error code %u encountered at line %d, exiting\n", result, line);
|
H A D | slesTestDecodeAac.cpp | 149 void ExitOnErrorFunc( SLresult result , int line) argument 152 fprintf(stderr, "Error code %u encountered at line %d, exiting\n", result, line);
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.cpp | 53 int line, 73 "%s:%d: %s", file, line, str.c_str()); 50 logMessageHandler( int severity, const char* file, int line, size_t message_start, const std::string& str) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 561 bool ARTSPConnection::receiveLine(AString *line) { argument 562 line->clear(); 572 line->erase(line->size() - 1, 1); 575 // some reponse line ended with '\n', instead of '\r\n'. 579 line->append(&c, 1); 581 if (c == '$' && line->size() == 1) { 672 AString line; local 675 if (!receiveLine(&line)) { 679 if (line [all...] |
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 140 // Initial state is a single line with 0 characters (0 to 0), 290 // If the new layout has a blank line at the end, but it is not 291 // the very end of the buffer, then we already have a line that 292 // starts there, so disregard the blank line. 396 * A block will actually be created only if has at least one line, i.e. this offset is 397 * not on the end line of the previous block. 400 final int line = getLineForOffset(offset); 403 // Initial creation of the array, no test on previous block ending line 405 mBlockEndLines[mNumberOfBlocks] = line; 411 if (line > previousBlockEndLin 591 getLineTop(int line) argument 596 getLineDescent(int line) argument 601 getLineStart(int line) argument 606 getLineContainsTab(int line) argument 611 getParagraphDirection(int line) argument 616 getLineDirections(int line) argument 682 getEllipsisStart(int line) argument 691 getEllipsisCount(int line) argument [all...] |
H A D | StaticLayout.java | 249 // here is the offset of the starting character of the line we are currently measuring 253 // we would prefer to cut the current line. Equals to here when no such break was found. 259 // We will cut the line there if no ok position is found. 692 // If there is only one line, then do any type of ellipsis except when it is MARQUEE 693 // if there are multiple lines, just allow END ellipsis on the last line 717 int line, float textWidth, TextPaint paint, 721 mLines[mColumns * line + ELLIPSIS_START] = 0; 722 mLines[mColumns * line + ELLIPSIS_COUNT] = 0; 733 // We only support start ellipsis on a single line 753 Log.w(TAG, "Start Ellipsis only supported with one line"); 714 calculateEllipsis(int lineStart, int lineEnd, float[] widths, int widthStart, float avail, TextUtils.TruncateAt where, int line, float textWidth, TextPaint paint, boolean forceEllipsis) argument 849 getLineTop(int line) argument 859 getLineDescent(int line) argument 869 getLineStart(int line) argument 874 getParagraphDirection(int line) argument 879 getLineContainsTab(int line) argument 884 getLineDirections(int line) argument 899 getEllipsisCount(int line) argument 908 getEllipsisStart(int line) argument [all...] |
/frameworks/base/location/java/android/location/ |
H A D | Address.java | 75 * 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/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 145 String line; 148 line = in.readLine(); 149 if (line == null || line.startsWith("}")) { 152 n.rememberLine(line); 160 void rememberLine(String line) { argument 162 line = line.trim(); 163 if (line.isEmpty()) return; // only whitespace; drop the line [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 775 char line[1024]; local 778 while (fgets(line, sizeof(line), f)) { 780 if (!line[0] || strncmp(line, "//", 2) == 0) { 784 sscanf(line, "%s %[^; \r\n\t];", type, fullname); 848 fprintf(stderr, "%s:%d: bad type in line: %s\n", 849 filename.c_str(), lineno, line); 857 fprintf(stderr, "%s:%d: error reading file, line to long.\n", 1078 string line; local [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 153 char line[128]; local 154 if (fp != NULL && fgets(line, sizeof(line), fp) != NULL) { 155 line[sizeof(line) - 1] = '\0'; 156 sscanf(line, "%u", &mSocketBufferSize);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 136 public static SmsMessage newFromCDS(String line) { argument 139 msg.parsePdu(IccUtils.hexStringToBytes(line));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | RuimRecords.java | 744 public void setVoiceMessageWaiting(int line, int countWaiting) { argument 745 if (line != 1) {
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V21.java | 52 * Needed since "next line" may be null due to end of line. 71 final String line = super.readLine(); 74 return line; 78 * Read one line, but make this object store it in its queue. 83 final String line = super.readLine(); 87 mNextLine = line; 127 * Developers should not directly read a line from this object. Use 192 * @throws VCardException when the stream reached end of line 195 String line; 363 constructPropertyData(String line) argument 883 getPropertyNameUpperCase(String line) argument [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScript.cpp | 489 char line[MAXLINE]; local 513 if (strgets(line, MAXLINE, &rsInfo) == NULL) { 516 if (sscanf(line, EXPORT_VAR_STR "%zu", &varCount) != 1) { 517 ALOGE("Invalid export var count!: %s", line); 536 if (strgets(line, MAXLINE, &rsInfo) == NULL) { 539 char *c = strrchr(line, '\n'); 543 mFieldAddress[i] = dlsym(mScriptSO, line); 546 line, dlerror()); 550 //ALOGE("Found variable %s at %p", line, 557 if (strgets(line, MAXLIN [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 456 AString line; local 458 line.setTo(&data[offset], offsetLF - offset - 1); 460 line.setTo(&data[offset], offsetLF - offset); 463 // ALOGI("#%s#", line.c_str()); 465 if (line.empty()) { 470 if (lineNo == 0 && line == "#EXTM3U") { 477 if (line.startsWith("#EXT-X-TARGETDURATION")) { 481 err = parseMetaData(line, &mMeta, "target-duration"); 482 } else if (line.startsWith("#EXT-X-MEDIA-SEQUENCE")) { 486 err = parseMetaData(line, 569 parseMetaData( const AString &line, sp<AMessage> *meta, const char *key) argument 593 parseMetaDataDuration( const AString &line, sp<AMessage> *meta, const char *key) argument 619 FindNextUnquoted( const AString &line, char what, size_t offset) argument 639 parseStreamInf( const AString &line, sp<AMessage> *meta) const argument 719 parseCipherInfo( const AString &line, sp<AMessage> *meta, const AString &baseURI) argument 788 parseByteRange( const AString &line, uint64_t curOffset, uint64_t *length, uint64_t *offset) argument 833 parseMedia(const AString &line) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Process.cpp | 913 char line[256]; local 915 while (fgets(line, sizeof(line), file)) { 917 if (sscanf(line, "Pss: %lld kB", &v) == 1) {
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 81 void CheckSLResult_Real(const char* message, SLresult result, int line) { argument 85 LOGE("slresult was %d at %s file variablespeed line %d", 86 static_cast<int>(result), message, line); 720 // Repro is to comment out all before this line, and all after enqueueing
|