| /packages/apps/DeskClock/src/com/android/deskclock/ |
| SettingsActivity.java | 83 final int idx = listPref.findIndexOfValue((String) newValue); local 84 listPref.setSummary(listPref.getEntries()[idx]);
|
| /system/core/nexus/ |
| PropertyManager.cpp | 119 int PropertyManager::doSet(Property *p, int idx, const char *value) { 127 return p->set(idx, value); 137 return p->set(idx, tmp); 145 return p->set(idx, &tmp); 156 int PropertyManager::doGet(Property *p, int idx, char *buffer, size_t max) { 159 if (p->get(idx, buffer, max)) { 167 if (p->get(idx, &tmp)) { 175 if (p->get(idx, &tmp)) {
|
| VpnController.cpp | 74 int VpnController::VpnEnabledProperty::get(int idx, int *buffer) { 78 int VpnController::VpnEnabledProperty::set(int idx, int value) {
|
| /build/tools/soslim/ |
| symfilter.c | 115 size_t idx; 119 for (idx = 0; idx < filter->symtab.data->d_size / elsize; 120 idx++) { 125 idx, &sym_mem, NULL); 132 symbol->index = idx;
|
| /dalvik/tests/074-gc-thrash/src/ |
| Main.java | 168 int idx = 0; local 171 strings[idx] = makeString(idx); 173 if (idx % (ARRAY_SIZE / 4) == 0) { 178 idx = (idx + 1) % ARRAY_SIZE;
|
| /external/dropbear/libtomcrypt/src/modes/lrw/ |
| lrw_test.c | 72 int idx, err, x; 76 idx = find_cipher("aes"); 77 if (idx == -1) { 78 idx = find_cipher("rijndael"); 79 if (idx == -1) { 86 if ((err = lrw_start(idx, tests[x].IV, tests[x].key, 16, tests[x].tweak, 0, &lrw)) != CRYPT_OK) {
|
| /external/jdiff/src/jdiff/ |
| APIComparator.java | 59 int idx = Collections.binarySearch(newAPI.packages_, oldPkg); local 60 if (idx < 0) { 80 differs += 2.0 * comparePackages(oldPkg, (PackageAPI)(newAPI.packages_.get(idx))); 88 int idx = Collections.binarySearch(oldAPI.packages_, newPkg); local 89 if (idx < 0) { 166 int idx = Collections.binarySearch(newPkg.classes_, oldClass); local 167 if (idx < 0) { 186 differs += 2.0 * compareClasses(oldClass, (ClassAPI)(newPkg.classes_.get(idx)), pkgDiff); 194 int idx = Collections.binarySearch(oldPkg.classes_, newClass); local 195 if (idx < 0) 374 int idx = Collections.binarySearch(newClass.ctors_, oldCtor); local 423 int idx = Collections.binarySearch(oldClass.ctors_, newCtor); local 464 int idx = -1; local 524 int idx = -1; local 694 int idx = Collections.binarySearch(newClass.fields_, oldField); local 790 int idx = Collections.binarySearch(oldClass.fields_, newField); local [all...] |
| /external/opencore/protocols/sdp/parser/src/ |
| h263mediainfoparser.cpp | 195 int idx = 0; local 196 for (idx = 0; idx < (tmp_end_line - temp); idx++) 198 if (temp[idx] == '-') 200 end = temp + idx;
|
| /development/simulator/app/ |
| PhoneData.cpp | 381 const LoadableImage* PhoneView::GetBkgImage(int idx) const 386 if (!idx) 388 --idx; 792 PhoneMode* PhoneData::GetPhoneMode(int idx) 797 if (!idx) 799 --idx; 824 PhoneDisplay* PhoneData::GetPhoneDisplay(int idx) 829 if (!idx) 831 --idx; 844 int idx = 0 local [all...] |
| /external/icu4c/common/ |
| ucasemap.c | 277 int32_t prev, titleStart, titleLimit, idx, destIndex, length; local 305 idx=ubrk_first(csm->iter); 307 idx=ubrk_next(csm->iter); 309 if(idx==UBRK_DONE || idx>srcLength) { 310 idx=srcLength; 326 if(prev<idx) { 329 U8_NEXT(src, titleLimit, idx, c); 334 if(titleLimit==idx) { 341 U8_NEXT(src, titleLimit, idx, c) [all...] |
| utrie.c | 375 _findSameIndexBlock(const int32_t *idx, int32_t indexLength, 381 if(idx[block+i]!=idx[otherBlock+i]) { 405 int32_t *idx; local 413 idx=trie->index; 416 uprv_memcpy(leadIndexes, idx+(0xd800>>UTRIE_SHIFT), 4*UTRIE_SURROGATE_BLOCK_COUNT); 456 if(idx[c>>UTRIE_SHIFT]!=0) { 466 block=_findSameIndexBlock(idx, indexLength, c>>UTRIE_SHIFT); 484 uprv_memmove(idx+indexLength, 485 idx+(c>>UTRIE_SHIFT) 1060 const uint16_t *idx; local [all...] |
| locmap.c | 745 uint32_t idx; local 747 for (idx = 0; idx < this_0->numRegions; idx++ ) { 748 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); 749 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { 752 return this_0->regionMaps[idx].hostID; 755 bestIdx = idx; 840 uint32_t idx; local 873 for (idx = 0; idx < gLocaleCount; idx++ ) [all...] |
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| YuvImageTest.java | 296 int idx = row * width + col; local 297 argb2yuv(argb[idx], yuvColor); 298 yuv[idx] = yuvColor[0]; 311 int idx = row * width + col; local 312 argb2yuv(argb[idx], yuvColor0); 313 argb2yuv(argb[idx + 1], yuvColor1); 314 int offset = idx / 2 * 4; 347 int idx = row * width + col; local 348 mse += distance(expColors[idx], actualColors[idx]); [all...] |
| /external/opencore/fileformats/mp4/parser/src/ |
| timetosampleatom.cpp | 124 for (uint32 idx = 0; idx < _stbl_buff_size; idx++) //initialization 126 _psampleCountVec[idx] = 0; 127 _psampleDeltaVec[idx] = 0; 182 for (uint32 idx = 0; idx < _entryCount; idx++) //initialization 184 _psampleCountVec[idx] = 0; 185 _psampleDeltaVec[idx] = 0 [all...] |
| /dalvik/libcore/luni/src/main/java/java/net/ |
| SocketPermission.java | 412 int idx = -1; local 413 idx = host.indexOf(':'); 421 if (idx > -1) { 422 host = host.substring(0, idx); 429 if (idx == lastIdx) { 430 if (-1 != idx) { 432 host = host.substring(0, idx);
|
| /external/tcpdump/ |
| util.c | 290 static int idx = 0; local 293 ret = buf[idx]; 294 idx = (idx+1) & 3; 512 int idx = 0; local 513 while (*s && idx < maxlen) { 515 idx++;
|
| /external/elfutils/src/ |
| i386_ld.c | 690 size_t idx = XELF_R_SYM (rel->r_info); local 691 if (idx < runp->fileinfo->nlocalsymbols) 694 xelf_getsym (symdata, idx, sym); 700 else if (symref[idx]->in_dso) 704 assert (symref[idx]->merge.value != 0 705 || symref[idx]->type != STT_FUNC); 706 value = pltaddr + symref[idx]->merge.value * PLT_ENTRY_SIZE; 709 value = symref[idx]->merge.value; 728 if (linked_from_dso_p (scninfo, idx) 730 && symref[idx]->type != STT_FUNC [all...] |
| /external/icu4c/i18n/ |
| zonemeta.cpp | 231 int32_t idx; local 234 for (idx = 0; idx <= 3 && U_SUCCESS(status); idx++) { 235 n = ASCII_DIGIT((int32_t)text[idx]); 243 for (idx = 5; idx <= 6 && U_SUCCESS(status); idx++) { 244 n = ASCII_DIGIT((int32_t)text[idx]); 252 for (idx = 8; idx <= 9 && U_SUCCESS(status); idx++) [all...] |
| /external/icu4c/tools/genrb/ |
| wrtjava.c | 262 uint32_t idx = strrch(current,add,'\\'); local 263 if (idx > add) { 264 idx = add; 266 int32_t num =idx-1; 275 if ((idx-num)%2==0) { 276 idx--; 278 seqLen = (current[idx+1]=='u') ? 6 : 2; 279 if ((add-idx) < seqLen) { 280 add = idx + seqLen;
|
| /frameworks/base/core/java/android/content/res/ |
| StringBlock.java | 62 public CharSequence get(int idx) { 65 CharSequence res = mStrings[idx]; 70 CharSequence res = mSparseStrings.get(idx); 82 String str = nativeGetString(mNative, idx); 84 int[] style = nativeGetStyle(mNative, idx); 109 if (mStrings != null) mStrings[idx] = res; 110 else mSparseStrings.put(idx, res); 404 private static final native String nativeGetString(int obj, int idx); 405 private static final native int[] nativeGetStyle(int obj, int idx);
|
| /bionic/libc/kernel/common/linux/ |
| bio.h | 114 #define bio_iovec_idx(bio, idx) (&((bio)->bi_io_vec[(idx)])) 130 #define __bio_kmap_atomic(bio, idx, kmtype) (kmap_atomic(bio_iovec_idx((bio), (idx))->bv_page, kmtype) + bio_iovec_idx((bio), (idx))->bv_offset)
|
| /dalvik/dx/src/com/android/dx/cf/code/ |
| BaseMachine.java | 204 public final void localArg(Frame frame, int idx) { 206 args[0] = frame.getLocals().get(idx); 208 localIndex = idx; 250 public final void localTarget(int idx, Type type, LocalItem local) { 251 localTarget = RegisterSpec.makeLocalOptional(idx, type, local);
|
| Ropper.java | 465 int idx = labelToResultIndex(label); local 467 if (idx < 0) { 472 return result.get(idx); 508 int idx = labelToResultIndex(block.getLabel()); local 511 if (idx < 0) { 521 removeBlockAndSpecialSuccessors(idx); 547 int idx = labelToResultIndex(block.getLabel()); local 550 if (idx < 0) { 553 result.remove(idx); 554 resultSubroutines.remove(idx); 1669 int idx = labelToResultIndex(succ); local [all...] |
| /external/webkit/WebCore/platform/text/ |
| Base64.cpp | 150 for (unsigned idx = 0; idx < len; idx++) { 151 unsigned char ch = data[idx]; 153 out[idx] = base64DecMap[ch];
|
| /ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
| bio.h | 114 #define bio_iovec_idx(bio, idx) (&((bio)->bi_io_vec[(idx)])) 130 #define __bio_kmap_atomic(bio, idx, kmtype) (kmap_atomic(bio_iovec_idx((bio), (idx))->bv_page, kmtype) + bio_iovec_idx((bio), (idx))->bv_offset)
|