/frameworks/base/libs/rs/ |
rsg_generator.c | 556 char choice = fgetc(input); local 559 if (choice < '0' || choice > '3') { 560 fprintf(stderr, "Uknown command: \'%c\'\n", choice); 570 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 | 492 profile_container::symbol_choice choice; local 493 choice.threshold = options::threshold; 494 choice.image_name = app_name; 495 choice.match_image = true; 496 symbol_collection symbols = samples->select_symbols(choice);
|
/external/skia/src/images/ |
SkImageDecoder_libico.cpp | 102 int choice; local 107 choice = 0; 140 choice = chooser->choose(); 144 if (choice >= count || choice < 0) 150 int w = readByte(buf, 6 + choice*16); 151 int h = readByte(buf, 7 + choice*16); 152 int colorCount = readByte(buf, 8 + choice*16); 153 //int reservedToo = readByte(buf, 9 + choice*16); //0 154 //int planes = read2Bytes(buf, 10 + choice*16); //1 - but often [all...] |
/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 | 358 int choice = chooser.showSaveDialog(this); local 359 if (choice == JFileChooser.APPROVE_OPTION) { [all...] |
/system/media/wilhelm/tests/sandbox/ |
monkey.c | 273 unsigned choice = (rand() & 0x7FFFFFFF) % totalProbability; local 279 if (totalProbability <= choice)
|
/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/speex/libspeex/ |
nb_celp.c | 456 int choice=0; local 471 choice = mode; 476 mode=choice; [all...] |
/external/icu4c/common/ |
uniset_props.cpp | 1129 UCharNameChoice choice = (p == UCHAR_NAME) ? local [all...] |
/external/icu4c/i18n/ |
ucurr.cpp | 491 int32_t choice = (int32_t) nameStyle; local 492 if (choice < 0 || choice > 1) { 532 s = ures_getStringByIndex(rb, choice, len, &ec2); [all...] |
decNumber.c | 6115 const decNumber *choice; local [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...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
PinyinIME.java | 826 String choice = mDecInfo.getCandidate(candId); local 827 if (null != choice) { 828 commitResultText(choice); 848 // choiceId >= 0 means user finishes a choice selection. [all...] |
/external/v8/src/ |
jsregexp.cc | 592 // * Choice nodes 625 // * Choice nodes are implemented as follows: 626 // For each choice except the last { 629 // <generate code to test for choice> 633 // <generate code to test for last choice> 652 // by the choice nodes, whereas the registers are saved and restored by 669 // * Choice nodes have 1-character lookahead. 670 // A choice node looks at the following character and eliminates some of 3301 ChoiceNode* choice() { return choice_; } function in class:v8::internal::TableEntryBodyPrinter [all...] |