/external/libvorbis/lib/ |
H A D | 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 234 int choice=PACKETBLOBS/2; local [all...] |
H A D | bitrate.h | 39 int choice; member in struct:bitrate_manager_state
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UPropertyAliasesTest.java | 29 int p, v, choice, rev; 32 for (choice=0; ; ++choice) { 35 name = UCharacter.getPropertyName(p, choice); 38 log(" " + choice + "=" + n); 41 if (choice > 0) break; 69 for (choice=0; ; ++choice) { 72 vname = UCharacter.getPropertyValueName(p, v, choice); 75 log(" " + choice [all...] |
/external/toybox/kconfig/lxdialog/ |
H A D | checklist.c | 31 static void print_item(WINDOW * win, int choice, int selected) argument 37 wmove(win, choice, 0); 41 wmove(win, choice, check_x); 47 mvwaddch(win, choice, item_x, item_str()[0]); 51 wmove(win, choice, check_x + 1); 59 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, argument 79 if ((height < item_no) && (scroll + choice < item_no - 1)) { 115 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; local 121 choice = item_n(); 123 choice [all...] |
H A D | menubox.c | 102 #define print_item(index, choice, selected) \ 105 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \ 187 int key = 0, button = 0, scroll = 0, choice = 0; local 245 /* Set choice to default item */ 248 choice = item_n(); 251 if ((scroll <= choice) && (scroll + max_choice > choice) && 254 choice = choice - scroll; 258 if ((choice > [all...] |
/external/selinux/libselinux/src/ |
H A D | query_user_context.c | 15 int choice = 0; /* index of the user's choice */ local 22 while ((choice < 1) || (choice > i)) { 23 printf("Enter number of choice: "); 28 choice = strtol(response, NULL, 10); 31 return (choice - 1); 41 int choice; /* The index in the list of the sid chosen by local 56 choice = context_menu(list); 57 *usercon = strdup(list[choice]); [all...] |
/external/clang/test/SemaCXX/ |
H A D | expressions.cpp | 3 void choice(int); 4 int choice(bool); 8 int i = choice(!1);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | NumberFormatServiceShim.java | 76 NumberFormat createInstance(ULocale desiredLocale, int choice) { argument 80 // return NumberFormat.createInstance(desiredLocale, choice); 84 NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice, 93 if ( choice == NumberFormat.CURRENCYSTYLE || 94 choice == NumberFormat.ISOCURRENCYSTYLE || 95 choice == NumberFormat.PLURALCURRENCYSTYLE) {
|
H A D | NumberFormat.java | 1302 * @param choice number format style 1303 * @throws IllegalArgumentException if choice is not one of 1310 public static NumberFormat getInstance(ULocale desiredLocale, int choice) { argument 1311 if (choice < NUMBERSTYLE || choice > CASHCURRENCYSTYLE) { 1313 "choice should be from NUMBERSTYLE to PLURALCURRENCYSTYLE"); 1316 // return createInstance(desiredLocale, choice); 1319 // return getShim().createInstance(desiredLocale, choice); 1321 return getShim().createInstance(desiredLocale, choice); 1326 static NumberFormat createInstance(ULocale desiredLocale, int choice) { argument 1428 getPattern(Locale forLocale, int choice) argument 1439 getPattern(ULocale forLocale, int choice) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | UCharacterName.java | 69 * Depending on <code>choice</code>, the character name written into the 76 * @param choice Selector for which name to get. 79 public String getName(int ch, int choice) argument 82 choice > UCharacterNameChoice.CHAR_NAME_CHOICE_COUNT) { 88 result = getAlgName(ch, choice); 92 if (choice == UCharacterNameChoice.EXTENDED_CHAR_NAME) { 95 result = getGroupName(ch, choice); 104 * @param choice selector to indicate if argument name is a Unicode 1.0 109 public int getCharFromName(int choice, String name) argument 112 if (choice > 235 getGroupName(int index, int length, int choice) argument 504 getGroupName(int ch, int choice) argument 1183 getAlgName(int ch, int choice) argument 1211 getGroupChar(String name, int choice) argument 1240 getGroupChar(int index, char length[], String name, int choice) argument 1343 getExtendedChar(String name, int choice) argument [all...] |
/external/linux-tools-perf/src/tools/perf/ui/browsers/ |
H A D | 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]);
|
H A D | hists.c | 1293 int nr_options = 0, choice = -1, ret = -1; local 1352 choice = ui__popup_menu(nr_options, options); 1353 if (choice < nr_options && choice >= 0) { 1354 tmp = strdup(abs_path[choice]); 1422 int choice = 0, local 1620 choice = ui__popup_menu(nr_options, options); 1622 if (choice == nr_options - 1) 1625 if (choice == -1) { 1630 if (choice [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
H A D | ChoiceTest.java | 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[] { 140 ASN1SequenceOf sequenceOf = new ASN1SequenceOf(choice); 172 ASN1Choice choice [all...] |
/external/lldb/test/example/ |
H A D | TestSequenceFunctions.py | 24 element = random.choice(self.seq)
|
/external/toybox/kconfig/ |
H A D | zconf.hash.c_shipped | 104 char kconf_id_strings_str21[sizeof("choice")]; 140 "choice",
|
/external/skia/src/animator/ |
H A D | SkDrawColor.cpp | 24 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/llvm/utils/ |
H A D | shuffle_fuzz.py | 49 (width, element_type) = random.choice( 53 (width, element_type) = random.choice( 58 width = random.choice([2, 4, 8, 16, 32, 64]) 59 element_type = random.choice(element_types) 105 else random.choice(range(shuffle_range))
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
H A D | UCharacterNameIterator.java | 166 * @param choice name choice from the class 169 protected UCharacterNameIterator(UCharacterName name, int choice) argument 175 // no explicit choice in UCharacter so no checks on choice 176 m_choice_ = choice; 189 * Name choice
|
/external/parameter-framework/test/functional-tests/PfwTestCase/Types/ |
H A D | tSTRING_128.py | 84 value=value+str(random.choice(string.digits)) 144 value=value+str(random.choice(string.letters)) 172 value=value+str(random.choice(string.letters))
|
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/ |
H A D | security.py | 95 return ''.join(_rng.choice(pool) for _ in xrange(length))
|
/external/icu/icu4c/source/common/ |
H A D | ucnv_u16.c | 569 _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 D | ucnvhz.c | 107 _HZReset(UConverter *cnv, UConverterResetChoice choice){ argument 108 if(choice<=UCNV_RESET_TO_UNICODE) { 116 if(choice!=UCNV_RESET_TO_UNICODE) {
|
H A D | ucnv_cnv.h | 76 typedef void (*UConverterReset) (UConverter *cnv, UConverterResetChoice choice);
|
/external/toybox/toys/pending/ |
H A D | fdisk.c | 1001 int choice, idx, i, free_part = 0; local 1021 choice = 0x20 | read_input(msg, NULL); 1023 if (choice == 'p') { 1028 if (choice =='l' && extended_offset) { 1032 if (choice == 'e' && !extended_offset) { 1326 int choice, idx; local 1333 choice = 0x20 | read_input(msg, NULL); 1334 switch (choice) { 1394 xprintf("Unknown command '%c'\n",choice); 1466 int choice, local [all...] |
/external/v8/tools/ |
H A D | generate-builtins-tests.py | 22 return random.choice([
|