Lines Matching defs:berstring
330 * BER encoded equivalent specified by 'berstring'. 'valIn' is unchanged.
333 berEncode(__nis_value_t *valIn, char *berstring) {
338 if (valIn == 0 || berstring == 0)
357 if ((strcmp("b", berstring) == 0 ||
358 strcmp("i", berstring) == 0)) {
360 ret = ber_printf(ber, berstring,
365 } else if (strcmp("B", berstring) == 0) {
366 ret = ber_printf(ber, berstring,
369 } else if (strcmp("n", berstring) == 0) {
370 ret = ber_printf(ber, berstring);
371 } else if (strcmp("o", berstring) == 0) {
372 ret = ber_printf(ber, berstring,
374 } else if (strcmp("s", berstring) == 0) {
378 ret = ber_printf(ber, berstring, str);
416 berDecode(__nis_value_t *valIn, char *berstring) {
421 if (valIn == 0 || berstring == 0)
447 if ((strcmp("b", berstring) == 0 ||
448 strcmp("i", berstring) == 0)) {
452 ret = ber_scanf(ber, berstring, v);
456 } else if (strcmp("B", berstring) == 0) {
459 ret = ber_scanf(ber, berstring, &v, &llen);
463 } else if (strcmp("n", berstring) == 0) {
465 } else if (strcmp("o", berstring) == 0) {
481 } else if (strcmp("s", berstring) == 0) {
511 __nis_rule_value_t *rv, char *berstring, int *np_ldap_stat) {
610 if (berstring == 0) {
612 } else if (yp2ldap && berstring[0] == 'a') {
616 berstring);
703 berstring, NULL);
1240 __nis_rule_value_t *rv, char *berstring, int *np_ldap_stat) {
1251 return (getMappingItemVal(i, native, rv, berstring,