/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
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 */
|
H A D | q_pulse.c | 29 #define NB_POS 16 /* pos in track, mask for sign bit */ 32 Word16 pos, /* (i) position of the pulse */ 42 index = L_deposit_l((Word16) (pos & mask)); 43 if ((pos & NB_POS) != 0) 188 Word16 pos[], /* (i) position of the pulse 1..4 */ 203 if ((pos[k] & nb_pos) == 0) 205 posA[i++] = pos[k]; 208 posB[j++] = pos[k]; 254 Word16 pos[], /* (i) position of the pulse 1..5 */ 268 if ((pos[ 31 quant_1p_N1( Word16 pos, Word16 N) argument 187 quant_4p_4N( Word16 pos[], Word16 N) argument 253 quant_5p_5N( Word16 pos[], Word16 N) argument 327 quant_6p_6N_2( Word16 pos[], Word16 N) argument [all...] |
/frameworks/base/cmds/statsd/tests/ |
H A D | UidMap_test.cpp | 166 size_t pos = 0; local 170 std::memcpy(&((bytes)[pos]), iter.readBuffer(), toRead); 171 pos += toRead;
|
/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/org/apache/http/conn/ssl/ |
H A D | AndroidDistinguishedNameParser.java | 35 private int pos; field in class:AndroidDistinguishedNameParser 57 for (; pos < length && chars[pos] == ' '; pos++) { 59 if (pos == length) { 64 beg = pos; 67 pos++; 68 for (; pos < length && chars[pos] != '=' && chars[pos] ! [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_StringBlock.cpp | 112 const ResStringPool_span* pos = spans; local 114 while (pos->name.index != ResStringPool_span::END) { 116 pos++;
|
/frameworks/base/libs/hwui/ |
H A D | ProfileData.cpp | 123 int pos = percentile * mTotalFrameCount / 100; local 124 int remaining = mTotalFrameCount - pos;
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
H A D | TaperedPathStroke.java | 28 static float[] pos = {0,0}; field in class:TaperedPathStroke 48 pm.getPosTan(t, pos, tan); 50 c.drawCircle(pos[0], pos[1], r, pt);
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | Decoder.java | 93 public DecoderException(byte seen, int pos) { argument 94 super(String.format("Unexpected byte %c seen at position %d", (char)seen, pos));
|
/frameworks/base/tools/bit/ |
H A D | adb.cpp | 132 int pos = 0; local 133 while (size - pos > 0) { 134 ssize_t amt = read(fd, buf+pos, size-pos); 147 pos += amt;
|
/frameworks/compile/mclinker/unittests/ |
H A D | BinTreeTest.cpp | 43 BinaryTree<int>::iterator pos = m_pTestee->root(); local 44 m_pTestee->join<TreeIteratorBase::Rightward>(pos, 0); 45 --pos; 46 m_pTestee->join<TreeIteratorBase::Rightward>(pos, 1); 47 m_pTestee->join<TreeIteratorBase::Leftward>(pos, 1); 48 --pos; 49 m_pTestee->join<TreeIteratorBase::Rightward>(pos, 2); 50 m_pTestee->join<TreeIteratorBase::Leftward>(pos, 2); 59 m_pTestee->merge<TreeIteratorBase::Rightward>(pos, *mergeTree); 66 BinaryTree<int>::iterator pos local 84 BinaryTree<int>::iterator pos = m_pTestee->root(); local 103 BinaryTree<int>::iterator pos = m_pTestee->root(); local 117 BinaryTree<int>::iterator pos = m_pTestee->root(); local 145 BinaryTree<int>::iterator pos = m_pTestee->root(); local 173 BinaryTree<int>::iterator pos = m_pTestee->root(); local 187 BinaryTree<int>::iterator pos = m_pTestee->root(); local 217 BinaryTree<int>::iterator pos = m_pTestee->root(); local 245 BinaryTree<int>::iterator pos = m_pTestee->root(); local 259 BinaryTree<int>::iterator pos = m_pTestee->root(); local [all...] |
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
H A D | VtsHalSensorManagerV1_0TargetTest.cpp | 75 size_t pos; local 76 for (iter = begin, pos = 0; iter != end; ++iter, ++pos) { 82 return ::testing::AssertionFailure() << "Not an increasing sequence, pos = " 83 << pos << ", " << getField(*iter) << " < " << getField(*lastValue);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Gradient_Delegate.java | 124 * <var>pos</var> can be anything, even < 0 or > > 1, as the gradient 127 protected int getGradientColor(float pos) { argument 128 if (pos < 0.f) { 132 pos = 0.f; 137 pos = pos - (float)Math.floor(pos); 142 pos = Math.abs(pos); 145 int intPart = (int)Math.floor(pos); [all...] |
H A D | PathMeasure_Delegate.java | 80 /*package*/ static boolean native_getPosTan(long native_instance, float distance, float pos[], argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/ |
H A D | BridgeBufferIterator.java | 43 public int pos() { method in class:BridgeBufferIterator
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | array_wrapper.h | 93 reference operator[](size_type pos) { return buffer_[pos]; } argument 94 const_reference operator[](size_type pos) const { return buffer_[pos]; }
|
/frameworks/support/compat/src/main/java/androidx/core/util/ |
H A D | TimeUtils.java | 56 static private int printField(char[] formatStr, int amt, char suffix, int pos, argument 59 final int startPos = pos; 62 formatStr[pos] = (char)(dig + '0'); 63 pos++; 66 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { 68 formatStr[pos] = (char)(dig + '0'); 69 pos++; 72 formatStr[pos] = (char)(amt + '0'); 73 pos++; 74 formatStr[pos] [all...] |
/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ |
H A D | AppNavHomeActivity.java | 45 protected void onListItemClick(ListView lv, View v, int pos, long id) { argument 46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos);
|
/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ |
H A D | AppNavHomeActivity.java | 45 protected void onListItemClick(ListView lv, View v, int pos, long id) { argument 46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos);
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | TileList.java | 39 public T getItemAt(int pos) { argument 40 if (mLastAccessedTile == null || !mLastAccessedTile.containsPosition(pos)) { 41 final int startPosition = pos - (pos % mTileSize); 48 return mLastAccessedTile.getByPosition(pos); 97 boolean containsPosition(int pos) { argument 98 return mStartPosition <= pos && pos < mStartPosition + mItemCount; 101 T getByPosition(int pos) { argument 102 return mItems[pos [all...] |
/frameworks/av/include/media/ |
H A D | RingBuffer.h | 49 iterator(T* ptr, size_t size, size_t pos, size_t ctr); 75 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr); 177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : argument 178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {} 221 RingBuffer<T>::const_iterator::const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr) : argument 222 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {} 332 size_t pos = (index >= mFrontIdx) ? local 334 return mBuffer[pos]; 341 size_t pos = (index >= mFrontIdx) ? local 343 return mBuffer[pos]; [all...] |
/frameworks/av/media/extractors/mp3/ |
H A D | VBRISeeker.cpp | 41 off64_t pos = post_id3_pos; local 44 ssize_t n = source->readAt(pos, header, sizeof(header)); 57 pos += sizeof(header) + 32; 60 n = source->readAt(pos, vbriHeader, sizeof(vbriHeader)); 104 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize); 165 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 173 *pos = mBasePos; 177 *pos += mSegments.itemAt(segmentIndex++); 180 ALOGV("getOffsetForTime %lld us => 0x%016llx", (long long)*timeUs, (long long)*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/libaaudio/tests/ |
H A D | test_marshalling.cpp | 39 size_t pos = parcel.dataPosition(); local 42 parcel.setDataPosition(pos); 65 size_t pos = parcel.dataPosition(); local 68 parcel.setDataPosition(pos); 99 size_t pos = parcel.dataPosition(); local 102 parcel.setDataPosition(pos); 149 size_t pos = parcel.dataPosition(); local 153 parcel.setDataPosition(pos);
|
/frameworks/av/media/libmedia/ |
H A D | Metadata.cpp | 148 size_t pos = mData->dataPosition(); local 159 mData->setDataPosition(pos + size);
|