/frameworks/native/libs/binder/ |
H A D | Debug.cpp | 93 char* pos = out; local 132 if( fullContext ) *pos++ = '\''; 133 pos = appendcharornum(c[0], pos); 134 pos = appendcharornum(c[1], pos); 135 pos = appendcharornum(c[2], pos); 136 pos = appendcharornum(c[3], pos); 171 unsigned char *pos = (unsigned char *)buf; local [all...] |
/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/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | armVCM4P10_InterpolateHalfDiag_Luma.c | 70 OMX_S32 HalfCoeff, pos; local 87 pos = (y-2) * iSrcStep + x; 89 pSrc [pos - 2] - 90 5 * pSrc [pos - 1] + 91 20 * pSrc [pos] + 92 20 * pSrc [pos + 1] - 93 5 * pSrc [pos + 2] + 94 pSrc [pos + 3]; 104 pos = y * iWidth + x; 106 Buf [pos] [all...] |
H A D | armVCM4P10_InterpolateHalfHor_Luma.c | 69 OMX_S32 HalfCoeff, pos; local 79 pos = y * iSrcStep + x; 81 pSrc [pos - 2] - 82 5 * pSrc [pos - 1] + 83 20 * pSrc [pos] + 84 20 * pSrc [pos + 1] - 85 5 * pSrc [pos + 2] + 86 pSrc [pos + 3];
|
H A D | armVCM4P10_InterpolateHalfVer_Luma.c | 69 OMX_S32 HalfCoeff, pos; local 81 pos = y * iSrcStep + x; 83 pSrc [pos - 2 * iSrcStep] - 84 5 * pSrc [pos - 1 * iSrcStep] + 85 20 * pSrc [pos] + 86 20 * pSrc [pos + 1 * iSrcStep] - 87 5 * pSrc [pos + 2 * iSrcStep] + 88 pSrc [pos + 3 * iSrcStep];
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | InputTree.cpp | 57 bool mcld::isGroup(const InputTree::iterator& pos) argument 59 return !pos.hasData() && !pos.isRoot(); 62 bool mcld::isGroup(const InputTree::const_iterator& pos) argument 64 return !pos.hasData() && !pos.isRoot(); 67 bool mcld::isGroup(const InputTree::dfs_iterator& pos) argument 69 return !pos.hasData() && !pos.isRoot(); 72 bool mcld::isGroup(const InputTree::const_dfs_iterator& pos) argument 77 isGroup(const InputTree::bfs_iterator& pos) argument 82 isGroup(const InputTree::const_bfs_iterator& pos) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_acelp_4p_in_64.cpp | 123 void add_pulses(int16 pos[], int16 nb_pulse, int16 track, int16 code[]); 160 int16 k, pos[6]; local 173 dec_1p_N1(L_index, 4, 0, pos); 174 add_pulses(pos, 1, k, code); 182 dec_2p_2N1(L_index, 4, 0, pos); 183 add_pulses(pos, 2, k, code); 190 dec_3p_3N1(L_index, 4, 0, pos); 191 add_pulses(pos, 3, k, code); 196 dec_2p_2N1(L_index, 4, 0, pos); 197 add_pulses(pos, 246 add_pulses(int16 pos[], int16 nb_pulse, int16 track, int16 code[]) argument [all...] |
H A D | q_pulse.h | 66 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]); 67 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]); 68 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]); 69 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]); 70 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]); 71 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]); 72 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]);
|
H A D | dec_alg_codebook.cpp | 87 #define NB_POS 16 /* pos in track, mask for sign bit */ 118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 135 pos[0] = pos1; 145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 180 pos[0] = pos1; 181 pos[1] = pos2; 192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 213 dec_2p_2N1(idx, (int16)(N - 1), j, pos); 219 dec_1p_N1(idx, N, offset, pos + 2); 229 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 265 dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) argument 316 dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) argument 350 dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d2_11pf.cpp | 160 Word16 pos[NB_PULSE]; local 170 pos[0] = i * 5 + j * 2 + 1; 185 pos[1] = i * 5 + 4; 189 pos[1] = i * 5 + j; 210 * cod[pos[j]] = 8191; 214 * cod[pos[j]] = -8192; 218 cod[pos[j]] = i * 16383 - 8192;
|
H A D | d4_17pf.cpp | 46 the calculation of pos[2] incorrectly. The correct formula is pos2 =i*5+2, 185 Word16 pos[NB_PULSE]; local 203 pos[0] = i * 5; /* pos0 =i*5 */ 212 pos[1] = i * 5 + 1; /* pos1 =i*5+1 */ 222 pos[2] = i * 5 + 2; /* pos2 =i*5+2 */ 238 pos[3] = i * 5 + 3 + j; /* pos3 =i*5+3+j */ 257 * cod[pos[j]] = 8191; 261 * cod[pos[j]] = -8192; 265 cod[pos[j]] = i * 16383 - 8192;
|
H A D | d3_14pf.cpp | 165 Word16 pos[NB_PULSE]; local 171 pos[0] = i * 5; 185 pos[1] = i * 5 + j * 2 + 1; 199 pos[2] = i * 5 + j * 2 + 2; 218 * cod[pos[j]] = 8191; 222 * cod[pos[j]] = -8192; 226 cod[pos[j]] = i * 16383 - 8192;
|
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/compile/mclinker/unittests/ |
H A D | BinTreeTest.cpp | 50 BinaryTree<int>::iterator pos = m_pTestee->root(); local 51 m_pTestee->join<TreeIteratorBase::Rightward>(pos,0); 52 --pos; 53 m_pTestee->join<TreeIteratorBase::Rightward>(pos,1); 54 m_pTestee->join<TreeIteratorBase::Leftward>(pos,1); 55 --pos; 56 m_pTestee->join<TreeIteratorBase::Rightward>(pos,2); 57 m_pTestee->join<TreeIteratorBase::Leftward>(pos,2); 66 m_pTestee->merge<TreeIteratorBase::Rightward>(pos,*mergeTree); 74 BinaryTree<int>::iterator pos local 93 BinaryTree<int>::iterator pos = m_pTestee->root(); local 113 BinaryTree<int>::iterator pos = m_pTestee->root(); local 128 BinaryTree<int>::iterator pos = m_pTestee->root(); local 157 BinaryTree<int>::iterator pos = m_pTestee->root(); local 187 BinaryTree<int>::iterator pos = m_pTestee->root(); local 202 BinaryTree<int>::iterator pos = m_pTestee->root(); local 233 BinaryTree<int>::iterator pos = m_pTestee->root(); local 263 BinaryTree<int>::iterator pos = m_pTestee->root(); local 278 BinaryTree<int>::iterator pos = m_pTestee->root(); local [all...] |
/frameworks/base/tools/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...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | q_pulse.h | 31 Word16 pos, /* (i) position of the pulse */ 53 Word16 pos[], /* (i) position of the pulse 1..4 */ 57 Word16 pos[], /* (i) position of the pulse 1..5 */ 61 Word16 pos[], /* (i) position of the pulse 1..6 */
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | RenameClassAdapter.java | 47 int pos = mOldName.indexOf('$'); 48 if (pos > 0) { 49 mOldBase = mOldName.substring(0, pos); 51 pos = mNewName.indexOf('$'); 52 if (pos > 0) { 53 mNewBase = mNewName.substring(0, pos); 80 int pos = type.indexOf('$'); 81 if (pos == mOldBase.length() && type.startsWith(mOldBase)) { 82 return mNewBase + type.substring(pos);
|
H A D | RefactorClassAdapter.java | 39 int pos = oldClassName.indexOf('$'); 40 if (pos > 0) { 41 newName = mRefactorClasses.get(oldClassName.substring(0, pos)); 43 return newName + oldClassName.substring(pos);
|
/frameworks/base/core/java/android/widget/ |
H A D | AlphabetIndexer.java | 167 int pos; 173 if (Integer.MIN_VALUE != (pos = alphaMap.get(key, Integer.MIN_VALUE))) { 177 if (pos < 0) { 178 pos = -pos; 179 end = pos; 182 return pos; 198 pos = (end + start) / 2; 200 while (pos < end) { 201 // Get letter at pos [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | RoundRobinScheduler.java | 45 int pos = 0; 50 if (pos <= mLastPos) { 54 firstNdx = pos; 58 mLastPos = pos; 62 pos ++;
|
/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...] |
/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/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/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/base/services/core/java/com/android/server/wm/ |
H A D | Task.java | 44 for (int pos = 0; pos < lastPos && pos < addPos; ++pos) { 45 if (mAppTokens.get(pos).removed) {
|