Lines Matching +defs:list +defs:length
14 * notice, this list of conditions and the following disclaimer.
16 * notice, this list of conditions and the following disclaimer in the
360 * If not NULL, the length of the (intended) name is returned via len
600 * Process a linked list of variable assignments.
604 listsetvar(struct strlist *list, int flags)
609 for (lp = list ; lp ; lp = lp->next) {
616 listmklocal(struct strlist *list, int flags)
620 for (lp = list ; lp ; lp = lp->next)
686 * Generate a list of exported variables. This routine is used to construct
767 * Command to list all variables which are set. Currently this command
878 static struct var **list; /* static in case we are interrupted */
882 if (!list) {
884 list = ckmalloc(list_len * sizeof *list);
894 list = ckrealloc(list,
895 (list_len << 1) * sizeof *list);
898 list[count++] = vp;
902 qsort(list, count, sizeof *list, sort_var);
904 for (vpp = list; count--; vpp++)
907 /* no free(list), will be used again next time ... */
1339 * vppp is set to the pointer to vp, or the list head if vp isn't found
1399 * and give it just a fixed length static buffer for its result.
1454 #define length (8 + 10) /* 10 digits is enough for a 32 bit line num */
1455 static char result[length];
1459 #define length buf.len
1473 snprintf(result, length, "%.*s=%d", vp->name_len, vp->text, ln);
1477 #undef length