Searched refs:idx (Results 1 – 12 of 12) sorted by relevance
/locale/programs/ |
A D | simple-hash.c | 129 table[idx].next = &table[idx]; in insert_entry_2() 152 for (idx = 1; idx <= old_size; ++idx) in insert_entry_2() 154 insert_entry_2 (htab, table[idx].key, table[idx].keylen, in insert_entry_2() 156 lookup (htab, table[idx].key, table[idx].keylen, in insert_entry_2() 227 size_t idx; in lookup() local 233 idx = hash; in lookup() 239 return idx; in lookup() 247 idx = htab->size + idx - hash; in lookup() 252 if (table[idx].used == hval && table[idx].keylen == keylen in lookup() 254 return idx; in lookup() [all …]
|
A D | ld-time.c | 232 size_t idx; in time_finish() local 239 for (idx = 0; idx < time->num_era; ++idx) in time_finish() 252 "LC_TIME", idx + 1); in time_finish() 262 "LC_TIME", idx + 1); in time_finish() 331 "LC_TIME", idx + 1); in time_finish() 339 "LC_TIME", idx + 1); in time_finish() 357 "LC_TIME", idx + 1); in time_finish() 405 "LC_TIME", idx + 1); in time_finish() 413 "LC_TIME", idx + 1); in time_finish() 431 "LC_TIME", idx + 1); in time_finish() [all …]
|
A D | locarchive.c | 495 for (idx = 0; idx < __LC_LAST; ++idx) in enlarge_archive() 498 old_data[idx].size = GET (oldlocrec->record[idx].len); in enlarge_archive() 502 __md5_buffer (old_data[idx].addr, old_data[idx].size, in enlarge_archive() 750 insert_idx = idx; in insert_name() 971 idx += incr; in add_locale() 1058 idx += incr; in add_locale() 1572 idx += incr; in delete_locales_from_archive() 1684 int idx; in show_archive_content() local 1688 for (idx = 0; idx < __LC_LAST; ++idx) in show_archive_content() 1714 int idx, i; in show_archive_content() local [all …]
|
A D | locale-spec.c | 57 size_t idx = __collate_element_hash[2 * cnt]; in locale_special() 60 &__collate_element_strings[idx]); in locale_special() 69 idx = __collate_element_hash[2 * cnt + 1]; in locale_special() 70 wp = &__collate_element_values[idx]; in locale_special() 112 size_t idx = __collate_symbol_hash[2 * cnt + 1]; in locale_special() 116 for (cls = 0; cls < __collate_symbol_classes[idx]; ++cls) in locale_special() 118 __collate_symbol_classes[idx + 1 + cls]); in locale_special()
|
A D | linereader.h | 69 size_t idx; member 127 if (lr->idx == lr->bufact) in lr_getc() 137 return lr->buf[lr->idx] == '\32' ? EOF : lr->buf[lr->idx++]; in lr_getc() 145 if (lr->idx == 0) in lr_ungetc() 149 lr->buf[--lr->idx] = ch; in lr_ungetc() 157 if (lr->idx < n) in lr_ungetn() 160 lr->idx -= n; in lr_ungetn()
|
A D | linereader.c | 77 result->idx = 0; in lr_create() 117 while (isspace (lr->buf[lr->idx]) && lr->buf[lr->idx] != '\n' in lr_ignore_rest() 119 if (lr->buf[lr->idx] == '\0') in lr_ignore_rest() 125 ++lr->idx; in lr_ignore_rest() 128 && lr->buf[lr->idx] != lr->comment_char) in lr_ignore_rest() 137 lr->idx = lr->bufact; in lr_ignore_rest() 175 lr->idx = 0; in lr_next() 226 lr->idx = lr->bufact; in lr_token() 274 if (lr->buf[lr->idx] == '.') in lr_token() 341 size_t start_idx = lr->idx - 1; in get_toplvl_escape() [all …]
|
A D | ld-ctype.c | 3631 for (idx = 0; idx < 256; ++idx) in allocate_arrays() 3636 for (idx = 0; idx < 127; ++idx) in allocate_arrays() 3637 ctype->ctype_b[idx] = ctype->ctype_b[256 + idx]; in allocate_arrays() 3640 for (idx = 0; idx < ctype->class_collection_act; ++idx) in allocate_arrays() 3653 for (idx = 0; idx < 256; ++idx) in allocate_arrays() 3667 for (idx = 0; idx < ctype->class_collection_act; ++idx) in allocate_arrays() 3685 for (idx = 0; idx < 2; ++idx) in allocate_arrays() 3706 for (idx = 0; idx < ctype->map_collection_nr; ++idx) in allocate_arrays() 3730 for (idx = 0; idx < ctype->map_collection_act[nr]; ++idx) in allocate_arrays() 3915 ++idx; in allocate_arrays() [all …]
|
A D | ld-collate.c | 2132 size_t idx; in collate_output() local 2133 for (idx = 1; idx < nelems; idx++) in collate_output() 2450 size_t idx = hash % elem_size; in collate_output() local 2452 size_t start_idx = idx; in collate_output() 2455 if (elem_table[idx * 2] != 0) in collate_output() 2463 idx += iter; in collate_output() 2464 if (idx >= elem_size) in collate_output() 2465 idx -= elem_size; in collate_output() 2466 assert (idx != start_idx); in collate_output() 2468 while (elem_table[idx * 2] != 0); in collate_output() [all …]
|
A D | locale.c | 360 #define HANDLE(idx, name) \ in print_LC_IDENTIFICATION() argument 362 + filedata->strindex[_NL_ITEM_INDEX (_NL_IDENTIFICATION_##idx)]); \ in print_LC_IDENTIFICATION()
|
/locale/ |
A D | loadarchive.c | 148 size_t idx; in _nl_load_locale_from_archive() local 280 idx = hval % head->namehash_size; in _nl_load_locale_from_archive() 287 if (namehashtab[idx].name_offset == 0) in _nl_load_locale_from_archive() 291 if (namehashtab[idx].hashval == hval in _nl_load_locale_from_archive() 292 && strcmp (name, headmap.ptr + namehashtab[idx].name_offset) == 0) in _nl_load_locale_from_archive() 296 idx += incr; in _nl_load_locale_from_archive() 297 if (idx >= head->namehash_size) in _nl_load_locale_from_archive() 298 idx -= head->namehash_size; in _nl_load_locale_from_archive() 302 if (namehashtab[idx].locrec_offset == 0) in _nl_load_locale_from_archive() 305 locrec = (struct locrecent *) (headmap.ptr + namehashtab[idx].locrec_offset); in _nl_load_locale_from_archive()
|
A D | loadlocale.c | 111 size_t idx = filedata->strindex[cnt]; in _nl_intern_locale_data() local 112 if (__glibc_unlikely (idx > (size_t) newdata->filesize)) in _nl_intern_locale_data() 151 newdata->values[cnt].string = newdata->filedata + idx; in _nl_intern_locale_data() 154 if (!LOCFILE_ALIGNED_P (idx)) in _nl_intern_locale_data() 157 *((const uint32_t *) (newdata->filedata + idx)); in _nl_intern_locale_data()
|
A D | categories.def | 127 DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_FROM_IDX, "ctype-translit-from-idx", std, wstring) 129 DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_TO_IDX, "ctype-translit-to-idx", std, wstring)
|
Completed in 49 milliseconds