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

1234567891011>>

/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAndroidDistinguishedNameParser.java35 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/java/com/android/internal/util/
H A DRingBufferIndices.java44 final int pos = mSize;
46 return pos;
48 int pos = mStart;
53 return pos;
75 public int indexOf(int pos) { argument
76 int index = mStart + pos;
/frameworks/native/libs/binder/
H A DDebug.cpp93 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 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.c70 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 DarmVCM4P10_InterpolateHalfHor_Luma.c69 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 DarmVCM4P10_InterpolateHalfVer_Luma.c69 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 DInputTree.cpp53 bool isGroup(const InputTree::iterator& pos) { argument
54 return !pos.hasData() && !pos.isRoot();
57 bool isGroup(const InputTree::const_iterator& pos) { argument
58 return !pos.hasData() && !pos.isRoot();
61 bool isGroup(const InputTree::dfs_iterator& pos) { argument
62 return !pos.hasData() && !pos.isRoot();
65 bool isGroup(const InputTree::const_dfs_iterator& pos) { argument
69 isGroup(const InputTree::bfs_iterator& pos) argument
73 isGroup(const InputTree::const_bfs_iterator& pos) argument
[all...]
/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/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;
/frameworks/compile/mclinker/unittests/
H A DBinTreeTest.cpp43 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/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/base/core/java/android/util/jar/
H A DStrictJarManifestReader.java42 private int pos; field in class:StrictJarManifestReader
55 this.endOfMainSection = pos;
59 int mark = pos;
85 chunks.put(entryNameValue, new StrictJarManifest.Chunk(mark, pos));
86 mark = pos;
115 int mark = pos;
117 while (pos < buf.length) {
118 if (buf[pos++] != ':') {
122 String nameString = new String(buf, mark, pos - mark - 1, StandardCharsets.US_ASCII);
124 if (buf[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/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DRenameClassAdapter.java47 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);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DPageRangeUtils.java160 * Return the next position after {@code pos} that is not a space character.
163 * @param pos The starting position
167 private static int readWhiteSpace(CharSequence s, int pos) { argument
168 while (pos < s.length() && s.charAt(pos) == ' ') {
169 pos++;
172 return pos;
179 * @param pos The starting position
183 private static Pair<Integer, Integer> readNumber(CharSequence s, int pos) { argument
185 while (pos <
216 readChar(CharSequence s, int pos, char expectedChar) argument
234 readRange(CharSequence s, int pos, int maxPageNumber) argument
[all...]
/frameworks/base/core/java/android/util/
H A DTimeUtils.java277 static private int printFieldLocked(char[] formatStr, int amt, char suffix, int pos, argument
280 final int startPos = pos;
291 formatStr[pos] = sTmpFormatStr[tmp];
292 pos++;
298 formatStr[pos] = (char)(dig + '0');
299 pos++;
302 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) {
304 formatStr[pos] = (char)(dig + '0');
305 pos++;
308 formatStr[pos]
[all...]
/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/support/v7/recyclerview/src/android/support/v7/util/
H A DTileList.java39 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/base/core/java/android/security/net/config/
H A DNetworkSecurityConfigProvider.java38 int pos = Security.insertProviderAt(new NetworkSecurityConfigProvider(), 1);
39 if (pos != 1) {
41 + " Provider was installed at position " + pos);

Completed in 2536 milliseconds

1234567891011>>