/external/mesa3d/src/gallium/auxiliary/util/ |
u_handle_table.c | 64 struct handle_table *ht; local 66 ht = MALLOC_STRUCT(handle_table); 67 if(!ht) 70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *)); 71 if(!ht->objects) { 72 FREE(ht); 76 ht->size = HANDLE_TABLE_INITIAL_SIZE; 77 ht->filled = 0; 79 ht->destroy = NULL; 81 return ht; [all...] |
u_handle_table.h | 63 handle_table_set_destroy(struct handle_table *ht, 73 handle_table_add(struct handle_table *ht, 80 handle_table_set(struct handle_table *ht, 90 handle_table_get(struct handle_table *ht, 95 handle_table_remove(struct handle_table *ht, 100 handle_table_destroy(struct handle_table *ht); 104 handle_table_get_first_handle(struct handle_table *ht); 108 handle_table_get_next_handle(struct handle_table *ht,
|
u_hash_table.c | 82 struct util_hash_table *ht; local 84 ht = MALLOC_STRUCT(util_hash_table); 85 if(!ht) 88 ht->cso = cso_hash_create(); 89 if(!ht->cso) { 90 FREE(ht); 94 ht->hash = hash; 95 ht->compare = compare; 97 return ht; 102 util_hash_table_find_iter(struct util_hash_table *ht, [all...] |
u_hash_table.h | 64 util_hash_table_set(struct util_hash_table *ht, 69 util_hash_table_get(struct util_hash_table *ht, 74 util_hash_table_remove(struct util_hash_table *ht, 79 util_hash_table_clear(struct util_hash_table *ht); 83 util_hash_table_foreach(struct util_hash_table *ht, 89 util_hash_table_destroy(struct util_hash_table *ht);
|
/ndk/sources/host-tools/make-3.81/ |
hash.c | 27 static void hash_rehash __P((struct hash_table* ht)); 43 hash_init (struct hash_table *ht, unsigned long size, 46 ht->ht_size = round_up_2 (size); 47 ht->ht_empty_slots = ht->ht_size; 48 ht->ht_vec = (void**) CALLOC (struct token *, ht->ht_size); 49 if (ht->ht_vec == 0) 52 ht->ht_size * sizeof(struct token *)); 56 ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor * [all...] |
/external/libdrm/amdgpu/ |
util_hash_table.c | 79 struct util_hash_table *ht; local 81 ht = malloc(sizeof(struct util_hash_table)); 82 if(!ht) 85 ht->head = util_hash_create(); 86 if(!ht->head) { 87 free(ht); 91 ht->make_hash = hash; 92 ht->compare = compare; 94 return ht; 98 util_hash_table_find_iter(struct util_hash_table *ht, [all...] |
util_hash_table.h | 59 util_hash_table_set(struct util_hash_table *ht, void *key, void *value); 61 drm_private void *util_hash_table_get(struct util_hash_table *ht, void *key); 63 drm_private void util_hash_table_remove(struct util_hash_table *ht, void *key); 65 drm_private void util_hash_table_clear(struct util_hash_table *ht); 67 drm_private void util_hash_table_foreach(struct util_hash_table *ht, 71 drm_private void util_hash_table_destroy(struct util_hash_table *ht);
|
/external/mesa3d/src/mesa/program/ |
hash_table.c | 60 struct hash_table *ht; local 68 ht = malloc(sizeof(*ht) + ((num_buckets - 1) 69 * sizeof(ht->buckets[0]))); 70 if (ht != NULL) { 71 ht->hash = hash; 72 ht->compare = compare; 73 ht->num_buckets = num_buckets; 76 make_empty_list(& ht->buckets[i]); 80 return ht; [all...] |
hash_table.h | 73 extern void hash_table_dtor(struct hash_table *ht); 79 * \param ht Table to be cleared of its entries. 81 extern void hash_table_clear(struct hash_table *ht); 87 * \param ht Table to be searched 95 extern void *hash_table_find(struct hash_table *ht, const void *key); 112 extern void hash_table_insert(struct hash_table *ht, void *data, 129 extern bool hash_table_replace(struct hash_table *ht, void *data, 135 extern void hash_table_remove(struct hash_table *ht, const void *key); 185 hash_table_call_foreach(struct hash_table *ht, 212 this->ht = hash_table_ctor(0, hash_table_string_hash 284 struct hash_table *ht; member in struct:string_to_uint_map [all...] |
/external/mesa3d/src/glsl/ |
ir_clone.cpp | 31 ir_rvalue::clone(void *mem_ctx, struct hash_table *ht) const 45 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const 78 var->constant_value = this->constant_value->clone(mem_ctx, ht); 82 this->constant_initializer->clone(mem_ctx, ht); 84 if (ht) { 85 hash_table_insert(ht, var, (void *)const_cast<ir_variable *>(this)); 92 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const 94 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); 98 ir_return::clone(void *mem_ctx, struct hash_table *ht) const 103 new_value = this->value->clone(mem_ctx, ht); 413 struct hash_table *ht; member in class:fixup_ir_call_visitor 428 struct hash_table *ht = local [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
HandlerThreadTest.java | 36 MockHandlerThread ht = new MockHandlerThread("test"); local 37 assertEquals(-1, ht.getThreadId()); 38 ht.start(); 41 assertEquals(ht.getMyTid(), ht.getThreadId()); 43 assertTrue(ht.isRunCalled()); 45 assertTrue(ht.isOnLooperPreparedCalled()); 47 assertNotNull(ht.getLooper()); 48 Looper looper = ht.getLooper(); 50 assertSame(ht.getMyLooper(), looper) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
HashtableTest.java | 74 Hashtable<String, String> ht = new Hashtable<>(); local 75 ht.put("one", "1"); 76 ht.put("two", "2"); 77 ht.put("three", "3"); 79 ht.replaceAll((k, v) -> k + v); 80 assertEquals("one1", ht.get("one")); 81 assertEquals("two2", ht.get("two")); 82 assertEquals("three3", ht.get("three")); 83 assertEquals(3, ht.size()); 86 ht.replaceAll(new java.util.function.BiFunction<String, String, String>() [all...] |
/external/libmpeg2/common/ |
icv_variance.h | 41 typedef WORD32 icv_variance_8x4_t(UWORD8 *pu1_src, WORD32 src_strd, WORD32 wd, WORD32 ht);
|
icv_sad.c | 79 * @param[in] ht 94 WORD32 ht) 100 UNUSED(ht); 103 ASSERT(ht == 4);
|
icv_variance.c | 74 * @param[in] ht 84 WORD32 icv_variance_8x4(UWORD8 *pu1_src, WORD32 src_strd, WORD32 wd, WORD32 ht) 93 UNUSED(ht); 96 ASSERT(ht == 4);
|
ideint_debug.c | 96 WORD32 wd, ht, strd; local 99 ht = ps_pic->ai4_ht[i]; 103 for (j = 0; j < ht; j++)
|
/external/libavc/common/ |
ih264_padding.c | 158 * @param[in] ht 172 WORD32 ht, 177 for(row = 0; row < ht; row++) 200 * @param[in] ht 214 WORD32 ht, 227 for(row = 0; row < ht; row++) 254 * @param[in] ht 268 WORD32 ht, 273 for(row = 0; row < ht; row++) 295 * @param[in] ht [all...] |
/external/libavc/common/x86/ |
ih264_padding_ssse3.c | 69 * @param[in] ht 78 * @param[in] ht 94 WORD32 ht, 103 for(row = 0; row < ht; row++) 136 * @param[in] ht 145 * @param[in] ht 161 WORD32 ht, 169 for(row = 0; row < ht; row++) 202 * @param[in] ht 211 * @param[in] ht [all...] |
/external/libhevc/common/ |
ihevc_padding.c | 66 * @param[in] ht 75 * @param[in] ht 91 WORD32 ht, 100 memcpy(pu1_src + (ht + row - 1) * src_strd, 101 pu1_src + (ht - 1) * src_strd, wd); 120 * @param[in] ht 129 * @param[in] ht 145 WORD32 ht, 157 for(row = 0; row < ht; row++) 187 * @param[in] ht [all...] |
ihevc_sao.c | 80 WORD32 ht) 88 for(row = 0; row < ht; row++) 95 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; 108 for(row = 0; row < ht; row++) 134 WORD32 ht) 143 for(row = 0; row < ht; row++) 152 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; 168 for(row = 0; row < ht; row++) 196 WORD32 ht) 212 for(row = 0; row < ht; row++ [all...] |
ihevc_padding.h | 44 WORD32 ht, 51 WORD32 ht, 58 WORD32 ht, 65 WORD32 ht, 72 WORD32 ht, 79 WORD32 ht, 105 WORD32 ht, 110 WORD32 ht, 115 WORD32 ht, 120 WORD32 ht, [all...] |
ihevc_inter_pred_filters.c | 75 * Copies the array of width 'wd' and height 'ht' from the location pointed 93 * @param[in] ht 113 WORD32 ht, 118 for(row = 0; row < ht; row++) 156 * @param[in] ht 175 WORD32 ht, 181 for(row = 0; row < ht; row++) 228 * @param[in] ht 248 WORD32 ht, 254 for(row = 0; row < ht; row++ [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
HashtableTest.java | 115 Hashtable ht = new Hashtable(map); local 117 ht.get("Gah") == firstVal); 119 ht.get("Ooga") == secondVal); 259 // final Hashtable ht = new Hashtable(7); 260 // ht.put("1", "a"); 262 // ht.put("2", "b"); 263 // ht.put("9", "c"); 264 // ht.put("12", "d"); 268 // Enumeration en = ht.elements(); 271 // ht.remove("12") 389 final Hashtable ht = new Hashtable(); local 446 final Hashtable ht = new Hashtable(3); local 523 final Hashtable ht = new Hashtable(); local 700 final Hashtable ht = new Hashtable(); local 899 Hashtable<String, String> ht = new Hashtable<>(); local 910 Hashtable<String, String> ht = new Hashtable<>(); local 918 Hashtable<String, String> ht = new Hashtable<>(); local [all...] |
/external/libhevc/common/x86/ |
ihevc_padding_ssse3_intr.c | 68 * @param[in] ht 77 * @param[in] ht 93 WORD32 ht, 105 for(row = 0; row < ht; row++) 139 * @param[in] ht 148 * @param[in] ht 164 WORD32 ht, 176 for(row = 0; row < ht; row++) 211 * @param[in] ht 220 * @param[in] ht [all...] |
/external/libavc/decoder/ |
ih264d_format_conv.h | 70 WORD32 ht, 83 WORD32 ht, 94 WORD32 ht, 104 WORD32 ht,
|