Searched refs:pos (Results 26 - 50 of 216) sorted by relevance

123456789

/frameworks/compile/mclinker/lib/MC/
H A DMCLDFile.cpp40 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 DMP3Seeker.h32 // 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 DVBRISeeker.h34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A Dwrapper_input.h44 virtual bool Seek(uint32_t pos) = 0;
H A Dfile_wrapper_input.h42 virtual bool Seek(uint32_t pos);
H A Din_memory_wrapper_input.h42 virtual bool Seek(uint32_t pos);
/frameworks/base/core/java/android/util/
H A DAtomicFile.java209 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 DSparseBooleanArray.java203 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 DSparseIntArray.java214 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 DAtomicFile.java144 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 DAtomicFile.java178 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 DVBRISeeker.cpp39 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 DBackupHelperDispatcher.java87 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 DExpandableListConnector.java96 * 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 DExpandableListView.java256 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 Dandroid_util_EventLog.cpp99 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 DClearActivity.java102 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 Dc4t64fx.c103 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 Ddecim54.c96 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 DUtils.cpp23 off64_t pos = fAsset->seek(0, SEEK_SET); local
24 if (pos == (off64_t)-1) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DMipmapDrawable.java243 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 Dfile_wrapper_input.cpp62 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 Dcor_h_vec_opt.s44 @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 Dcor_h_vec_neon.s44 @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 DResourceTable.h114 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...]

Completed in 320 milliseconds

123456789