Home
last modified time | relevance | path

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

12345678910>>...39

/third_party/typescript/tests/baselines/reference/
DcontrolFlowManyConsecutiveConditionsNoTimeout.js7 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 …]
DcontrolFlowManyConsecutiveConditionsNoTimeout.types12 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 …]
DcontrolFlowManyConsecutiveConditionsNoTimeout.symbols12 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/
DcontrolFlowManyConsecutiveConditionsNoTimeout.ts8 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/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 …]
/third_party/python/Modules/_decimal/tests/
Drandfloat.py131 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 …]
Dformathelper.py245 s += random.choice('<>=^')
248 s += random.choice('+- ')
261 s += random.choice(c)
277 type = random.choice(('', 'E', 'e', 'G', 'g', 'F', 'f', '%'))
299 s += random.choice('<>=^')
302 s += random.choice('+- ')
313 s += random.choice(c)
320 loc = random.choice(locale_list)
330 s += random.choice('<>=^')
333 s += random.choice('+- ')
/third_party/openssl/crypto/x509v3/
Dv3_asid.c62 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/ltp/lib/
Dtst_kconfig.c156 vars[i].choice = 'n'; in kconfig_parse_line()
179 vars[i].choice = 'y'; in kconfig_parse_line()
182 vars[i].choice = 'm'; in kconfig_parse_line()
187 vars[i].choice = 'v'; in kconfig_parse_line()
412 vars[cnt].choice = 0; in populate_vars()
431 if (var->choice == 0) in map()
438 return var->choice == 'y' || var->choice == 'm'; in map()
443 char choice = 'v'; in map() local
446 choice = 'n'; in map()
449 choice = 'y'; in map()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUPropertyAliasesTest.java36 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUPropertyAliasesTest.java33 int p, v, choice, rev; in TestPropertyNames() local
36 for (choice=0; ; ++choice) { in TestPropertyNames()
39 name = UCharacter.getPropertyName(p, choice); in TestPropertyNames()
42 log(" " + choice + "=" + n); in TestPropertyNames()
45 if (choice > 0) break; in TestPropertyNames()
73 for (choice=0; ; ++choice) { in TestPropertyNames()
76 vname = UCharacter.getPropertyValueName(p, v, choice); in TestPropertyNames()
79 log(" " + choice + "=" + n); in TestPropertyNames()
83 if (choice>0) break; in TestPropertyNames()
/third_party/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 …]
Dambig_name-class.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>
/third_party/python/Lib/distutils/command/
Dregister.py130 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/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/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 …]
/third_party/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()
/third_party/flutter/flutter/examples/catalog/lib/
Dtabbed_app_bar.dart18 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),
Dbasic_app_bar.dart7 // 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/
Dmarkov.py8 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/
DNumberFormatServiceShim.java79 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormatServiceShim.java78 NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument
86 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, in createInstance()
95 if ( choice == NumberFormat.CURRENCYSTYLE || in createInstance()
96 choice == NumberFormat.ISOCURRENCYSTYLE || in createInstance()
97 choice == NumberFormat.PLURALCURRENCYSTYLE || in createInstance()
98 choice == NumberFormat.ACCOUNTINGCURRENCYSTYLE || in createInstance()
99 choice == NumberFormat.CASHCURRENCYSTYLE || in createInstance()
100 choice == NumberFormat.STANDARDCURRENCYSTYLE) { in createInstance()
DNumberFormat.java1423 public static NumberFormat getInstance(ULocale desiredLocale, int choice) { in getInstance() argument
1424 if (choice < NUMBERSTYLE || choice > STANDARDCURRENCYSTYLE) { in getInstance()
1434 return getShim().createInstance(desiredLocale, choice); in getInstance()
1439 static NumberFormat createInstance(ULocale desiredLocale, int choice) { in createInstance() argument
1445 String pattern = getPattern(desiredLocale, choice); in createInstance()
1452 … if (choice == CURRENCYSTYLE || choice == ISOCURRENCYSTYLE || choice == ACCOUNTINGCURRENCYSTYLE in createInstance()
1453 || choice == CASHCURRENCYSTYLE || choice == STANDARDCURRENCYSTYLE) { in createInstance()
1462 if (choice == ISOCURRENCYSTYLE) { in createInstance()
1503 DecimalFormat f = new DecimalFormat(pattern, symbols, choice); in createInstance()
1511 if (choice == INTEGERSTYLE) { in createInstance()
[all …]

12345678910>>...39