/frameworks/compile/slang/ |
H A D | slang_rs_reflection_base.cpp | 109 size_t pos = s.rfind(".rs"); local 110 if(pos != string::npos) { 112 tmp.erase(pos);
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | TimeUtils.java | 51 static private int printField(char[] formatStr, int amt, char suffix, int pos, argument 54 final int startPos = pos; 57 formatStr[pos] = (char)(dig + '0'); 58 pos++; 61 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { 63 formatStr[pos] = (char)(dig + '0'); 64 pos++; 67 formatStr[pos] = (char)(amt + '0'); 68 pos++; 69 formatStr[pos] [all...] |
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 148 size_t pos = mData->dataPosition(); local 159 mData->setDataPosition(pos + size);
|
/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);
|
H A D | XINGSeeker.cpp | 46 bool XINGSeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 73 *pos = (int)((1.0f/256.0f)*fx*mSizeBytes) + mFirstFramePos;
|
/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...] |
H A D | c3_14pf.cpp | 389 Word16 pos; local 586 pos = ipos[2]; 589 ipos[0] = pos; 706 /* index = pos/5 */ 710 /* track = pos%5 */
|
H A D | c4_17pf.cpp | 403 Word16 pos; local 653 pos = ipos[3]; 657 ipos[0] = pos; 778 /* index = pos/5 */ 782 /* track = pos%5 */
|
H A D | s10_8pf.cpp | 191 Word16 i, j, k, pos, ia, ib; 520 pos = ipos[1]; 525 ipos[sub(nbPulse,1)] = pos; 570 Word16 pos, ia, ib; local 982 pos = ipos[1]; 987 ipos[nbPulse-1] = pos;
|
/frameworks/base/core/java/android/text/ |
H A D | MeasuredText.java | 85 void setPos(int pos) { argument 86 mPos = pos - mTextStart;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathMeasure.cpp | 79 static jboolean getPosTan(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat dist, jfloatArray pos, jfloatArray tan) { argument 81 SkScalar* posPtr = pos ? tmpPos : NULL; 88 if (pos) { 89 convertTwoElemFloatArray(env, pos, tmpPos);
|
/frameworks/base/core/jni/ |
H A D | android_backup_BackupHelperDispatcher.cpp | 145 int pos; local 160 pos = lseek(fd, 0, SEEK_CUR); 164 return pos; 168 writeHeader_native(JNIEnv* env, jobject clazz, jobject headerObj, jobject fdObj, jint pos) argument 186 header.dataSize = prevPos - (pos + header.headerSize); 188 lseek(fd, pos, SEEK_SET);
|
/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); 144 private static native boolean native_getPosTan(int native_instance, float distance, float pos[], float tan[]); argument
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SymbolCategory.cpp | 130 size_t pos = current->begin; local 131 while (pos != current->end) { 132 if (m_OutputSymbols[pos] == &pSymbol) 134 ++pos; 137 assert(current->end != pos); 150 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]); 151 pos = rear; 171 std::swap(m_OutputSymbols[current->begin], m_OutputSymbols[pos]); 172 pos = current->begin;
|
/frameworks/ex/variablespeed/jni/ |
H A D | ring_buffer.cc | 102 int pos = Tell(reader) % size_; local 103 if (pos + num_frames <= size_) { 104 memcpy(destination, samples_ + pos * num_channels_, 107 int wrapped = size_ - pos; 108 memcpy(destination, samples_ + pos * num_channels_, 117 int pos = Tell(reader) % size_; local 118 if (pos + num_frames <= size_) { 119 return samples_ + pos * num_channels_; 137 int pos = Tell(reader) % size_; local 138 if (pos [all...] |
/frameworks/rs/ |
H A D | rsStream.h | 66 void reset(uint64_t pos) { argument 67 mPos = pos; 139 void reset(uint64_t pos) { argument 140 mPos = pos;
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsStream.h | 66 void reset(uint64_t pos) { argument 67 mPos = pos; 139 void reset(uint64_t pos) { argument 140 mPos = pos;
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 197 SLmillisecond pos = audioPlayer->mSeek.mPos; local 198 if (SL_TIME_UNKNOWN != pos) { 201 if (pos > audioPlayer->mPlay.mDuration) { 202 pos = audioPlayer->mPlay.mDuration; 204 audioPlayer->mPlay.mLastSeekPosition = pos; 211 if (SL_TIME_UNKNOWN != pos) { 219 (void) sf_seek(audioPlayer->mSndFile.mSNDFILE, (sf_count_t) (((long long) pos *
|
/frameworks/wilhelm/src/itf/ |
H A D | IPlay.c | 225 SLmillisecond pos = audioPlayer->mSeek.mPos; local 226 if (SL_TIME_UNKNOWN != pos) { 227 position = pos;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c2t64fx.c | 56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; local 165 pos = MSIZE - 1; 171 p1 = &rrixiy[pos]; 196 pos -= NB_POS; 221 * 32 pos x 32 pos = 1024 tests (all combinaisons is tested) * 236 pos = -1; 247 pos = i1; 251 if (pos >= 0) 254 iy = pos; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | bitstream.cpp | 529 PV_STATUS movePointerTo(BitstreamDecVideo *stream, int32 pos) argument 532 if (pos < 0) 534 pos = 0; 537 byte_pos = pos >> 3; 551 PV_BitstreamFlushBits(stream, ((pos & 0x7) + ((byte_pos & 0x3) << 3))); 803 if (tmpvar & 1) // Check if the 17th bit from the curr bit pos is a '1' 892 if (tmpvar & 1) // Check if the 17th bit from the curr bit pos is a '1'
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | armVCM4P10_DeblockingLuma_unsafe_s.s | 65 pos RN 7 label 157 SEL pos, t1, m00 158 USUB8 neg, pos, t1 159 USUB8 t3, pos, tC 160 SEL pos, tC, pos 167 UQADD8 P0a, p_0, pos 168 UQSUB8 Q0a, q_0, pos
|
H A D | omxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s | 79 pos RN 5 label 278 SEL pos, t1, m00 279 USUB8 neg, pos, t1 280 USUB8 t3, pos, tC 281 SEL pos, tC, pos 284 UQADD8 P_0, p_0, pos 285 UQSUB8 Q_0, q_0, pos
|
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 267 public native long seekTo(long pos); argument
|
/frameworks/base/core/java/android/util/ |
H A D | TimeUtils.java | 266 static private int printField(char[] formatStr, int amt, char suffix, int pos, argument 269 final int startPos = pos; 272 formatStr[pos] = (char)(dig + '0'); 273 pos++; 276 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { 278 formatStr[pos] = (char)(dig + '0'); 279 pos++; 282 formatStr[pos] = (char)(amt + '0'); 283 pos++; 284 formatStr[pos] [all...] |