Home
last modified time | relevance | path

Searched refs:choice (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/external/libcups/cups/
Dppd-conflicts.c47 const char *choice,
72 const char *choice, /* I - Choice to test */ in cupsGetConflicts() argument
90 if (!ppd || !option || !choice || !options) in cupsGetConflicts()
97 active = ppd_test_constraints(ppd, option, choice, 0, NULL, in cupsGetConflicts()
113 if (cptr->choice) in cupsGetConflicts()
115 cptr->choice->choice, num_options, in cupsGetConflicts()
119 num_options = cupsAddOption(cptr->option->keyword, marked->choice, in cupsGetConflicts()
171 const char *choice, /* I - Newly selected choice or @code NULL@ for none */ in cupsResolveConflicts() argument
202 if (!ppd || !num_options || !options || (option == NULL) != (choice == NULL)) in cupsResolveConflicts()
216 num_newopts = cupsAddOption(option, choice, num_newopts, &newopts); in cupsResolveConflicts()
[all …]
Dppd-mark.c38 const char *choice);
371 const char *choice) /* I - Name of choice */ in ppdFindChoice() argument
377 if (!o || !choice) in ppdFindChoice()
380 if (choice[0] == '{' || !_cups_strncasecmp(choice, "Custom.", 7)) in ppdFindChoice()
381 choice = "Custom"; in ppdFindChoice()
384 if (!_cups_strcasecmp(c->choice, choice)) in ppdFindChoice()
414 marked ? marked->choice : "NULL")); in ppdFindMarkedChoice()
478 const char *choice) /* I - Choice name */ in ppdIsMarked() argument
493 return (!strcmp(c->choice, choice)); in ppdIsMarked()
547 const char *choice) /* I - Option name */ in ppdMarkOption() argument
[all …]
Dtestconflicts.c41 *choice; /* Current choice */ in main() local
65 choice = NULL; in main()
72 if (!cupsResolveConflicts(ppd, option, choice, &num_options, &options)) in main()
91 if (choice) in main()
93 free(choice); in main()
94 choice = NULL; in main()
112 choice = strdup(cptr); in main()
115 ppdMarkOption(ppd, option, choice); in main()
123 if (choice) in main()
124 free(choice); in main()
Dppd-cache.c80 ppd_choice_t *choice; /* Marked choice */ in _cupsConvertOptions() local
246 if ((choice = ppdFindMarkedChoice(ppd, "OutputBin")) != NULL) in _cupsConvertOptions()
247 keyword = _ppdCacheGetBin(pc, choice->choice); in _cupsConvertOptions()
257 if ((choice = ppdFindMarkedChoice(ppd, "ColorModel")) != NULL) in _cupsConvertOptions()
259 if (!_cups_strcasecmp(choice->choice, "Gray")) in _cupsConvertOptions()
279 else if ((choice = ppdFindMarkedChoice(ppd, "cupsPrintQuality")) != NULL) in _cupsConvertOptions()
281 if (!_cups_strcasecmp(choice->choice, "draft")) in _cupsConvertOptions()
283 else if (!_cups_strcasecmp(choice->choice, "normal")) in _cupsConvertOptions()
285 else if (!_cups_strcasecmp(choice->choice, "high")) in _cupsConvertOptions()
291 else if (pc->sides_option && (choice = ppdFindMarkedChoice(ppd, pc->sides_option)) != NULL) in _cupsConvertOptions()
[all …]
/external/toybox/kconfig/lxdialog/
Dmenubox.c102 #define print_item(index, choice, selected) \ argument
105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
187 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local
248 choice = item_n(); in dialog_menu()
251 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu()
254 choice = choice - scroll; in dialog_menu()
258 if ((choice >= max_choice)) { in dialog_menu()
259 if (choice >= item_count() - max_choice / 2) in dialog_menu()
262 scroll = first_item = choice - max_choice / 2; in dialog_menu()
263 choice = choice - scroll; in dialog_menu()
[all …]
Dchecklist.c31 static void print_item(WINDOW * win, int choice, int selected) in print_item() argument
37 wmove(win, choice, 0); in print_item()
41 wmove(win, choice, check_x); in print_item()
47 mvwaddch(win, choice, item_x, item_str()[0]); in print_item()
51 wmove(win, choice, check_x + 1); in print_item()
59 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, in print_arrows() argument
79 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
115 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
121 choice = item_n(); in dialog_checklist()
123 choice = item_n(); in dialog_checklist()
[all …]
/external/libcups/filter/
Drastertolabel.c158 ppd_choice_t *choice; /* Marked choice */ in StartPage() local
206 if ((choice = ppdFindMarkedChoice(ppd, "zePrintRate")) != NULL && in StartPage()
207 strcmp(choice->choice, "Default")) in StartPage()
208 printf("\033S%.0f", atof(choice->choice) * 2.0 - 2.0); in StartPage()
249 if ((choice = ppdFindMarkedChoice(ppd, "zePrintRate")) != NULL && in StartPage()
250 strcmp(choice->choice, "Default")) in StartPage()
252 double val = atof(choice->choice); in StartPage()
379 if ((choice = ppdFindMarkedChoice(ppd, "inPrintMode")) != NULL) in StartPage()
381 if (!strcmp(choice->choice, "Standard")) in StartPage()
383 else if (!strcmp(choice->choice, "Tear")) in StartPage()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUPropertyAliasesTest.java31 int p, v, choice, rev; in TestPropertyNames() local
34 for (choice=0; ; ++choice) { in TestPropertyNames()
37 name = UCharacter.getPropertyName(p, choice); in TestPropertyNames()
40 log(" " + choice + "=" + n); in TestPropertyNames()
43 if (choice > 0) break; in TestPropertyNames()
71 for (choice=0; ; ++choice) { in TestPropertyNames()
74 vname = UCharacter.getPropertyValueName(p, v, choice); in TestPropertyNames()
77 log(" " + choice + "=" + n); in TestPropertyNames()
81 if (choice>0) break; in TestPropertyNames()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUPropertyAliasesTest.java30 int p, v, choice, rev; in TestPropertyNames() local
33 for (choice=0; ; ++choice) { in TestPropertyNames()
36 name = UCharacter.getPropertyName(p, choice); in TestPropertyNames()
39 log(" " + choice + "=" + n); in TestPropertyNames()
42 if (choice > 0) break; in TestPropertyNames()
70 for (choice=0; ; ++choice) { in TestPropertyNames()
73 vname = UCharacter.getPropertyValueName(p, v, choice); in TestPropertyNames()
76 log(" " + choice + "=" + n); in TestPropertyNames()
80 if (choice>0) break; in TestPropertyNames()
/external/autotest/frontend/client/src/autotest/afe/
DRadioChooser.java8 public IRadioButton generateRadioButton(String groupName, String choice); in generateRadioButton() argument
27 public void addChoice(String choice) { in addChoice() argument
28 IRadioButton button = display.generateRadioButton(groupName, choice); in addChoice()
56 public void setSelectedChoice(String choice) { in setSelectedChoice() argument
57 findButtonForChoice(choice).setValue(true); in setSelectedChoice()
60 private IRadioButton findButtonForChoice(String choice) { in findButtonForChoice() argument
62 if (button.getText().equals(choice)) { in findButtonForChoice()
66 throw new RuntimeException("No such choice found: " + choice); in findButtonForChoice()
/external/python/cpython2/Lib/distutils/command/
Dregister.py131 choice = '1'
135 choice = 'x'
140 while choice not in choices:
149 choice = raw_input()
150 if not choice:
151 choice = '1'
152 elif choice not in choices:
155 if choice == '1':
183 choice = 'X'
184 while choice.lower() not in 'yn':
[all …]
/external/libxml2/test/relaxng/
DtutorA.rng10 <choice>
12 <choice>
17 </choice>
23 <choice>
28 </choice>
44 <element name="choice">
140 </choice>
147 <choice>
161 </choice>
170 <choice>
[all …]
Dtutor9_8.rng10 <choice>
18 </choice>
31 <define name="inline.class" combine="choice">
32 <choice>
39 </choice>
Dproofsystem.rng20 <choice>
23 </choice>
36 <choice>
46 </choice>
50 <choice>
87 </choice>
Dcomps.rng43 <choice>
46 </choice>
54 <choice>
57 </choice>
76 <choice>
80 </choice>
92 <choice>
96 </choice>
Dtutor3_5.rng4 <choice>
11 </choice>
12 <choice>
19 </choice>
Dtutor13_1.rng6 <choice>
17 </choice>
24 <choice>
29 </choice>
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterName.java82 public String getName(int ch, int choice) in getName() argument
85 choice > UCharacterNameChoice.CHAR_NAME_CHOICE_COUNT) { in getName()
91 result = getAlgName(ch, choice); in getName()
95 if (choice == UCharacterNameChoice.EXTENDED_CHAR_NAME) { in getName()
98 result = getGroupName(ch, choice); in getName()
112 public int getCharFromName(int choice, String name) in getCharFromName() argument
115 if (choice >= UCharacterNameChoice.CHAR_NAME_CHOICE_COUNT || in getCharFromName()
121 int result = getExtendedChar(name.toLowerCase(Locale.ENGLISH), choice); in getCharFromName()
130 if (choice == UCharacterNameChoice.UNICODE_CHAR_NAME || in getCharFromName()
131 choice == UCharacterNameChoice.EXTENDED_CHAR_NAME in getCharFromName()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterName.java81 public String getName(int ch, int choice) in getName() argument
84 choice > UCharacterNameChoice.CHAR_NAME_CHOICE_COUNT) { in getName()
90 result = getAlgName(ch, choice); in getName()
94 if (choice == UCharacterNameChoice.EXTENDED_CHAR_NAME) { in getName()
97 result = getGroupName(ch, choice); in getName()
111 public int getCharFromName(int choice, String name) in getCharFromName() argument
114 if (choice >= UCharacterNameChoice.CHAR_NAME_CHOICE_COUNT || in getCharFromName()
120 int result = getExtendedChar(name.toLowerCase(Locale.ENGLISH), choice); in getCharFromName()
129 if (choice == UCharacterNameChoice.UNICODE_CHAR_NAME || in getCharFromName()
130 choice == UCharacterNameChoice.EXTENDED_CHAR_NAME in getCharFromName()
[all …]
/external/selinux/libselinux/src/
Dquery_user_context.c15 int choice = 0; /* index of the user's choice */ in context_menu() local
22 while ((choice < 1) || (choice > i)) { in context_menu()
28 choice = strtol(response, NULL, 10); in context_menu()
31 return (choice - 1); in context_menu()
41 int choice; /* The index in the list of the sid chosen by in query_user_context() local
56 choice = context_menu(list); in query_user_context()
57 *usercon = strdup(list[choice]); in query_user_context()
/external/python/cpython2/Demo/scripts/
Dmarkov.py4 def __init__(self, histsize, choice): argument
6 self.choice = choice
21 choice = self.choice
24 seq = choice(trans[None])
28 next = choice(options)
67 m = Markov(histsize, random.choice)
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/userInteraction/
DUserInteractor.py75 choice = input("Your Choice : ")
77 choice = int(choice)
78 if choice == len(options):
81 if choice < 0:
83 raise KeyError(choice)
85 options[choice][1]()
/external/iputils/doc/
Dtraceroute6.sgml17 <arg choice="opt"><option>-dnrvV</option></arg>
18 <arg choice="opt">-i <replaceable/interface/</arg>
19 <arg choice="opt">-m <replaceable/max_ttl/</arg>
20 <arg choice="opt">-p <replaceable/port/</arg>
21 <arg choice="opt">-q <replaceable/max_probes/</arg>
22 <arg choice="opt">-s <replaceable/source/</arg>
23 <arg choice="opt">-w <replaceable/wait time/</arg>
24 <arg choice="req"><replaceable/destination/</arg>
25 <arg choice="opt"><replaceable/size/</arg>
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DCertStatus.java43 ASN1TaggedObject choice) in CertStatus() argument
45 this.tagNo = choice.getTagNo(); in CertStatus()
47 switch (choice.getTagNo()) in CertStatus()
53 value = RevokedInfo.getInstance(choice, false); in CertStatus()
59 throw new IllegalArgumentException("Unknown tag encountered: " + choice.getTagNo()); in CertStatus()
/external/toolchain-utils/binary_search_tool/android/
Dtest_setup.sh34 read -p "Was the flashing of the image successful? " choice
35 case $choice in
89 read -p "Which method would you like to do? " choice
90 case $choice in

12345678910>>...25