/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/java/com/android/internal/util/ |
H A D | RingBufferIndices.java | 44 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 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/compat/java/android/support/v4/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/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 | 53 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 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;
|
/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/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/base/core/java/android/util/jar/ |
H A D | StrictJarManifestReader.java | 42 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 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);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | PageRangeUtils.java | 160 * 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 D | TimeUtils.java | 277 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 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/support/v7/recyclerview/src/android/support/v7/util/ |
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/base/core/java/android/security/net/config/ |
H A D | NetworkSecurityConfigProvider.java | 38 int pos = Security.insertProviderAt(new NetworkSecurityConfigProvider(), 1); 39 if (pos != 1) { 41 + " Provider was installed at position " + pos);
|