/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;
|
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/github_file_system/test_owner/repo/unzipped_repo/src/ |
hello.notpy | 11 print 'Hello, %s!' % random.choice(argv[1:])
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/ |
vie_autotest_main.cc | 81 int choice; local 99 choice = AskUserForNumber(0, last_valid_choice); 100 } while (choice == kInvalidChoice); 102 return choice; 140 int ViEAutoTestMain::RunSpecialTestCase(int choice) { 142 assert(choice >= 7 && choice <= 10); 154 switch (choice) { 170 int choice = 0; local 187 choice = AskUserForNumber(0, 10) [all...] |
/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);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
CameraAgentFactory.java | 28 * <p>The choice of framework API to use can be made automatically based on the 77 private static CameraApi validateApiChoice(CameraApi choice) { 86 if (choice == null) { 88 choice = CameraApi.AUTO; 90 if (choice == CameraApi.AUTO) { 91 choice = highestSupportedApi(); 94 return choice;
|
/external/chromium_org/remoting/tools/ |
native_messaging_host_test.py | 21 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/chromium_org/third_party/openssl/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/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/chromium_org/third_party/webrtc/video_engine/test/auto_test/interface/ |
vie_autotest_main.h | 45 // Runs a non-gtest test case. Choice must be [7,9]. Returns 0 on success. 46 int RunSpecialTestCase(int choice);
|
/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...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
ListUtils.java | 92 for (T choice : choices) { 93 if (list.contains(choice)) { 94 return choice;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
register.py | 131 choice = '1' 135 choice = 'x' 140 while choice not in choices: 149 choice = raw_input() 150 if not choice: 151 choice = '1' 152 elif choice not in choices: 155 if choice == '1': 183 choice = 'X' 184 while choice.lower() not in 'yn' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
register.py | 131 choice = '1' 135 choice = 'x' 140 while choice not in choices: 149 choice = raw_input() 150 if not choice: 151 choice = '1' 152 elif choice not in choices: 155 if choice == '1': 183 choice = 'X' 184 while choice.lower() not in 'yn' [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);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strtod.py | 225 s = random.choice(signs) 227 s += ''.join(random.choice(digits) for _ in xrange(intpart_len)) 228 if random.choice([True, False]): 231 s += ''.join(random.choice(digits) 235 if random.choice([True, False]): 236 s += random.choice(['e', 'E']) 237 s += random.choice(signs) 239 s += ''.join(random.choice(digits)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strtod.py | 225 s = random.choice(signs) 227 s += ''.join(random.choice(digits) for _ in xrange(intpart_len)) 228 if random.choice([True, False]): 231 s += ''.join(random.choice(digits) 235 if random.choice([True, False]): 236 s += random.choice(['e', 'E']) 237 s += random.choice(signs) 239 s += ''.join(random.choice(digits)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
scripts.c | 50 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/ |
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/lldb/test/example/ |
TestSequenceFunctions.py | 24 element = random.choice(self.seq)
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libico.cpp | 98 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*16); // [all...] |
/external/skia/src/images/ |
SkImageDecoder_libico.cpp | 98 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*16); // [all...] |