Lines Matching refs:priority
42 int priority; /* Used to select among matching
44 * priority level and a serial #.
46 * priority. Irrelevant except in
182 * priority level.
198 Tk_Window tkwin, char *string, int priority));
211 Tk_Window tkwin, char *fileName, int priority));
232 Tk_AddOption(tkwin, name, value, priority)
237 int priority; /* Overall priority level to use for
258 * Compute the priority for the new element, including both the
263 if (priority < 0) {
264 priority = 0;
265 } else if (priority > TK_MAX_PRIO) {
266 priority = TK_MAX_PRIO;
268 newEl.priority = (priority << 24) + serial;
343 * has highest priority.
355 if (elPtr->priority < newEl.priority) {
356 elPtr->priority = newEl.priority;
416 && (elPtr->priority > bestPtr->priority)) {
424 && (elPtr->priority > bestPtr->priority)) {
434 && (elPtr->priority > bestPtr->priority)) {
442 && (elPtr->priority > bestPtr->priority)) {
488 int priority;
492 argv[0], " add pattern value ?priority?\"", (char *) NULL);
496 priority = TK_INTERACTIVE_PRIO;
498 priority = ParsePriority(interp, argv[4]);
499 if (priority < 0) {
503 Tk_AddOption(tkwin, argv[2], argv[3], priority);
539 int priority;
543 argv[0], " readfile fileName ?priority?\"",
548 priority = ParsePriority(interp, argv[3]);
549 if (priority < 0) {
553 priority = TK_INTERACTIVE_PRIO;
555 return ReadOptionFile(interp, tkwin, argv[2], priority);
677 * Parse a string priority value.
680 * The return value is the integer priority level corresponding
681 * to string, or -1 if string doesn't point to a valid priority level.
693 char *string; /* Describes a priority level, either
696 int priority, c;
716 priority = strtoul(string, &end, 0);
717 if ((end == string) || (*end != 0) || (priority < 0)
718 || (priority > 100)) {
719 Tcl_AppendResult(interp, "bad priority level \"", string,
726 return priority;
754 AddFromString(interp, tkwin, string, priority)
759 int priority; /* Priority level to use for options in
870 Tk_AddOption(tkwin, name, value, priority);
898 ReadOptionFile(interp, tkwin, fileName, priority)
903 int priority; /* Priority level to use for options in
951 result = AddFromString(interp, tkwin, buffer, priority);
1069 * stacks. Given the current priority-based scheme, the order
1287 defaultMatch.priority = -1;