Home
last modified time | relevance | path

Searched refs:choices (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/external/libcups/cups/
Dppd-emit.c59 ppd_choice_t ***choices) /* O - Pointers to choices */ in ppdCollect() argument
61 return (ppdCollect2(ppd, section, 0.0, choices)); in ppdCollect()
79 ppd_choice_t ***choices) /* O - Pointers to choices */ in ppdCollect2() argument
90 ppd, section, min_order, choices)); in ppdCollect2()
92 if (!ppd || !choices) in ppdCollect2()
94 if (choices) in ppdCollect2()
95 *choices = NULL; in ppdCollect2()
108 *choices = NULL; in ppdCollect2()
114 *choices = NULL; in ppdCollect2()
212 *choices = collect; in ppdCollect2()
[all …]
/external/python/cpython2/Demo/tkinter/matt/
Dmenu-all-types-of-entries.py110 Cascade_button.menu.choices = Menu(Cascade_button.menu)
113 Cascade_button.menu.choices.weirdones = Menu(Cascade_button.menu.choices)
116 Cascade_button.menu.choices.weirdones.add_command(label='avacado')
117 Cascade_button.menu.choices.weirdones.add_command(label='belgian endive')
118 Cascade_button.menu.choices.weirdones.add_command(label='beefaroni')
121 Cascade_button.menu.choices.add_command(label='Chocolate')
122 Cascade_button.menu.choices.add_command(label='Vanilla')
123 Cascade_button.menu.choices.add_command(label='TuttiFruiti')
124 Cascade_button.menu.choices.add_command(label='WopBopaLoopBapABopBamBoom')
125 Cascade_button.menu.choices.add_command(label='Rocky Road')
[all …]
/external/python/cpython3/Lib/test/
Dtest_random.py147 choices = self.gen.choices
155 choices(data, k=5),
156 choices(data, range(4), k=5),
157 choices(k=5, population=data, weights=range(4)),
158 choices(k=5, population=data, cum_weights=range(4)),
166 choices(2)
168 self.assertEqual(choices(data, k=0), []) # k == 0
169 …self.assertEqual(choices(data, k=-1), []) # negative k behaves like ``[0] *…
171 choices(data, k=2.5) # k is a float
173 … self.assertTrue(set(choices(str_data, k=5)) <= set(str_data)) # population is a string sequence
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/templates/
Dknobs.template94 % if knob[1].get('choices'):
96 choices = knob[1].get('choices')
97 _max_len = calc_max_name_len(choices) %>//
98 % for i in range(len(choices)):
99 …// ${choices[i]['name']}${space_name(choices[i]['name'], _max_len)} = ${format(choices[i]['val…
/external/python/cpython2/Demo/tkinter/guido/
Dtkman.py60 self.choices = []
138 self.choices = []
142 if choice not in self.choices:
143 self.choices.append(choice)
144 self.choices.sort()
148 self.choices[len(self.choices):] = list
149 self.choices.sort()
176 self.choices)
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/
DTransliteratorInputMethod.java74 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()
264 choices.setForeground(Color.BLACK); in activate()
[all …]
/external/autotest/site_utils/tester_feedback/
Daudio_query_delegate_impl.py51 choices = []
55 choices.append(tool)
57 choices.append('Manual playback')
65 input_handlers.MultipleChoiceInputHandler(choices, default=1),
68 if idx < len(choices) - 1:
Dinput_handlers.py109 def __init__(self, choices, default=None): argument
115 max_idx = len(choices)
118 self._choices = choices
/external/brotli/python/
Dbro.py89 choices=[0, 1, 2],
98 choices=list(range(0, 12)),
106 choices=list(range(10, 25)),
113 choices=[0] + list(range(16, 25)),
/external/autotest/frontend/server/
Dmodels.py34 choices=STATUS.choices())
109 role = dbmodels.CharField(max_length=128, choices=ROLE.choices())
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDriverPropertyInfoTest.java75 assertTrue(Arrays.equals(testChoices, aDriverPropertyInfo.choices)); in testPublicFields()
81 aDriverPropertyInfo.choices = updateChoices; in testPublicFields()
87 assertTrue(Arrays.equals(updateChoices, aDriverPropertyInfo.choices)); in testPublicFields()
/external/autotest/frontend/afe/
Drdb_model_extensions.py191 choices=Status.choices(),
196 choices=host_protections.choices,
Dmodels.py380 choices=model_attributes.RebootBefore.choices(), blank=True,
383 choices=model_attributes.RebootAfter.choices(), blank=True,
1042 test_time = dbmodels.SmallIntegerField(choices=TestTime.choices(),
1045 choices=control_data.CONTROL_TYPE.choices())
1496 choices=control_data.CONTROL_TYPE.choices(),
1508 choices=model_attributes.RebootBefore.choices(), blank=True,
1511 choices=model_attributes.RebootAfter.choices(), blank=True,
2107 task = dbmodels.CharField(max_length=64, choices=Task.choices(),
/external/chromium-trace/catapult/tracing/
Dtracing_project.py200 choices = self.GetConfigNames()
203 choices=choices, default=self.GetDefaultConfigName(),
204 help='Picks a browser config. Valid choices: %s' % ', '.join(choices))
205 return choices
/external/autotest/frontend/client/src/autotest/common/table/
DListFilter.java78 public void setChoices(String[] choices) { in setChoices() argument
86 for (int i = 0; i < choices.length; i++) { in setChoices()
87 select.addItem(choices[i]); in setChoices()
DBooleanFilter.java7 private static final String[] choices = {"Yes", "No"}; field in BooleanFilter
11 setChoices(choices); in BooleanFilter()
DMultipleListFilter.java39 public void setChoices(String[] choices) { in setChoices() argument
40 super.setChoices(choices); in setChoices()
/external/python/cpython2/Lib/
Dtokenize.py45 def group(*choices): return '(' + '|'.join(choices) + ')' argument
46 def any(*choices): return group(*choices) + '*' argument
47 def maybe(*choices): return group(*choices) + '?' argument
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetISO2022.java1741 byte[] choices = new byte[10]; 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()
2248 byte[] choices = new byte[3]; in encodeLoop()
2342 choices[0] = myConverterData.fromU2022State.cs[1]; in encodeLoop()
2345 if (choices[0] == 0) { in encodeLoop()
2346 choices[0] = GB2312_1; in encodeLoop()
[all …]
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py48 def group(*choices): return '(' + '|'.join(choices) + ')' argument
49 def any(*choices): return group(*choices) + '*' argument
50 def maybe(*choices): return group(*choices) + '?' argument
/external/autotest/client/common_lib/
Dhost_protections.py43 choices = Protection.choices() variable
/external/scapy/scapy/
Dasn1fields.py452 self.choices = {}
457 for k,v in six.iteritems(p.ASN1_root.choices):
458 self.choices[k] = v # ASN1F_CHOICE recursion
460 self.choices[p.ASN1_root.network_tag] = p
463 self.choices[p.ASN1_tag] = p
465 self.choices[p.network_tag] = p
479 if tag not in self.choices:
485 choice = self.choices[tag]
507 for p in six.itervalues(self.choices):
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py48 def group(*choices): return '(' + '|'.join(choices) + ')' argument
49 def any(*choices): return group(*choices) + '*' argument
50 def maybe(*choices): return group(*choices) + '?' argument
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlPolicyBuilderFuzzerTest.java162 private static String pick(Random rnd, String[] choices) { in pick() argument
163 return choices[rnd.nextInt(choices.length)]; in pick()
/external/swiftshader/third_party/subzero/pydir/
Dcrosstest.py56 choices=arch_map.keys(),
61 choices=['m1', '-1', '0', '1', '2'],
69 dest='attr', choices=['sse2', 'sse4.1',
91 choices=['obj', 'asm', 'iasm'],

12345678910>>...14