/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/speculative/ |
5-1.c | 18 * total number of keys per process [PTHREAD_KEYS_MAX] has been 26 * 1. Define an array of keys 27 * 2. Use pthread_key_create() and create those keys 28 * 3. Verify that you can set and get specific values for those keys without 41 static pthread_key_t keys[PTHREAD_KEYS_MAX + 1]; variable 48 rc = pthread_key_create(&keys[i], NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_delete/ |
1-1.c | 19 * 1. Create many keys, and do not specify and value to them (default is NULL) 20 * 2. Delete the keys with pthread_key_delete 35 pthread_key_t keys[NUM_OF_KEYS]; local 39 if (pthread_key_create(&keys[i], NULL) != 0) { 44 if (pthread_key_delete(keys[i]) != 0) {
|
1-2.c | 19 * 1. Create many keys, and specify and value to them 20 * 2. Delete the keys with pthread_key_delete 36 pthread_key_t keys[NUM_OF_KEYS]; local 40 if (pthread_key_create(&keys[i], NULL) != 0) { 45 if (pthread_setspecific(keys[i], (void *)(long)(KEY_VALUE + i)) 51 if (pthread_key_delete(keys[i]) != 0) {
|
/external/strace/tests/ |
pkey_free.c | 42 static const kernel_ulong_t keys[] = { local 53 for (i = 0; i < ARRAY_SIZE(keys); i++) { 54 rc = syscall(__NR_pkey_free, keys[i]); 55 printf("pkey_free(%d) = %s\n", (int) keys[i], sprintrc(rc));
|
/external/strace/tests-m32/ |
pkey_free.c | 42 static const kernel_ulong_t keys[] = { local 53 for (i = 0; i < ARRAY_SIZE(keys); i++) { 54 rc = syscall(__NR_pkey_free, keys[i]); 55 printf("pkey_free(%d) = %s\n", (int) keys[i], sprintrc(rc));
|
/external/strace/tests-mx32/ |
pkey_free.c | 42 static const kernel_ulong_t keys[] = { local 53 for (i = 0; i < ARRAY_SIZE(keys); i++) { 54 rc = syscall(__NR_pkey_free, keys[i]); 55 printf("pkey_free(%d) = %s\n", (int) keys[i], sprintrc(rc));
|
/cts/tests/tests/os/src/android/os/cts/ |
UsbDebuggingTest.java | 30 // Don't ship vendor keys in user build 32 File keys = new File("/adb_keys"); local 33 assertFalse(keys.exists());
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
BasePool.java | 62 Iterator<Key> keys = internedItems.keySet().iterator(); local 64 keys.next(); 66 while (keys.hasNext()) { 67 keys.next(); 68 keys.remove();
|
/external/autotest/client/tools/ |
diffprofile | 32 # Oprofile seems to be ... erm ... broken. Keys can appear > once ;-( 63 keys = sorted(diff.keys(), key=lambda x : diff[x], reverse = True) variable 65 for key in keys[:results_per_sign]: 70 for key in keys[len(keys)-results_per_sign:]:
|
/external/libcxx/test/libcxx/localization/locale.categories/ |
__scan_keyword.pass.cpp | 49 std::string keys[] = {"a", "abb"}; local 52 keys, keys+sizeof(keys)/sizeof(keys[0]), 54 assert(k - keys == 0); 61 std::string keys[] = {"a", "abb"}; local 64 keys, keys+sizeof(keys)/sizeof(keys[0]) 73 std::string keys[] = {"a", "abb"}; local 85 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local 97 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local 109 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getspecific/ |
1-1.c | 32 pthread_key_t keys[NUM_OF_KEYS]; local 37 if (pthread_key_create(&keys[i], NULL) != 0) { 42 (keys[i], (void *)(long)(i + KEY_VALUE)) != 0) { 51 rc = pthread_getspecific(keys[i]); 58 if (pthread_key_delete(keys[i]) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/ |
1-1.c | 17 * 1. Define an array of keys 18 * 2. Use pthread_key_create() and create those keys 19 * 3. Verify that you can set and get specific values for those keys without errors. 32 pthread_key_t keys[NUM_OF_KEYS]; variable 40 if (pthread_key_create(&keys[i], NULL) != 0) { 45 (keys[i], (void *)(long)(i + KEY_VALUE)) != 0) { 54 rc = pthread_getspecific(keys[i]); 61 if (pthread_key_delete(keys[i]) != 0) {
|
1-2.c | 30 pthread_key_t keys[NUM_OF_THREADS]; variable 37 if (pthread_setspecific(keys[i], (void *)(KEY_VALUE)) != 0) { 52 if (pthread_key_create(&keys[i], NULL) != 0) { 75 ("Test FAILED: Could not use a certain key value to set for many keys\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setspecific/ |
1-1.c | 33 pthread_key_t keys[NUM_OF_KEYS]; local 38 if (pthread_key_create(&keys[i], NULL) != 0) { 43 (keys[i], (void *)(long)(i + KEY_VALUE)) != 0) { 54 rc = pthread_getspecific(keys[i]); 61 if (pthread_key_delete(keys[i]) != 0) {
|
/external/ply/ply/example/BASIC/ |
basic.py | 50 keys = list(prog) variable 51 if keys[0] > 0: 54 stat = prog[keys[0]]
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/localization/locale.categories/ |
__scan_keyword.pass.cpp | 49 std::string keys[] = {"a", "abb"}; local 52 keys, keys+sizeof(keys)/sizeof(keys[0]), 54 assert(k - keys == 0); 61 std::string keys[] = {"a", "abb"}; local 64 keys, keys+sizeof(keys)/sizeof(keys[0]) 73 std::string keys[] = {"a", "abb"}; local 85 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local 97 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local 109 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; local [all...] |
/art/tools/dexfuzz/src/dexfuzz/program/ |
MSwitchInsn.java | 33 public int[] keys; field in class:MSwitchInsn 46 newInsn.keys = new int[keys.length]; 47 System.arraycopy(keys, 0, newInsn.keys, 0, keys.length);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
Dbm.py | 1 # A wrapper around the (optional) built-in class dbm, supporting keys
3 # (Actually, this works only for keys and values that can be read back
15 for key in self.keys():
33 def keys(self):
member in class:Dbm 35 for key in self.db.keys():
|
/external/icu/icu4c/source/samples/legacy/ |
legacy.cpp | 31 extern "C" void test_current(UChar data[][5], uint32_t size, uint32_t maxLen, uint8_t keys[][32]); 32 extern "C" void test_legacy(UChar data[][5], uint32_t size, uint32_t maxlen, uint8_t keys[][32]); 55 void printKeys(const char *comment, uint8_t keys[][32], int32_t keySize) { 60 currentKey = keys[i]; 94 static uint8_t keys[4][32]; local 102 test_current(uTest, 4, 5, keys); 104 printKeys("Current keys", keys, 4); 110 test_legacy(uTest, 4, 5, keys); 112 printKeys("Legacy keys", keys, 4) [all...] |
/external/libbrillo/brillo/ |
map_utils_unittest.cc | 27 std::set<std::string> keys = GetMapKeys(map_); local 29 keys); 33 std::vector<std::string> keys = GetMapKeysAsVector(map_); local 35 keys);
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
map_data_internal.h | 16 // Map serializes into a struct which has two arrays as struct fields, the keys 45 object->keys, "null key array in map struct", validation_context) || 46 !ValidateContainer(object->keys, validation_context, 59 if (object->keys.Get()->size() != object->values.Get()->size()) { 70 Pointer<Array_Data<Key>> keys; member in class:mojo::internal::Map_Data
|
/external/mesa3d/src/util/tests/hash_table/ |
delete_management.c | 51 uint32_t keys[size]; local 60 keys[i] = i; 62 _mesa_hash_table_insert(ht, keys + i, NULL); 73 entry = _mesa_hash_table_search(ht, keys + i);
|
insert_many.c | 51 uint32_t keys[size]; local 60 keys[i] = i; 62 _mesa_hash_table_insert(ht, keys + i, NULL); 66 entry = _mesa_hash_table_search(ht, keys + i);
|
random_entry.c | 57 uint32_t keys[size]; local 66 keys[i] = i; 68 _mesa_hash_table_insert(ht, keys + i, NULL);
|
/external/nanopb-c/generator/google/protobuf/internal/ |
enum_type_wrapper.py | 65 def keys(self): member in class:EnumTypeWrapper
|