Lines Matching refs:temp

302 	struct snmp_oid2str *temp, *prev;
314 SLIST_FOREACH(temp, headp, link) {
315 if ((rc = asn_compare_oid(&(entry->var), &(temp->var))) <= 0)
317 prev = temp;
324 if (strncmp(temp->string, entry->string, entry->strlen)) {
326 "mappings: old - %s, new - %s", temp->string,
337 SLIST_INSERT_AFTER(temp, entry, link);
509 struct snmp_index_entry *temp, *prev;
522 SLIST_FOREACH(temp, &snmptoolctx->snmp_tablelist, link) {
523 if ((rc = asn_compare_oid(&(entry->var), &(temp->var))) <= 0)
525 prev = temp;
532 if (strncmp(temp->string, entry->string, entry->strlen)) {
534 "mapping - old - %s, new - %s", temp->string,
541 SLIST_INSERT_AFTER(temp, entry, link);
599 struct enum_type *temp;
604 SLIST_FOREACH(temp, &snmptoolctx->snmp_tclist, link) {
605 if (strcmp(temp->name, name) == 0)
606 return (temp);
701 struct enum_pair *temp;
706 STAILQ_FOREACH(temp, headp, link) {
707 if (temp->enum_val == enum_val)
708 return (temp->enum_str);
732 struct snmp_oid2str *temp;
737 SLIST_FOREACH(temp, headp, link)
738 if (asn_compare_oid(&(temp->var), &(s->val.var)) == 0)
741 if ((s->info = temp) == NULL)
751 struct snmp_oid2str *temp;
756 SLIST_FOREACH(temp,headp,link) {
757 if ((asn_compare_oid(&(temp->var), &(s->val.var)) == 0) ||
758 (asn_is_suboid(&(temp->var), &(s->val.var)))) {
759 s->info = temp;
882 struct snmp_oid2str *temp;
887 SLIST_FOREACH(temp, hp, link) {
888 if (temp->strlen != strlen(oid))
891 if (strncmp(temp->string, oid, temp->strlen))
894 s->val.syntax = temp->syntax;
895 s->info = temp;
896 asn_append_oid(&(s->val.var), &(temp->var));
907 struct snmp_index_entry *temp;
912 SLIST_FOREACH(temp, headp, link) {
913 if (temp->strlen != strlen(oid))
916 if (strncmp(temp->string, oid, temp->strlen))
925 asn_append_oid(&(s->val.var), &(temp->var));