Searched refs:choice (Results 1 - 25 of 111) sorted by relevance

12345

/external/libvorbis/lib/
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...]
H A Dbitrate.h39 int choice; member in struct:bitrate_manager_state
/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...]
H A Ddiff_container.h31 get_symbols(profile_container::symbol_choice & choice) const;
H A Dprofile_container.cpp165 profile_container::select_symbols(symbol_choice & choice) const
169 double const threshold = choice.threshold / 100.0;
175 if (choice.match_image
176 && (image_names.name(it->image_name) != choice.image_name))
185 choice.hints = it->output_hint(choice.hints);
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/github_file_system/test_owner/repo/unzipped_repo/src/
H A Dhello.notpy11 print 'Hello, %s!' % random.choice(argv[1:])
/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/chromium_org/remoting/tools/
H A Dnative_messaging_host_test.py21 choice = raw_input('Enter choice: ')
22 if choice.lower() == 'q':
24 choice = int(choice)
25 if choice >= 1 and choice <= len(messages):
26 return messages[choice - 1][1]
/external/srec/srec/include/
H A Dsrec_results.h39 int srec_nbest_put_confidence_value(void* rec_void, int choice, int confidence_value);
40 int srec_nbest_get_confidence_value(void* rec_void, int choice);
43 LCHAR* srec_nbest_get_word(void* nbest, size_t choice);
/external/openssl/crypto/x509v3/
H A Dv3_asid.c107 ASIdentifierChoice *choice,
113 if (choice == NULL)
116 switch (choice->type) {
121 for (i = 0; i < sk_ASIdOrRange_num(choice->u.asIdsOrRanges); i++) {
122 ASIdOrRange *aor = sk_ASIdOrRange_value(choice->u.asIdsOrRanges, i);
201 ASIdentifierChoice **choice;
206 choice = &asid->asnum;
209 choice = &asid->rdi;
214 if (*choice == NULL) {
215 if ((*choice
[all...]
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/interface/
H A Dvie_autotest_main.h46 int RunSpecialTestCase(int choice);
/external/clang/test/SemaCXX/
H A Dexpressions.cpp3 void choice(int);
4 int choice(bool);
8 int i = choice(!1);
/external/srec/tools/cmd/
H A Dsrecres2utd.pl85 $choice = $1;
86 $token{choices}[0] = $choice;
89 $choice = $2;
91 $choice = $1;
92 $token{choices}[$i] = $choice;
95 $choice = $2;
97 $choice = $1;
98 $choice =~ s/\s+$//;
99 $token{meanings}[$i] = $choice;
183 my $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/chromium_org/third_party/WebKit/Tools/GardeningServer/
H A Dalerts_test.py91 return string.join(map(random.choice, labels), '')
111 return string.join(map(random.choice, tests), '')
114 generator = random.choice([time, build, revision])
121 obj[label()] = random.choice(generators)()
127 return random.choice(generators)()
H A Dinternal_alerts_test.py126 return string.join(map(random.choice, labels), '')
146 return string.join(map(random.choice, tests), '')
149 generator = random.choice([time, build, revision])
156 obj[label()] = random.choice(generators)()
162 return random.choice(generators)()
/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/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/lldb/test/example/
H A DTestSequenceFunctions.py24 element = random.choice(self.seq)
/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/skia/src/images/
H A DSkImageDecoder_libico.cpp101 int choice; local
106 choice = 0;
139 choice = chooser->choose();
143 if (choice >= count || choice < 0) {
147 const int choice = 0; // TODO: fold this value into the expressions below local
153 int w = readByte(buf, 6 + choice*16);
154 int h = readByte(buf, 7 + choice*16);
155 int colorCount = readByte(buf, 8 + choice*16);
156 //int reservedToo = readByte(buf, 9 + choice*1
[all...]
/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/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/printing/backend/
H A Dcups_helper.cc160 (base::strcasecmp(marked_choice->choice, printing::kBlack) != 0) &&
161 (base::strcasecmp(marked_choice->choice, printing::kGray) != 0) &&
162 (base::strcasecmp(marked_choice->choice, printing::kGrayscale) != 0);
185 // Get the default marked choice to identify the default color setting
193 if ((base::strcasecmp(printout_mode_choice->choice,
195 (base::strcasecmp(printout_mode_choice->choice, kHighGray) == 0) ||
196 (base::strcasecmp(printout_mode_choice->choice, kDraftGray) == 0)) {
227 (base::strcasecmp(mode_choice->choice, printing::kColor) == 0);
253 (base::strcasecmp(mode_choice->choice, printing::kColor) == 0);
283 (base::strcasecmp(mode_choice->choice, printin
[all...]
/external/oprofile/pp/
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...]

Completed in 7540 milliseconds

12345