/bionic/tests/libs/ |
dlopen_testlib_ifunc.c | 59 char* choice = getenv("IFUNC_CHOICE"); local 60 return choice == NULL ? f1 : f2;
|
/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/libvorbis/lib/ |
bitrate.h | 39 int choice; member in struct:bitrate_manager_state
|
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/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...] |
/external/icu/android_icu4j/src/main/tests/android/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UPropertyAliasesTest.java | 29 int p, v, choice, rev; local 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 + "=" + n) [all...] |
/hardware/qcom/camera/msmcobalt/QCamera2/HAL3/test/ |
QCameraHAL3MainTestContext.cpp | 65 int choice; local 80 choice = hal3appDisplaySensorMenu(num_of_cameras); 81 if (choice >= num_of_cameras || choice < 0) { 86 mCamHal3Base->mCameraIndex = choice; 87 rc = mCamHal3Base->hal3appCameraLibOpen(choice); 91 choice = hal3appPrintMenu(); 92 switch(choice) { 167 }while(choice != MENU_EXIT); 174 int i, choice; local 203 int choice; local 261 int i, choice = 0; local [all...] |
QCameraHAL3MainTestContext.h | 67 int choice; member in class:qcamera::MainTestContext
|
/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/autotest/client/site_tests/network_MobileSuspendResume/ |
network_MobileSuspendResume.py | 7 from random import choice, randint namespace 211 self.enable_device(device, choice([True, False]))
|
/frameworks/rs/ |
rsg_generator.c | 476 char choice = fgetc(input); local 479 if (choice < '0' || choice > '3') { 480 fprintf(stderr, "Uknown command: \'%c\'\n", choice); 490 switch (choice) {
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
LZMACoder.java | 123 final short[] choice = new short[2]; field in class:LZMACoder.LengthCoder 129 RangeCoder.initProbs(choice);
|
/frameworks/wilhelm/tests/sandbox/ |
monkey.c | 273 unsigned choice = (rand() & 0x7FFFFFFF) % totalProbability; local 279 if (totalProbability <= choice)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
random.py | 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 272 def choice(self, seq): member in class:Random 885 choice = _inst.choice variable
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_bisect.py | 236 from random import choice namespace 239 digit = choice("0123456789")
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
random.py | 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 272 def choice(self, seq): member in class:Random 885 choice = _inst.choice variable
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_bisect.py | 236 from random import choice namespace 239 digit = choice("0123456789")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
random.py | 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 272 def choice(self, seq): member in class:Random 885 choice = _inst.choice variable
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_bisect.py | 236 from random import choice namespace 239 digit = choice("0123456789")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
random.py | 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 272 def choice(self, seq): member in class:Random 885 choice = _inst.choice variable
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_bisect.py | 236 from random import choice namespace 239 digit = choice("0123456789")
|
/external/opencv3/3rdparty/jinja2/ |
filters.py | 14 from random import choice namespace 367 return choice(seq)
|