Lines Matching refs:suffix
296 pg_match(scf_handle_t *h, scf_service_t *svc, ino_t ino, const char *suffix) in pg_match() argument
333 if (suffix != NULL) { in pg_match()
351 match = (strcmp(buf, suffix) == 0); in pg_match()
396 char *suffix; in get_stop_pg() local
405 if ((suffix = script_suffix(script)) == NULL) { in get_stop_pg()
412 if ((pg = pg_match(h, svc, st.st_ino, suffix)) != NULL) in get_stop_pg()
418 if ((pg = pg_match(h, svc, 0, suffix)) == NULL) { in get_stop_pg()
421 free(suffix); in get_stop_pg()
427 free(suffix); in get_stop_pg()
707 char *suffix; in set_legacy_service() local
757 if ((suffix = script_suffix(script)) != NULL) { in set_legacy_service()
759 SCF_TYPE_ASTRING, (void *)suffix) != 0) in set_legacy_service()
762 free(suffix); in set_legacy_service()