/frameworks/base/tools/aapt/ |
StringPool.cpp | 60 ssize_t idx = mIdents.valueFor(ident); local 61 if (idx >= 0) { 63 String8(mEntries[idx].value).string()); 109 status_t StringPool::addStyleSpan(size_t idx, const String16& name, 116 return addStyleSpan(idx, span); 119 status_t StringPool::addStyleSpans(size_t idx, const Vector<entry_style_span>& spans) 123 status_t err = addStyleSpan(idx, spans[i]); 131 status_t StringPool::addStyleSpan(size_t idx, const entry_style_span& span) 136 while (mEntryStyleArray.size() <= idx) { 140 entry_style& style = mEntryStyleArray.editItemAt(idx); 207 ssize_t idx = add(span.name, true); local [all...] |
/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();
|
/external/e2fsprogs/lib/ss/ |
help.c | 48 register int idx; local 83 for (fd = -1, idx = 0; info->info_dirs[idx] != (char *)NULL; idx++) { 84 buffer = malloc(strlen (info->info_dirs[idx]) + 1 + 91 (void) strcpy(buffer, info->info_dirs[idx]);
|
/external/openssl/crypto/objects/ |
obj_xref.c | 99 int idx = sk_nid_triple_find(sig_app, &tmp); local 100 if (idx >= 0) 101 rv = sk_nid_triple_value(sig_app, idx); 129 int idx = sk_nid_triple_find(sigx_app, &tmp); local 130 if (idx >= 0) 132 t = sk_nid_triple_value(sigx_app, idx);
|
/external/openssl/crypto/x509/ |
x509_ext.c | 99 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) 101 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx); 150 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) 152 return X509V3_get_d2i(x->cert_info->extensions, nid, crit, idx); 198 void *X509_REVOKED_get_ext_d2i(X509_REVOKED *x, int nid, int *crit, int *idx) 200 return X509V3_get_d2i(x->extensions, nid, crit, idx);
|
x509_vpm.c | 393 int idx; local 403 idx = sk_X509_VERIFY_PARAM_find(param_table, param); 404 if (idx != -1) 406 ptmp = sk_X509_VERIFY_PARAM_value(param_table, idx); 408 (void)sk_X509_VERIFY_PARAM_delete(param_table, idx); 418 int idx; local 424 idx = sk_X509_VERIFY_PARAM_find(param_table, &pm); 425 if (idx != -1) 426 return sk_X509_VERIFY_PARAM_value(param_table, idx);
|
/frameworks/base/opengl/java/android/opengl/ |
Group.java | 84 int idx = 0; local 86 byte b0 = indicesBytes[idx]; 87 byte b1 = indicesBytes[idx + 1]; 88 indicesBytes[idx] = b1; 89 indicesBytes[idx + 1] = b0; 90 idx += 2;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
ProtoIdsSection.java | 133 int idx = 0; local 136 ((ProtoIdItem) i).setIndex(idx); 137 idx++;
|
/dalvik/dx/src/com/android/dx/util/ |
ListIntSet.java | 110 private int idx = 0; 114 return idx < ints.size(); 123 return ints.get(idx++);
|
/external/freetype/src/autofit/ |
afwarp.c | 100 FT_Int idx; local 103 for ( idx = idx_min; idx <= idx_max; idx++, y++ ) 104 scores[idx] += af_warper_weights[y & 63] * len; 109 FT_Int idx; local 112 for ( idx = idx_min; idx <= idx_max; idx++ ) 114 AF_WarpScore score = scores[idx]; [all...] |
/external/iproute2/tc/ |
q_prio.c | 37 int idx = 0; local 78 if (idx > TC_PRIO_MAX) { 82 opt.priomap[idx++] = band; 89 for (; idx < TC_PRIO_MAX; idx++) 90 opt.priomap[idx] = opt.priomap[TC_PRIO_BESTEFFORT];
|
q_rr.c | 37 int idx = 0; local 78 if (idx > TC_PRIO_MAX) { 82 opt.priomap[idx++] = band;
|
/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;
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
mp4enc_api.cpp | 190 Int nLayers, idx, i, j; local 603 for (idx = 0; idx < nLayers; idx++) 605 temp_w = video->encParams->LayerWidth[idx]; 606 temp_h = video->encParams->LayerHeight[idx]; 617 mbsPerSec = (Int)(nTotalMB * video->encParams->LayerFrameRate[idx]); 618 if (mbsPerSec > video->encParams->LayerMaxMbsPerSec[idx]) status = PV_FALSE; 660 for (idx = 0; idx < nTotalMB; idx++ 1080 Int idx, i; local 2965 Int idx, temp_w, temp_h, max = 0, max_width, max_height; local [all...] |
/bionic/libc/kernel/arch-x86/asm/ |
desc_32.h | 63 #define GET_DESC_BASE(idx, gdt, base, lo_w, lo_b, hi_b) movb idx*8+4(gdt), lo_b; movb idx*8+7(gdt), hi_b; shll $16, base; movw idx*8+2(gdt), lo_w;
|
/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
|
SweepGradientTest.java | 111 int idx; local 113 for (idx = 0; idx < positions.length; idx++) { 114 if (positions[idx] > relPos) { 118 if (idx == 0) { 121 } else if (idx == positions.length) { 126 int i1 = idx - 1; // index of next lower color and position 127 int i2 = idx; // index of next higher color and position
|
/development/ndk/platforms/android-5/arch-x86/include/asm/ |
desc_32.h | 63 #define GET_DESC_BASE(idx, gdt, base, lo_w, lo_b, hi_b) movb idx*8+4(gdt), lo_b; movb idx*8+7(gdt), hi_b; shll $16, base; movw idx*8+2(gdt), lo_w;
|
/external/chromium/base/ |
linux_util.cc | 164 int idx = i * stride + j * 4; local 165 new_pixels[idx] = pixels[idx + 2]; 166 new_pixels[idx + 1] = pixels[idx + 1]; 167 new_pixels[idx + 2] = pixels[idx]; 168 new_pixels[idx + 3] = pixels[idx + 3];
|
/external/dropbear/libtomcrypt/src/encauth/ccm/ |
ccm_test.c | 118 int err, idx; 121 idx = find_cipher("aes"); 122 if (idx == -1) { 123 idx = find_cipher("rijndael"); 124 if (idx == -1) { 131 if ((err = cipher_descriptor[idx].setup(tests[x].key, 16, 0, &skey)) != CRYPT_OK) { 135 if ((err = ccm_memory(idx, 153 if ((err = ccm_memory(idx, 170 cipher_descriptor[idx].done(&skey);
|
/external/freetype/include/freetype/ |
ftsnames.h | 140 /* idx :: The index of the `name' string. */ 159 FT_UInt 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/rc4/asm/ |
rc4-x86_64.pl | 264 $idx="%r8"; 282 mov OPENSSL_ia32cap_P(%rip),$idx#d 283 bt \$20,$idx#d 285 bt \$30,$idx#d 297 xor $idx,$idx 301 add ($inp,$len,1),$idx#b 302 add %r10b,$idx#b 304 mov ($dat,$idx,4),%r11d 306 mov %r10d,($dat,$idx,4 [all...] |
/external/openssl/crypto/x509v3/ |
pcy_node.c | 81 int idx; local 86 idx = sk_X509_POLICY_NODE_find(nodes, &l); 87 if (idx == -1) 90 return sk_X509_POLICY_NODE_value(nodes, idx);
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
p_ol_wgh.h | 135 Word16 idx, /* i : index */
|