/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/libvorbis/lib/ |
H A D | bitrate.h | 39 int choice; member in struct:bitrate_manager_state
|
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...] |
/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/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/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/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/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]);
|
/external/deqp/framework/common/ |
H A D | tcuFloatFormat.cpp | 38 Interval chooseInterval(YesNoMaybe choice, const Interval& no, const Interval& yes) argument 40 switch (choice)
|
/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 | ucnv_u32.c | 1024 _UTF32Reset(UConverter *cnv, UConverterResetChoice choice) { argument 1025 if(choice<=UCNV_RESET_TO_UNICODE) { 1029 if(choice!=UCNV_RESET_TO_UNICODE) {
|
H A D | ucnv_u7.c | 180 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { argument 181 if(choice<=UCNV_RESET_TO_UNICODE) { 186 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_ct.c | 173 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice); 319 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice) { argument
|
H A D | ucnvscsu.c | 157 _SCSUReset(UConverter *cnv, UConverterResetChoice choice) { argument 160 if(choice<=UCNV_RESET_TO_UNICODE) { 171 if(choice!=UCNV_RESET_TO_UNICODE) {
|
H A D | ucnvisci.c | 249 static void _ISCIIReset(UConverter *cnv, UConverterResetChoice choice) { argument 251 if (choice<=UCNV_RESET_TO_UNICODE) { 259 if (choice!=UCNV_RESET_TO_UNICODE) {
|
H A D | ucnv.c | 571 static void _reset(UConverter *converter, UConverterResetChoice choice, argument 581 if(choice<=UCNV_RESET_TO_UNICODE && converter->fromCharErrorBehaviour != UCNV_TO_U_DEFAULT_CALLBACK) { 596 if(choice!=UCNV_RESET_TO_UNICODE && converter->fromUCharErrorBehaviour != UCNV_FROM_U_DEFAULT_CALLBACK) { 614 if(choice<=UCNV_RESET_TO_UNICODE) { 621 if(choice!=UCNV_RESET_TO_UNICODE) { 631 converter->sharedData->impl->reset(converter, choice);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | UnicodePropertySource.java | 118 public UnicodePropertySource setNameChoice(int choice) { argument 119 m_nameChoice = choice;
|
H A D | Pick.java | 340 private static final WeightedIndex choice = new WeightedIndex(0) field in class:Pick.Morph 362 int c = choice.toIndex(target.nextDouble());
|
/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/speex/libspeex/ |
H A D | nb_celp.c | 456 int choice=0; local 471 choice = mode; 476 mode=choice;
|
/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/lzma/xz-embedded/ |
H A D | xz_dec_lzma2.c | 117 uint16_t choice; member in struct:lzma_len_dec 625 if (!rc_bit(&s->rc, &l->choice)) {
|