Home
last modified time | relevance | path

Searched refs:db (Results 1 – 20 of 20) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dmesa_cache_db.c94 mesa_db_lock(struct mesa_cache_db *db) in mesa_db_lock() argument
96 simple_mtx_lock(&db->flock_mtx); in mesa_db_lock()
98 if (flock(fileno(db->cache.file), LOCK_EX) == -1) in mesa_db_lock()
101 if (flock(fileno(db->index.file), LOCK_EX) == -1) in mesa_db_lock()
107 flock(fileno(db->cache.file), LOCK_UN); in mesa_db_lock()
109 simple_mtx_unlock(&db->flock_mtx); in mesa_db_lock()
115 mesa_db_unlock(struct mesa_cache_db *db) in mesa_db_unlock() argument
117 flock(fileno(db->index.file), LOCK_UN); in mesa_db_unlock()
118 flock(fileno(db->cache.file), LOCK_UN); in mesa_db_unlock()
119 simple_mtx_unlock(&db->flock_mtx); in mesa_db_unlock()
[all …]
Dmesa_cache_db_multipart.c15 mesa_cache_db_multipart_open(struct mesa_cache_db_multipart *db, in mesa_cache_db_multipart_open() argument
24 db->num_parts = debug_get_num_option("MESA_DISK_CACHE_DATABASE_NUM_PARTS", 50); in mesa_cache_db_multipart_open()
26 db->parts = calloc(db->num_parts, sizeof(*db->parts)); in mesa_cache_db_multipart_open()
27 if (!db->parts) in mesa_cache_db_multipart_open()
30 for (i = 0; i < db->num_parts; i++) { in mesa_cache_db_multipart_open()
42 db_opened = mesa_cache_db_open(&db->parts[i], part_path); in mesa_cache_db_multipart_open()
58 mesa_cache_db_close(&db->parts[i]); in mesa_cache_db_multipart_open()
60 free(db->parts); in mesa_cache_db_multipart_open()
67 mesa_cache_db_multipart_close(struct mesa_cache_db_multipart *db) in mesa_cache_db_multipart_close() argument
69 while (db->num_parts--) in mesa_cache_db_multipart_close()
[all …]
Dmesa_cache_db.h44 mesa_cache_db_open(struct mesa_cache_db *db, const char *cache_path);
47 mesa_cache_db_close(struct mesa_cache_db *db);
50 mesa_cache_db_set_size_limit(struct mesa_cache_db *db,
57 mesa_cache_db_read_entry(struct mesa_cache_db *db,
62 mesa_cache_db_entry_write(struct mesa_cache_db *db,
67 mesa_cache_db_entry_remove(struct mesa_cache_db *db,
74 mesa_cache_db_has_space(struct mesa_cache_db *db, size_t blob_size);
77 mesa_cache_db_eviction_score(struct mesa_cache_db *db);
80 mesa_cache_db_open(struct mesa_cache_db *db, const char *cache_path) in mesa_cache_db_open() argument
86 mesa_cache_db_close(struct mesa_cache_db *db) in mesa_cache_db_close() argument
[all …]
Dmesa_cache_db_multipart.h20 mesa_cache_db_multipart_open(struct mesa_cache_db_multipart *db,
24 mesa_cache_db_multipart_close(struct mesa_cache_db_multipart *db);
27 mesa_cache_db_multipart_set_size_limit(struct mesa_cache_db_multipart *db,
31 mesa_cache_db_multipart_read_entry(struct mesa_cache_db_multipart *db,
36 mesa_cache_db_multipart_entry_write(struct mesa_cache_db_multipart *db,
41 mesa_cache_db_multipart_entry_remove(struct mesa_cache_db_multipart *db,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dtest_entity_db.py16 def db(): function
22 def test_likely_recognized(db): argument
23 assert(db.likelyRecognizedEntity('vkBla'))
24 assert(db.likelyRecognizedEntity('VkBla'))
25 assert(db.likelyRecognizedEntity('VK_BLA'))
28 def test_db(db): argument
29 assert(db.findEntity('vkCreateInstance'))
Dxml_consistency.py208 db = EntityDatabase(args)
210 self.extension_cmds = get_extension_commands(db.registry)
211 self.return_codes = get_enum_value_names(db.registry, 'VkResult')
212 self.structure_types = get_enum_value_names(db.registry, TYPEENUM)
255 super().__init__(entity_db=db, conventions=conventions,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dconsistency_tools.py58 self.db = entity_db
113 self.referenced_input_types = ReferencedTypes(self.db, self.is_input)
114 self.referenced_types = ReferencedTypes(self.db)
118 self.tags = _get_extension_tags(self.db.registry)
326 entity = self.db.findEntity(ref_name)
645 def __init__(self, db, predicate=None): argument
649 self.db = db
691 members = self.db.getMemberElems(type_name)
699 children = self.db.childTypes(type_name)
/hardware/google/gfxstream/common/etc/
Detc.cpp656 int db = b52 - b51; in etc_encodeBaseColors() local
659 && inRange4bitSigned(db); in etc_encodeBaseColors()
663 b2 = convert5To8(b51 + db); in etc_encodeBaseColors()
665 | ((7 & dg) << 16) | (b51 << 11) | ((7 & db) << 8) | 2; in etc_encodeBaseColors()
/hardware/qcom/audio/hal/
Dplatform_api.h46 float db; member
Dplatform_info.c415 tbl_entry.db = atof(attr[1]); in process_gain_db_to_level_map()
416 tbl_entry.amp = exp(tbl_entry.db * 0.115129f); in process_gain_db_to_level_map()
423 tbl_entry.amp, tbl_entry.db, tbl_entry.level); in process_gain_db_to_level_map()
/hardware/qcom/audio/post_proc/
Dvolume_listener.c656 volume_curve_gain_mapping_table[i].db = 0; in init_once()
671 volume_curve_gain_mapping_table[i].db, in init_once()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dwuffs-v0.3.c16682 uint32_t db = 0x101 * (0xFF & (dst_nonpremul >> 0)); in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() local
16691 db = (db * da) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx()
16700 db = ((sb * sa) + (db * ia)) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx()
16706 db = (db * 0xFFFF) / da; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx()
16713 db >>= 8; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx()
16716 return (db << 0) | (dg << 8) | (dr << 16) | (da << 24); in wuffs_base__composite_nonpremul_nonpremul_u32_axxx()
16735 uint64_t db = 0xFFFF & (dst_nonpremul >> 0); in wuffs_base__composite_nonpremul_nonpremul_u64_axxx() local
16744 db = (db * da) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u64_axxx()
16753 db = ((sb * sa) + (db * ia)) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u64_axxx()
16759 db = (db * 0xFFFF) / da; in wuffs_base__composite_nonpremul_nonpremul_u64_axxx()
[all …]
/hardware/google/gfxstream/
D.gitignore220 *.VC.db
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXlibint.h100 struct _XrmHashBucketRec *db; member
DXlib.h537 struct _XrmHashBucketRec *db; member
/hardware/google/gfxstream/guest/mesa/src/util/blake3/
Dblake3_sse41_x86-64_windows_msvc.masm2079 db 2, 3, 0, 1, 6, 7, 4, 5, 10, 11, 8, 9, 14, 15, 12, 13
2082 db 1, 2, 3, 0, 5, 6, 7, 4, 9, 10, 11, 8, 13, 14, 15, 12
Dblake3_avx2_x86-64_windows_msvc.masm1816 db 2, 3, 0, 1, 6, 7, 4, 5, 10, 11, 8, 9, 14, 15, 12, 13
1819 db 1, 2, 3, 0, 5, 6, 7, 4, 9, 10, 11, 8, 13, 14, 15, 12
/hardware/qcom/audio/hal/msm8974/
Dplatform.c4150 ALOGV("%s: enter .. add %f %f %d", __func__, tbl_entry->amp, tbl_entry->db, tbl_entry->level); in platform_add_gain_level_mapping()
4189 mapping_tbl[itt].amp, mapping_tbl[itt].db, mapping_tbl[itt].level); in platform_get_gain_level_mapping()
/hardware/interfaces/tv/tuner/assets/
Dtuner_frontend_input.ts1833 xS4ǟp Wsu�0�.���j���dbAh!�͔O��e�d5eP�A�Q|6�@ �����秂��*#�G�Vus��{7 u�>8��ԩ]S��?bU ����'…
5082 …v���t.4�L ����P��Ji��EUW�(��^J�h�?�(z�0��6�3x�& ���tt\��XF����7�db+�JX�����M{�-muHv…
Dtuner_frontend_input.es1152 …��A�1����] �Q�P��V!J8a�>�&��e6?��>T��o�P�*�@��.G p;� �Gww hT�db ���Ž��@�UUU1Æ…
1907 xS4ǟp Wsu�0�.���j���dbAh!�͔O��e�d5eP�A�Q|6�@ �����秂��*#�Vus��{7 u�>8��ԩ]S��?bU ����'K���_
4181 …���f����0�p�(������m<y����g�#M�hx�N`�6�)c�A�}A�ydAs2��-8�az{t-@�X�db���Y� W�J֕'Xp)�o
4697 eྫྷ �ccȓZD�o�{Yh�^���Lg�Ý�`C��8��D��D��<$������B�����i��ϊ1./�I�q��� |?$s��S��&�'�� �2(�"db…
4824 …v���t.4�L ����P��Ji��EUW�(��^J�h�?�(z�0��6�3x�& ���tt\��XF����7�db+�JX�����M{�-muHv…