/external/libnl/include/netlink/ |
hashtable.h | 20 uint32_t key; member in struct:nl_hash_node
|
/external/libxkbcommon/xkbcommon/src/ |
keymap-priv.c | 78 struct xkb_key *key; local 80 xkb_keys_foreach(key, keymap) 81 if (key->name == name) 82 return key;
|
/external/llvm/include/llvm/ADT/ |
DenseMapInfo.h | 53 assert(!isEqual(Val, getEmptyKey()) && "Cannot hash the empty key!"); 55 "Cannot hash the tombstone key!"); 181 uint64_t key = (uint64_t)FirstInfo::getHashValue(PairVal.first) << 32 local 183 key += ~(key << 32); 184 key ^= (key >> 22); 185 key += ~(key << 13); 186 key ^= (key >> 8) [all...] |
/external/ltp/testcases/kernel/mem/shmt/ |
shmt03.c | 61 key_t key; local 63 key = (key_t) getpid(); 68 if ((shmid = shmget(key, 16 * K_1, IPC_CREAT | 0666)) < 0) {
|
shmt04.c | 58 key_t key; variable 72 key = (key_t) getpid(); 88 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) { 155 if ((shmid = shmget(key, SIZE, 0)) < 0) {
|
shmt06.c | 59 key_t key; variable 71 key = (key_t) getpid(); 87 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) { 153 if ((shmid = shmget(key, SIZE, 0)) < 0) {
|
shmt09.c | 76 key_t key; local 78 key = (key_t) getpid(); 94 if ((shmid = shmget(key, 10 * K_1, IPC_CREAT | 0666)) < 0) {
|
shmt10.c | 63 key_t key; variable 78 key = (key_t) getpid(); 96 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) {
|
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
libnewipc.c | 42 key_t key; local 51 key = ftok(buf, id); 52 if (key == -1) { 57 return key;
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
msgctl06.c | 66 key_t key; local 72 key = getipckey(); 73 TEST(msgget(key, IPC_CREAT | IPC_EXCL));
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
semctl07.c | 37 * - Fix concurrency issue. A statically defined key was used. Leading 57 key_t key; variable 163 /* get an IPC resource key */ 164 key = getipckey(); 167 if ((semid = semget(key, nsems, SEM_RA | IPC_CREAT)) == -1) {
|
/external/ltp/testcases/kernel/syscalls/keyctl/ |
keyctl02.c | 22 * checking the validity of a key and the key's semaphore being taken, 23 * then the key type read method will see a revoked key. 25 * This causes a problem for the user-defined key type because it 27 * in a non-revoked key and doesn't check for a NULL pointer. 53 key_serial_t key = (unsigned long)arg; local 56 keyctl(KEYCTL_READ, key, buffer, 4); 63 key_serial_t key = (unsigned long)arg; local 65 keyctl(KEYCTL_REVOKE, key); 73 key_serial_t key; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
2-2.c | 41 pthread_key_t key; local 53 rc = pthread_key_create(&key, destructor); 59 rc = pthread_setspecific(key, &value); 65 /* Tell main that the key is created */
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
3-1.c | 42 pthread_key_t key; local 46 rc = pthread_key_create(&key, destructor); 52 rc = pthread_setspecific(key, &value);
|
/external/lzma/CPP/Windows/ |
Registry.h | 22 void Attach(HKEY key) { _object = key; }
25 HKEY key = _object;
local 27 return key;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_sampler_view.h | 71 struct svga_host_surface_cache_key key; member in struct:svga_sampler_view
|
svga_state_gs.c | 54 const struct svga_compile_key *key) 57 return svga_tgsi_vgpu10_translate(svga, &gs->base, key, 68 const struct svga_compile_key *key, 74 variant = translate_geometry_program(svga, gs, key); 84 variant = translate_geometry_program(svga, gs, key); 103 make_gs_key(struct svga_context *svga, struct svga_compile_key *key) 107 memset(key, 0, sizeof *key); 112 svga_init_shader_key_common(svga, PIPE_SHADER_GEOMETRY, key); 114 memcpy(key->generic_remap_table, gs->generic_remap_table 176 struct svga_compile_key key; local [all...] |
svga_surface.h | 47 struct svga_host_surface_cache_key key; member in struct:svga_surface 101 struct svga_host_surface_cache_key *key); /* OUT */
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
pixelshader9.c | 150 uint64_t key; local 152 key = This->next_key; 153 if (key == This->last_key) 156 cso = nine_shader_variant_get(&This->variant, key); 166 info.sampler_mask_shadow = key & 0xffff; 167 info.sampler_ps1xtypes = key; 170 info.force_color_in_centroid = key >> 34 & 1; 171 info.projected = (key >> 48) & 0xffff; 177 nine_shader_variant_add(&This->variant, key, info.cso); 181 This->last_key = key; [all...] |
/external/mesa3d/src/gallium/tests/unit/ |
u_cache_test.c | 46 cache_test_hash(const void *key) 48 return util_hash_crc32(key, sizeof(cache_test_key)); 53 cache_test_destroy(void *key, void *value) 55 free(key); 73 cache_test_key *key; local 88 key = malloc(sizeof(cache_test_key)); 89 *key = 0xdeadbeef; 90 value_out = (cache_test_value *) util_cache_get(cache, key); 92 free(key); 99 key = malloc(sizeof(cache_test_key)) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_clip.c | 51 struct brw_clip_prog_key *key ) 68 c.key = *key; 78 c.prog_data.clip_mode = c.key.clip_mode; /* XXX */ 89 switch (key->primitive) { 91 if (key->do_unfilled) 121 &c.key, sizeof(c.key), 134 struct brw_clip_prog_key key; local 147 memset(&key, 0, sizeof(key)) [all...] |
brw_vs.h | 55 brw_vs_outputs_written(struct brw_context *brw, struct brw_vs_prog_key *key, 63 struct brw_vs_prog_key *key); 76 const struct brw_vs_prog_key *key, 98 const struct brw_vs_prog_key *const key; member in class:brw::vec4_vs_visitor
|
brw_wm_iz.cpp | 127 brw_wm_prog_key *key = (brw_wm_prog_key*) this->key; local 130 int lookup = key->iz_lookup; 139 if (key->stats_wm && 156 if (wm_iz_table[lookup].ds_present || key->line_aa != AA_NEVER) { 159 !wm_iz_table[lookup].ds_present && key->line_aa == AA_SOMETIMES;
|
/external/mesa3d/src/util/ |
set.h | 40 const void *key; member in struct:set_entry 46 uint32_t (*key_hash_function)(const void *key); 58 uint32_t (*key_hash_function)(const void *key), 66 _mesa_set_add(struct set *set, const void *key); 68 _mesa_set_add_pre_hashed(struct set *set, uint32_t hash, const void *key); 71 _mesa_set_search(const struct set *set, const void *key); 74 const void *key);
|
/external/mesa3d/src/util/tests/hash_table/ |
collision.c | 57 assert(entry1->key == str1); 60 assert(entry2->key == str2); 64 assert(entry1->key == str1); 69 assert(entry2->key == str2); 75 assert(search_entry == entry2 || search_entry->key != str2); 83 char *key = malloc(10); local 84 sprintf(key, "spam%d", i); 85 _mesa_hash_table_insert_pre_hashed(ht, _mesa_hash_string(key), key, NULL); 88 assert(entry1->key == str1) [all...] |