| /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
| OpenWnnClauseConverterJAJP.java | 173 int idx = end - 1; local 176 if (sentence[idx] != null) { 178 if (sentence[idx].frequency > sentence[start-1].frequency + CLAUSE_COST + FREQ_LEARN) { 183 if (sentence[idx].frequency > CLAUSE_COST + FREQ_LEARN) { 216 if (sentence[idx] == null || (sentence[idx].frequency < ws.frequency)) { 217 sentence[idx] = ws;
|
| /development/simulator/wrapsim/ |
| DevLog.c | 207 int idx; local 209 idx = (int) priority - (int) ANDROID_LOG_VERBOSE; 210 if (idx < 0 || 211 idx >= (int) (sizeof(priorityStrings) / sizeof(priorityStrings[0]))) 213 return priorityStrings[idx];
|
| /external/dropbear/libtomcrypt/src/encauth/ocb/ |
| ocb_test.c | 167 int err, x, idx, res; 172 if ((idx = find_cipher("aes")) == -1) { 173 if ((idx = find_cipher("rijndael")) == -1) { 180 if ((err = ocb_encrypt_authenticate_memory(idx, tests[x].key, 16, 204 if ((err = ocb_decrypt_verify_memory(idx, tests[x].key, 16, tests[x].nonce, outct, tests[x].ptlen,
|
| /external/freetype/src/sfnt/ |
| sfdriver.c | 115 FT_UInt idx, 123 if ( idx >= face->num_tables ) 126 *tag = face->dir_tables[idx].Tag; 127 *offset = face->dir_tables[idx].Offset; 128 *length = face->dir_tables[idx].Length;
|
| /external/icu4c/tools/makeconv/ |
| genmbcs.c | 562 uint32_t idx; local 583 idx=c>>MBCS_STAGE_1_SHIFT; 589 if(mbcsData->stage1[idx]==MBCS_STAGE_2_ALL_UNASSIGNED_INDEX) { 609 mbcsData->stage1[idx]=(uint16_t)newBlock; 614 idx=mbcsData->stage1[idx]+nextOffset; 623 if(mbcsData->stage2Single[idx]==0) { 639 i=idx; 648 p=stage3+mbcsData->stage2Single[idx]+nextOffset; 682 uint32_t idx, b, old, stage3Index local [all...] |
| /external/openssl/crypto/x509/ |
| x509_att.c | 340 void *X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr, int idx, 344 ttmp = X509_ATTRIBUTE_get0_type(attr, idx); 353 ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx) 356 if(idx >= X509_ATTRIBUTE_count(attr)) return NULL; 357 if(!attr->single) return sk_ASN1_TYPE_value(attr->value.set, idx);
|
| x509_vfy.c | 805 int idx, ok; local 820 idx = sk_X509_REVOKED_find(crl->crl->revoked, &rtmp); 824 if(idx >= 0) 843 for (idx = 0; idx < sk_X509_EXTENSION_num(exts); idx++) 845 ext = sk_X509_EXTENSION_value(exts, idx); 1196 int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx, int idx, void *data) 1198 return CRYPTO_set_ex_data(&ctx->ex_data,idx,data); 1201 void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx, int idx) 1283 int idx; local [all...] |
| /external/tcpdump/ |
| print-ldp.c | 251 u_int ui,vc_info_len, vc_info_tlv_type, vc_info_tlv_len,idx; local 392 for (idx = 2; idx < vc_info_tlv_len; idx++) 393 safeputchar(*(tptr+idx));
|
| /external/icu4c/common/ |
| putil.c | 640 int32_t idx = 0; local 644 while (id[idx] && isNonDigit(id[idx]) && id[idx] != ',') { 645 idx++; 652 return (UBool)(id[idx] == 0 746 int32_t idx; local 750 for (idx = 0; idx < (int32_t)sizeof(OFFSET_ZONE_MAPPINGS)/sizeof(OFFSET_ZONE_MAPPINGS[0]); idx++ [all...] |
| ustrcase.c | 220 int32_t prev, titleStart, titleLimit, idx, destIndex, length; local 244 idx=ubrk_first(csm->iter); 246 idx=ubrk_next(csm->iter); 248 if(idx==UBRK_DONE || idx>srcLength) { 249 idx=srcLength; 265 if(prev<idx) { 268 U16_NEXT(src, titleLimit, idx, c); 273 if(titleLimit==idx) { 280 U16_NEXT(src, titleLimit, idx, c) [all...] |
| /external/icu4c/test/cintltst/ |
| cdattst.c | 1102 int32_t idx, dateIdx, timeIdx, localeCount; local [all...] |
| /build/tools/apriori/ |
| apriori.c | 72 static void print_shdr_idx(source_t *source, Elf *elf, int idx) 74 print_shdr(source, elf_getscn(elf, idx)); 195 source->shdr_info[cnt].idx = cnt; 205 source->shdr_info[cnt].idx, 209 source->shdr_info[cnt].idx); 236 source->shdr_info[0].idx = 2; 247 decide to drop a section, we will set its idx to zero, and 250 source->shdr_info[cnt].idx = 1; 824 source->rel.idx = source->rel.sz_idx = -1; 825 source->jmprel.idx = source->jmprel.sz_idx = -1 1690 int num_scns, idx; local 2001 int cnt, idx; local 2371 int cnt, idx; local [all...] |
| /external/opencore/nodes/pvmp4ffparsernode/src/ |
| pvmf_mp4ffparser_node_metadata.cpp | 354 for (int32 idx = 0; idx < numAssetInfoKeyword; idx++) 356 int32 AssetInfoKeywordCount = iMP4FileHandle->getAssetInfoNumKeyWords(idx); 1858 int32 idx = 0; local [all...] |
| /frameworks/base/libs/utils/ |
| ResourceTypes.cpp | 449 const uint16_t* ResStringPool::stringAt(size_t idx, size_t* outLen) const 451 if (mError == NO_ERROR && idx < mHeader->stringCount) { 453 const uint32_t off = mEntries[idx]/(isUTF8?sizeof(char):sizeof(char16_t)); 463 (int)idx, (int)(str+*outLen-strings), (int)mStringPoolSize); 473 if (mCache[idx] != NULL) { 474 return mCache[idx]; 479 (int)idx); 484 mCache[idx] = u16str; 488 (int)idx, (int)(str+encLen-strings), (int)mStringPoolSize); 493 (int)idx, (int)(off*sizeof(uint16_t)) 923 const ssize_t idx = dtohs(((const ResXMLTree_attrExt*)mCurExt)->idIndex); local 932 const ssize_t idx = dtohs(((const ResXMLTree_attrExt*)mCurExt)->classIndex); local 941 const ssize_t idx = dtohs(((const ResXMLTree_attrExt*)mCurExt)->styleIndex); local 3804 size_t idx = mPackageMap[id]; local [all...] |
| /dalvik/vm/jdwp/ |
| JdwpHandler.c | 67 pLoc->idx = read8BE(pBuf); 78 expandBufAdd8BE(pReply, pLoc->idx); 1574 int idx; local [all...] |
| /external/icu4c/i18n/ |
| ucol_wgt.c | 63 getWeightByte(uint32_t weight, int32_t idx) { 64 return getWeightTrail(weight, idx); /* same calculation */ 68 setWeightByte(uint32_t weight, int32_t idx, uint32_t byte) { 71 idx*=8; 72 mask=((uint32_t)0xffffffff)>>idx; 73 idx=32-idx; 74 mask|=0xffffff00<<idx; 75 return (uint32_t)((weight&mask)|(byte<<idx));
|
| /external/openssl/crypto/bn/ |
| bn_exp.c | 525 static int MOD_EXP_CTIME_COPY_TO_PREBUF(BIGNUM *b, int top, unsigned char *buf, int idx, int width) 536 for (i = 0, j=idx; i < top * sizeof b->d[0]; i++, j+=width) 545 static int MOD_EXP_CTIME_COPY_FROM_PREBUF(BIGNUM *b, int top, unsigned char *buf, int idx, int width) 552 for (i=0, j=idx; i < top * sizeof b->d[0]; i++, j+=width) 575 int i,bits,ret=0,idx,window,wvalue; local 686 idx=bits-1; /* The top bit of the window */ 691 while (idx >= 0) 696 for (i=0; i<window; i++,idx--) 699 wvalue = (wvalue<<1)+BN_is_bit_set(p,idx);
|
| /frameworks/base/tools/aapt/ |
| Images.cpp | 675 int i, j, rr, gg, bb, aa, idx; local 732 for (idx = 0; idx < num_colors; idx++) { 733 if (colors[idx] == col) { 742 *out++ = idx; 806 for (int idx = 0; idx < num_colors; idx++) { 807 col = colors[idx]; [all...] |
| /hardware/ti/wlan/wl1271/stad/src/Data_link/ |
| Ctrl.c | 804 TI_UINT8 idx; local 835 TI_UINT8 idx; local [all...] |
| /system/wlan/ti/wilink_6_1/stad/src/Data_link/ |
| Ctrl.c | 804 TI_UINT8 idx; local 835 TI_UINT8 idx; local [all...] |
| /external/opencore/codecs_v2/video/avc_h264/common/src/ |
| deblock.cpp | 733 int idx, tmp; local 764 for (idx = 0; idx < 4; idx += 2) // unroll the loop, make 4 iterations to 2 768 pnz = MbQ->nz_coeff + (idx << 2); 831 pnz = MbQ->nz_coeff + ((idx + 1) << 2); 900 } /* end of: for(idx=0; idx<2; idx++) */ 908 int idx, tmp local [all...] |
| /frameworks/base/media/libstagefright/codecs/avc/common/src/ |
| deblock.cpp | 735 int idx, tmp; local 766 for (idx = 0; idx < 4; idx += 2) // unroll the loop, make 4 iterations to 2 770 pnz = MbQ->nz_coeff + (idx << 2); 833 pnz = MbQ->nz_coeff + ((idx + 1) << 2); 902 } /* end of: for(idx=0; idx<2; idx++) */ 910 int idx, tmp local [all...] |
| /dalvik/dx/src/com/android/dx/dex/file/ |
| DebugInfoDecoder.java | 111 int idx = -1; local 114 idx = file.getStringIds().indexOf(new CstUtf8("this")); 123 thisStringIdx = idx; 274 // TODO: Final 0 should be idx of paramType.getDescriptor(). 502 int idx = entry.nameIndex; local 504 if ((idx < 0) || (idx == thisStringIdx)) {
|
| /external/opencore/fileformats/mp4/composer/src/ |
| assetinfoatoms.cpp | 132 for (uint32 idx = 0; idx < _pKeyWordVect->size(); idx++) 134 if ((*_pKeyWordVect)[idx] != NULL) 136 PV_MP4_FF_DELETE(NULL, PVA_FF_AssetInfoKeyWordStruct, (*_pKeyWordVect)[idx]); 137 (*_pKeyWordVect)[idx] = NULL;
|
| /external/opencore/protocols/sdp/parser/src/ |
| rfc3640mediainfoparser.cpp | 429 int idx = 0; local 430 for (idx = 0; idx < decLength; idx++) 433 if (PV_atoi((temp + 2*idx), 'x', 2, val) == false) 439 *(decInfo + idx) = (uint8) val;
|