Lines Matching refs:part

81  *      if the last part is a valid resource for that widget.  (eg.
94 * last_part the last resource part (e.g. *background)
288 * remainder the part of the resource string left over
291 * last_token the last * or . before the final resource part
292 * last_part the last resource part (e.g. *background)
347 * remainder the remaining part of the resource string
350 * last_token the last * or . before the final resource part
351 * last_part the last resource part (e.g. *background)
386 * This routine will return the token and following part of the resource
390 * remainder the part of the resource string left over
392 * part the parsed off part of the resource string
395 * char the token (* or . or ?) preceding the resource part
397 * part the parsed off part of the resource string
402 _get_part(char *remainder _X_UNUSED, char **indx, char **part)
410 * copy the remainder part into the buffer
421 *part = XtNewString(buffer); /* return a new string to part */
433 * This function matches the resource part to the widget name or class
437 * part the parsed off part of the resource string
445 _match_resource_to_widget(Widget w, char *part)
450 if (strcmp(part, "?") == 0)
460 if ((strcmp(w->core.name, part) == 0) ||
461 (strcmp(w->core.widget_class->core_class.class_name, part) == 0))
467 if ((strcmp(w->core.widget_class->core_class.class_name, part) == 0))
483 * remainder the part of the resource string left over
486 * last_token the last * or . before the final resource part
487 * last_part the last resource part (e.g. *background)
529 char *part;
534 * parse off one part, return token and the new index
536 token = _get_part(remainder, &local_index, &part);
538 if (_match_resource_to_widget(w, part)) {
554 XtFree(part);
574 else { /* if the widget name and class don't match the part */
583 XtFree(part);
596 * remainder the part of the resource string left over
597 * part the parsed off part of the resource string
600 * char the token (* or . or ?) preceding the resource part
601 * remainder the part of the resource string left over
602 * part the parsed off part of the resource string
607 _get_last_part(char *remainder, char **part)
615 *part = XtNewString(remainder);
620 *part = XtNewString(tight);
625 *part = XtNewString(loose);
628 *part = NULL;
648 * the resource part (eg. part = Form token = *) to a widget. When