Searched refs:pos (Results 1 - 25 of 216) sorted by relevance

123456789

/frameworks/native/libs/utils/
H A DDebug.cpp107 char* pos = out; local
146 if( fullContext ) *pos++ = '\'';
147 pos = appendcharornum(c[0], pos);
148 pos = appendcharornum(c[1], pos);
149 pos = appendcharornum(c[2], pos);
150 pos = appendcharornum(c[3], pos);
185 unsigned char *pos = (unsigned char *)buf; local
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DTimeUtils.java51 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 DarmVCM4P10_InterpolateHalfDiag_Luma.c55 OMX_S32 HalfCoeff, pos; local
72 pos = (y-2) * iSrcStep + x;
74 pSrc [pos - 2] -
75 5 * pSrc [pos - 1] +
76 20 * pSrc [pos] +
77 20 * pSrc [pos + 1] -
78 5 * pSrc [pos + 2] +
79 pSrc [pos + 3];
89 pos = y * iWidth + x;
91 Buf [pos]
[all...]
H A DarmVCM4P10_InterpolateHalfHor_Luma.c54 OMX_S32 HalfCoeff, pos; local
64 pos = y * iSrcStep + x;
66 pSrc [pos - 2] -
67 5 * pSrc [pos - 1] +
68 20 * pSrc [pos] +
69 20 * pSrc [pos + 1] -
70 5 * pSrc [pos + 2] +
71 pSrc [pos + 3];
H A DarmVCM4P10_InterpolateHalfVer_Luma.c54 OMX_S32 HalfCoeff, pos; local
66 pos = y * iSrcStep + x;
68 pSrc [pos - 2 * iSrcStep] -
69 5 * pSrc [pos - 1 * iSrcStep] +
70 20 * pSrc [pos] +
71 20 * pSrc [pos + 1 * iSrcStep] -
72 5 * pSrc [pos + 2 * iSrcStep] +
73 pSrc [pos + 3 * iSrcStep];
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_acelp_4p_in_64.cpp123 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 Dq_pulse.h66 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 Ddec_alg_codebook.cpp87 #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/compile/mclinker/unittests/
H A DBinTreeTest.cpp50 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
158 BinaryTree<int>::iterator pos = m_pTestee->root(); local
188 BinaryTree<int>::iterator pos = m_pTestee->root(); local
203 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
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd2_11pf.cpp160 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 Dd4_17pf.cpp46 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 Dd3_14pf.cpp165 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 Dd2_9pf.cpp187 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/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java124 * <var>pos</var> can be anything, even &lt; 0 or &gt; > 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 Dq_pulse.h31 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/core/java/android/widget/
H A DAlphabetIndexer.java167 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 DRoundRobinScheduler.java45 int pos = 0;
50 if (pos <= mLastPos) {
54 firstNdx = pos;
58 mLastPos = pos;
62 pos ++;
/frameworks/base/core/java/android/util/
H A DTimeUtils.java266 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 Din_memory_wrapper_input.cpp53 bool InMemoryWrapperInput::Seek(uint32_t pos) { argument
54 if (pos < _size) {
55 _pos = pos;
/frameworks/compile/mclinker/lib/MC/
H A DInputTree.cpp78 bool mcld::isGroup(const InputTree::iterator& pos) argument
80 return !pos.hasData();
83 bool mcld::isGroup(const InputTree::const_iterator& pos) argument
85 return !pos.hasData();
88 bool mcld::isGroup(const InputTree::dfs_iterator& pos) argument
90 return !pos.hasData();
93 bool mcld::isGroup(const InputTree::const_dfs_iterator& pos) argument
95 return !pos.hasData();
98 bool mcld::isGroup(const InputTree::bfs_iterator& pos) argument
100 return !pos
103 isGroup(const InputTree::const_bfs_iterator& pos) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java65 int pos = mPos;
66 if (pos >= (BUFFER_LEN-1)) {
68 pos = mPos;
70 mText[pos] = c;
71 mPos = pos+1;
84 int pos = mPos;
85 if ((pos+length) > BUFFER_LEN) {
87 pos = mPos;
89 str.getChars(i, i+length, mText, pos);
90 mPos = pos
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dset_sign.cpp178 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 Dring_buffer.cc102 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/graphics/java/android/graphics/
H A DPathMeasure.java82 * @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/support/volley/src/com/android/volley/toolbox/
H A DByteArrayPool.java115 int pos = Collections.binarySearch(mBuffersBySize, buf, BUF_COMPARATOR);
116 if (pos < 0) {
117 pos = -pos - 1;
119 mBuffersBySize.add(pos, buf);

Completed in 231 milliseconds

123456789