Lines Matching refs:amt
86 name_reserve(name_t *n, size_t amt) in name_reserve() argument
88 size_t newlen = n->nm_len + amt; in name_reserve()
184 name_join(name_t *n, size_t amt, const char *sep) in name_join() argument
190 VERIFY3U(amt, <=, n->nm_len); in name_join()
197 if (amt == 0) { in name_join()
203 if (amt == 1) { in name_join()
210 sp = name_at(n, amt - 1); in name_join()
211 for (size_t i = 0; i < amt; i++) { in name_join()
225 for (size_t i = 0; i < amt; i++) in name_join()
390 sub_reserve(sub_t *sub, size_t amt) in sub_reserve() argument
392 if (sub->sub_len + amt < sub->sub_size) in sub_reserve()
395 size_t newsize = roundup(sub->sub_size + amt, CHUNK_SIZE); in sub_reserve()
577 templ_save(const name_t *n, size_t amt, templ_t *tpl) in templ_save() argument
585 if (amt == 0) { in templ_save()
594 res &= sub_save(s, n, amt); in templ_save()