| /external/quake/quake/src/WinQuake/ |
| snd_sun.cpp | 186 int idx; local 205 idx = (wbufp*bsize) & (BUFFER_SIZE - 1); 208 *p++ = dma_buffer[idx]; 209 idx = (idx + 1) & (BUFFER_SIZE - 1);
|
| /bionic/libc/unistd/ |
| getopt_long.c | 172 const struct option *long_options, int *idx, int short_too) 278 if (idx) 279 *idx = match; 293 const struct option *long_options, int *idx, int flags) 416 idx, short_too); 453 idx, 0); 519 const struct option *long_options, int *idx) 522 return (getopt_internal(nargc, nargv, options, long_options, idx, 532 const struct option *long_options, int *idx) 535 return (getopt_internal(nargc, nargv, options, long_options, idx, [all...] |
| /dalvik/vm/reflect/ |
| Annotation.c | 389 u4 idx; local 469 idx = readUnsignedInt(ptr, valueArg, false); 471 pValue->value.i = idx; 473 elemObj = (Object*) dvmResolveString(clazz, idx); 481 idx = readUnsignedInt(ptr, valueArg, false); 483 pValue->value.i = idx; 485 elemObj = (Object*) dvmResolveClass(clazz, idx, true); 490 const char* desc = dexStringByTypeIdx(pDexFile, idx); 501 idx = readUnsignedInt(ptr, valueArg, false); 503 pValue->value.i = idx; 1642 u4 idx; local 1920 u4 idx; local 1998 u4 idx; local 2070 u4 idx; local [all...] |
| /external/opencore/codecs_v2/video/avc_h264/enc/src/ |
| block.cpp | 86 int r0, r1, r2, r3, j, k, idx; local 155 idx = ZZ_SCAN_BLOCK[k]; /* map back to raster scan order */ 156 data = coef[idx]; 176 coef[idx] = (lev * quant) << Qq; 181 coef[idx] = (-lev * quant) << Qq; 189 coef[idx] = 0; 369 int blk_x, blk_y, j, k, idx, b8, b4; local 466 idx = ZIGZAG2RASTERDC[k]; 467 data = coef[idx]; 482 coef[idx] = lev 732 int j, blk_x, blk_y, k, idx, b4; local 1127 int k, ncoeff, idx; local 1215 int k, ncoeff, idx; local [all...] |
| /frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
| CommonGlyphVector.java | 198 int idx = i << 1; local 202 defaultPositions[idx] = defaultPositions[idx-2] + advanceX; 203 defaultPositions[idx+1] = defaultPositions[idx-1] + advanceY; 454 int idx = glyphIndex << 1; local 469 at.translate(visualPositions[idx], visualPositions[idx+1]); 497 int idx = glyphIndex << 1; local 501 double xOffs = x + visualPositions[idx] + fontTransform.getTranslateX() 548 int idx = glyphIndex << 1; local 847 int idx = i*2; local [all...] |
| /external/openssl/crypto/x509/ |
| x509_lu.c | 457 int idx; local 458 idx = X509_OBJECT_idx_by_subject(h, type, name); 459 if (idx==-1) return NULL; 460 return sk_X509_OBJECT_value(h, idx); 465 int idx, i; local 467 idx = sk_X509_OBJECT_find(h, x); 468 if (idx == -1) return NULL; 469 if (x->type != X509_LU_X509) return sk_X509_OBJECT_value(h, idx); 470 for (i = idx; i < sk_X509_OBJECT_num(h); i++) 497 int i, ok, idx, ret local [all...] |
| /external/freetype/src/pshinter/ |
| pshrec.c | 158 FT_Int idx ) 160 if ( (FT_UInt)idx >= mask->num_bits ) 163 return mask->bytes[idx >> 3] & ( 0x80 >> ( idx & 7 ) ); 170 FT_Int idx ) 175 if ( (FT_UInt)idx >= mask->num_bits ) 178 p = mask->bytes + ( idx >> 3 ); 179 p[0] = (FT_Byte)( p[0] & ~( 0x80 >> ( idx & 7 ) ) ); 186 FT_Int idx, 193 if ( idx < 0 671 FT_UInt idx; local 905 FT_Int idx[3]; local [all...] |
| /frameworks/base/opengl/tools/glgen/src/ |
| JniCodeEmitter.java | 439 int idx = nonPrimitiveArgs.get(i).intValue(); local 440 int cIndex = jfunc.getArgCIndex(idx); 441 if (jfunc.getArgType(idx).isArray()) { 445 } else if (jfunc.getArgType(idx).isBuffer()) { 790 int idx = nonPrimitiveArgs.get(i).intValue(); local 791 JType argType = jfunc.getArgType(idx); 898 int idx = nonPrimitiveArgs.get(i).intValue(); local 928 int idx = stringArgs.get(i).intValue(); local 941 int idx = stringArgs.get(i).intValue(); local 964 int idx = nonPrimitiveArgs.get(i).intValue(); local 1142 int idx = nonPrimitiveArgs.get(i).intValue(); local 1187 int idx = stringArgs.get(i).intValue(); local [all...] |
| /external/openssl/crypto/x509v3/ |
| v3_purp.c | 109 int idx; local 117 idx = X509_PURPOSE_get_by_id(id); 118 if(idx == -1) return -1; 119 pt = X509_PURPOSE_get0(idx); 139 X509_PURPOSE * X509_PURPOSE_get0(int idx) 141 if(idx < 0) return NULL; 142 if(idx < (int)X509_PURPOSE_COUNT) return xstandard + idx; 143 return sk_X509_PURPOSE_value(xptable, idx - X509_PURPOSE_COUNT); 160 int idx; local 174 int idx; local [all...] |
| /frameworks/base/awt/java/awt/image/ |
| DirectColorModel.java | 812 int idx; local 814 idx = (int)(scales[i] * j + 0.5f); 816 idx = (int)(scales[i] * j * 257.0f + 0.5f); 818 colorLUTs[i][j] = from_LINEAR_RGB_LUT[idx]; 833 * @param idx 837 private int getComponentFrom_sRGB(int pixel, int idx) { 838 int comp = (pixel & componentMasks[idx]) >> offsets[idx]; 841 comp = alpha == 0 ? 0 : (int)(scales[idx] * comp * 255.0f / (scales[3] * alpha) + 0.5f); 842 } else if (bits[idx] != 8) [all...] |
| /frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
| OffscreenImage.java | 207 for (int sx = x, idx = 0; sx < x + w; sx++, idx++) { 208 buff[idx] = model.getRGB(pixels[sOff + idx]); 215 for (int sx = x, idx = 0; sx < x + w; sx++, idx++) { 216 int rgb = model.getRGB(pixels[sOff + idx]); 263 for (int sx = x, idx = 0; sx < x + w; sx++, idx++) { 264 buff[idx] = colorMap[pixels[sOff + idx] & 0xff] [all...] |
| /external/freetype/src/psaux/ |
| t1decode.c | 749 FT_Int idx; local 758 idx = decoder->num_flex_vectors++; 759 if ( idx > 0 && idx < 7 ) 763 (FT_Byte)( idx == 3 || idx == 6 ) ); 859 /* <idx> 1 19 callothersubr */ 860 /* => replace elements starting from index cvi( <idx> ) */ 863 FT_Int idx; local 870 idx = (FT_Int)( top[0] >> 16 ) 931 FT_Int idx; local 952 FT_Int idx; local 1317 FT_Int idx; local [all...] |
| /external/kernel-headers/original/linux/ |
| bio.h | 169 #define bio_iovec_idx(bio, idx) (&((bio)->bi_io_vec[(idx)])) 194 #define __bio_kmap_atomic(bio, idx, kmtype) \ 195 (kmap_atomic(bio_iovec_idx((bio), (idx))->bv_page, kmtype) + \ 196 bio_iovec_idx((bio), (idx))->bv_offset) 349 static inline char *__bio_kmap_irq(struct bio *bio, unsigned short idx, 352 return bvec_kmap_irq(bio_iovec_idx(bio, idx), flags);
|
| highmem.h | 40 #define kmap_atomic(page, idx) page_address(page) 41 #define kunmap_atomic(addr, idx) do { } while (0) 42 #define kmap_atomic_pfn(pfn, idx) page_address(pfn_to_page(pfn))
|
| /dalvik/libdex/ |
| DexProto.c | 148 u4 idx = dexTypeListGetIdx(typeList, i); local 149 length += strlen(dexStringByTypeIdx(dexFile, idx)); 160 u4 idx = dexTypeListGetIdx(typeList, i); local 161 const char* desc = dexStringByTypeIdx(dexFile, idx); 514 u4 idx = dexTypeListGetIdx(pIterator->parameters, cursor); local 516 return idx; 526 u4 idx = dexParameterIteratorNextIndex(pIterator); local 528 if (idx == kDexNoIndex) { 532 return dexStringByTypeIdx(pIterator->proto->dexFile, idx);
|
| /dalvik/dx/src/com/android/dx/dex/file/ |
| StringIdsSection.java | 203 int idx = 0; local 206 s.setIndex(idx); 207 idx++;
|
| TypeIdsSection.java | 185 int idx = 0; local 188 ((TypeIdItem) i).setIndex(idx); 189 idx++;
|
| /dalvik/vm/ |
| AllocTracker.c | 325 int idx = headIndex(); local 331 AllocRecord* pRec = &gDvm.allocRecords[idx]; 350 idx = (idx + 1) & (kNumAllocRecords-1); 377 int idx = headIndex(); local 392 AllocRecord* pRec = &gDvm.allocRecords[idx]; 433 idx = (idx + 1) & (kNumAllocRecords-1); 607 * "idx" is the head of the list. We want to start at the end of the 610 int idx = headIndex() local [all...] |
| /development/simulator/app/ |
| PhoneCollection.cpp | 149 PhoneData* PhoneCollection::GetPhoneData(int idx) 154 if (idx == 0) 156 --idx;
|
| /external/bluetooth/bluez/src/ |
| rfkill.c | 60 uint32_t idx; member in struct:rfkill_event 93 debug("RFKILL event idx %u type %u op %u soft %u hard %u", 94 event->idx, event->type, event->op, 108 "/sys/class/rfkill/rfkill%u/name", event->idx);
|
| /external/dropbear/libtomcrypt/src/mac/f9/ |
| f9_test.c | 52 int err, x, idx; 55 if ((idx = find_cipher("kasumi")) == -1) { 61 if ((err = f9_memory(idx, tests[x].K, 16, tests[x].M, tests[x].msglen, T, &taglen)) != CRYPT_OK) {
|
| /external/opencore/protocols/sdp/parser/src/ |
| m4vmediainfoparser.cpp | 282 int idx = 0; local 283 for (idx = 0; idx < VOLLength; idx++) 287 if (PV_atoi((temp + 2*idx), 'x', 2 , val) == false) 293 *(VOLPtr + idx) = (uint8)val; 328 int idx = 0; local 329 for (idx = 0; idx < (tmp_end_line - temp); idx++ [all...] |
| /external/openssl/crypto/ |
| ossl_typ.h | 173 int idx, long argl, void *argp); 175 int idx, long argl, void *argp); 177 int idx, long argl, void *argp);
|
| /external/openssl/include/openssl/ |
| ossl_typ.h | 173 int idx, long argl, void *argp); 175 int idx, long argl, void *argp); 177 int idx, long argl, void *argp);
|
| /external/icu4c/i18n/ |
| rbtz.cpp | 423 int32_t idx = fHistoricTransitions->size() - 1; local 424 UDate tend = getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx), 431 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to; 435 while (idx >= 0) { 436 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx), 440 idx--; 442 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to; 586 int32_t idx; local 589 idx = 0; 590 while (cnt < trscount && idx < historicCount) 725 int32_t idx = fHistoricTransitions->size() - 1; local 808 int32_t idx = fHistoricTransitions->size() - 1; local [all...] |