Searched refs:choices (Results 1 - 25 of 121) sorted by relevance

12345

/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/
H A Dchoice_helpers_unittest.cc27 Choices choices = SplitChoices("Single Choice"); local
28 EXPECT_EQ(1u, choices.size());
29 EXPECT_EQ("Single Choice", choices[0]);
33 Choices choices = SplitChoices("Single Choice\n"); local
34 EXPECT_EQ(1u, choices.size());
35 EXPECT_EQ("Single Choice", choices[0]);
39 Choices choices = SplitChoices( local
43 EXPECT_EQ(3u, choices.size());
44 EXPECT_EQ("Choice 1", choices[0]);
45 EXPECT_EQ("Choice 2", choices[
50 Choices choices = SplitChoices( local
[all...]
H A Dchoice_helpers.cc22 ChoiceBuilder::ChoiceBuilder(const std::string& title, const Choices& choices) argument
23 : choices_(choices),
26 new IntegerWithinRangeValidator(1, choices.size()));
H A Dchoice_helpers.h30 * will print a menu presenting the two choices and ask for input. The user,
41 explicit ChoiceBuilder(const std::string& title, const Choices& choices);
43 // Specifies the choice as the default. The choice must be one of the choices
52 // the choice number (choices start at 1).
62 // choices are separated by \n.
66 // Creates choices from a string where choices are separated by \n.
/external/smack/src/org/apache/harmony/javax/security/auth/callback/
H A DChoiceCallback.java34 private String[] choices; field in class:ChoiceCallback
38 private void setChoices(String[] choices) { argument
39 if (choices == null || choices.length == 0) {
42 for (int i = 0; i < choices.length; i++) {
43 if (choices[i] == null || choices[i].length() == 0) {
47 //FIXME: System.arraycopy(choices, 0 , new String[choices.length], 0, choices
66 ChoiceCallback(String prompt, String[] choices, int defaultChoice, boolean multipleSelectionsAllowed) argument
[all...]
/external/smack/src/org/apache/harmony/javax/security/sasl/
H A DRealmChoiceCallback.java26 public RealmChoiceCallback(String prompt, String[] choices, int defaultChoice, argument
28 super(prompt, choices, defaultChoice, multiple);
/external/chromium_org/tools/set_default_handler/
H A Dset_default_handler_main.cc50 std::vector<base::string16> choices; local
53 result = controller.RunSynchronously(NULL, protocol, program, &choices);
57 } else if (!choices.empty()) {
58 printf("failed to set program. possible choices: %ls\n",
59 JoinString(choices, L", ").c_str());
/external/chromium_org/tools/cr/cr/actions/
H A Daction.py26 choices=cls.Choices(),
H A Drunner.py25 choices=cr.Target.TEST_TYPES,
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DDriverPropertyInfoTest.java75 assertTrue(Arrays.equals(testChoices, aDriverPropertyInfo.choices));
81 aDriverPropertyInfo.choices = updateChoices;
87 assertTrue(Arrays.equals(updateChoices, aDriverPropertyInfo.choices));
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DKeyStoreSelectionDialog.java50 final CharSequence[] choices = {
56 .setSingleChoiceItems(choices, 0, new DialogInterface.OnClickListener() {
59 if (choices[id] == SYSTEM_STORE) {
/external/chromium_org/tools/
H A Domahaproxy.py54 choices=oses,
59 choices=channels,
64 choices=fields,
H A Dprepare-bisect-perf-regression.py46 choices=['chromium', 'cros', 'android'],
/external/chromium_org/win8/test/
H A Dopen_with_dialog_controller.h26 // possible choices if the desired program could not be selected.
47 // on success. Otherwise, |choices| may contain the list of possible choices
52 std::vector<base::string16>* choices);
H A Dopen_with_dialog_controller.cc36 std::vector<base::string16> choices) {
38 *choices_out = choices;
78 void OnAutomationResult(HRESULT result, std::vector<base::string16> choices);
194 std::vector<base::string16> choices) {
199 automation_choices_ = choices;
269 std::vector<base::string16>* choices) {
286 &result, choices)));
31 OnMakeDefaultComplete( const base::Closure& closure, HRESULT* result_out, std::vector<base::string16>* choices_out, HRESULT hr, std::vector<base::string16> choices) argument
192 OnAutomationResult( HRESULT result, std::vector<base::string16> choices) argument
265 RunSynchronously( HWND parent_window, const base::string16& protocol, const base::string16& program, std::vector<base::string16>* choices) argument
H A Dmetro_registration_helper.cc124 std::vector<base::string16> choices;
127 NULL, kDefaultBrowserProtocol, win8::test::kDefaultTestExeName, &choices);
H A Dui_automation_client.cc72 std::vector<base::string16>* choices);
348 std::vector<base::string16> choices; local
351 GetInvokableItems(window, &choices);
356 base::Bind(result_callback_, result, choices));
457 // Populates |choices| with the names of all invokable children of |element|.
460 std::vector<base::string16>* choices) {
461 DCHECK(choices);
529 choices->clear();
530 choices->reserve(num_elements);
548 choices
458 GetInvokableItems( const base::win::ScopedComPtr<IUIAutomationElement>& element, std::vector<base::string16>* choices) argument
[all...]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Drun_all.py77 choices=['debug', 'info', 'warning', 'warn', 'error', variable
/external/chromium_org/components/cronet/tools/
H A Dcr_cronet.py21 choices=['gyp',
/external/chromium_org/tools/cr/cr/base/
H A Dbuildtype.py34 choices=cls.Choices(),
H A Darch.py23 choices=cls.Choices(),
H A Dplatform.py30 choices=cls.Choices(),
/external/srec/tools/cmd/
H A 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/owasp/sanitizer/src/tests/org/owasp/html/
H A DHtmlPolicyBuilderFuzzerTest.java162 private static String pick(Random rnd, String[] choices) { argument
163 return choices[rnd.nextInt(choices.length)];
/external/chromium_org/tools/relocation_packer/test_data/
H A Dgenerate_elf_file_unittest_relocs.py58 choices=['.android.rel.dyn', '.android.rela.dyn'],
/external/chromium_org/extensions/test/data/
H A Djson_schema_test.js155 choices: [
476 choices: [
492 choices: [
503 choices: [
531 choices: [
544 choices: [
571 choices: [
587 choices: [
598 choices: [

Completed in 1367 milliseconds

12345