/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | in_memory_wrapper_input.cpp | 53 bool InMemoryWrapperInput::Seek(uint32_t pos) { argument 54 if (pos < _size) { 55 _pos = pos;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 72 int pos = mPos; 73 if (pos >= (BUFFER_LEN-1)) { 75 pos = mPos; 77 mText[pos] = c; 78 mPos = pos+1; 91 int pos = mPos; 92 if ((pos+length) > BUFFER_LEN) { 94 pos = mPos; 96 str.getChars(i, i+length, mText, pos); 97 mPos = pos [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d2_9pf.cpp | 187 Word16 pos[NB_PULSE]; local 207 pos[0] = i * 5 + startPos[k++]; 215 pos[1] = i * 5 + startPos[k]; 234 * cod[pos[j]] = 8191; 238 * cod[pos[j]] = -8192; 242 cod[pos[j]] = i * 16383 - 8192;
|
/frameworks/base/tools/aapt2/java/ |
H A D | ManifestClassGenerator_test.cpp | 65 size_t pos = actual.find("public static final String ACCESS_INTERNET=" 67 EXPECT_GT(pos, permissionClassPos); 68 EXPECT_LT(pos, permissionGroupClassPos); 70 pos = actual.find("public static final String DO_DANGEROUS_THINGS=" 72 EXPECT_GT(pos, permissionClassPos); 73 EXPECT_LT(pos, permissionGroupClassPos); 75 pos = actual.find("public static final String HUH=\"com.test.sample.permission.HUH\";"); 76 EXPECT_GT(pos, permissionClassPos); 77 EXPECT_LT(pos, permissionGroupClassPos); 83 pos [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | set_sign.cpp | 178 Word16 pos = 0; //initialization only needed to keep gcc silent 211 pos = j; 215 dn2[pos] = -1; 253 Word16 pos = 0; /* initialization only needed to keep gcc silent */ local 288 pos = j; 292 dn2[pos] = -1; 369 Word16 pos = 0; // initialization only needed to keep gcc silent 428 pos = j; 432 pos_max[i] = pos; 447 pos 504 Word16 pos = 0; /* initialization only needed to keep gcc silent */ local [all...] |
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | ByteArrayPool.java | 115 int pos = Collections.binarySearch(mBuffersBySize, buf, BUF_COMPARATOR); 116 if (pos < 0) { 117 pos = -pos - 1; 119 mBuffersBySize.add(pos, buf);
|
/frameworks/base/media/java/android/media/ |
H A D | Cea708CaptionRenderer.java | 267 int pos = 0; 268 while (pos < data.length) { 269 pos = parseServiceBlockData(data, pos); 277 private int parseServiceBlockData(byte[] data, int pos) { argument 279 mCommand = data[pos] & 0xff; 280 ++pos; 285 pos = parseExt1(data, pos); 291 pos 314 parseC0(byte[] data, int pos) argument 368 parseC1(byte[] data, int pos) argument 624 parseG0(byte[] data, int pos) argument 637 parseG1(byte[] data, int pos) argument 646 parseExt1(byte[] data, int pos) argument 666 parseC2(byte[] data, int pos) argument 686 parseC3(byte[] data, int pos) argument 700 parseG2(byte[] data, int pos) argument 720 parseG3(byte[] data, int pos) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_app_admin_SecurityLog.cpp | 81 size_t pos = 2; // Save room for type tag & array count local 87 if (pos + 1 + sizeof(jint) > max) break; 90 if (pos + 1 + sizeof(len) + len > max) len = max - pos - 1 - sizeof(len); 91 buf[pos++] = EVENT_TYPE_STRING; 92 memcpy(&buf[pos], &len, sizeof(len)); 93 memcpy(&buf[pos + sizeof(len)], str, len); 94 pos += sizeof(len) + len; 98 if (pos + 1 + sizeof(intVal) > max) break; 99 buf[pos [all...] |
H A D | android_util_EventLog.cpp | 118 size_t pos = 2; // Save room for type tag & array count local 124 if (pos + 1 + sizeof(jint) > max) break; 127 if (pos + 1 + sizeof(len) + len > max) len = max - pos - 1 - sizeof(len); 128 buf[pos++] = EVENT_TYPE_STRING; 129 memcpy(&buf[pos], &len, sizeof(len)); 130 memcpy(&buf[pos + sizeof(len)], str, len); 131 pos += sizeof(len) + len; 135 if (pos + 1 + sizeof(intVal) > max) break; 136 buf[pos [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | MP3Seeker.h | 32 // to that position and return it in "*pos". Update "*timeUs" to reflect 34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos) = 0;
|
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
H A D | wrapper_input.h | 44 virtual bool Seek(uint32_t pos) = 0;
|
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | TransportController.java | 64 * @param pos Position to move to, in milliseconds. 66 public abstract void seekTo(long pos); argument
|
/frameworks/base/core/java/android/transition/ |
H A D | PatternPathMotion.java | 105 float[] pos = new float[2]; 106 pathMeasure.getPosTan(length, pos, null); 107 float endX = pos[0]; 108 float endY = pos[1]; 109 pathMeasure.getPosTan(0, pos, null); 110 float startX = pos[0]; 111 float startY = pos[1];
|
/frameworks/base/core/java/android/util/ |
H A D | AtomicFile.java | 223 int pos = 0; 227 int amt = stream.read(data, pos, data.length-pos); 228 //Log.i("foo", "Read " + amt + " bytes at " + pos 231 //Log.i("foo", "**** FINISHED READING: pos=" + pos 235 pos += amt; 237 if (avail > data.length-pos) { 238 byte[] newData = new byte[pos+avail]; 239 System.arraycopy(data, 0, newData, 0, pos); [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AtomicFile.java | 153 int pos = 0; 157 int amt = stream.read(data, pos, data.length-pos); 158 //Log.i("foo", "Read " + amt + " bytes at " + pos 161 //Log.i("foo", "**** FINISHED READING: pos=" + pos 165 pos += amt; 167 if (avail > data.length-pos) { 168 byte[] newData = new byte[pos+avail]; 169 System.arraycopy(data, 0, newData, 0, pos); [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | AtomicFile.java | 178 int pos = 0; 182 int amt = stream.read(data, pos, data.length-pos); 183 //Log.i("foo", "Read " + amt + " bytes at " + pos 186 //Log.i("foo", "**** FINISHED READING: pos=" + pos 190 pos += amt; 192 if (avail > data.length-pos) { 193 byte[] newData = new byte[pos+avail]; 194 System.arraycopy(data, 0, newData, 0, pos); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | PathMeasure.java | 82 * @param pos If not null, eturns the sampled position (x==[0], y==[1]) 86 public boolean getPosTan(float distance, float pos[], float tan[]) { argument 87 if (pos != null && pos.length < 2 || 91 return native_getPosTan(native_instance, distance, pos, tan); 164 private static native boolean native_getPosTan(long native_instance, float distance, float pos[], float tan[]); argument
|
/frameworks/av/media/libstagefright/ |
H A D | VBRISeeker.cpp | 42 off64_t pos = post_id3_pos; local 45 ssize_t n = source->readAt(pos, header, sizeof(header)); 58 pos += sizeof(header) + 32; 61 n = source->readAt(pos, vbriHeader, sizeof(vbriHeader)); 89 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize); 151 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 159 *pos = mBasePos; 163 *pos += mSegments.itemAt(segmentIndex++); 166 ALOGV("getOffsetForTime %lld us => 0x%016llx", (long long)*timeUs, (long long)*pos);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupHelperDispatcher.java | 86 int pos = allocateHeader_native(header, newStateFD); 87 if (pos < 0) { 88 throw new IOException("allocateHeader_native failed (error " + pos + ")"); 96 // fill in the header (seeking back to pos). The file pointer will be returned to 98 err = writeHeader_native(header, newStateFD, pos); 113 int pos = rawKey.indexOf(':'); 114 if (pos > 0) { 115 String prefix = rawKey.substring(0, pos); 119 stream.key = rawKey.substring(pos+1); 146 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListConnector.java | 96 * Translates a flat list position to either a) group pos if the specified 97 * flat list position corresponds to a group, or b) child pos if it 99 * groups list to find the flat list pos if it is an exp group, otherwise 100 * finds where the flat list pos fits in between the exp groups. 121 * either), so flPos must be a group and its group pos will be the 172 * specified flat list pos to get the child's position within 216 * one, and then adds it to the prior group's group pos 232 * Subtracts this group's flat list pos from the group after's flat 235 * pos to get this group's pos 258 getFlattenedPos(final ExpandableListPosition pos) argument [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
H A D | mp3reader.cpp | 241 off64_t pos = *inout_pos; local 254 if (pos >= *inout_pos + kMaxBytesChecked) { 271 totalBytesRead = sourceReadAt(fp, pos + remainingBytes, 287 ++pos; 298 ++pos; 307 off64_t test_pos = pos + frame_size; 336 *inout_pos = pos; 343 ++pos; 362 off64_t pos = 0; 364 bool success = resync(mFp, 0 /*match_header*/, &pos, 398 off64_t pos = mCurrentPos; local [all...] |
/frameworks/base/core/java/android/net/nsd/ |
H A D | NsdServiceInfo.java | 131 int pos = 0; 132 while (pos < txtRecordsRawBytes.length) { 134 int recordLen = txtRecordsRawBytes[pos] & 0xff; 135 pos += 1; 140 } else if (pos + recordLen > txtRecordsRawBytes.length) { 141 Log.w(TAG, "Corrupt record length (pos = " + pos + "): " + recordLen); 142 recordLen = txtRecordsRawBytes.length - pos; 149 for (int i = pos; i < pos [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | SymbolCategory.cpp | 117 size_t pos = 0; local 120 pos = current->begin; 121 while (pos != current->end) { 122 if (m_OutputSymbols[pos] == &pSymbol) 124 ++pos; 130 if (current->end == pos || current->empty()) { 133 pos = current->begin; 134 while (pos != current->end) { 135 if (m_OutputSymbols[pos] == &pSymbol) { 139 ++pos; 201 size_t pos = m_pCommon->end - 1; local [all...] |
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/ |
H A D | ClearActivity.java | 102 final float pos[] = { 134 v[j*3+0] -= pos[i*3+0]; 135 v[j*3+1] -= pos[i*3+1]; 136 v[j*3+2] -= pos[i*3+2]; 152 gl.glTranslatef(pos[0], pos[1], pos[2]); 158 gl.glTranslatef(pos[3], pos[4], pos[ [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c4t64fx.c | 103 Word16 nb_pos_ix, /* (i) nb of pos for pulse 1 (1..8) */ 136 Word16 st, ix, iy, pos, index, track, nb_pulse, nbiter, j_temp; local 300 pos = 0; 311 pos = j; 314 dn2[pos] = (k - NB_MAX); /* dn2 < 0 when position is selected */ 317 pos_max[i] = pos; 412 pos = MSIZE - 1; 417 p3 = &rrixiy[2][pos]; 418 p2 = &rrixiy[1][pos]; 419 p1 = &rrixiy[0][pos]; 844 Word32 i, j, pos, corr; local 916 Word32 i, j, pos, corr; local 987 Word32 x, y, pos, thres_ix; local [all...] |