Searched defs:choice (Results 1 - 25 of 29) sorted by relevance

12

/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
H A DChoiceTest.java58 // 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[] {
140 ASN1SequenceOf sequenceOf = new ASN1SequenceOf(choice);
172 ASN1Choice choice
[all...]
/external/srec/srec/ca/
H A Drec_nbes.c78 int CA_NBestListGetResultConfidenceValue(CA_NBestList *nbest, size_t choice, int *value) argument
82 *value =srec_nbest_get_confidence_value(nbest, choice);
/external/oprofile/libpp/
H A Ddiff_container.cpp46 profile_container::symbol_choice & choice)
48 if (choice.match_image
49 && (image_names.name(sym.image_name) != choice.image_name))
52 if (fabs(sym.diffs[0]) < choice.threshold)
55 choice.hints = sym.output_hint(choice.hints);
63 profile_container::symbol_choice & choice)
67 add_sym(syms, symbol, choice);
74 profile_container::symbol_choice & choice)
78 add_sym(syms, symbol, choice);
45 add_sym(diff_collection & syms, diff_symbol const & sym, profile_container::symbol_choice & choice) argument
62 symbol_old(diff_collection & syms, symbol_entry const & sym, profile_container::symbol_choice & choice) argument
73 symbol_new(diff_collection & syms, symbol_entry const & sym, profile_container::symbol_choice & choice) argument
83 symbol_diff(diff_collection & syms, symbol_entry const & sym1, count_array_t const & total1, symbol_entry const & sym2, count_array_t const & total2, profile_container::symbol_choice & choice) argument
[all...]
/external/bluetooth/glib/gio/
H A Dgmountoperation.c72 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",
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
619 * the choice'
636 g_mount_operation_set_choice(GMountOperation *op, int choice) argument
[all...]
/external/icu4c/common/
H A Ducnv_u16.c569 _UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) { argument
570 if(choice<=UCNV_RESET_TO_UNICODE) {
578 if(choice!=UCNV_RESET_TO_UNICODE && UCNV_GET_VERSION(cnv)==1) {
1168 _UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) { argument
1169 if(choice<=UCNV_RESET_TO_UNICODE) {
1177 if(choice!=UCNV_RESET_TO_UNICODE && UCNV_GET_VERSION(cnv)==1) {
1271 _UTF16Reset(UConverter *cnv, UConverterResetChoice choice) { argument
1272 if(choice<=UCNV_RESET_TO_UNICODE) {
1276 if(choice!=UCNV_RESET_TO_UNICODE) {
H A Ducnv_u32.c1023 _UTF32Reset(UConverter *cnv, UConverterResetChoice choice) { argument
1024 if(choice<=UCNV_RESET_TO_UNICODE) {
1028 if(choice!=UCNV_RESET_TO_UNICODE) {
H A Ducnv_u7.c179 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { argument
180 if(choice<=UCNV_RESET_TO_UNICODE) {
185 if(choice!=UCNV_RESET_TO_UNICODE) {
H A Ducnvhz.c107 _HZReset(UConverter *cnv, UConverterResetChoice choice){ argument
108 if(choice<=UCNV_RESET_TO_UNICODE) {
116 if(choice!=UCNV_RESET_TO_UNICODE) {
H A Ducnvscsu.c156 _SCSUReset(UConverter *cnv, UConverterResetChoice choice) { argument
159 if(choice<=UCNV_RESET_TO_UNICODE) {
170 if(choice!=UCNV_RESET_TO_UNICODE) {
H A Ducnvisci.c246 static void _ISCIIReset(UConverter *cnv, UConverterResetChoice choice) { argument
248 if (choice<=UCNV_RESET_TO_UNICODE) {
256 if (choice!=UCNV_RESET_TO_UNICODE) {
H A Duniset_props.cpp1129 UCharNameChoice choice = (p == UCHAR_NAME) ? local
1131 UChar32 ch = u_charFromName(choice, buf, &ec);
H A Ducnv.c561 static void _reset(UConverter *converter, UConverterResetChoice choice, argument
571 if(choice<=UCNV_RESET_TO_UNICODE && converter->fromCharErrorBehaviour != UCNV_TO_U_DEFAULT_CALLBACK) {
586 if(choice!=UCNV_RESET_TO_UNICODE && converter->fromUCharErrorBehaviour != UCNV_FROM_U_DEFAULT_CALLBACK) {
604 if(choice<=UCNV_RESET_TO_UNICODE) {
611 if(choice!=UCNV_RESET_TO_UNICODE) {
621 converter->sharedData->impl->reset(converter, choice);
H A Ducnv2022.c380 _ISO2022Reset(UConverter *converter, UConverterResetChoice choice);
655 _ISO2022Reset(UConverter *converter, UConverterResetChoice choice) { argument
657 if(choice<=UCNV_RESET_TO_UNICODE) {
662 if(choice!=UCNV_RESET_TO_UNICODE) {
667 if(choice<=UCNV_RESET_TO_UNICODE) {
676 if(choice!=UCNV_RESET_TO_UNICODE) {
689 if(choice<=UCNV_RESET_TO_UNICODE) {
692 if(choice!=UCNV_RESET_TO_UNICODE) {
/external/oprofile/pp/
H A Dopgprof.cpp188 profile_container::symbol_choice choice; local
189 choice.threshold = options::threshold;
190 symbol_collection symbols = samples.select_symbols(choice);
H A Dopreport.cpp371 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
[all...]
H A Dopannotate.cpp492 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/qemu/distrib/sdl-1.2.12/src/video/maccommon/
H A DSDL_macevents.c702 static void Mac_DoAppleMenu(_THIS, long choice) argument
707 item = (choice&0xFFFF);
708 choice >>= 16;
709 menu = (choice&0xFFFF);
/external/skia/src/animator/
H A DSkDrawColor.cpp32 static SkScalar RGB_to_HSV(SkColor color, HSV_Choice choice) { argument
38 if (choice == kGetValue)
42 if (choice == kGetSaturation)
59 SkASSERT(choice == kGetHue);
68 static SkColor HSV_to_RGB(SkColor color, HSV_Choice choice, SkScalar hsv) { argument
69 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue);
70 SkScalar saturation = choice == kGetSaturation ? hsv : RGB_to_HSV(color, kGetSaturation);
71 SkScalar value = choice == kGetValue ? hsv : RGB_to_HSV(color, kGetValue);
/external/skia/src/images/
H A DSkImageDecoder_libico.cpp102 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*1
[all...]
/external/srec/srec/crec/
H A Dsrec_results.c155 int srec_nbest_put_confidence_value(void* rec_void, int choice, int confidence_value) argument
165 stack->complete_path_confidences[choice] = confidence_value;
170 int srec_nbest_get_confidence_value(void* rec_void, int choice) argument
174 return stack->complete_path_confidences[choice];
198 LCHAR* srec_nbest_get_word(void* nbest, size_t choice) argument
201 return rec->context->olabels->words[choice];
/external/chromium/chrome/browser/
H A Dabout_flags.cc74 // 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.
665 // Enable the first choice
[all...]
/external/chromium/chrome/browser/ui/views/
H A Dfirst_run_search_engine_view.cc176 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 t
[all...]
/external/chromium/chrome/common/
H A Djson_schema_validator.cc240 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
[all...]
/external/speex/libspeex/
H A Dnb_celp.c456 int choice=0; local
471 choice = mode;
476 mode=choice;
/external/icu4c/i18n/
H A Ducurr.cpp491 int32_t choice = (int32_t) nameStyle; local
492 if (choice < 0 || choice > 1) {
532 s = ures_getStringByIndex(rb, choice, len, &ec2);
1370 * UCURR_SYMBOL_NAME, but if the latter is a choice format, then the

Completed in 7509 milliseconds

12