Lines Matching refs:oidlen
900 unsigned int oidsize, unsigned int *oidlen) in smi_decode_oid() argument
906 for (*oidlen = 0; sflag && i-- > 0; p++) { in smi_decode_oid()
918 if (*oidlen < oidsize) { in smi_decode_oid()
919 oid[*oidlen] = o / OIDMUX; in smi_decode_oid()
920 if (oid[*oidlen] > 2) oid[*oidlen] = 2; in smi_decode_oid()
922 o -= oid[*oidlen] * OIDMUX; in smi_decode_oid()
923 if (*oidlen < oidsize) (*oidlen)++; in smi_decode_oid()
925 if (*oidlen < oidsize) { in smi_decode_oid()
926 oid[(*oidlen)++] = o; in smi_decode_oid()
1029 unsigned int oid[128], oidlen; in smi_print_variable() local
1034 &oidlen); in smi_print_variable()
1037 smiNode = smiGetNodeByOID(oidlen, oid); in smi_print_variable()
1047 if (smiNode->oidlen < oidlen) { in smi_print_variable()
1048 for (i = smiNode->oidlen; i < oidlen; i++) { in smi_print_variable()
1059 unsigned int i, oid[128], oidlen; in smi_print_value() local
1120 &oidlen); in smi_print_value()
1121 smiNode = smiGetNodeByOID(oidlen, oid); in smi_print_value()
1128 if (smiNode->oidlen < oidlen) { in smi_print_value()
1129 for (i = smiNode->oidlen; in smi_print_value()
1130 i < oidlen; i++) { in smi_print_value()