Lines Matching defs:target
1384 * or _TEMPLATE_INVALID (target property is not SCF_TYPE_ASTRING or has
1388 check_target_match(scf_propertygroup_t *pg, const char *target)
1425 /* For a desired target of 'this', check for 'this' and 'instance'. */
1426 if ((strcmp(target, SCF_TM_TARGET_INSTANCE) == 0 ||
1427 strcmp(target, SCF_TM_TARGET_THIS) == 0) &&
1433 if (strcmp(target, SCF_TM_TARGET_DELEGATE) == 0 &&
1438 if (strcmp(target, SCF_TM_TARGET_ALL) == 0 &&
1472 * target property is not SCF_TYPE_ASTRING or has more than one value.
1477 const char *target, char **tmpl_pg_name)
1517 if ((r = check_target_match(pg, target)) == 0)
1538 if ((r = check_target_match(pg, target)) == 0)
1579 check_target_match(pg, target) == 0) {
1603 if ((r = check_target_match(pg, target)) == 0)
1619 if ((r = check_target_match(pg, target)) == 0)
1661 * target property is not SCF_TYPE_ASTRING or has more than one value.
3106 * target property is not SCF_TYPE_ASTRING or has more than one value.
6398 char *target = NULL;
6440 if (scf_tmpl_pg_target(r, &target) == -1) {
6441 target = NULL;
6444 if (strcmp(target, SCF_TM_TARGET_ALL) == 0 ||
6445 strcmp(target, SCF_TM_TARGET_DELEGATE) == 0) {
6454 free(target);
6455 target = NULL;
6462 free(target);
6463 target = NULL;
6486 free(target);