Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtils.java110 final String elems[] = prefSubtype.split(LOCALE_AND_LAYOUT_SEPARATOR); in createAdditionalSubtypesArray() local
111 if (elems.length != LENGTH_WITHOUT_EXTRA_VALUE in createAdditionalSubtypesArray()
112 && elems.length != LENGTH_WITH_EXTRA_VALUE) { in createAdditionalSubtypesArray()
117 final String localeString = elems[INDEX_OF_LOCALE]; in createAdditionalSubtypesArray()
118 final String keyboardLayoutSetName = elems[INDEX_OF_KEYBOARD_LAYOUT]; in createAdditionalSubtypesArray()
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp1351 struct addrinfo_sort_elem* elems; in _rfc6724_sort() local
1359 elems = (struct addrinfo_sort_elem*) malloc(nelem * sizeof(struct addrinfo_sort_elem)); in _rfc6724_sort()
1360 if (elems == NULL) { in _rfc6724_sort()
1371 elems[i].ai = cur; in _rfc6724_sort()
1372 elems[i].original_order = i; in _rfc6724_sort()
1374 has_src_addr = _find_src_addr(cur->ai_addr, &elems[i].src_addr.sa, mark, uid); in _rfc6724_sort()
1378 elems[i].has_src_addr = has_src_addr; in _rfc6724_sort()
1382 qsort((void*) elems, nelem, sizeof(struct addrinfo_sort_elem), _rfc6724_compare); in _rfc6724_sort()
1384 list_sentinel->ai_next = elems[0].ai; in _rfc6724_sort()
1386 elems[i].ai->ai_next = elems[i + 1].ai; in _rfc6724_sort()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java1102 StackTraceElement[] elems = Thread.currentThread().getStackTrace(); in dumpStackTrace() local
1104 level = (level == 0 ? elems.length : Math.min(level + 3, elems.length)); in dumpStackTrace()
1107 ret = ret + "\t" + elems[i].toString() + '\n'; in dumpStackTrace()