Home
last modified time | relevance | path

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

123456

/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
DRealmChoiceCallbackTest.java42 private static final String [] choices = { field in RealmChoiceCallbackTest
59 new RealmChoiceCallback(null, choices, 0, true); in test01()
64 new RealmChoiceCallback("", choices, 0, true); in test01()
89 new RealmChoiceCallback("prompt", choices, -1, true); in test01()
94 new RealmChoiceCallback("prompt", choices, choices.length, true); in test01()
99 new RealmChoiceCallback("prompt", choices, choices.length + 1, true); in test01()
115 rCCB = new RealmChoiceCallback(prompts[i], choices, 0, false); in test02()
118 assertEquals("Incorrect choices length", ch.length, choices.length); in test02()
120 assertEquals("Incorrect choice number: " + j, ch[j], choices[j]); in test02()
155 rCCB = new RealmChoiceCallback(prompts[i], choices, 0, true); in test03()
[all …]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/
DChoiceCallbackTest.java40 String[] choices = { "AAA", "BBB" }; field in ChoiceCallbackTest
48 cb = new ChoiceCallback(prompt, choices, defaultChoice, true); in testChoiceCallback_01()
50 assertEquals(this.choices, cb.getChoices()); in testChoiceCallback_01()
59 cb = new ChoiceCallback(prompt, choices, defaultChoice, false); in testChoiceCallback_02()
78 cb = new ChoiceCallback(null, choices, defaultChoice, true); in testChoiceCallback_03()
84 cb = new ChoiceCallback(prompt, choices, -1, true); in testChoiceCallback_03()
95 cb = new ChoiceCallback("", choices, defaultChoice, true); in testChoiceCallback_03()
101 cb = new ChoiceCallback(prompt, choices, 5, true); in testChoiceCallback_03()
106 cb = new ChoiceCallback(prompt, choices, 2, true); in testChoiceCallback_03()
/external/srec/tools/cmd/
Dsrecres2utd.pl86 $token{choices}[0] = $choice;
92 $token{choices}[$i] = $choice;
140 $token->{choices}[0] = $token{topchoice};
146 my $topch = lc($token->{choices}[0]);
181 my $nchoices = scalar(@{$token->{choices}});
183 my $choice = lc $token->{choices}[$i];
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDriverPropertyInfoTest.java76 assertTrue(Arrays.equals(testChoices, aDriverPropertyInfo.choices)); in testPublicFields()
82 aDriverPropertyInfo.choices = updateChoices; in testPublicFields()
88 assertTrue(Arrays.equals(updateChoices, aDriverPropertyInfo.choices)); in testPublicFields()
/external/chromium/chrome/common/
Djson_schema_validator.cc199 ListValue* choices = NULL; in Validate() local
200 if (schema->GetList("choices", &choices)) { in Validate()
201 ValidateChoices(instance, choices, path); in Validate()
235 ListValue* choices, in ValidateChoices() argument
239 for (size_t i = 0; i < choices->GetSize(); ++i) { in ValidateChoices()
241 CHECK(choices->GetDictionary(i, &choice)); in ValidateChoices()
258 ListValue* choices, in ValidateEnum() argument
260 for (size_t i = 0; i < choices->GetSize(); ++i) { in ValidateEnum()
262 CHECK(choices->Get(i, &choice)); in ValidateEnum()
Djson_schema_validator.h159 void ValidateChoices(Value* instance, ListValue* choices,
163 void ValidateEnum(Value* instance, ListValue* choices,
/external/chromium/chrome/browser/
Dabout_flags.cc31 #define MULTI_VALUE_TYPE(choices) \ argument
32 Experiment::MULTI_VALUE, "", "", choices, arraysize(choices)
386 DCHECK(!e.choices); in ValidateExperiment()
390 DCHECK(e.choices); in ValidateExperiment()
391 DCHECK(e.choices[0].command_line_switch); in ValidateExperiment()
392 DCHECK_EQ('\0', e.choices[0].command_line_switch[0]); in ValidateExperiment()
459 const Experiment::Choice& choice = experiment.choices[i]; in CreateChoiceData()
586 e.choices[j].command_line_switch, in ConvertFlagsToSwitches()
587 e.choices[j].command_line_value); in ConvertFlagsToSwitches()
Dabout_flags.h78 const Choice* choices; member
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/
DChoiceCallbackTest.java42 String[] choices = {"AAA", "BBB"}; in getData() local
44 return new Object[] {new ChoiceCallback(prompt, choices, defaultChoice, true)}; in getData()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSets.java1069 final ImmutableSet<? extends B> choices;
1074 choices = ImmutableSet.copyOf(set);
1075 choicesList = choices.asList();
1080 return choices.size();
1088 return choices.contains(target);
1094 return this.choices.equals(that.choices);
1104 return size / choices.size() * choices.hashCode();
/external/guava/guava/src/com/google/common/collect/
DSets.java1081 final ImmutableSet<? extends B> choices;
1086 choices = ImmutableSet.copyOf(set);
1087 choicesList = choices.asList();
1092 return choices.size();
1100 return choices.contains(target);
1106 return this.choices.equals(that.choices);
1116 return size / choices.size() * choices.hashCode();
/external/icu4c/common/
Ducnv2022.c1642 int8_t choices[10]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1722 choices[choiceCount++] = (int8_t)HWKANA_7BIT; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1728 choices[choiceCount++] = cs = pFromU2022State->cs[0]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1733 choices[choiceCount++] = cs; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1741 choices[choiceCount++] = cs; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1765 int8_t cs0 = choices[i]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2894 int8_t choices[3]; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
2983 choices[0] = pFromU2022State->cs[1]; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2986 if(choices[0] == 0) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2987 choices[0] = GB2312_1; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
[all …]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
Drun_all.py77 choices=['debug', 'info', 'warning', 'warn', 'error',
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/
DSettingsDialog.java547 String[] choices = new String[]{"Disabled", "2x", "4x", "6x", "8x", "16x"}; in updateAntialiasChoices() local
548 antialiasCombo.setModel(new DefaultComboBoxModel(choices)); in updateAntialiasChoices()
549 antialiasCombo.setSelectedItem(choices[Math.min(source.getSamples()/2,5)]); in updateAntialiasChoices()
/external/webkit/Tools/Scripts/
Dnew-run-webkit-websocketserver44 choices=['start', 'stop'], default='start',
/external/chromium/chrome/common/extensions/docs/js/
Dapi_page_generator.js518 if (schema.choices) {
520 schema.choices.forEach(function(c) {
/external/webkit/Tools/Scripts/webkitpy/tool/commands/
Dqueries.py347 choices = [status["name"] for status in statuses]
348 chosen_name = self._tool.user.prompt_with_list("Which builder to analyze:", choices)
/external/v8/tools/
Dtest-wrapper-gypbuild.py73 choices=PROGRESS_INDICATORS, default="mono")
/external/icu4c/extra/uconv/
Dmakedata.mak25 !MESSAGE Possible choices for configuration are:
/external/expat/tests/benchmark/
Dbenchmark.dsp18 !MESSAGE Possible choices for configuration are:
/external/webkit/Tools/Scripts/webkitpy/style/
Doptparser.py332 choices=["emacs", "vs7"],
/external/tinyxml/
DtinyxmlSTL.dsp18 !MESSAGE Possible choices for configuration are:
/external/qemu/distrib/sdl-1.2.15/VisualC/SDLmain/
DSDLmain.dsp18 !MESSAGE Possible choices for configuration are:
/external/libogg/win32/VS6/
Dogg_static.dsp18 !MESSAGE Possible choices for configuration are:
/external/quake/quake/src/QW/qwfwd/
Dqwfwd.00118 !MESSAGE Possible choices for configuration are:

123456