Home
last modified time | relevance | path

Searched refs:size (Results 1 – 10 of 10) sorted by relevance

/locale/programs/
A Dsimple-hash.c74 htab->size = init_size; in init_hash()
140 if (100 * htab->filled > 75 * htab->size) in insert_entry_2()
145 unsigned long int old_size = htab->size; in insert_entry_2()
147 htab->size = next_prime (htab->size * 2); in insert_entry_2()
150 htab->table = (void *) xcalloc (1 + htab->size, sizeof (hash_entry)); in insert_entry_2()
231 hash = 1 + hval % htab->size; in lookup()
242 hash = 1 + hval % (htab->size - 2); in lookup()
247 idx = htab->size + idx - hash; in lookup()
A Dcharmap-dir.c91 size_t size; in charmap_readdir() local
105 size = cdir->directory_len + len + 1; in charmap_readdir()
106 if (size > cdir->pathname_size) in charmap_readdir()
109 if (size < 2 * cdir->pathname_size) in charmap_readdir()
110 size = 2 * cdir->pathname_size; in charmap_readdir()
111 cdir->pathname = (char *) xmalloc (size); in charmap_readdir()
112 cdir->pathname_size = size; in charmap_readdir()
A Dlocfile.c512 while (size > 0) in compare_files()
514 size_t bytes = (size < blocksize ? size : blocksize); in compare_files()
531 size -= bytes; in compare_files()
582 obstack_blank (&file->data, size); in align_locale_data()
583 memset (obstack_next_free (&file->data) - size, 0, size); in align_locale_data()
598 obstack_grow (&file->data, data, size); in add_locale_raw_data()
606 size_t size = obstack_object_size (obstack); in add_locale_raw_obstack() local
608 obstack_grow (&file->data, obstack_finish (obstack), size); in add_locale_raw_obstack()
729 to_archive[catidx].size = 0; in write_locale_data()
731 to_archive[catidx].size += vec[cnt].iov_len; in write_locale_data()
[all …]
A Dlocarchive.c318 uint32_t size) in compare_from_file() argument
320 void *p2 = xmalloc (size); in compare_from_file()
321 if (pread (ah->fd, p2, size, offset2) != size) in compare_from_file()
325 int res = memcmp (p1, p2, size); in compare_from_file()
880 data[LC_ALL].size = 0; in add_locale()
894 data[LC_ALL].size += rounded_size; in add_locale()
955 data[cnt].size) in add_locale()
959 data[cnt].size) == 0 in add_locale()
962 data[cnt].size) == 0)) in add_locale()
1047 != data[cnt].size) in add_locale()
[all …]
A Dlocale.c167 static void print_LC_IDENTIFICATION (void *mapped, size_t size);
168 static void print_LC_CTYPE (void *mapped, size_t size);
342 print_LC_IDENTIFICATION (void *mapped, size_t size) in print_LC_IDENTIFICATION() argument
356 <= size)) in print_LC_IDENTIFICATION()
384 print_LC_CTYPE (void *mapped, size_t size) in print_LC_CTYPE() argument
397 <= size)) in print_LC_CTYPE()
A Dsimple-hash.h26 unsigned long int size; member
A Dlocfile.h112 size_t size);
A Dld-ctype.c938 #define CTYPE_RAW_DATA(name, base, size) \ in ctype_output() argument
940 add_locale_raw_data (&file, base, size); \ in ctype_output()
/locale/
A Dlocarchive.h102 off64_t size; member
A Dcategories.def126 DEFINE_ELEMENT (_NL_CTYPE_TRANSLIT_TAB_SIZE, "ctype-translit-tab-size", std, word)

Completed in 25 milliseconds