Lines Matching defs:str
208 strlcpy(zone,nbp_req.nve.zone.str, sizeof(zone));
209 strlcpy(object,nbp_req.nve.object.str, sizeof(object));
210 strlcpy(type,nbp_req.nve.type.str, sizeof(type));
348 ((at_nvestr_t*)p)->str[0] = '*';
508 type = (at_nvestr_t *)(&object->str[object->len]);
509 zone = (at_nvestr_t *)(&type->str[type->len]);
514 ("nbp_val_n_hash: bad str len\n"));
522 strlcpy(xzone,zone->str, sizeof(xzone));
523 strlcpy(xobject,object->str, sizeof(xobject));
524 strlcpy(xtype,type->str, sizeof(xtype));
533 bcopy(zone->str,nbp_req->nve.zone.str, zone->len);
536 char str[35];
537 strlcpy((char *)str,(char *)zone->str,sizeof(str));
539 ("nbp_val_n_hash bad zone: %s\n", str));
551 if (object->len == 1 && (object->str[0] == NBP_ORD_WILDCARD ||
552 object->str[0] == NBP_SPL_WILDCARD)) {
563 if (object->str[i] == NBP_SPL_WILDCARD) {
579 nbp_req->nve.object.str[i] = object->str[i];
588 if (type->len == 1 && (type->str[0] == NBP_ORD_WILDCARD ||
589 type->str[0] == NBP_SPL_WILDCARD)) {
600 if (type->str[i] == NBP_SPL_WILDCARD) {
614 nbp_req->nve.type.str[i] = type->str[i];
623 strlcpy(zone,nbp_req.nve.zone.str, sizeof(zone));
624 strlcpy(object,nbp_req.nve.object.str, sizeof(object));
625 strlcpy(type,nbp_req.nve.type.str, sizeof(type));
636 static void nbp_upshift (str, count)
637 register u_char *str;
650 ch = str[j];
652 str[j] = ch + 'A' - 'a';
656 str[j] = upper_case[i];
675 bcopy(&(nvestr->str[i]), &un, sizeof(un));
679 un.h_4char[i % sizeof(int)] = nvestr->str[i];
697 strlcpy(zone,nbp_req.nve.zone.str, sizeof(zone));
698 strlcpy(object,nbp_req.nve.object.str, sizeof(object));
699 strlcpy(type,nbp_req.nve.type.str, sizeof(type));
778 strlcpy(zone,nbp_req.nve.zone.str, sizeof(zone));
779 strlcpy(object,nbp_req.nve.object.str, sizeof(object));
780 strlcpy(type,nbp_req.nve.type.str, sizeof(type));
898 ch1 = str1->str[i1];
899 ch2 = str2->str[i2];
1003 if (zone->str[0] == '*')
1007 char str[35];
1008 strlcpy((char *)str,(char *)zone->str,sizeof(str));
1010 ("nbp_add_multi getting mc for %s\n", str));
1098 char str[35];
1099 strlcpy((char *)str,(char *)pnew->str,sizeof(str));
1118 if (!strncmp((char *)pnew->str, (char *)pnve->str, pnew->len)) {
1131 strlcpy((char *)pnve->str,(char *)pnew->str,sizeof(pnve->str));
1148 char str[35];
1154 strlcpy(str,pnve->str,sizeof(str));
1247 ("nbp_fillin_nve: bad str len\n"));
1265 (entity->object.str[0] == NBP_ORD_WILDCARD ||
1266 entity->object.str[0] == NBP_SPL_WILDCARD)) {
1273 if (entity->object.str[i] == NBP_SPL_WILDCARD) {
1285 (entity->type.str[0] == NBP_ORD_WILDCARD ||
1286 entity->type.str[0] == NBP_SPL_WILDCARD)) {
1291 if (entity->type.str[i] == NBP_SPL_WILDCARD) {
1389 if (!MULTIPORT_MODE && ifID_home->ifZoneName.str[0] == '*') {
1396 new_entry->zone.str[0] = '*';
1410 strlcpy(zone,nbp_req.nve.zone.str, sizeof(zone));
1411 strlcpy(object,nbp_req.nve.object.str, sizeof(object));
1412 strlcpy(type,nbp_req.nve.type.str, sizeof(type));