/bionic/tests/libs/ |
dlopen_testlib_ifunc_variable_impl.cpp | 51 char* choice = getenv("IFUNC_CHOICE"); local 52 return choice == NULL ? &v1 : &v2;
|
dlopen_testlib_ifunc.cpp | 63 char* choice = getenv("IFUNC_CHOICE"); local 64 return choice == NULL ? f1 : f2;
|
/external/adhd/adhdinfo/ |
main.c | 39 const int choice = getopt_long(argc, argv, "", options, &option_index); local 41 if (choice == -1) { 45 switch (choice) { 55 printf("?? getopt returned character code 0%o ??\n", choice);
|
/external/python/cpython3/Lib/ |
secrets.py | 9 __all__ = ['choice', 'randbelow', 'randbits', 'SystemRandom', 25 choice = _sysrand.choice variable
|
/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-localize.c | 56 ppd_choice_t *choice; /* Current choice */ local 96 for (k = option->num_choices, choice = option->choices; 98 k --, choice ++) 100 if (strcmp(choice->choice, "Custom") || 102 locattr = _ppdLocalizedAttr(ppd, option->keyword, choice->choice, 112 strlcpy(choice->text, locattr->text, sizeof(choice->text)) [all...] |
testlang.c | 121 ppd_choice_t *choice; /* PageSize/Letter choice */ local 141 if ((choice = ppdFindChoice(option, "Letter")) == NULL) 143 puts("No Letter PageSize choice."); 148 printf("Letter: %s\n", choice->text);
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
types.driver.cpp | 17 uint32_t choice = (uint32_t) rand() / 7; local 18 if (choice == (uint32_t) 0UL) return static_cast<uint32_t>(::android::hardware::nfc::V1_0::NfcEvent::OPEN_CPLT); 19 if (choice == (uint32_t) 1UL) return static_cast<uint32_t>(::android::hardware::nfc::V1_0::NfcEvent::CLOSE_CPLT); 20 if (choice == (uint32_t) 2UL) return static_cast<uint32_t>(::android::hardware::nfc::V1_0::NfcEvent::POST_INIT_CPLT); 21 if (choice == (uint32_t) 3UL) return static_cast<uint32_t>(::android::hardware::nfc::V1_0::NfcEvent::PRE_DISCOVER_CPLT); 22 if (choice == (uint32_t) 4UL) return static_cast<uint32_t>(::android::hardware::nfc::V1_0::NfcEvent::REQUEST_CONTROL); 23 if (choice == (uint32_t) 5UL) return static_cast<uint32_t>(::android::hardware::nfc::V1_0::NfcEvent::RELEASE_CONTROL); 24 if (choice == (uint32_t) 6UL) return static_cast<uint32_t>(::android::hardware::nfc::V1_0::NfcEvent::ERROR); 42 uint32_t choice = (uint32_t) rand() / 5; local 43 if (choice == (uint32_t) 0UL) return static_cast<uint32_t>(::android::hardware::nfc::V1_0::NfcStatus::OK) [all...] |
TestMsgQ.driver.cpp | 17 uint32_t choice = (uint32_t) rand() / 2; local 18 if (choice == (uint32_t) 1UL) return static_cast<uint32_t>(::android::hardware::tests::msgq::V1_0::ITestMsgQ::EventFlagBits::FMQ_NOT_EMPTY); 19 if (choice == (uint32_t) 2UL) return static_cast<uint32_t>(::android::hardware::tests::msgq::V1_0::ITestMsgQ::EventFlagBits::FMQ_NOT_FULL);
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsEnum.java | 38 @Parameter(names = "-choice") 39 public ChoiceType choice = ChoiceType.ONE; field in class:ArgsEnum 46 String[] argv = { "-choice", "ONE"};
|
/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/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...] |
/prebuilts/go/darwin-x86/test/chan/ |
select5.go | 434 type choice struct { type 438 var choices []choice 448 choices = append(choices, choice{0, n}) 468 // increment last choice sequence
|
/prebuilts/go/linux-x86/test/chan/ |
select5.go | 434 type choice struct { type 438 var choices []choice 448 choices = append(choices, choice{0, n}) 468 // increment last choice sequence
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UPropertyAliasesTest.java | 36 int p, v, choice, rev; local 39 for (choice=0; ; ++choice) { 42 name = UCharacter.getPropertyName(p, choice); 45 log(" " + choice + "=" + n); 48 if (choice > 0) break; 76 for (choice=0; ; ++choice) { 79 vname = UCharacter.getPropertyValueName(p, v, choice); 82 log(" " + choice + "=" + n) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UPropertyAliasesTest.java | 33 int p, v, choice, rev; local 36 for (choice=0; ; ++choice) { 39 name = UCharacter.getPropertyName(p, choice); 42 log(" " + choice + "=" + n); 45 if (choice > 0) break; 73 for (choice=0; ; ++choice) { 76 vname = UCharacter.getPropertyValueName(p, v, choice); 79 log(" " + choice + "=" + n) [all...] |
/external/scapy/scapy/ |
base_classes.py | 95 def choice(self): member in class:Net
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
QCameraHAL3MainTestContext.cpp | 66 int choice; local 81 choice = hal3appDisplaySensorMenu(num_of_cameras); 82 if (choice >= num_of_cameras || choice < 0) { 87 mCamHal3Base->mCameraIndex = choice; 88 rc = mCamHal3Base->hal3appCameraLibOpen(choice); 92 choice = hal3appPrintMenu(); 93 switch(choice) { 182 }while(choice != MENU_EXIT); 189 int i, choice; local 218 int choice; local 276 int i, choice = 0; local [all...] |
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
AutoLauncherStrategy.java | 88 UiObject2 choice = mDevice.findObject(button); local 89 Assert.assertNotNull("Unable to find application " + appName, choice); 90 choice.click();
|
/frameworks/rs/ |
rsg_generator.c | 477 char choice = fgetc(input); local 480 if (choice < '0' || choice > '3') { 481 fprintf(stderr, "Uknown command: \'%c\'\n", choice); 491 switch (choice) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
random.py | 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample",
273 def choice(self, seq):
member in class:Random 891 choice = _inst.choice
variable [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
random.py | 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample",
272 def choice(self, seq):
member in class:Random 889 choice = _inst.choice
variable [all...] |
/external/desugar/java/com/google/devtools/common/options/ |
Converters.java | 255 Object choice = ii.next(); local 259 buf.append(choice);
|
/external/flatbuffers/tests/ |
phpTest.php | 233 $choice = mt_rand() % $test_values_max; variable 234 switch ($choice) { 281 $choice = mt_rand() % $test_values_max; variable 286 switch ($choice) {
|