| /ndk/build/platforms/android-8/arch-x86/usr/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;
|
| /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
|
| /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/openssl/crypto/x509/ |
| x509_vpm.c | 387 int idx; local 397 idx = sk_X509_VERIFY_PARAM_find(param_table, param); 398 if (idx != -1) 400 ptmp = sk_X509_VERIFY_PARAM_value(param_table, idx); 402 (void)sk_X509_VERIFY_PARAM_delete(param_table, idx); 412 int idx; local 417 idx = sk_X509_VERIFY_PARAM_find(param_table, &pm); 418 if (idx != -1) 419 return sk_X509_VERIFY_PARAM_value(param_table, idx);
|
| /system/core/nexus/ |
| WifiNetwork.cpp | 298 int WifiNetwork::setWepKey(int idx, const char *key) { 301 asprintf(&name, "wep_key%d", idx); 308 if (mWepKeys[idx]) 309 free(mWepKeys[idx]); 310 mWepKeys[idx] = strdup(key); 314 int WifiNetwork::setDefaultKeyIndex(int idx) { 316 sprintf(val, "%d", idx); 320 mDefaultKeyIndex = idx; 683 int WifiNetwork::WifiNetworkEnabledProperty::get(int idx, int *buffer) { 687 int WifiNetwork::WifiNetworkEnabledProperty::set(int idx, int value) [all...] |
| WifiController.cpp | 674 int WifiController::WifiEnabledProperty::get(int idx, int *buffer) { 678 int WifiController::WifiEnabledProperty::set(int idx, int value) { 688 int WifiController::WifiScanOnlyProperty::get(int idx, int *buffer) { 692 int WifiController::WifiScanOnlyProperty::set(int idx, int value) { 699 int WifiController::WifiAllowedChannelsProperty::get(int idx, int *buffer) { 703 int WifiController::WifiAllowedChannelsProperty::set(int idx, int value) { 712 int WifiController::WifiSupplicantStateProperty::get(int idx, char *buffer, size_t max) { 721 int WifiController::WifiActiveScanProperty::get(int idx, int *buffer) { 725 int WifiController::WifiActiveScanProperty::set(int idx, int value) { 732 int WifiController::WifiInterfaceProperty::get(int idx, char *buffer, size_t max) [all...] |
| /external/icu4c/tools/gencnval/ |
| gencnval.c | 608 /* uint32_t idx; */ 610 /* for (idx = 0; idx < knownAliasesCount; idx++) { 612 if (knownAliases[idx] != num 613 && uprv_strcmp(alias, GET_ALIAS_STR(knownAliases[idx])) == 0) 616 lineNum, alias, GET_ALIAS_STR(knownAliases[idx])); 620 else if (knownAliases[idx] != num 621 && ucnv_compareNames(alias, GET_ALIAS_STR(knownAliases[idx])) == 0) 625 lineNum, alias, GET_ALIAS_STR(knownAliases[idx])); 646 uint32_t idx, idx2; local 772 uint32_t idx; local 795 uint16_t idx, idx2, idx3; local 834 uint32_t idx; local [all...] |
| /external/elfutils/src/ |
| strip.c | 382 Elf32_Word idx; /* Index in new file. */ member in struct:shdr_info 394 size_t idx; local 574 shdr_info[cnt].idx = 1; 614 shdr_info[cnt].idx = 0; 630 if (shdr_info[shdr_info[cnt].group_idx].idx == 0) 658 shdr_info[cnt].idx = 0; 660 idx = shdr_info[cnt].group_idx; 661 while (idx != 0) 669 assert (shdr_info[idx].data != NULL); 671 is_comdat = (((Elf32_Word *) shdr_info[idx].data->d_buf)[0 [all...] |
| /dalvik/tools/dexdeps/src/com/android/dexdeps/ |
| DexData.java | 315 private String classNameFromTypeIndex(int idx) { 316 return mStrings[mTypeIds[idx].descriptorIdx]; 323 private String[] argArrayFromProtoIndex(int idx) { 324 ProtoIdItem protoId = mProtoIds[idx]; 338 private String returnTypeFromProtoIndex(int idx) { 339 ProtoIdItem protoId = mProtoIds[idx]; 369 int idx = 0; local 372 classRefs[idx++] = sparseRefs[i]; 375 assert idx == count; 500 int idx; local [all...] |
| /external/jdiff/src/jdiff/ |
| Comments.java | 112 int idx = xsdFileName.lastIndexOf('\\'); local 114 if (idx == -1 && idx2 == -1) { 116 } else if (idx == -1 && idx2 != -1) { 118 } else if (idx != -1 && idx2 == -1) { 119 xsdFileName = xsdFileName.substring(0, idx+1); 120 } else if (idx != -1 && idx2 != -1) { 121 int max = idx2 > idx ? idx2 : idx; 199 int idx = Collections.binarySearch(comments.commentsList_, key); local 200 if (idx < 0) 448 int idx = Collections.binarySearch(newComments.commentsList_, oldComment); local 467 int idx = filename.lastIndexOf('.'); local [all...] |
| /external/opencore/fileformats/mp4/parser/src/ |
| compositionoffsetatom.cpp | 161 for (uint32 idx = 0; idx < _stbl_buff_size; idx++) //initialization 163 _psampleCountVec[idx] = 0; 164 _psampleOffsetVec[idx] = 0; 224 for (uint32 idx = 0; idx < _entryCount; idx++) //initialization 226 _psampleCountVec[idx] = 0; 227 _psampleOffsetVec[idx] = 0 [all...] |
| /frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
| CaretManager.java | 52 int idx = info.getInsertionIndex(); local 54 if (idx < 0 || idx > breaker.getCharCount()) { 66 final int idx = hitInfo.getCharIndex(); local 68 if (idx >= 0 && idx < breaker.getCharCount()) { 69 int visual = breaker.getVisualFromLogical(idx); 71 if (hitInfo.isLeadingEdge() ^ ((breaker.getLevel(idx) & 0x1) == 0x0)) { 75 } else if (idx < 0) { 237 int idx = hitInfo.getCharIndex() local [all...] |
| /external/grub/netboot/ |
| otulip.c | 82 int idx; local 83 for (idx = (300 / 33) + 1; idx > 0; idx--) 111 unsigned idx; local 119 for (idx = 0; idx <= lastidx; idx++) { 127 for (bits = idx|cmdmask, bit = bitwidth + 3; bit > 0; bit--, bits <<= 1) 147 srom[idx*2] = data & 0xFF [all...] |
| /dalvik/dx/src/com/android/dx/cf/code/ |
| Machine.java | 111 * @param idx {@code >= 0;} the local variable index 113 public void localArg(Frame frame, int idx); 192 * @param idx {@code >= 0;} the local variable index 196 public void localTarget(int idx, Type type, LocalItem local);
|
| 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/rop/cst/ |
| StdConstantPool.java | 131 * @param idx the bad cpi 135 private static Constant throwInvalid(int idx) { 137 Hex.u2(idx));
|
| /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/dropbear/libtomcrypt/src/pk/ecc/ |
| ecc_shared_secret.c | 52 if (ltc_ecc_is_valid_idx(private_key->idx) == 0 || ltc_ecc_is_valid_idx(public_key->idx) == 0) {
|
| /external/icu4c/common/ |
| ucase.c | 382 #define HAS_SLOT(flags, idx) ((flags)&(1<<(idx))) 383 #define SLOT_OFFSET(flags, idx) flagsOffset[(flags)&((1<<(idx))-1)] 386 * Get the value of an optional-value slot where HAS_SLOT(excWord, idx). 389 * @param idx (in) desired slot index 394 #define GET_SLOT_VALUE(excWord, idx, pExc16, value) \ 396 (pExc16)+=SLOT_OFFSET(excWord, idx); \ 399 (pExc16)+=2*SLOT_OFFSET(excWord, idx); \ 450 int32_t idx; local 520 int32_t idx, closureLength, fullLength, length; local 1203 int32_t full, idx; local 1349 int32_t idx; local 1413 int32_t full, idx; local [all...] |
| /external/opencore/protocols/sdp/parser/src/ |
| amrmediainfoparser.cpp | 317 int idx = 0; local 320 for (idx = 0; idx < (tmp_end_line - temp); idx++) 322 if ((temp[idx] == ',') || ((tmp_end_line - temp) - 1 == idx)) 325 end = temp + idx; 327 if ((tmp_end_line - temp) - 1 == idx)
|
| /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/awt/java/awt/font/ |
| TextHitInfo.java | 40 * The char idx. 52 * @param idx 53 * the idx. 57 private TextHitInfo(int idx, boolean isTrailing) { 58 charIdx = idx;
|
| /external/v8/test/mjsunit/ |
| regexp-indexof.js | 36 for (var idx = 0; idx < matches.length; idx++) { 37 var from = matches[idx][0]; 38 var length = matches[idx][1]; 41 assertEquals(expected, result[idx], name); 42 if (re.global || idx == 0) {
|
| /frameworks/base/awt/java/awt/image/ |
| ConvolveOp.java | 273 for (int idx = 0; idx < numBands; idx++) { 274 newPixels[pixelIndex + idx] += data[kernelIdx] 275 * pixels[curIndex + idx]; 282 for (int idx = 0; idx < numBands; idx++) { 283 if (((int)newPixels[pixelIndex + idx] & masks[idx]) != 0) [all...] |