Lines Matching defs:proto
517 char *proto;
530 proto = strchr(id, '_');
531 if (proto == NULL)
533 *proto++ = '\0';
534 if (*proto == '\0')
536 sectype = strchr(proto, '_');
571 if ((prot = sa_upgrade_get_nvlist(node, proto)) == NULL) {
612 if ((ret == SA_OK) && (proto != NULL)) {
616 ret = sa_upgrade_add_nvlist(node, proto, prot);
787 scf_propertygroup_t *pg, char *proto, char *sectype)
801 if (proto == NULL)
816 if ((prot = sa_upgrade_get_nvlist(group, proto)) == NULL) {
856 if ((ret == SA_OK) && (proto != NULL)) {
860 ret = sa_upgrade_add_nvlist(group, proto, prot);
894 char *proto, *sectype, *buff;
947 sectype = proto = NULL;
948 proto = strchr(buff, '_');
949 if (proto != NULL) {
950 *proto++ = '\0';
952 sectype = strchr(proto, '_');
960 handle, handle->pg, proto, sectype);
1207 nvlist_t *proto, *dproto, *tmp_proto;
1212 proto = dproto = tmp_proto = NULL;
1221 if (nvpair_value_nvlist(nvp, &proto) != 0)
1230 ret = sa_upgrade_nvlist_merge(tmp_proto, proto, 0);
1276 ret = sa_upgrade_merge_sec(proto, dproto);