Searched defs:state_name (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Dtimer.h44 const char* state_name; /**< eg: "copying data" */ member in struct:_PedTimer
61 extern void ped_timer_set_state_name (PedTimer* timer, const char* state_name);
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Dtimer.c193 timer->state_name = NULL;
230 * Sets a new name - \p state_name - for the current "phase" of the operation,
234 ped_timer_set_state_name (PedTimer* timer, const char* state_name) argument
239 timer->state_name = state_name;
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsvcctl_scm.c278 char *state_name; local
283 if ((state_name = malloc(max_state_size)) == NULL)
288 SCF_PROPERTY_STATE, state_name, max_state_size);
291 if (state_name[0] == '\0') {
292 state_name[0] = '-';
293 state_name[1] = '\0';
298 (void) strlcat(state_name, "*", max_state_size);
301 (void) strlcpy(state_name, SCF_STATE_STRING_LEGACY,
304 *buf = state_name;

Completed in 40 milliseconds