Home
last modified time | relevance | path

Searched refs:total_sz (Results 1 – 4 of 4) sorted by relevance

/third_party/selinux/libsepol/src/
Dcontext_record.c276 size_t total_sz = 0, i; in sepol_context_to_string() local
286 if (__builtin_add_overflow(total_sz, sizes[i], &total_sz)) { in sepol_context_to_string()
292 str = (char *)malloc(total_sz); in sepol_context_to_string()
298 rc = snprintf(str, total_sz, "%s:%s:%s:%s", in sepol_context_to_string()
301 rc = snprintf(str, total_sz, "%s:%s:%s", in sepol_context_to_string()
309 if (rc < 0 || (size_t)rc >= total_sz) { in sepol_context_to_string()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_pool.cc194 int64_t total_sz = 0; in GetStat() local
200 total_sz += it.value().sz; in GetStat()
219 if (total_sz > 0) { in GetStat()
221 cs.average_cache_sz = total_sz / (cs.num_disk_cached + cs.num_mem_cached); in GetStat()
Dcache_service.cc105 size_t total_sz = size_of_this; in CacheRow() local
119 total_sz += msg->data_sz()->Get(i); in CacheRow()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_emit.c483 unsigned total_sz = 32; in midgard_pack_common_store_mask() local
485 total_sz = 128; in midgard_pack_common_store_mask()
487 total_sz = 64; in midgard_pack_common_store_mask()
489 nr_comp = total_sz / comp_sz; in midgard_pack_common_store_mask()
492 assert(comp_sz >= total_sz / 4); in midgard_pack_common_store_mask()
496 if (comp_sz == total_sz) in midgard_pack_common_store_mask()
498 else if (comp_sz == total_sz / 2) in midgard_pack_common_store_mask()
500 else if (comp_sz == total_sz / 4) in midgard_pack_common_store_mask()