Home
last modified time | relevance | path

Searched refs:nitems_max (Results 1 – 16 of 16) sorted by relevance

/third_party/gettext/gettext-tools/src/
Dstr-list.c40 slp->nitems_max = 0; in string_list_init()
53 slp->nitems_max = 0; in string_list_alloc()
64 if (slp->nitems >= slp->nitems_max) in string_list_append()
68 slp->nitems_max = slp->nitems_max * 2 + 4; in string_list_append()
69 nbytes = slp->nitems_max * sizeof (slp->item[0]); in string_list_append()
91 if (slp->nitems >= slp->nitems_max) in string_list_append_unique()
93 slp->nitems_max = slp->nitems_max * 2 + 4; in string_list_append_unique()
95 slp->nitems_max in string_list_append_unique()
Dmessage.c279 mlp->nitems_max = 0; in message_list_alloc()
342 if (mlp->nitems >= mlp->nitems_max) in message_list_append()
346 mlp->nitems_max = mlp->nitems_max * 2 + 4; in message_list_append()
347 nbytes = mlp->nitems_max * sizeof (message_ty *); in message_list_append()
365 if (mlp->nitems >= mlp->nitems_max) in message_list_prepend()
369 mlp->nitems_max = mlp->nitems_max * 2 + 4; in message_list_prepend()
370 nbytes = mlp->nitems_max * sizeof (message_ty *); in message_list_prepend()
391 if (mlp->nitems >= mlp->nitems_max) in message_list_insert_at()
395 mlp->nitems_max = mlp->nitems_max * 2 + 4; in message_list_insert_at()
396 nbytes = mlp->nitems_max * sizeof (message_ty *); in message_list_insert_at()
[all …]
Dlocating-rule.c67 size_t nitems_max; member
83 size_t nitems_max; member
269 if (rules->nitems == rules->nitems_max) in document_locating_rule_list_add()
271 rules->nitems_max = 2 * rules->nitems_max + 1; in document_locating_rule_list_add()
275 * rules->nitems_max); in document_locating_rule_list_add()
355 if (rules->nitems == rules->nitems_max) in locating_rule_list_add_from_file()
357 rules->nitems_max = 2 * rules->nitems_max + 1; in locating_rule_list_add_from_file()
360 sizeof (struct locating_rule_ty) * rules->nitems_max); in locating_rule_list_add_from_file()
Dcldr-plural.y100 if (ranges->nitems == ranges->nitems_max) in add_range()
102 ranges->nitems_max = ranges->nitems_max * 2 + 1; in add_range()
105 * ranges->nitems_max); in add_range()
169 if (result->nitems == result->nitems_max)
171 result->nitems_max = result->nitems_max * 2 + 1;
174 * result->nitems_max);
Dits.c78 size_t nitems_max; member
91 if (values->nitems == values->nitems_max) in its_value_list_append()
93 values->nitems_max = 2 * values->nitems_max + 1; in its_value_list_append()
96 sizeof (struct its_value_ty) * values->nitems_max); in its_value_list_append()
185 size_t nitems_max; member
193 if (pool->nitems == pool->nitems_max) in its_pool_alloc_value_list()
195 pool->nitems_max = 2 * pool->nitems_max + 1; in its_pool_alloc_value_list()
198 sizeof (struct its_value_list_ty) * pool->nitems_max); in its_pool_alloc_value_list()
237 size_t nitems_max; member
246 size_t nitems_max; member
[all …]
Dmsgl-fsearch.c329 if (mlp->nitems < mlp->nitems_max) in message_fuzzy_index_alloc()
331 mlp->nitems_max = mlp->nitems; in message_fuzzy_index_alloc()
334 xrealloc (mlp->item, mlp->nitems_max * sizeof (message_ty *)); in message_fuzzy_index_alloc()
354 size_t nitems_max; member
365 accu->nitems_max = 0; in mult_index_list_init()
445 accu->nitems2_max = accu->nitems_max; in mult_index_list_accumulate()
449 accu->nitems_max = dest_max; in mult_index_list_accumulate()
Dcldr-plural-exp.h64 size_t nitems_max; member
112 size_t nitems_max; member
Dmessage.h253 size_t nitems_max; member
307 size_t nitems_max; member
350 size_t nitems_max; member
Dmsgfmt.h47 size_t nitems_max; member
Dstr-list.h42 size_t nitems_max; member
Dmsgl-check.c1080 size_t nitems_max; member
1112 if (bullet_stack.nitems >= bullet_stack.nitems_max) in syntax_check_bullet_unicode()
1114 bullet_stack.nitems_max = 2 * bullet_stack.nitems_max + 4; in syntax_check_bullet_unicode()
1116 bullet_stack.nitems_max in syntax_check_bullet_unicode()
Dmsgfmt.c1508 operands->nitems_max = 0; in msgfmt_operand_list_init()
1531 if (operands->nitems == operands->nitems_max) in msgfmt_operand_list_append()
1533 operands->nitems_max = operands->nitems_max * 2 + 1; in msgfmt_operand_list_append()
1536 * operands->nitems_max); in msgfmt_operand_list_append()
Dx-perl.c2639 size_t nitems_max; member
2679 if (stack->nitems >= stack->nitems_max) in token_stack_push()
2683 stack->nitems_max = 2 * stack->nitems_max + 4; in token_stack_push()
2684 nbytes = stack->nitems_max * sizeof (token_ty *); in token_stack_push()
3570 token_stack.nitems_max = 0; in extract_perl()
/third_party/gettext/gettext-runtime/src/
Denvsubst.c312 size_t nitems_max; member
321 slp->nitems_max = 0; in string_list_init()
329 if (slp->nitems >= slp->nitems_max) in string_list_append()
333 slp->nitems_max = slp->nitems_max * 2 + 4; in string_list_append()
334 nbytes = slp->nitems_max * sizeof (slp->item[0]); in string_list_append()
/third_party/tzdata/
Dzic.c493 ptrdiff_t nitems_max = PTRDIFF_MAX - WORK_AROUND_QTBUG_53071; in growalloc() local
494 ptrdiff_t amax = nitems_max < SIZE_MAX ? nitems_max : SIZE_MAX; in growalloc()
/third_party/gettext/gettext-tools/libgettextpo/
Dgettext-po.c1269 ml.nitems_max = 2; in po_message_check_all()