Searched refs:elems (Results 1 – 3 of 3) sorted by relevance
110 final String elems[] = prefSubtype.split(LOCALE_AND_LAYOUT_SEPARATOR); in createAdditionalSubtypesArray() local111 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()
1350 struct addrinfo_sort_elem* elems; in _rfc6724_sort() local1358 elems = (struct addrinfo_sort_elem*) malloc(nelem * sizeof(struct addrinfo_sort_elem)); in _rfc6724_sort()1359 if (elems == NULL) { in _rfc6724_sort()1370 elems[i].ai = cur; in _rfc6724_sort()1371 elems[i].original_order = i; in _rfc6724_sort()1373 has_src_addr = _find_src_addr(cur->ai_addr, &elems[i].src_addr.sa, mark, uid); in _rfc6724_sort()1377 elems[i].has_src_addr = has_src_addr; in _rfc6724_sort()1381 qsort((void*) elems, nelem, sizeof(struct addrinfo_sort_elem), _rfc6724_compare); in _rfc6724_sort()1383 list_sentinel->ai_next = elems[0].ai; in _rfc6724_sort()1385 elems[i].ai->ai_next = elems[i + 1].ai; in _rfc6724_sort()[all …]
1107 StackTraceElement[] elems = Thread.currentThread().getStackTrace(); in dumpStackTrace() local1109 level = (level == 0 ? elems.length : Math.min(level + 3, elems.length)); in dumpStackTrace()1112 ret = ret + "\t" + elems[i].toString() + '\n'; in dumpStackTrace()