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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /external/autotest/frontend/client/src/autotest/afe/
RadioChooser.java 8 public IRadioButton generateRadioButton(String groupName, String choice);
27 public void addChoice(String choice) {
28 IRadioButton button = display.generateRadioButton(groupName, choice);
56 public void setSelectedChoice(String choice) {
57 findButtonForChoice(choice).setValue(true);
60 private IRadioButton findButtonForChoice(String choice) {
62 if (button.getText().equals(choice)) {
66 throw new RuntimeException("No such choice found: " + choice);
IRadioButton.java 15 public RadioButtonImpl(String name, String choice) {
16 super(name, choice);
RadioChooserDisplay.java 17 public IRadioButton generateRadioButton(String groupName, String choice) {
18 RadioButtonImpl radioButton = new RadioButtonImpl(groupName, choice);
  /external/libcups/cups/
testconflicts.c 37 *cptr; /* Pointer to first choice */
41 *choice; /* Current choice */ local
65 choice = NULL;
72 if (!cupsResolveConflicts(ppd, option, choice, &num_options, &options))
91 if (choice)
93 free(choice);
94 choice = NULL;
112 choice = strdup(cptr);
115 ppdMarkOption(ppd, option, choice);
    [all...]
ppd-conflicts.c 48 const char *choice,
58 * "choice" were marked in the PPD. You would typically call this function
73 const char *choice, /* I - Choice to test */
81 ppd_choice_t *marked; /* Marked choice */
91 if (!ppd || !option || !choice || !options)
98 active = ppd_test_constraints(ppd, option, choice, 0, NULL,
114 if (cptr->choice)
116 cptr->choice->choice, num_options
714 choice[PPD_MAX_NAME], \/* Choice\/OptionKeyword *\/ local
    [all...]
ppd-mark.c 38 const char *choice);
319 * Apply "*Option Choice" settings from the attribute value...
334 * Apply "*Option Choice" settings from the attribute value...
352 * 'ppdFindChoice()' - Return a pointer to an option choice.
355 ppd_choice_t * /* O - Choice pointer or @code NULL@ */
357 const char *choice) /* I - Name of choice */
360 ppd_choice_t *c; /* Current choice */
363 if (!o || !choice)
366 if (choice[0] == '{' || !_cups_strncasecmp(choice, "Custom.", 7)
614 choice[PPD_MAX_NAME], \/* Current choice\/value *\/ local
    [all...]
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
Parser.java 35 * @param choice
43 public boolean checkEvent(Event.ID choice);
  /external/toolchain-utils/binary_search_tool/android/
test_setup.sh 34 read -p "Was the flashing of the image successful? " choice
35 case $choice in
89 read -p "Which method would you like to do? " choice
90 case $choice in
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
UPropertyAliasesTest.java 31 int p, v, choice, rev; local
34 for (choice=0; ; ++choice) {
37 name = UCharacter.getPropertyName(p, choice);
40 log(" " + choice + "=" + n);
43 if (choice > 0) break;
71 for (choice=0; ; ++choice) {
74 vname = UCharacter.getPropertyValueName(p, v, choice);
77 log(" " + choice + "=" + n)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
UPropertyAliasesTest.java 30 int p, v, choice, rev; local
33 for (choice=0; ; ++choice) {
36 name = UCharacter.getPropertyName(p, choice);
39 log(" " + choice + "=" + n);
42 if (choice > 0) break;
70 for (choice=0; ; ++choice) {
73 vname = UCharacter.getPropertyValueName(p, v, choice);
76 log(" " + choice + "=" + n)
    [all...]
  /bionic/tests/libs/
dlopen_testlib_ifunc.c 59 char* choice = getenv("IFUNC_CHOICE"); local
60 return choice == NULL ? f1 : f2;
  /external/toybox/kconfig/lxdialog/
checklist.c 31 static void print_item(WINDOW * win, int choice, int selected)
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,
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 = item_n()
    [all...]
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 >= max_choice))
    [all...]
  /test/vts/compilation_tools/vtsc/test/golden/DRIVER/
types.driver.cpp 15 uint32_t choice = (uint32_t) rand() / 7; local
16 if (choice == (uint32_t) 0) return ::android::hardware::nfc::V1_0::NfcEvent::OPEN_CPLT;
17 if (choice == (uint32_t) 1) return ::android::hardware::nfc::V1_0::NfcEvent::CLOSE_CPLT;
18 if (choice == (uint32_t) 2) return ::android::hardware::nfc::V1_0::NfcEvent::POST_INIT_CPLT;
19 if (choice == (uint32_t) 3) return ::android::hardware::nfc::V1_0::NfcEvent::PRE_DISCOVER_CPLT;
20 if (choice == (uint32_t) 4) return ::android::hardware::nfc::V1_0::NfcEvent::REQUEST_CONTROL;
21 if (choice == (uint32_t) 5) return ::android::hardware::nfc::V1_0::NfcEvent::RELEASE_CONTROL;
22 if (choice == (uint32_t) 6) return ::android::hardware::nfc::V1_0::NfcEvent::ERROR;
40 uint32_t choice = (uint32_t) rand() / 5; local
41 if (choice == (uint32_t) 0) return ::android::hardware::nfc::V1_0::NfcStatus::OK
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
CertStatus.java 43 ASN1TaggedObject choice)
45 this.tagNo = choice.getTagNo();
47 switch (choice.getTagNo())
53 value = RevokedInfo.getInstance(choice, false);
59 throw new IllegalArgumentException("Unknown tag encountered: " + choice.getTagNo());
98 * CertStatus ::= 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/selinux/libselinux/src/
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/libcups/filter/
rastertolabel.c 158 ppd_choice_t *choice; /* Marked choice */ local
206 if ((choice = ppdFindMarkedChoice(ppd, "zePrintRate")) != NULL &&
207 strcmp(choice->choice, "Default"))
208 printf("\033S%.0f", atof(choice->choice) * 2.0 - 2.0);
249 if ((choice = ppdFindMarkedChoice(ppd, "zePrintRate")) != NULL &&
250 strcmp(choice->choice, "Default")
445 ppd_choice_t *choice; \/* Marked choice *\/ local
    [all...]
  /external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/userInteraction/
UserInteractor.py 68 print("\nPlease Make a choice : ")
75 choice = input("Your Choice : ")
77 choice = int(choice)
78 if choice == len(options):
81 if choice < 0:
83 raise KeyError(choice)
85 options[choice][1]()
87 print("Invalid Choice : {}".format(e)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
markov.py 4 def __init__(self, histsize, choice):
6 self.choice = choice
21 choice = self.choice
24 seq = choice(trans[None])
28 next = choice(options)
67 m = Markov(histsize, random.choice)
  /external/toolchain-utils/toolchain_utils_githooks/
pre-push.real 20 read -p "Run unit tests? [y/n] " choice
21 case "$choice" in
  /external/toolchain-utils/binary_search_tool/common/
test_setup.sh 49 read -p "Was the installation of the image successful? " choice
50 case $choice in
149 read -p "Which method would you like to do? " choice
150 case $choice in
  /external/clang/test/SemaCXX/
expressions.cpp 5 void choice(int);
6 int choice(bool);
10 int i = choice(!1);
  /frameworks/base/core/java/android/hardware/camera2/utils/
ListUtils.java 92 for (T choice : choices) {
93 if (list.contains(choice)) {
94 return choice;

Completed in 1932 milliseconds

1 2 3 4 5 6 7 8 91011>>