HomeSort by relevance Sort by last modified time
    Searched refs:choice (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /external/libvorbis/lib/
bitrate.c 83 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=rint(bm->avgfloat+= slew/vi->rate*samples)
234 int choice=PACKETBLOBS\/2; local
    [all...]
bitrate.h 39 int choice; member in struct:bitrate_manager_state
  /external/oprofile/libpp/
diff_container.cpp 46 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);
    [all...]
diff_container.h 31 get_symbols(profile_container::symbol_choice & choice) const;
profile_container.cpp 165 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/srec/srec/include/
srec_results.h 39 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/
v3_asid.c 107 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 = ASIdentifierChoice_new()) == NULL
    [all...]
  /external/clang/test/SemaCXX/
expressions.cpp 3 void choice(int);
4 int choice(bool);
8 int i = choice(!1);
  /external/srec/tools/cmd/
srecres2utd.pl 85 $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 = lc $token->{choices}[$i]
    [all...]
  /external/srec/srec/ca/
rec_nbes.c 78 int CA_NBestListGetResultConfidenceValue(CA_NBestList *nbest, size_t choice, int *value)
82 *value =srec_nbest_get_confidence_value(nbest, 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...]
  /external/webkit/Tools/iExploder/iexploder-1.7.2/src/
scanner.rb 115 choice = rand(line_count).to_i
116 if ! find_lines.include?(choice)
117 find_lines << choice
iexploder.rb 127 choice = rand(100)
129 if tag =~ /^on/ and choice < 90
131 elsif tag == 'src' or tag == 'data' or tag == 'profile' and choice < 90
135 case choice
157 choice = rand(100)
158 case choice
179 choice = rand(100)
180 case choice
214 choice = rand(100)
215 case choice
    [all...]
  /external/skia/legacy/src/animator/
SkDrawColor.cpp 24 static SkScalar RGB_to_HSV(SkColor color, HSV_Choice choice) {
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) {
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/
SkDrawColor.cpp 24 static SkScalar RGB_to_HSV(SkColor color, HSV_Choice choice) {
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) {
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);
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DerOutputStream.java 48 @Override public void encodeChoice(ASN1Choice choice) {
117 @Override public void getChoiceLength(ASN1Choice choice) {
118 int i = choice.getIndex(content);
119 content = choice.getObjectToEncode(content);
121 Object[] values = new Object[] { choice.type[i], content };
125 choice.type[i].setEncodingContent(this);
BerOutputStream.java 91 public void encodeChoice(ASN1Choice choice) {
180 public void getChoiceLength(ASN1Choice choice) {
  /external/skia/legacy/src/images/
SkImageDecoder_libico.cpp 99 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*16); //1 - but often
    [all...]
  /external/skia/src/images/
SkImageDecoder_libico.cpp 99 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*16); //1 - but often
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
AndroidContentAssist.java 572 for (Object choice : choices) {
578 if (choice instanceof ElementDescriptor) {
579 keyword = ((ElementDescriptor)choice).getXmlName();
580 icon = ((ElementDescriptor)choice).getGenericIcon();
582 } else if (choice instanceof TextValueDescriptor) {
584 } else if (choice instanceof SeparatorAttributeDescriptor) {
586 } else if (choice instanceof AttributeDescriptor) {
587 keyword = ((AttributeDescriptor)choice).getXmlLocalName();
588 icon = ((AttributeDescriptor)choice).getGenericIcon();
593 nsUri = ((AttributeDescriptor)choice).getNamespaceUri()
    [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/
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...]
  /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/srec/srec/crec/
srec_results.c 155 int srec_nbest_put_confidence_value(void* rec_void, int choice, int confidence_value)
165 stack->complete_path_confidences[choice] = confidence_value;
170 int srec_nbest_get_confidence_value(void* rec_void, int choice)
174 return stack->complete_path_confidences[choice];
198 LCHAR* srec_nbest_get_word(void* nbest, size_t choice)
201 return rec->context->olabels->words[choice];
  /external/webkit/Tools/Scripts/webkitpy/common/system/
user.py 132 choice = {'y': 'Y/n', 'n': 'y/N'}[default]
133 response = raw_input("%s [%s]: " % (message, choice))

Completed in 592 milliseconds

1 2 3 4