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

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dexpand.c39 static variable_t expvars[32]; variable
48 if (strlen(name) >= sizeof (expvars[0].v_name))
51 if (value != NULL && strlen(value) >= sizeof (expvars[0].v_value))
55 if (expvars[i].v_flags & EVF_DEFINED) {
56 if (grub_strcmp(expvars[i].v_name, name) == 0)
68 (void) grub_strcpy(expvars[i].v_name, name);
69 expvars[i].v_flags = EVF_DEFINED;
73 (void) grub_strcpy(expvars[i].v_value, value);
74 expvars[i].v_flags |= EVF_VALUESET;
76 expvars[
[all...]

Completed in 43 milliseconds