/third_party/jerryscript/tools/ |
H A D | build.py | 77 buildgrp.add_argument('--lto', metavar='X', choices=['ON', 'OFF'], type=str.upper, 78 help='enable link-time optimizations (%(choices)s)') 79 buildgrp.add_argument('--shared-libs', metavar='X', choices=['ON', 'OFF'], type=str.upper, 80 help='enable building of shared libraries (%(choices)s)') 81 buildgrp.add_argument('--strip', metavar='X', choices=['ON', 'OFF'], type=str.upper, 82 help='strip release binaries (%(choices)s)') 89 compgrp.add_argument('--doctests', metavar='X', choices=['ON', 'OFF'], type=str.upper, 90 help=devhelp('build doctests (%(choices)s)')) 91 compgrp.add_argument('--jerry-cmdline', metavar='X', choices=['ON', 'OFF'], type=str.upper, 92 help='build jerry command line tool (%(choices) [all...] |
/third_party/mesa3d/bin/ |
H A D | meson-options.py | 44 choices = '[' + ', '.join(["'" + v + "'" for v in value.choices]) + ']' 48 "You can set it to any one of those values: " + choices) 50 choices = '[' + ', '.join(["'" + v + "'" for v in value.choices]) + ']' 55 "You can set it to one or more of those values: " + choices)
|
/third_party/astc-encoder/Test/ |
H A D | astc_test_image.py | 304 choices=coders, help="test encoder variant") 307 choices=refcoders, help="reference encoder variant") 311 choices=astcProfile, help="test color profile") 315 choices=imgFormat, help="test color format") 317 choices = list(TEST_BLOCK_SIZES) + ["all"] 319 action="append", choices=choices, 332 choices=testSets, help="test image test set") 337 choices = list(TEST_QUALITIES) + ["all", "all+"] 339 choices [all...] |
/third_party/python/Lib/test/ |
H A D | test_random.py | 237 choices = self.gen.choices 245 choices(data, k=5), 246 choices(data, range(4), k=5), 247 choices(k=5, population=data, weights=range(4)), 248 choices(k=5, population=data, cum_weights=range(4)), 256 choices(2) 258 self.assertEqual(choices(data, k=0), []) # k == 0 259 self.assertEqual(choices(data, k=-1), []) # negative k behaves like ``[0] * -1`` 261 choices(dat [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | intersectionsAndEmptyObjects.js | 59 type choices<IChoiceList extends { 72 var defaultChoices: choices<{}>; 73 var defaultChoicesAndEmpty: choices<{} & {}>; 75 var myChoices: choices<IMyChoiceList>; 76 var myChoicesAndEmpty: choices<IMyChoiceList & {}>; 78 var unknownChoices: choices<IUnknownChoiceList>; 79 var unknownChoicesAndEmpty: choices<IUnknownChoiceList & {}>;
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_adjust_selection_controls.cpp | 48 // The choices to change the selection control to are the set of valid in Apply() 50 std::vector<uint32_t> choices; in Apply() local 57 choices.push_back(control); in Apply() 63 block.id(), choices[GetFuzzerContext()->RandomIndex(choices)]); in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_adjust_selection_controls.cpp | 48 // The choices to change the selection control to are the set of valid in Apply() 50 std::vector<uint32_t> choices; in Apply() local 57 choices.push_back(control); in Apply() 63 block.id(), choices[GetFuzzerContext()->RandomIndex(choices)]); in Apply()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_adjust_selection_controls.cpp | 48 // The choices to change the selection control to are the set of valid in Apply() 50 std::vector<uint32_t> choices; in Apply() local 58 choices.push_back(uint32_t(control)); in Apply() 64 block.id(), choices[GetFuzzerContext()->RandomIndex(choices)]); in Apply()
|
/third_party/cups-filters/filter/pdftopdf/ |
H A D | pdftopdf_jcl.cc | 12 ppd_choice_t **choices; in emitJCLOptions() local 48 int n = ppdCollect(ppd,(ppd_section_t)section,&choices); in emitJCLOptions() 51 ((ppd_option_t *)(choices[i]->option))->keyword); in emitJCLOptions() 52 if ((attr = ppdFindAttr(ppd,buf,choices[i]->choice)) != NULL) { in emitJCLOptions() 57 ((ppd_option_t *)(choices[i]->option))->keyword, in emitJCLOptions() 58 choices[i]->choice); in emitJCLOptions()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/ |
H A D | TransliteratorInputMethod.java | 74 private static JComboBox choices; field in TransliteratorInputMethod 150 choices = new JComboBox(types.toArray()); in initStatusWindow() 152 choices.setEditable(false); in initStatusWindow() 153 choices.setSelectedIndex(0); in initStatusWindow() 154 choices.setRenderer(new NameRenderer()); in initStatusWindow() 155 choices.setActionCommand("transliterator"); in initStatusWindow() 157 choices.addActionListener(new ActionListener() { in initStatusWindow() 165 sw.add(choices); in initStatusWindow() 260 choices.setSelectedIndex(selectedIndex == -1 ? choices in activate() [all...] |
/third_party/skia/third_party/externals/brotli/python/ |
H A D | bro.py | 89 choices=[0, 1, 2], 98 choices=list(range(0, 12)), 106 choices=list(range(10, 25)), 113 choices=[0] + list(range(16, 25)),
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | db.js | 468 let choices; 470 choices = random.randInt(0, 1) ? 473 choices = this.index.statements; 477 this.outputDir, choices[random.randInt(0, choices.length - 1)]);
|
/third_party/backends/backend/ |
H A D | hp-option.c | 159 HpChoice choices; member 1066 HpChoice choices; in _probe_choice() local 1119 choices = _make_choice_list(this->descriptor->choices, minval, maxval); in _probe_choice() 1120 if (choices && !choices->name) /* FIXME: hack */ in _probe_choice() 1122 if (!choices) in _probe_choice() 1129 this->data_acsr = sanei_hp_accessor_choice_new(data, choices, in _probe_choice() 1150 HpChoice choices; in _probe_each_choice() local 1160 choices in _probe_each_choice() 1199 HpChoice choices; _probe_ps_exposure_time() local 1235 HpChoice choices; _probe_scan_type() local 1306 HpChoice choices; _probe_mirror_horiz() local 1353 HpChoice choices; _probe_mirror_vert() local [all...] |
H A D | hp-accessor.c | 376 HpChoice choices; member 395 for (choice = this->choices; choice; choice = choice->next) in hp_accessor_choice_set() 397 /* Skip choices which aren't in strlist. */ in hp_accessor_choice_set() 427 for (choice = this->choices; choice; choice = choice->next) in hp_accessor_choice_setint() 429 /* Skip choices which aren't in strlist. */ in hp_accessor_choice_setint() 447 assert(!"No choices to choose from?"); in hp_accessor_choice_setint() 456 for (choice = this->choices; choice; choice = choice->next) in sanei_hp_accessor_choice_maxsize() 473 for (choice = this->choices; choice; choice = choice->next) in sanei_hp_accessor_choice_strlist() 485 sanei_hp_accessor_choice_new (HpData data, HpChoice choices, in sanei_hp_accessor_choice_new() argument 498 for (choice = choices; choic in sanei_hp_accessor_choice_new() [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/ |
H A D | test_mutate_variable_or_object.js | 54 const choices = [ 67 () => { return choices[index++]; });
|
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | argument.js | 93 * Only allow argument value to be one of choices. 99 choices(values) { 103 throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(', ')}.`);
|
/third_party/PyYAML/tests/lib/ |
H A D | canonical.py | 20 def check_token(self, *choices): 24 if not choices: 26 for choice in choices: 302 def check_event(self, *choices): 306 if not choices: 308 for choice in choices:
|
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | tokenize.py | 48 def group(*choices): return '(' + '|'.join(choices) + ')' 49 def any(*choices): return group(*choices) + '*' 50 def maybe(*choices): return group(*choices) + '?'
|
/third_party/vk-gl-cts/scripts/ |
H A D | launchcontrol_build.py | 81 choices=BUILD_CONFIGS.keys(), 87 choices=["Debug", "Release"],
|
/third_party/icu/icu4c/source/common/ |
H A D | ucnv2022.cpp | 1676 int8_t choices[10]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 1749 * and not used yet while building the choices[]. in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1756 choices[choiceCount++] = (int8_t)HWKANA_7BIT; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1762 choices[choiceCount++] = cs = pFromU2022State->cs[0]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1767 choices[choiceCount++] = cs; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1775 choices[choiceCount++] = cs; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1799 int8_t cs0 = choices[i]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1939 /* invalidate the choices[] */ in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2928 int8_t choices[3]; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local 3017 choices[ in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnv2022.cpp | 1676 int8_t choices[10]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 1749 * and not used yet while building the choices[]. in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1756 choices[choiceCount++] = (int8_t)HWKANA_7BIT; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1762 choices[choiceCount++] = cs = pFromU2022State->cs[0]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1767 choices[choiceCount++] = cs; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1775 choices[choiceCount++] = cs; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1799 int8_t cs0 = choices[i]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1939 /* invalidate the choices[] */ in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2928 int8_t choices[3]; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local 3017 choices[ in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() [all...] |
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetISO2022.java | 1741 byte[] choices = new byte[10]; in encodeLoop() 1815 * and not used yet while building the choices[]. in encodeLoop() 1822 choices[choiceCount++] = HWKANA_7BIT; in encodeLoop() 1828 choices[choiceCount++] = cs = myConverterData.fromU2022State.cs[0]; in encodeLoop() 1833 choices[choiceCount++] = cs; in encodeLoop() 1841 choices[choiceCount++] = cs; in encodeLoop() 1865 byte cs0 = choices[i]; in encodeLoop() 2001 /* invalidate the choices[] */ in encodeLoop() 2248 byte[] choices = new byte[3]; in encodeLoop() 2342 choices[ in encodeLoop() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnv2022.cpp | 1603 int8_t choices[10]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 1676 * and not used yet while building the choices[]. in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1683 choices[choiceCount++] = (int8_t)HWKANA_7BIT; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1689 choices[choiceCount++] = cs = pFromU2022State->cs[0]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1694 choices[choiceCount++] = cs; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1702 choices[choiceCount++] = cs; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1726 int8_t cs0 = choices[i]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1871 /* invalidate the choices[] */ in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2855 int8_t choices[3]; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local 2944 choices[ in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | generate_tls13_compat_tests.py | 580 parser.add_argument('server', choices=SERVER_CLASSES.keys(), nargs='?', 583 parser.add_argument('client', choices=CLIENT_CLASSES.keys(), nargs='?', 586 parser.add_argument('cipher', choices=CIPHER_SUITE_IANA_VALUE.keys(), nargs='?', 589 parser.add_argument('sig_alg', choices=SIG_ALG_IANA_VALUE.keys(), nargs='?', 592 parser.add_argument('named_group', choices=NAMED_GROUP_IANA_VALUE.keys(), nargs='?',
|
/third_party/python/Lib/ |
H A D | tokenize.py | 59 def group(*choices): return '(' + '|'.join(choices) + ')' 60 def any(*choices): return group(*choices) + '*' 61 def maybe(*choices): return group(*choices) + '?'
|