Lines Matching defs:br
55 unquote_pairs (ButtonRecord *br, int n)
59 for (i = 0; i < n; i++, br++) {
63 for (src = dst = br->name; *src; src++) {
90 ButtonRecord *br;
113 br = (ButtonRecord *) malloc (sizeof(ButtonRecord) * shouldfind);
114 if (!br) return -1;
118 free (br);
167 free (br);
175 br[npairs].name = start;
176 br[npairs].exitstatus = exitcode;
186 free (br);
194 unquote_pairs (br, npairs);
195 *brptr = br;
203 ButtonRecord *br = (ButtonRecord *) closure;
205 if (br->print_value)
206 puts (br->name);
207 exit (br->exitstatus);
220 ButtonRecord *br;
229 npairs = parse_name_and_exit_code_list (button_list, &br);
326 prev = XtCreateManagedWidget (br[i].name, commandWidgetClass,
328 br[i].widget = prev;
329 br[i].print_value = print_value;
330 XtAddCallback (prev, XtNcallback, handle_button, (XtPointer) &br[i]);
331 if (default_button && !strcmp(default_button, br[i].name)) {
334 default_exitstatus = br[i].exitstatus;
335 XtVaGetValues(br[i].widget, XtNborderWidth, &border, NULL);
337 XtVaSetValues(br[i].widget, XtNborderWidth, border, NULL);