Searched defs:choice (Results 1 - 25 of 37) 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/libvorbis/lib/
H A Dbitrate.h39 int choice; member in struct:bitrate_manager_state
H A Dbitrate.c83 int choice=rint(bm->avgfloat); local
84 long this_bits=oggpack_bytes(vbi->packetblob[choice])*8;
119 while(choice>0 && this_bits>avg_target_bits &&
121 choice--;
122 this_bits=oggpack_bytes(vbi->packetblob[choice])*8;
125 while(choice+1<PACKETBLOBS && this_bits<avg_target_bits &&
127 choice++;
128 this_bits=oggpack_bytes(vbi->packetblob[choice])*8;
132 slew=rint(choice-bm->avgfloat)/samples*vi->rate;
135 choice
234 int choice=PACKETBLOBS/2; local
[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/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 Ducnv_ct.c174 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice);
320 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice) { argument
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.cpp1116 UCharNameChoice choice = (p == UCHAR_NAME) ? local
1118 UChar32 ch = u_charFromName(choice, buf, &ec);
/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.cpp496 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/qemu/distrib/sdl-1.2.15/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.cpp24 static SkScalar RGB_to_HSV(SkColor color, HSV_Choice choice) { argument
30 if (choice == kGetValue)
34 if (choice == kGetSaturation)
51 SkASSERT(choice == kGetHue);
60 static SkColor HSV_to_RGB(SkColor color, HSV_Choice choice, SkScalar hsv) { argument
61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue);
62 SkScalar saturation = choice == kGetSaturation ? hsv : RGB_to_HSV(color, kGetSaturation);
63 SkScalar value = choice == kGetValue ? hsv : RGB_to_HSV(color, kGetValue);
/external/skia/src/images/
H A DSkImageDecoder_libico.cpp99 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*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/libppp/src/
H A Dbundle.c1942 struct datalink *dl, *choice, *otherlinkup; local
1944 choice = otherlinkup = NULL;
1949 if (choice)
1950 otherlinkup = choice;
1951 choice = dl;
1955 choice = dl;
1960 choice = NULL;
1966 if (choice) {
1969 percent, choice->name);
1970 datalink_Up(choice,
[all...]

Completed in 440 milliseconds

12