Lines Matching defs:type
216 * i.e., the last process in a contract type service has exited.
477 mc_error_create(mc_error_t *e, int type, const char *format, ...)
484 * If the type is ENOMEM and format is NULL, then
489 if (type == ENOMEM && format == NULL)
497 le->type = type;
557 _restarter_get_channel_name(const char *fmri, int type)
567 if (type == RESTARTER_CHANNEL_DELEGATE)
569 else if (type == RESTARTER_CHANNEL_MASTER)
1010 const char *type, uint32_t flags, scf_propertygroup_t *pg)
1035 if (scf_instance_add_pg(inst, name, type, flags, pg) == 0)
1530 * EINVAL - type is invalid
1541 restarter_contract_type_t type)
1554 switch (type) {
1829 * EINVAL - type is invalid
1840 restarter_contract_type_t type)
1852 if (type == RESTARTER_CONTRACT_PRIMARY)
1854 else if (type == RESTARTER_CONTRACT_TRANSIENT)
2880 scf_type_t type;
2889 if (scf_property_type(prop, &type) != 0)
2891 if (type != SCF_TYPE_ASTRING)
3002 /* Set the type to zero to track if an error occured. */
3003 err->type = 0;
3201 if (err->type != 0)
3556 if (err->type != 0) {