/frameworks/compile/mclinker/lib/MC/ |
H A D | MCLDFile.cpp | 40 size_t pos = pName.find_last_of(sys::fs::separator); local 41 if (std::string::npos == pos) 44 m_Name = pName.substr(pos + 1);
|
/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;
|
H A D | VBRISeeker.h | 34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
|
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
H A D | wrapper_input.h | 44 virtual bool Seek(uint32_t pos) = 0;
|
H A D | file_wrapper_input.h | 42 virtual bool Seek(uint32_t pos);
|
H A D | in_memory_wrapper_input.h | 42 virtual bool Seek(uint32_t pos);
|
/frameworks/base/core/java/android/util/ |
H A D | AtomicFile.java | 209 int pos = 0; 213 int amt = stream.read(data, pos, data.length-pos); 214 //Log.i("foo", "Read " + amt + " bytes at " + pos 217 //Log.i("foo", "**** FINISHED READING: pos=" + pos 221 pos += amt; 223 if (avail > data.length-pos) { 224 byte[] newData = new byte[pos+avail]; 225 System.arraycopy(data, 0, newData, 0, pos); [all...] |
H A D | SparseBooleanArray.java | 203 int pos = mSize; 204 if (pos >= mKeys.length) { 205 int n = ArrayUtils.idealIntArraySize(pos + 1); 218 mKeys[pos] = key; 219 mValues[pos] = value; 220 mSize = pos + 1;
|
H A D | SparseIntArray.java | 214 int pos = mSize; 215 if (pos >= mKeys.length) { 216 int n = ArrayUtils.idealIntArraySize(pos + 1); 229 mKeys[pos] = key; 230 mValues[pos] = value; 231 mSize = pos + 1;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AtomicFile.java | 144 int pos = 0; 148 int amt = stream.read(data, pos, data.length-pos); 149 //Log.i("foo", "Read " + amt + " bytes at " + pos 152 //Log.i("foo", "**** FINISHED READING: pos=" + pos 156 pos += amt; 158 if (avail > data.length-pos) { 159 byte[] newData = new byte[pos+avail]; 160 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/av/media/libstagefright/ |
H A D | VBRISeeker.cpp | 39 off64_t pos = post_id3_pos; local 42 ssize_t n = source->readAt(pos, header, sizeof(header)); 55 pos += sizeof(header) + 32; 58 n = source->readAt(pos, vbriHeader, sizeof(vbriHeader)); 86 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize); 148 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 156 *pos = mBasePos; 160 *pos += mSegments.itemAt(segmentIndex++); 163 ALOGV("getOffsetForTime %lld us => 0x%08lx", *timeUs, *pos);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupHelperDispatcher.java | 87 int pos = allocateHeader_native(header, newStateFD); 88 if (pos < 0) { 89 throw new IOException("allocateHeader_native failed (error " + pos + ")"); 97 // fill in the header (seeking back to pos). The file pointer will be returned to 99 err = writeHeader_native(header, newStateFD, pos); 114 int pos = rawKey.indexOf(':'); 115 if (pos > 0) { 116 String prefix = rawKey.substring(0, pos); 120 stream.key = rawKey.substring(pos+1); 147 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...] |
H A D | ExpandableListView.java | 256 PositionMetadata pos; 289 pos = mConnector.getUnflattenedPos(childFlPos); 293 if (pos.position.type != lastItemType) { 294 if (pos.position.type == ExpandableListPosition.CHILD) { 307 lastItemType = pos.position.type; 322 indicator = getIndicator(pos); 329 pos.recycle(); 341 * @param pos The flat list position of the item whose indicator 345 private Drawable getIndicator(PositionMetadata pos) { argument 348 if (pos [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_EventLog.cpp | 99 size_t pos = 2; // Save room for type tag & array count local 105 if (pos + 1 + sizeof(jint) > max) break; 108 if (pos + 1 + sizeof(len) + len > max) len = max - pos - 1 - sizeof(len); 109 buf[pos++] = EVENT_TYPE_STRING; 110 memcpy(&buf[pos], &len, sizeof(len)); 111 memcpy(&buf[pos + sizeof(len)], str, len); 112 pos += sizeof(len) + len; 116 if (pos + 1 + sizeof(intVal) > max) break; 117 buf[pos [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]; 836 Word32 i, j, pos, corr; local 908 Word32 i, j, pos, corr; local 979 Word32 x, y, pos, thres_ix; local [all...] |
H A D | decim54.c | 96 Word32 i, j, frac, pos; local 100 pos = 0; /* position is in Q2 -> 1/4 resolution */ 103 i = (pos >> 2); /* integer part */ 104 frac = pos & 3; /* fractional part */ 141 pos += FAC5; /* pos + 5/4 */
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Utils.cpp | 23 off64_t pos = fAsset->seek(0, SEEK_SET); local 24 if (pos == (off64_t)-1) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | MipmapDrawable.java | 243 int pos = addChild(drawable); 248 while (pos > 0) { 249 final Drawable previousDrawable = mDrawables[pos-1]; 253 mDrawables[pos] = previousDrawable; 254 mMipmapHeights[pos] = previousIntrinsicHeight; 256 mDrawables[pos-1] = drawable; 257 mMipmapHeights[pos-1] = drawableHeight; 258 pos--;
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | file_wrapper_input.cpp | 62 bool FileWrapperInput::Seek(uint32_t pos) { argument 63 return 0 == fseek(_file, (long) pos, SEEK_SET);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
H A D | cor_h_vec_opt.s | 44 @r0 --- h[], r1 --- vec[], r2 --- pos 49 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos] 51 RSB r11, r2, #62 @j=62-pos 71 ADD r9, r3, r2, LSL #1 @address of sign[pos] 73 LDRSH r10, [r9], #2 @sign[pos] 74 LDRSH r11, [r9] @sign[pos + 1] 94 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos] 96 RSB r11, r2, #62 @j=62-pos 118 ADD r9, r3, r2, LSL #1 @address of sign[pos] 120 LDRSH r10, [r9], #2 @sign[pos] [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
H A D | cor_h_vec_neon.s | 44 @r0 --- h[], r1 --- vec[], r2 --- pos 50 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos] 52 RSB r11, r2, #62 @j=62-pos 72 ADD r9, r3, r2, LSL #1 @address of sign[pos] 74 LDRSH r10, [r9], #2 @sign[pos] 75 LDRSH r11, [r9] @sign[pos + 1] 95 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos] 97 RSB r11, r2, #62 @j=62-pos 119 ADD r9, r3, r2, LSL #1 @address of sign[pos] 121 LDRSH r10, [r9], #2 @sign[pos] [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.h | 114 status_t addPublic(const SourcePos& pos, 120 status_t addEntry(const SourcePos& pos, 131 status_t startBag(const SourcePos& pos, 141 status_t addBag(const SourcePos& pos, 178 void canAddEntry(const SourcePos& pos, 253 void setCurrentXmlPos(const SourcePos& pos) { mCurrentXmlPos = pos; } argument 259 Item(const SourcePos& pos, 294 Entry(const String16& name, const SourcePos& pos) argument 296 mItemFormat(ResTable_map::TYPE_ANY), mNameIndex(-1), mPos(pos) 364 ConfigList(const String16& name, const SourcePos& pos) argument 383 setPublicSourcePos(const SourcePos& pos) argument 405 Public(const SourcePos& pos, const String16& _comment, uint32_t _ident) argument 428 Type(const String16& name, const SourcePos& pos) argument [all...] |