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

123

/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/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/
H A Dvie_autotest_main.cc81 int choice; local
99 choice = AskUserForNumber(0, last_valid_choice);
100 } while (choice == kInvalidChoice);
102 return choice;
140 int ViEAutoTestMain::RunSpecialTestCase(int choice) { argument
142 assert(choice >= 7 && choice <= 10);
154 switch (choice) {
170 int choice = 0; local
187 choice
[all...]
/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/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/
H A Dscripts.c50 int i, num, choice, ret = -1; local
64 choice = ui__popup_menu(num, names);
65 if (choice < num && choice >= 0) {
66 strcpy(script_name, paths[choice]);
/external/chromium_org/third_party/icu/source/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.c1024 _UTF32Reset(UConverter *cnv, UConverterResetChoice choice) { argument
1025 if(choice<=UCNV_RESET_TO_UNICODE) {
1029 if(choice!=UCNV_RESET_TO_UNICODE) {
H A Ducnv_u7.c180 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { argument
181 if(choice<=UCNV_RESET_TO_UNICODE) {
186 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) {
/external/chromium_org/third_party/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/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libico.cpp98 int choice; local
103 choice = 0;
136 choice = chooser->choose();
140 if (choice >= count || choice < 0)
143 const int choice = 0; // TODO: fold this value into the expressions below
149 int w = readByte(buf, 6 + choice*16);
150 int h = readByte(buf, 7 + choice*16);
151 int colorCount = readByte(buf, 8 + choice*16);
152 //int reservedToo = readByte(buf, 9 + choice*1
[all...]
/external/deqp/framework/common/
H A DtcuFloatFormat.cpp38 Interval chooseInterval(YesNoMaybe choice, const Interval& no, const Interval& yes) argument
40 switch (choice)
/external/icu/icu4c/source/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.c1024 _UTF32Reset(UConverter *cnv, UConverterResetChoice choice) { argument
1025 if(choice<=UCNV_RESET_TO_UNICODE) {
1029 if(choice!=UCNV_RESET_TO_UNICODE) {
H A Ducnv_u7.c180 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { argument
181 if(choice<=UCNV_RESET_TO_UNICODE) {
186 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) {
/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);
/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/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_org/chrome/browser/ui/sync/
H A Done_click_signin_sync_starter.cc67 void SetUserChoiceHistogram(SigninChoice choice) { argument
69 choice,
/external/chromium_org/third_party/jinja2/
H A Dfilters.py14 from random import choice namespace
367 return choice(seq)
H A Dutils.py233 from random import choice, randrange namespace
247 word = choice(words)

Completed in 7128 milliseconds

123