/external/autotest/frontend/client/src/autotest/afe/ |
H A D | RadioChooserDisplay.java | 17 public IRadioButton generateRadioButton(String groupName, String choice) { argument 18 RadioButtonImpl radioButton = new RadioButtonImpl(groupName, choice);
|
H A D | IRadioButton.java | 15 public RadioButtonImpl(String name, String choice) { argument 16 super(name, choice);
|
H A D | RadioChooser.java | 8 public IRadioButton generateRadioButton(String groupName, String choice); argument 27 public void addChoice(String choice) { argument 28 IRadioButton button = display.generateRadioButton(groupName, choice); 56 public void setSelectedChoice(String choice) { argument 57 findButtonForChoice(choice).setValue(true); 60 private IRadioButton findButtonForChoice(String choice) { argument 62 if (button.getText().equals(choice)) { 66 throw new RuntimeException("No such choice found: " + choice);
|
/external/adhd/adhdinfo/ |
H A D | main.c | 39 const int choice = getopt_long(argc, argv, "", options, &option_index); local 41 if (choice == -1) { 45 switch (choice) { 55 printf("?? getopt returned character code 0%o ??\n", choice);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/ |
H A D | Parser.java | 35 * @param choice 43 public boolean checkEvent(Event.ID choice); argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/ |
H A D | CertStatus.java | 43 ASN1TaggedObject choice) 45 this.tagNo = choice.getTagNo(); 47 switch (choice.getTagNo()) 53 value = RevokedInfo.getInstance(choice, false); 59 throw new IllegalArgumentException("Unknown tag encountered: " + choice.getTagNo()); 42 CertStatus( ASN1TaggedObject choice) argument
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
H A D | ArgsEnum.java | 38 @Parameter(names = "-choice") 39 public ChoiceType choice = ChoiceType.ONE; field in class:ArgsEnum 46 String[] argv = { "-choice", "ONE"};
|
/external/libcups/cups/ |
H A D | testconflicts.c | 37 *cptr; /* Pointer to first choice */ 41 *choice; /* Current choice */ local 65 choice = NULL; 72 if (!cupsResolveConflicts(ppd, option, choice, &num_options, &options)) 91 if (choice) 93 free(choice); 94 choice = NULL; 112 choice = strdup(cptr); 115 ppdMarkOption(ppd, option, choice); [all...] |
H A D | testlang.c | 121 ppd_choice_t *choice; /* PageSize/Letter choice */ local 141 if ((choice = ppdFindChoice(option, "Letter")) == NULL) 143 puts("No Letter PageSize choice."); 148 printf("Letter: %s\n", choice->text);
|
/external/python/cpython3/Lib/ |
H A D | secrets.py | 9 __all__ = ['choice', 'randbelow', 'randbits', 'SystemRandom', 25 choice = _sysrand.choice variable
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
H A D | CanonicalParser.java | 165 public boolean checkEvent(Event.ID choice) { argument 170 if (events.get(0).is(choice)) {
|
H A D | CanonicalScanner.java | 73 for (Token.ID choice : choices) { 74 if (first.getTokenId() == choice) { 99 public Token getToken(Token.ID choice) { argument 101 if (choice != null && token.getTokenId() != choice) {
|
/external/autotest/frontend/client/src/autotest/common/table/ |
H A D | ListFilter.java | 95 public void setSelectedChoice(String choice) { argument 97 if(select.getItemText(i).equals(choice)) { 103 select.addItem(choice);
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
H A D | UCharacterNameIterator.java | 171 * @param choice name choice from the class 174 protected UCharacterNameIterator(UCharacterName name, int choice) argument 180 // no explicit choice in UCharacter so no checks on choice 181 m_choice_ = choice; 194 * Name choice
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | NumberFormatServiceShim.java | 79 NumberFormat createInstance(ULocale desiredLocale, int choice) { argument 83 // return NumberFormat.createInstance(desiredLocale, choice); 87 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, 96 if ( choice == NumberFormat.CURRENCYSTYLE || 97 choice == NumberFormat.ISOCURRENCYSTYLE || 98 choice == NumberFormat.PLURALCURRENCYSTYLE) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
H A D | UCharacterNameIterator.java | 171 * @param choice name choice from the class 174 protected UCharacterNameIterator(UCharacterName name, int choice) argument 180 // no explicit choice in UCharacter so no checks on choice 181 m_choice_ = choice; 194 * Name choice
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | NumberFormatServiceShim.java | 78 NumberFormat createInstance(ULocale desiredLocale, int choice) { argument 82 // return NumberFormat.createInstance(desiredLocale, choice); 86 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, 95 if ( choice == NumberFormat.CURRENCYSTYLE || 96 choice == NumberFormat.ISOCURRENCYSTYLE || 97 choice == NumberFormat.PLURALCURRENCYSTYLE) {
|
/external/selinux/libselinux/src/ |
H A D | query_user_context.c | 15 int choice = 0; /* index of the user's choice */ local 22 while ((choice < 1) || (choice > i)) { 23 printf("Enter number of choice: "); 28 choice = strtol(response, NULL, 10); 31 return (choice - 1); 41 int choice; /* The index in the list of the sid chosen by local 56 choice = context_menu(list); 57 *usercon = strdup(list[choice]); [all...] |
/external/toybox/kconfig/lxdialog/ |
H A D | checklist.c | 31 static void print_item(WINDOW * win, int choice, int selected) argument 37 wmove(win, choice, 0); 41 wmove(win, choice, check_x); 47 mvwaddch(win, choice, item_x, item_str()[0]); 51 wmove(win, choice, check_x + 1); 59 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, argument 79 if ((height < item_no) && (scroll + choice < item_no - 1)) { 115 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; local 121 choice = item_n(); 123 choice [all...] |
H A D | menubox.c | 102 #define print_item(index, choice, selected) \ 105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \ 187 int key = 0, button = 0, scroll = 0, choice = 0; local 245 /* Set choice to default item */ 248 choice = item_n(); 251 if ((scroll <= choice) && (scroll + max_choice > choice) && 254 choice = choice - scroll; 258 if ((choice > [all...] |
/external/autotest/client/site_tests/cellular_SuspendResume/ |
H A D | cellular_SuspendResume.py | 7 from random import choice, randint namespace 204 self.enable_device(device, choice([True, False]))
|
/external/scapy/scapy/ |
H A D | base_classes.py | 95 def choice(self): member in class:Net
|
/external/deqp/framework/common/ |
H A D | tcuFloatFormat.cpp | 38 Interval chooseInterval(YesNoMaybe choice, const Interval& no, const Interval& yes) argument 40 switch (choice)
|
/external/flatbuffers/tests/ |
H A D | phpTest.php | 233 $choice = mt_rand() % $test_values_max; variable 234 switch ($choice) { 281 $choice = mt_rand() % $test_values_max; variable 286 switch ($choice) {
|
/external/honggfuzz/ |
H A D | mangle.c | 114 uint64_t choice = util_rndGet(0, run->global->dictionaryCnt - 1); local 116 for (uint64_t i = 0; i < choice; i++) { 134 uint64_t choice = util_rndGet(0, run->global->dictionaryCnt - 1); local 136 for (uint64_t i = 0; i < choice; i++) { 382 uint64_t choice = util_rndGet(0, ARRAYSIZE(mangleMagicVals) - 1); local 383 mangle_Overwrite(run, mangleMagicVals[choice].val, off, mangleMagicVals[choice].size); 575 uint64_t choice = util_rndGet(0, ARRAYSIZE(mangleFuncs) - 1); local 576 mangleFuncs[choice](run);
|