Lines Matching refs:item
46 extern void **list_append(void **list, void *item);
461 char *item = NULL;
552 item = (char *)malloc(strlen("bsdaddr") +
557 item = (char *)malloc(strlen("bsdaddr") +
562 if (item == NULL) {
568 sprintf(item, "%s=%s,%s,%s", "bsdaddr",
571 sprintf(item, "%s=%s,%s,%s", "bsdaddr",
576 (void *)item);
578 item = (char *)malloc(strlen("description") +
580 if (item == NULL) {
584 sprintf(item, "%s=%s", "description", comment);
586 (void *)item);
612 item = (char *)malloc(strlen("use") +
614 if (item == NULL) {
618 sprintf(item, "%s=%s", "use", printername);
620 (void *)item);
648 item = (char *)malloc(strlen("description") +
650 if (item == NULL) {
654 sprintf(item, "%s=%s", "description", comment);
655 attrList = (char **)list_append((void**)attrList, (void *)item);
657 item = (char *)malloc(strlen("description") + 4);
658 if (item == NULL) {
662 sprintf(item, "%s=", "description");
663 attrList = (char **)list_append((void**)attrList, (void *)item);
722 item = (char *)malloc(strlen("use") +
724 if (item == NULL) {
728 sprintf(item, "%s=%s", "use", printername);
730 (void *)item);
760 item = (char *)malloc(strlen("use") + strlen(printername) + 4);
761 if (item == NULL) {
765 sprintf(item, "%s=%s", "use", printername);
766 attrList = (char **)list_append((void**)attrList, (void *)item);