/frameworks/rs/ |
rsg_generator.c | 610 char choice = fgetc(input); local 613 if (choice < '0' || choice > '3') { 614 fprintf(stderr, "Uknown command: \'%c\'\n", choice); 624 switch (choice) {
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
ChoiceTest.java | 47 * ASN.1 DER test for Choice type 58 // choice ::= CHOICE { 65 private static ASN1Choice choice = new ASN1Choice(new ASN1Type[] { field in class:ChoiceTest 90 // choice = Boolean (false) 93 // choice = Boolean (true) 96 // choice = SequenceOf (empty) 107 assertEquals("Test case: " + i, testcases[i][0], choice.decode(in)); 116 DerOutputStream out = new DerOutputStream(choice, testcases[i][0]); 124 ASN1Choice choice = new ASN1Choice(new ASN1Type[] local 172 ASN1Choice choice = new ASN1Choice(new ASN1Type[] { ASN1Boolean local [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyRunner.java | 160 @MonkeyRunnerExported(doc = "Display a choice dialog that allows the user to select a single " + 168 public static int choice(PyObject[] args, String kws[]) { method in class:MonkeyRunner 177 return choice(message, title, choices); 209 * Display a dialog allow the user to pick a choice from a list of choices. 214 * @return the index of the selected choice, or -1 if nothing was chosen. 216 public static int choice(String message, String title, Collection<String> choices) { method in class:MonkeyRunner
|
/external/bluetooth/glib/gio/ |
gmountoperation.c | 72 int choice; member in struct:_GMountOperationPrivate 169 g_value_set_int (value, priv->choice); 272 * @choices: an array of strings for each possible choice. 402 * GMountOperation:choice: 404 * The index of the user's choice when a question is asked during the 409 g_param_spec_int ("choice", 410 P_("Choice"), 411 P_("The users choice"), 616 * Gets a choice from the mount operation. 618 * Returns: an integer containing an index of the user's choice from [all...] |
/external/chromium/chrome/browser/ |
about_flags.cc | 74 // When adding a new choice, add it to the end of the list. 361 // Returns the name used in prefs for the choice at the specified index. 453 // Returns the Value representing the choice data in the specified experiment. 459 const Experiment::Choice& choice = experiment.choices[i]; local 463 l10n_util::GetStringUTF16(choice.description_id)); 630 // We're being asked to enable a multi-choice experiment. Disable the 631 // currently selected choice. 636 // And enable the new choice, if it is not the default first choice [all...] |
/external/chromium/chrome/browser/ui/views/ |
first_run_search_engine_view.cc | 176 SearchEngineChoice* choice = static_cast<SearchEngineChoice*>(sender); local 179 template_url_model->SetSearchEngineDialogSlot(choice->slot()); 180 const TemplateURL* default_search = choice->GetSearchEngine(); 222 // If the user's default choice is not in the first three search engines 250 SearchEngineChoice* choice = new SearchEngineChoice(this, local 252 search_engine_choices_.push_back(choice); 253 AddChildView(choice->GetView()); // The logo or text view. 254 AddChildView(choice); // The button associated with the choice. 256 // Push the default choice to the fourth position [all...] |
/external/oprofile/pp/ |
opgprof.cpp | 188 profile_container::symbol_choice choice; local 189 choice.threshold = options::threshold; 190 symbol_collection symbols = samples.select_symbols(choice);
|
opreport.cpp | 371 profile_container::symbol_choice choice; local 372 choice.threshold = options::threshold; 373 symbol_collection symbols = pc.select_symbols(choice); 396 out->vma_format_64bit(choice.hints & cf_64bit_vma); 399 format_flags flags = get_format_flags(choice.hints); 420 profile_container::symbol_choice choice; local 421 choice.threshold = options::threshold; 423 diff_collection symbols = dc.get_symbols(choice); 425 format_flags flags = get_format_flags(choice.hints); 438 out.vma_format_64bit(choice.hints & cf_64bit_vma) [all...] |
opannotate.cpp | 496 profile_container::symbol_choice choice; local 497 choice.threshold = options::threshold; 498 choice.image_name = app_name; 499 choice.match_image = true; 500 symbol_collection symbols = samples->select_symbols(choice);
|
/external/skia/src/images/ |
SkImageDecoder_libico.cpp | 99 int choice; local 104 choice = 0; 137 choice = chooser->choose(); 141 if (choice >= count || choice < 0) 147 int w = readByte(buf, 6 + choice*16); 148 int h = readByte(buf, 7 + choice*16); 149 int colorCount = readByte(buf, 8 + choice*16); 150 //int reservedToo = readByte(buf, 9 + choice*16); //0 151 //int planes = read2Bytes(buf, 10 + choice*16); //1 - but often [all...] |
/frameworks/wilhelm/tests/sandbox/ |
monkey.c | 273 unsigned choice = (rand() & 0x7FFFFFFF) % totalProbability; local 279 if (totalProbability <= choice)
|
/libcore/luni/src/main/java/java/text/ |
ChoiceFormat.java | 30 * numbers. The choice is specified with an ascending list of doubles, where 220 ChoiceFormat choice = (ChoiceFormat) object; local 221 return Arrays.equals(choiceLimits, choice.choiceLimits) 222 && Arrays.equals(choiceFormats, choice.choiceFormats);
|
/sdk/draw9patch/src/com/android/draw9patch/ui/ |
MainFrame.java | 110 int choice = chooser.showOpenDialog(this); local 111 if (choice == JFileChooser.APPROVE_OPTION) {
|
ImageEditorPanel.java | 363 int choice = chooser.showSaveDialog(this); local 364 if (choice == JFileChooser.APPROVE_OPTION) { [all...] |
/external/chromium/chrome/common/ |
json_schema_validator.cc | 240 DictionaryValue* choice = NULL; local 241 CHECK(choices->GetDictionary(i, &choice)); 243 Validate(instance, choice, path); 247 // We discard the error from each choice. We only want to know if any of the 261 Value* choice = NULL; local 262 CHECK(choices->Get(i, &choice)); 263 switch (choice->GetType()) { 267 if (instance->Equals(choice)) 275 if (GetNumberValue(choice) == GetNumberValue(instance)) 281 CHECK(false) << "Unexpected type in enum: " << choice->GetType() [all...] |
/external/ganymed-ssh2/examples/ |
SwingShell.java | 414 int choice = JOptionPane.showConfirmDialog(loginFrame, message); local 416 if (choice == JOptionPane.YES_OPTION) 440 if (choice == JOptionPane.CANCEL_OPTION)
|
/external/linux-tools-perf/util/ui/browsers/ |
hists.c | 833 int nr_options = 0, choice = 0, i, local 934 choice = ui__popup_menu(nr_options, options); 939 if (choice == nr_options - 1) 942 if (choice == -1) 945 if (choice == annotate) { 953 } else if (choice == browse_map) 955 else if (choice == zoom_dso) { 974 } else if (choice == zoom_thread) {
|
/external/speex/libspeex/ |
nb_celp.c | 456 int choice=0; local 471 choice = mode; 476 mode=choice; [all...] |
/external/icu4c/common/ |
uniset_props.cpp | 1116 UCharNameChoice choice = (p == UCHAR_NAME) ? local [all...] |
/hardware/ti/wpan/tools/kfmapp/ |
kfmapp.c | 1530 char choice[100]; local [all...] |
/packages/apps/Stk/src/com/android/stk/ |
StkAppService.java | 97 static final String CHOICE = "choice"; 581 int choice = args.getInt(CHOICE); local 582 CatLog.d(this, "User Choice=" + choice); 583 switch (choice) { 832 args.putInt(CHOICE, YES); 844 args.putInt(CHOICE, NO); [all...] |
/external/icu4c/i18n/ |
ucurr.cpp | 536 int32_t choice = (int32_t) nameStyle; local 537 if (choice < 0 || choice > 1) { 577 s = ures_getStringByIndex(rb, choice, len, &ec2); [all...] |
/external/icu4c/test/cintltst/ |
cucdtst.c | 2732 int32_t p, v, choice=0, rev; local [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
ScreenViewer.java | 207 int choice = chooser.showOpenDialog(this); local 208 if (choice == JFileChooser.APPROVE_OPTION) {
|
Workspace.java | 1044 int choice = chooser.showSaveDialog(sceneView); local 1085 int choice = chooser.showSaveDialog(sceneView); local [all...] |