Searched refs:amax (Results 1 – 5 of 5) sorted by relevance
| /src/contrib/libedit/ |
| H A D | tokenizer.c | 87 size_t argc, amax; /* Current and maximum number of args */ in TYPE() local 133 tok->amax = AINCR; in TYPE() 134 tok->argv = tok_malloc(sizeof(*tok->argv) * tok->amax); in TYPE() 426 if (tok->argc >= tok->amax - 4) { in FUN() 428 tok->amax += AINCR; in FUN() 429 p = tok_realloc(tok->argv, tok->amax * sizeof(*p)); in FUN() 431 tok->amax -= AINCR; in FUN()
|
| H A D | ChangeLog | 2068 deraadt don't increase amax on realloc failure
|
| /src/crypto/krb5/src/lib/kadm5/ |
| H A D | str_conv.c | 232 size_t amax = 0, i; in krb5_flags_to_strings() local 242 a_new = realloc(a, (amax + 2) * sizeof(*a)); in krb5_flags_to_strings() 248 retval = krb5_flagnum_to_string(i, &a[amax++]); in krb5_flags_to_strings() 249 a[amax] = NULL; in krb5_flags_to_strings()
|
| /src/usr.bin/rpcgen/ |
| H A D | rpc_cout.c | 204 const char *amax, const char *objname, const char *name) in print_ifstat() argument 233 print_ifarg(amax); in print_ifstat() 263 print_ifarg(amax); in print_ifstat() 603 const char *amax = def->def.ty.array_max; in emit_typedef() local 606 print_ifstat(1, prefix, type, rel, amax, "objp", def->def_name); in emit_typedef() 614 const char *amax = dec->array_max; in print_stat() local 623 print_ifstat(indent, prefix, type, rel, amax, name, dec->name); in print_stat()
|
| /src/contrib/ntp/ntpq/ |
| H A D | ntpq.c | 2322 int amax in decodearr() argument 2330 while (*narr < amax && *cp) { in decodearr()
|