/external/dropbear/libtomcrypt/src/hashes/chc/ |
chc.c | 44 int err, kl, idx; local 68 if ((err = hash_is_valid(idx = find_hash("chc_hash"))) != CRYPT_OK) { 73 hash_descriptor[idx].hashsize = 74 hash_descriptor[idx].blocksize = cipher_descriptor[cipher].block_length; 76 /* store the idx and block size */ 266 int x, oldhashidx, idx; local 271 if ((idx = find_cipher("aes")) == -1) { 272 if ((idx = find_cipher("rijndael")) == -1) { 277 chc_register(idx);
|
/external/freetype/src/sfnt/ |
ttpost.c | 207 FT_Int idx; local 210 idx = glyph_indices[n]; 211 if ( idx >= 258 ) 213 idx -= 257; 214 if ( idx > num_names ) 215 num_names = (FT_UShort)idx; 305 FT_Long idx = (FT_Long)n + offset_table[n]; local 308 if ( idx < 0 || idx > num_glyphs ) 423 /* idx :: The glyph index. * [all...] |
/external/icu4c/test/cintltst/ |
stdnmtst.c | 175 int32_t idx, len, repeatTimes = 3; local 191 for (idx = 0; idx < enumCount; idx++) { 193 testName = expected[idx]; 195 || len != (int32_t)uprv_strlen(expected[idx])) 198 idx, enumName, testName, len, u_errorName(err)); 226 int32_t idx, repeatTimes = 3; local 243 for (idx = 0; idx < enumCount; idx++) [all...] |
/external/iproute2/tc/ |
m_mirred.c | 148 int idx; local 151 if ((idx = ll_name_to_index(d)) == 0) { 156 p.ifindex = idx;
|
tc_qdisc.c | 178 int idx; local 182 if ((idx = ll_name_to_index(d)) == 0) { 186 req.t.tcm_ifindex = idx;
|
/external/jdiff/src/jdiff/ |
ClassDiff.java | 100 int idx = Collections.binarySearch(newClass.implements_, oldInterface); local 101 if (idx < 0) { 113 int idx = Collections.binarySearch(oldClass.implements_, newInterface); local 114 if (idx < 0) {
|
/external/openssl/crypto/x509/ |
x509_trs.c | 115 int idx; local 117 idx = X509_TRUST_get_by_id(id); 118 if(idx == -1) return default_trust(id, x, flags); 119 pt = X509_TRUST_get0(idx); 129 X509_TRUST * X509_TRUST_get0(int idx) 131 if(idx < 0) return NULL; 132 if(idx < (int)X509_TRUST_COUNT) return trstandard + idx; 133 return sk_X509_TRUST_value(trtable, idx - X509_TRUST_COUNT); 139 int idx; local 162 int idx; local [all...] |
/external/openssl/crypto/x509v3/ |
v3_lib.c | 101 int idx; local 107 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp); 108 if(idx == -1) return NULL; 109 return sk_X509V3_EXT_METHOD_value(ext_list, idx); 180 * The "idx" variable returns the last found extension and can 183 * due to a badly encoded certificate so if idx is NULL we 194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) 199 if(idx) *idx = -1; 203 if(idx) lastpos = *idx + 1 [all...] |
/external/ppp/pppd/ |
srp-entry.c | 102 int flags, idx; local 113 idx = -1; 117 idx = atoi(*argv++); 121 if (idx != 0 && (tc = t_openconf(NULL)) != NULL) { 122 if (idx == -1) 125 tcent = t_getconfbyindex(tc, idx); 127 if (idx <= 0 && tcent == NULL) { 137 idx);
|
/frameworks/base/core/jni/ |
android_util_StringBlock.cpp | 83 jint token, jint idx) 92 const char* str8 = osb->string8At(idx, &len); 97 const char16_t* str = osb->stringAt(idx, &len); 107 jint token, jint idx) 115 const ResStringPool_span* spans = osb->styleAt(idx); 162 ssize_t idx = osb->indexOfString(str16, strLen); local 166 return idx;
|
/frameworks/base/libs/rs/java/Film/res/raw/ |
filmimage.c | 16 int dx, dy, idx; local 47 idx = newPart * 5 + 1; 48 storeI32(con, 2, idx, dx); 49 storeI32(con, 2, idx + 1, dy); 50 storeI32(con, 2, idx + 2, maxLife); 51 storeI32(con, 2, idx + 3, x << 16); 52 storeI32(con, 2, idx + 4, y << 16);
|
/frameworks/base/opengl/java/android/opengl/ |
Texture.java | 61 int idx = 0; local 62 while (idx < nbytes) { 63 int nread = is.read(arr, idx, nbytes - idx); 64 idx += nread;
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/ |
Handler.java | 76 int idx = file.indexOf('!'); local 77 String tmpFile = file.substring(idx + 1, file.lastIndexOf('/') + 1) 80 file = file.substring(0, idx + 1) + tmpFile;
|
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
PlatformAddressFactory.java | 81 int idx = value >> 5; local 83 PlatformAddress cachedObj = cache[(idx + probe) & CACHE_MASK]; 85 return cache[(idx + probe) & CACHE_MASK] = 93 return cache[(idx + replacementIndex) & CACHE_MASK] =
|
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
EncodingInfo.java | 218 final int idx = codePoint - m_explFirst; local 221 if (m_alreadyKnown[idx]) 222 ret = m_isInEncoding[idx]; 227 m_alreadyKnown[idx] = true; 228 m_isInEncoding[idx] = ret; 265 final int idx = codePoint - m_explFirst; local 268 if (m_alreadyKnown[idx]) 269 ret = m_isInEncoding[idx]; 274 m_alreadyKnown[idx] = true; 275 m_isInEncoding[idx] = ret 382 final int idx = unicode - m_explFirst; local [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_BitSet.java | 188 int idx = bits.length - 1; local 189 while (idx >= 0 && bits[idx] == 0) { 190 --idx; 192 if (idx == -1) { 196 long val = bits[idx]; 200 return idx * ELM_SIZE + i + 1;
|
/system/extras/ext4_utils/ |
extent.c | 115 struct ext4_extent_idx *idx = local 117 idx->ei_block = 0; 118 idx->ei_leaf_lo = extent_block; 119 idx->ei_leaf_hi = 0; 120 idx->ei_unused = 0;
|
/development/tools/zoneinfo/ |
ZoneCompactor.java | 30 // <produces zoneinfo.dat and zoneinfo.idx> 129 File idxFile = new File("zoneinfo.idx"); 131 FileOutputStream idx = new FileOutputStream(idxFile); local 148 idx.write(znameBuf); 149 writeInt(idx, starts.get(zname).intValue()); 150 writeInt(idx, lengths.get(zname).intValue()); 151 writeInt(idx, offsets.get(zname).intValue()); 153 idx.close();
|
/build/tools/soslim/ |
soslim.c | 51 size_t idx; /* general-purporse section index */ local 142 shdr_info[cnt].idx = 1; 226 shdr_info[cnt].idx = 0; 233 shdr_info[cnt].idx = 0; 240 shdr_info[shdr_info[cnt].shdr.sh_link].idx = 0; 254 shdr_info[0].idx = 2; 266 if (shdr_info[cnt].idx == 0) { 273 && shdr_info[shdr_info[cnt].shdr.sh_info].idx != 0) { 280 if (shdr_info[cnt].idx == 1) { 362 if (shdr_info[scnidx].idx == 0 [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RadialGradientTest.java | 81 int idx; local 83 for (idx = 0; idx < positions.length; idx++) { 84 if (positions[idx] > dist) { 88 if (idx == 0) { 91 } else if (idx == positions.length) { 96 int i1 = idx - 1; // index of next lower color and position 97 int i2 = idx; // index of next higher color and position
|
/dalvik/dx/src/com/android/dx/cf/code/ |
ExecutionStack.java | 78 String idx = (i == limit) ? "top0" : Hex.u2(limit - i); local 80 ex.addContext("stack[" + idx + "]: " + 246 int idx = stackPtr - n - 1; local 247 TypeBearer orig = stack[idx]; 256 stack[idx] = type;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
StringIdsSection.java | 203 int idx = 0; local 206 s.setIndex(idx); 207 idx++;
|
TypeListItem.java | 101 int idx = typeIds.indexOf(one); local 103 " " + Hex.u2(idx) + " // " + one.toHuman());
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
Main.java | 162 int idx; local 164 for (idx = 0; idx < args.length; idx++) { 165 String arg = args[idx]; 185 if (idx != args.length - 1) { 189 mInputFileName = args[idx];
|
/dalvik/vm/ |
Hash.h | 185 int idx; member in struct:HashIter 188 int i = pIter->idx +1; 195 pIter->idx = i; 199 pIter->idx = -1; 203 return (pIter->idx >= pIter->pHashTable->tableSize); 206 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize); 207 return pIter->pHashTable->pEntries[pIter->idx].data;
|