/hardware/google/gfxstream/guest/mesa/src/util/ |
D | hash_table.c | 125 key_pointer_is_reserved(const struct hash_table *ht, const void *key) in key_pointer_is_reserved() argument 127 return key == NULL || key == ht->deleted_key; in key_pointer_is_reserved() 137 entry_is_deleted(const struct hash_table *ht, struct hash_entry *entry) in entry_is_deleted() argument 139 return entry->key == ht->deleted_key; in entry_is_deleted() 143 entry_is_present(const struct hash_table *ht, struct hash_entry *entry) in entry_is_present() argument 145 return entry->key != NULL && entry->key != ht->deleted_key; in entry_is_present() 149 _mesa_hash_table_init(struct hash_table *ht, in _mesa_hash_table_init() argument 155 ht->size_index = 0; in _mesa_hash_table_init() 156 ht->size = hash_sizes[ht->size_index].size; in _mesa_hash_table_init() 157 ht->rehash = hash_sizes[ht->size_index].rehash; in _mesa_hash_table_init() [all …]
|
D | set.c | 120 _mesa_set_init(struct set *ht, void *mem_ctx, in _mesa_set_init() argument 125 ht->size_index = 0; in _mesa_set_init() 126 ht->size = hash_sizes[ht->size_index].size; in _mesa_set_init() 127 ht->rehash = hash_sizes[ht->size_index].rehash; in _mesa_set_init() 128 ht->size_magic = hash_sizes[ht->size_index].size_magic; in _mesa_set_init() 129 ht->rehash_magic = hash_sizes[ht->size_index].rehash_magic; in _mesa_set_init() 130 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_set_init() 131 ht->key_hash_function = key_hash_function; in _mesa_set_init() 132 ht->key_equals_function = key_equals_function; in _mesa_set_init() 133 ht->table = rzalloc_array(mem_ctx, struct set_entry, ht->size); in _mesa_set_init() [all …]
|
D | hash_table.h | 68 _mesa_hash_table_init(struct hash_table *ht, 79 void _mesa_hash_table_destroy(struct hash_table *ht, 81 void _mesa_hash_table_clear(struct hash_table *ht, 83 void _mesa_hash_table_set_deleted_key(struct hash_table *ht, 86 static inline uint32_t _mesa_hash_table_num_entries(struct hash_table *ht) in _mesa_hash_table_num_entries() argument 88 return ht->entries; in _mesa_hash_table_num_entries() 92 _mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data); 94 _mesa_hash_table_insert_pre_hashed(struct hash_table *ht, uint32_t hash, 97 _mesa_hash_table_search(struct hash_table *ht, const void *key); 99 _mesa_hash_table_search_pre_hashed(struct hash_table *ht, uint32_t hash, [all …]
|
D | u_hash_table.c | 100 util_hash_table_get(struct hash_table *ht, in util_hash_table_get() argument 103 struct hash_entry *entry = _mesa_hash_table_search(ht, key); in util_hash_table_get() 110 util_hash_table_foreach(struct hash_table *ht, in util_hash_table_foreach() argument 115 hash_table_foreach(ht, entry) { in util_hash_table_foreach()
|
D | u_hash_table.h | 60 util_hash_table_get(struct hash_table *ht, 65 util_hash_table_foreach(struct hash_table *ht,
|
D | set.h | 59 _mesa_set_init(struct set *ht, void *mem_ctx,
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/hash_table/ |
D | collision.c | 43 struct hash_table *ht; in main() local 54 ht = _mesa_hash_table_create(NULL, NULL, _mesa_key_string_equal); in main() 59 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL); in main() 60 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str2, NULL); in main() 61 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str3, NULL); in main() 63 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1); in main() 66 entry2 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str2); in main() 70 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1); in main() 74 _mesa_hash_table_remove(ht, entry1); in main() 75 entry2 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str2); in main() [all …]
|
D | clear.c | 59 struct hash_table *ht; in main() local 63 ht = _mesa_hash_table_create(NULL, key_hash, key_equal); in main() 67 _mesa_hash_table_insert(ht, make_key(i), &flags[i]); in main() 70 _mesa_hash_table_clear(ht, delete_function); in main() 71 assert(_mesa_hash_table_next_entry(ht, NULL) == NULL); in main() 78 _mesa_hash_table_insert(ht, make_key(i), &flags[i]); in main() 83 assert(_mesa_hash_table_search(ht, make_key(i))); in main() 86 hash_table_foreach(ht, entry) { in main() 89 _mesa_hash_table_clear(ht, NULL); in main() 90 assert(!ht->entries); in main() [all …]
|
D | remove_key.c | 35 struct hash_table *ht; in main() local 43 ht = _mesa_hash_table_create(NULL, _mesa_hash_string, _mesa_key_string_equal); in main() 45 _mesa_hash_table_insert(ht, str1, NULL); in main() 46 _mesa_hash_table_insert(ht, str2, NULL); in main() 48 entry = _mesa_hash_table_search(ht, str2); in main() 51 entry = _mesa_hash_table_search(ht, str1); in main() 54 _mesa_hash_table_remove_key(ht, str1); in main() 56 entry = _mesa_hash_table_search(ht, str1); in main() 59 entry = _mesa_hash_table_search(ht, str2); in main() 62 _mesa_hash_table_destroy(ht, NULL); in main()
|
D | delete_and_lookup.c | 48 struct hash_table *ht; in main() local 56 ht = _mesa_hash_table_create(NULL, badhash, _mesa_key_string_equal); in main() 58 _mesa_hash_table_insert(ht, str1, NULL); in main() 59 _mesa_hash_table_insert(ht, str2, NULL); in main() 61 entry = _mesa_hash_table_search(ht, str2); in main() 64 entry = _mesa_hash_table_search(ht, str1); in main() 67 _mesa_hash_table_remove(ht, entry); in main() 69 entry = _mesa_hash_table_search(ht, str1); in main() 72 entry = _mesa_hash_table_search(ht, str2); in main() 75 _mesa_hash_table_destroy(ht, NULL); in main()
|
D | delete_management.c | 52 struct hash_table *ht; in main() local 60 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main() 65 _mesa_hash_table_insert(ht, keys + i, NULL); in main() 69 entry = _mesa_hash_table_search(ht, &delete_value); in main() 70 _mesa_hash_table_remove(ht, entry); in main() 76 entry = _mesa_hash_table_search(ht, keys + i); in main() 82 for (entry = _mesa_hash_table_next_entry(ht, NULL); in main() 84 entry = _mesa_hash_table_next_entry(ht, entry)) { in main() 88 assert(ht->entries == 100); in main() 90 _mesa_hash_table_destroy(ht, NULL); in main()
|
D | replacement.c | 38 struct hash_table *ht; in main() local 48 ht = _mesa_hash_table_create(NULL, _mesa_hash_string, in main() 51 _mesa_hash_table_insert(ht, str1, str1); in main() 52 _mesa_hash_table_insert(ht, str2, str2); in main() 54 entry = _mesa_hash_table_search(ht, str1); in main() 58 _mesa_hash_table_remove(ht, entry); in main() 60 entry = _mesa_hash_table_search(ht, str1); in main() 63 _mesa_hash_table_destroy(ht, NULL); in main()
|
D | insert_and_lookup.c | 38 struct hash_table *ht; in main() local 46 ht = _mesa_hash_table_create(NULL, _mesa_hash_string, in main() 49 _mesa_hash_table_insert(ht, str1, NULL); in main() 50 _mesa_hash_table_insert(ht, str2, NULL); in main() 52 entry = _mesa_hash_table_search(ht, str1); in main() 55 entry = _mesa_hash_table_search(ht, str2); in main() 58 _mesa_hash_table_destroy(ht, NULL); in main()
|
D | insert_many.c | 52 struct hash_table *ht; in main() local 60 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main() 65 _mesa_hash_table_insert(ht, keys + i, NULL); in main() 69 entry = _mesa_hash_table_search(ht, keys + i); in main() 73 assert(ht->entries == SIZE); in main() 75 _mesa_hash_table_destroy(ht, NULL); in main()
|
D | destroy_callback.c | 54 struct hash_table *ht; in main() local 59 ht = _mesa_hash_table_create(NULL, _mesa_hash_string, in main() 62 _mesa_hash_table_insert(ht, str1, NULL); in main() 63 _mesa_hash_table_insert(ht, str2, NULL); in main() 65 _mesa_hash_table_destroy(ht, delete_callback); in main()
|
D | random_entry.c | 58 struct hash_table *ht; in main() local 66 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main() 71 _mesa_hash_table_insert(ht, keys + i, NULL); in main() 75 entry = _mesa_hash_table_random_entry(ht, NULL); in main() 82 entry = _mesa_hash_table_random_entry(ht, uint32_t_key_is_even); in main() 91 _mesa_hash_table_destroy(ht, NULL); in main()
|
D | remove_null.c | 38 struct hash_table *ht; in main() local 40 ht = _mesa_hash_table_create(NULL, NULL, _mesa_key_string_equal); in main() 42 _mesa_hash_table_remove(ht, NULL); in main() 44 _mesa_hash_table_destroy(ht, NULL); in main()
|
/hardware/interfaces/sensors/aidl/default/multihal/ |
D | ConvertUtils.cpp | 184 const auto& ht = aidlEvent.payload.get<Event::EventPayload::headTracker>(); in convertToHidlEvent() local 185 hidlEvent->u.data[0] = ht.rx; in convertToHidlEvent() 186 hidlEvent->u.data[1] = ht.ry; in convertToHidlEvent() 187 hidlEvent->u.data[2] = ht.rz; in convertToHidlEvent() 188 hidlEvent->u.data[3] = ht.vx; in convertToHidlEvent() 189 hidlEvent->u.data[4] = ht.vy; in convertToHidlEvent() 190 hidlEvent->u.data[5] = ht.vz; in convertToHidlEvent() 195 *(reinterpret_cast<int32_t*>(&hidlEvent->u.data[6])) = ht.discontinuityCount; in convertToHidlEvent()
|
/hardware/interfaces/sensors/aidl/convert/ |
D | convert.cpp | 234 const auto& ht = src.payload.get<Event::EventPayload::headTracker>(); in convertToSensorEvent() local 235 dst->head_tracker.rx = ht.rx; in convertToSensorEvent() 236 dst->head_tracker.ry = ht.ry; in convertToSensorEvent() 237 dst->head_tracker.rz = ht.rz; in convertToSensorEvent() 238 dst->head_tracker.vx = ht.vx; in convertToSensorEvent() 239 dst->head_tracker.vy = ht.vy; in convertToSensorEvent() 240 dst->head_tracker.vz = ht.vz; in convertToSensorEvent() 241 dst->head_tracker.discontinuity_count = ht.discontinuityCount; in convertToSensorEvent()
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 119 static int convert_YUYV_to_420_NV12(char *in_buf, char *out_buf, int wd, int ht); 718 static int convert_YUYV_to_420_NV12(char *in_buf, char *out_buf, int wd, int ht) in convert_YUYV_to_420_NV12() argument 725 for(row = 0; row < ht; row++) in convert_YUYV_to_420_NV12() 732 for(row = 0, uv_row = ht; row < ht; row += 2, uv_row++) in convert_YUYV_to_420_NV12()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device.cpp | 1490 unsigned long ht = m_sVenc_cfg.input_height; in venc_use_buf() local 1494 ht = (ht + 15) & ~15; in venc_use_buf() 1497 luma_size = ht * wd; in venc_use_buf()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 1695 unsigned long ht = m_sVenc_cfg.input_height; in venc_use_buf() local 1699 ht = (ht + 15) & ~15; in venc_use_buf() 1702 luma_size = ht * wd; in venc_use_buf()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 1694 unsigned long ht = m_sVenc_cfg.input_height; in venc_use_buf() local 1698 ht = (ht + 15) & ~15; in venc_use_buf() 1701 luma_size = ht * wd; in venc_use_buf()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/ |
D | katex.min.js | 1 …"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ht=0;ht<st.length;ht++){var lt=st.charAt(ht…
|
D | katex.mjs | 12690 // def\mb@t{\ht}\def\mb@b{\dp}\def\mb@tb{\ht\z@\z@\dp}% 14398 // \vbox to\ht\z@{\hbox{\check@mathfonts
|