/third_party/typescript/tests/baselines/reference/ |
D | controlFlowManyConsecutiveConditionsNoTimeout.js | 7 const choice: Choice = Choice.One; constant 10 if (choice === choiceOne) {} 11 if (choice === choiceOne) {} 12 if (choice === choiceOne) {} 13 if (choice === choiceOne) {} 14 if (choice === choiceOne) {} 15 if (choice === choiceOne) {} 16 if (choice === choiceOne) {} 17 if (choice === choiceOne) {} 18 if (choice === choiceOne) {} [all …]
|
D | controlFlowManyConsecutiveConditionsNoTimeout.types | 12 const choice: Choice = Choice.One; 13 >choice : Choice 24 if (choice === choiceOne) {} 25 >choice === choiceOne : boolean 26 >choice : Choice.One 29 if (choice === choiceOne) {} 30 >choice === choiceOne : boolean 31 >choice : Choice.One 34 if (choice === choiceOne) {} 35 >choice === choiceOne : boolean [all …]
|
D | controlFlowManyConsecutiveConditionsNoTimeout.symbols | 12 const choice: Choice = Choice.One; 13 >choice : Symbol(choice, Decl(controlFlowManyConsecutiveConditionsNoTimeout.ts, 5, 5)) 25 if (choice === choiceOne) {} 26 >choice : Symbol(choice, Decl(controlFlowManyConsecutiveConditionsNoTimeout.ts, 5, 5)) 29 if (choice === choiceOne) {} 30 >choice : Symbol(choice, Decl(controlFlowManyConsecutiveConditionsNoTimeout.ts, 5, 5)) 33 if (choice === choiceOne) {} 34 >choice : Symbol(choice, Decl(controlFlowManyConsecutiveConditionsNoTimeout.ts, 5, 5)) 37 if (choice === choiceOne) {} 38 >choice : Symbol(choice, Decl(controlFlowManyConsecutiveConditionsNoTimeout.ts, 5, 5)) [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | controlFlowManyConsecutiveConditionsNoTimeout.ts | 8 const choice: Choice = Choice.One; constant 11 if (choice === choiceOne) {} 12 if (choice === choiceOne) {} 13 if (choice === choiceOne) {} 14 if (choice === choiceOne) {} 15 if (choice === choiceOne) {} 16 if (choice === choiceOne) {} 17 if (choice === choiceOne) {} 18 if (choice === choiceOne) {} 19 if (choice === choiceOne) {} [all …]
|
/third_party/uboot/u-boot-2020.01/scripts/kconfig/tests/choice/ |
D | Kconfig | 6 choice 7 prompt "boolean choice" 11 bool "choice 0" 14 bool "choice 1" 18 choice 19 prompt "optional boolean choice" 24 bool "choice 0" 27 bool "choice 1" 31 choice 32 prompt "tristate choice" [all …]
|
D | oldask1_expected_stdout | 2 boolean choice 3 1. choice 0 (BOOL_CHOICE0) (NEW) 4 > 2. choice 1 (BOOL_CHOICE1) (NEW) 5 choice[1-2?]: 6 optional boolean choice [Y/n/?] (NEW) 7 optional boolean choice 8 > 1. choice 0 (OPT_BOOL_CHOICE0) 9 2. choice 1 (OPT_BOOL_CHOICE1) (NEW) 10 choice[1-2?]: 11 tristate choice [all …]
|
D | oldask0_expected_stdout | 2 boolean choice 3 1. choice 0 (BOOL_CHOICE0) (NEW) 4 > 2. choice 1 (BOOL_CHOICE1) (NEW) 5 choice[1-2?]: 6 optional boolean choice [N/y/?] (NEW) 7 tristate choice [M/y/?] (NEW) 8 choice 0 (TRI_CHOICE0) [N/m/?] (NEW) 9 choice 1 (TRI_CHOICE1) [N/m/?] (NEW) 10 optional tristate choice [N/m/y/?] (NEW)
|
/third_party/python/Modules/_decimal/tests/ |
D | randfloat.py | 131 s = random.choice(signs) 133 s += ''.join(random.choice(digits) for _ in range(intpart_len)) 134 if random.choice([True, False]): 137 s += ''.join(random.choice(digits) 141 if random.choice([True, False]): 142 s += random.choice(['e', 'E']) 143 s += random.choice(signs) 145 s += ''.join(random.choice(digits) 234 l = random.choice(TESTCASES[:6]) 235 yield random.choice(l) [all …]
|
/third_party/toybox/kconfig/lxdialog/ |
D | menubox.c | 102 #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 …]
|
D | checklist.c | 31 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 …]
|
/third_party/uboot/u-boot-2020.01/scripts/kconfig/lxdialog/ |
D | checklist.c | 18 static void print_item(WINDOW * win, int choice, int selected) in print_item() argument 28 wmove(win, choice, 0); in print_item() 32 wmove(win, choice, check_x); in print_item() 39 mvwaddch(win, choice, item_x, list_item[0]); in print_item() 43 wmove(win, choice, check_x + 1); in print_item() 52 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, in print_arrows() argument 72 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows() 108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local 114 choice = item_n(); in dialog_checklist() 116 choice = item_n(); in dialog_checklist() [all …]
|
D | menubox.c | 89 #define print_item(index, choice, selected) \ argument 92 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \ 176 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local 237 choice = item_n(); in dialog_menu() 240 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu() 243 choice = choice - scroll; in dialog_menu() 247 if ((choice >= max_choice)) { in dialog_menu() 248 if (choice >= item_count() - max_choice / 2) in dialog_menu() 251 scroll = first_item = choice - max_choice / 2; in dialog_menu() 252 choice = choice - scroll; in dialog_menu() [all …]
|
/third_party/openssl/crypto/x509v3/ |
D | v3_asid.c | 62 ASIdentifierChoice *choice, 67 if (choice == NULL) 70 switch (choice->type) { 75 for (i = 0; i < sk_ASIdOrRange_num(choice->u.asIdsOrRanges); i++) { 77 sk_ASIdOrRange_value(choice->u.asIdsOrRanges, i); 155 ASIdentifierChoice **choice; in X509v3_asid_add_inherit() local 160 choice = &asid->asnum; in X509v3_asid_add_inherit() 163 choice = &asid->rdi; in X509v3_asid_add_inherit() 168 if (*choice == NULL) { in X509v3_asid_add_inherit() 169 if ((*choice = ASIdentifierChoice_new()) == NULL) in X509v3_asid_add_inherit() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/powerpc/cpu/mpc83xx/sysio/ |
D | Kconfig.mpc8308 | 1 choice 15 choice 29 choice 43 choice 54 choice 65 choice 79 choice 93 choice 107 choice 118 choice [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UPropertyAliasesTest.java | 36 int p, v, choice, rev; in TestPropertyNames() local 39 for (choice=0; ; ++choice) { in TestPropertyNames() 42 name = UCharacter.getPropertyName(p, choice); in TestPropertyNames() 45 log(" " + choice + "=" + n); in TestPropertyNames() 48 if (choice > 0) break; in TestPropertyNames() 76 for (choice=0; ; ++choice) { in TestPropertyNames() 79 vname = UCharacter.getPropertyValueName(p, v, choice); in TestPropertyNames() 82 log(" " + choice + "=" + n); in TestPropertyNames() 86 if (choice>0) break; in TestPropertyNames()
|
/third_party/uboot/u-boot-2020.01/scripts/kconfig/tests/rand_nested_choice/ |
D | Kconfig | 1 choice 2 prompt "choice" 11 choice 12 prompt "sub choice" 21 choice 22 prompt "subsub choice"
|
/third_party/libxml2/test/relaxng/ |
D | tutorA.rng | 10 <choice> 12 <choice> 17 </choice> 23 <choice> 28 </choice> 44 <element name="choice"> 140 </choice> 147 <choice> 161 </choice> 170 <choice> [all …]
|
D | ambig_name-class.rng | 10 <choice> 12 <choice> 17 </choice> 23 <choice> 28 </choice> 44 <element name="choice"> 140 </choice> 147 <choice> 161 </choice> 170 <choice> [all …]
|
/third_party/python/Lib/distutils/command/ |
D | register.py | 130 choice = '1' 134 choice = 'x' 139 while choice not in choices: 147 choice = input() 148 if not choice: 149 choice = '1' 150 elif choice not in choices: 153 if choice == '1': 181 choice = 'X' 182 while choice.lower() not in 'yn': [all …]
|
/third_party/selinux/libselinux/src/ |
D | query_user_context.c | 15 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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | UCharacterName.java | 82 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 …]
|
/third_party/flutter/flutter/examples/catalog/lib/ |
D | tabbed_app_bar.dart | 18 tabs: choices.map<Widget>((Choice choice) { 20 text: choice.title, 21 icon: Icon(choice.icon), 27 children: choices.map<Widget>((Choice choice) { 30 child: ChoiceCard(choice: choice), 56 const ChoiceCard({ Key key, this.choice }) : super(key: key); 58 final Choice choice; 70 Icon(choice.icon, size: 128.0, color: textStyle.color), 71 Text(choice.title, style: textStyle),
|
D | basic_app_bar.dart | 7 // This app is a stateful, it tracks the user's current choice. 16 void _select(Choice choice) { 18 _selectedChoice = choice; 40 return choices.skip(2).map<PopupMenuItem<Choice>>((Choice choice) { 42 value: choice, 43 child: Text(choice.title), 52 child: ChoiceCard(choice: _selectedChoice), 75 const ChoiceCard({ Key key, this.choice }) : super(key: key); 77 final Choice choice; 89 Icon(choice.icon, size: 128.0, color: textStyle.color), [all …]
|
/third_party/python/Tools/demo/ |
D | markov.py | 8 def __init__(self, histsize, choice): argument 10 self.choice = choice 25 choice = self.choice 28 seq = choice(trans[None]) 32 next = choice(options) 71 m = Markov(histsize, random.choice)
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | NumberFormatServiceShim.java | 79 NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument 87 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, in createInstance() 96 if ( choice == NumberFormat.CURRENCYSTYLE || in createInstance() 97 choice == NumberFormat.ISOCURRENCYSTYLE || in createInstance() 98 choice == NumberFormat.PLURALCURRENCYSTYLE || in createInstance() 99 choice == NumberFormat.ACCOUNTINGCURRENCYSTYLE || in createInstance() 100 choice == NumberFormat.CASHCURRENCYSTYLE || in createInstance() 101 choice == NumberFormat.STANDARDCURRENCYSTYLE) { in createInstance()
|