Searched refs:utab (Results 1 – 2 of 2) sorted by relevance
48 struct utab { struct78 if (((const struct utab *)node1)->ut_uid > \ in node_compare()79 ((const struct utab *)node2)->ut_uid) in node_compare()81 else if (((const struct utab *)node1)->ut_uid < \ in node_compare()82 ((const struct utab *)node2)->ut_uid) in node_compare()84 else return(strcmp(((const struct utab *) node1)->ut_name, in node_compare()85 ((const struct utab *) node2)->ut_name)); in node_compare()94 struct utab **pt; in enter()99 if ((ub = (struct utab *)malloc(sizeof (struct utab))) == NULL) { in enter()113 if (*(pt = (struct utab **)tsearch((void *)ub, (void **)&root, \ in enter()[all …]
53 struct utab { struct110 if (((const struct utab *)node1)->ut_uid > \ in node_compare()111 ((const struct utab *)node2)->ut_uid) in node_compare()113 else if (((const struct utab *)node1)->ut_uid < \ in node_compare()114 ((const struct utab *)node2)->ut_uid) in node_compare()123 struct utab **pt; in enter()125 if ((ub = (struct utab *)malloc(sizeof (struct utab))) == NULL) { in enter()139 if (*(pt = (struct utab **)tsearch((void *)ub, (void **)&root, \ in enter()158 tb.ta_uid = (*(struct utab **)node)->ut_uid; in print_node()159 CPYN(tb.ta_name, (char *)uidtonam((*(struct utab **)node)->ut_uid)); in print_node()[all …]