Home
last modified time | relevance | path

Searched refs:mem_type (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/gallium/frontends/va/
Dbuffer.c252 uint32_t mem_type; in vlVaAcquireBufferHandle() local
281 if (!out_buf_info->mem_type) in vlVaAcquireBufferHandle()
282 mem_type = mem_types[0]; in vlVaAcquireBufferHandle()
284 mem_type = 0; in vlVaAcquireBufferHandle()
286 if (out_buf_info->mem_type & mem_types[i]) { in vlVaAcquireBufferHandle()
287 mem_type = out_buf_info->mem_type; in vlVaAcquireBufferHandle()
291 if (!mem_type) in vlVaAcquireBufferHandle()
299 if (buf->export_state.mem_type != mem_type) in vlVaAcquireBufferHandle()
304 switch (mem_type) { in vlVaAcquireBufferHandle()
331 buf_info->mem_type = mem_type; in vlVaAcquireBufferHandle()
[all …]
Dsurface.c980 uint32_t mem_type, in vlVaExportSurfaceHandle() argument
994 if (mem_type != VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME_2) in vlVaExportSurfaceHandle()
Dva_private.h419 VAStatus vlVaExportSurfaceHandle(VADriverContextP ctx, VASurfaceID surface_id, uint32_t mem_type, u…
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc125 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument
132 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno, raw_report); in MmapOrDie()
151 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) { in MmapAlignedOrDie() argument
155 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie()
168 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument
177 ReportMmapFailureAndDie(size, mem_type, "allocate noreserve", reserrno); in MmapNoReserveOrDie()
191 char mem_type[30]; in MmapFixedOrDie() local
192 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
194 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno); in MmapFixedOrDie()
Dsanitizer_win.cc88 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument
91 ReportMmapFailureAndDie(size, mem_type, "allocate", in MmapOrDie()
117 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) { in MmapAlignedOrDie() argument
127 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", GetLastError()); in MmapAlignedOrDie()
134 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDie()
147 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", in MmapAlignedOrDie()
155 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDie()
166 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", GetLastError()); in MmapAlignedOrDie()
197 char mem_type[30]; in MmapFixedOrDie() local
198 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
[all …]
Dsanitizer_common.h83 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
84 INLINE void *MmapOrDieQuietly(uptr size, const char *mem_type) { in MmapOrDieQuietly() argument
85 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
90 void *MmapNoReserveOrDie(uptr size, const char *mem_type);
95 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type);
340 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
Dsanitizer_common.cc103 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type, in ReportMmapFailureAndDie() argument
116 SanitizerToolName, mmap_type, size, size, mem_type, err); in ReportMmapFailureAndDie()
/external/arm-trusted-firmware/lib/xlat_tables/
Dxlat_tables_common.c193 int mem_type; in mmap_desc() local
223 mem_type = MT_TYPE(attr); in mmap_desc()
224 if (mem_type == MT_DEVICE) { in mmap_desc()
254 if (mem_type == MT_MEMORY) { in mmap_desc()
257 assert(mem_type == MT_NON_CACHEABLE); in mmap_desc()
262 debug_print((mem_type == MT_MEMORY) ? "MEM" : in mmap_desc()
263 ((mem_type == MT_NON_CACHEABLE) ? "NC" : "DEV")); in mmap_desc()
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/xdp/mem_return_failed/
Dformat11 field:u32 mem_type; offset:20; size:4; signed:0;
13 print fmt: "mem_id=%d mem_type=%s page=%p", REC->mem_id, __print_symbolic(REC->mem_type, { 0, "PAGE…
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/xdp/mem_disconnect/
Dformat11 field:u32 mem_type; offset:20; size:4; signed:0;
14 print fmt: "mem_id=%d mem_type=%s allocator=%p", REC->mem_id, __print_symbolic(REC->mem_type, { 0, …
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/xdp/mem_connect/
Dformat11 field:u32 mem_type; offset:20; size:4; signed:0;
16 print fmt: "mem_id=%d mem_type=%s allocator=%p ifindex=%d", REC->mem_id, __print_symbolic(REC->mem_…
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_memory_test.cpp3705 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
3709 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
3710 if (mem_type != "struct") { in TEST_P()
3712 if (mem_type != "matrix" && base_type == "float") { in TEST_P()
3715 if (mem_type == "scalar") { in TEST_P()
3720 generator.after_types_ += "%ld = OpLoad %" + mem_type + " %ld_gep\n"; in TEST_P()
3723 if (mem_type == "struct") { in TEST_P()
3738 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
3742 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
3743 if (mem_type != "struct") { in TEST_P()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_memory_test.cpp3942 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
3946 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
3947 if (mem_type != "struct") { in TEST_P()
3949 if (mem_type != "matrix" && base_type == "float") { in TEST_P()
3952 if (mem_type == "scalar") { in TEST_P()
3957 generator.after_types_ += "%ld = OpLoad %" + mem_type + " %ld_gep\n"; in TEST_P()
3960 if (mem_type == "struct") { in TEST_P()
3975 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
3979 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
3980 if (mem_type != "struct") { in TEST_P()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_memory_test.cpp3942 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
3946 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
3947 if (mem_type != "struct") { in TEST_P()
3949 if (mem_type != "matrix" && base_type == "float") { in TEST_P()
3952 if (mem_type == "scalar") { in TEST_P()
3957 generator.after_types_ += "%ld = OpLoad %" + mem_type + " %ld_gep\n"; in TEST_P()
3960 if (mem_type == "struct") { in TEST_P()
3975 std::string mem_type = std::get<2>(GetParam()); in TEST_P() local
3979 "%ld_gep = OpAccessChain %ptr_ssbo_" + mem_type + " %ld_var %int_0"; in TEST_P()
3980 if (mem_type != "struct") { in TEST_P()
[all …]
/external/arm-trusted-firmware/plat/qti/common/src/
Dqti_syscall.c125 coreboot_memory_t mem_type = coreboot_get_memory_type( in qti_mem_assign_validate_param() local
128 if (mem_type != CB_MEM_RAM && mem_type != CB_MEM_RESERVED) { in qti_mem_assign_validate_param()
/external/arm-trusted-firmware/lib/xlat_tables_v2/
Dxlat_tables_core.c111 uint32_t mem_type; in xlat_desc() local
164 mem_type = MT_TYPE(attr); in xlat_desc()
165 if (mem_type == MT_DEVICE) { in xlat_desc()
199 if (mem_type == MT_MEMORY) { in xlat_desc()
221 assert(mem_type == MT_NON_CACHEABLE); in xlat_desc()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c1785 struct lp_type mem_type; in convert_to_blend_type() local
1853 lp_mem_type_from_format_desc(src_fmt, &mem_type); in convert_to_blend_type()
1857 is_arith = blend_type.length * blend_type.width != mem_type.width * mem_type.length; in convert_to_blend_type()
1858 is_arith &= !(mem_type.width == 16 && mem_type.floating); in convert_to_blend_type()
1870 if (mem_type.width == 16 && mem_type.floating) { in convert_to_blend_type()
1882 src_type.length *= pixels / (src_type.length / mem_type.length); in convert_to_blend_type()
1952 struct lp_type mem_type; in convert_from_blend_type() local
2030 lp_mem_type_from_format_desc(src_fmt, &mem_type); in convert_from_blend_type()
2033 is_arith = (blend_type.length * blend_type.width != mem_type.width * mem_type.length); in convert_from_blend_type()
2036 if (mem_type.width == 16 && mem_type.floating) { in convert_from_blend_type()
[all …]
/external/arm-trusted-firmware/include/drivers/nxp/ddr/
Ddimm.h53 unsigned char mem_type; /* 2 Key Byte / mem type */ member
/external/libabigail/src/
Dabg-default-reporter.cc1090 decl_base_sptr mem_type = i->second; in report() local
1092 << mem_type->get_pretty_representation() in report()
1137 type_base_sptr mem_type; in report() local
1143 mem_type = second->get_member_types()[*j]; in report()
1145 member_type_has_changed(get_type_declaration(mem_type))) in report()
1148 << get_type_declaration(mem_type)-> in report()
/external/kernel-headers/original/uapi/linux/
Dacrn.h440 __u64 mem_type; member
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dconv_metal.cc1024 MemoryType mem_type = in CreateConvolutionMetal() local
1035 weights_desc.memory_type = mem_type; in CreateConvolutionMetal()
1041 weights_desc.memory_type = mem_type; in CreateConvolutionMetal()
1052 bias_desc.memory_type = mem_type; in CreateConvolutionMetal()
/external/pcre/src/sljit/
DsljitNativeMIPS_common.c2308 sljit_s32 mem_type = WORD_DATA; in sljit_emit_op_flags() local
2310 sljit_s32 mem_type = ((op & SLJIT_32) || op == SLJIT_MOV32) ? (INT_DATA | SIGNED_DATA) : WORD_DATA; in sljit_emit_op_flags() local
2324 FAIL_IF(emit_op_mem2(compiler, mem_type | LOAD_DATA, DR(TMP_REG1), dst, dstw, dst, dstw)); in sljit_emit_op_flags()
2374 return emit_op_mem(compiler, mem_type, src_ar, dst, dstw); in sljit_emit_op_flags()
2385 mem_type |= CUMULATIVE_OP | LOGICAL_OP | IMM_OP | ALT_KEEP_CACHE; in sljit_emit_op_flags()
2388 return emit_op(compiler, saved_op, mem_type, dst, dstw, TMP_REG1, 0, TMP_REG2, 0); in sljit_emit_op_flags()
2389 return emit_op(compiler, saved_op, mem_type, dst, dstw, dst, dstw, TMP_REG2, 0); in sljit_emit_op_flags()
/external/arm-trusted-firmware/drivers/nxp/ddr/nxp-ddr/
Ddimm.c145 if (spd->mem_type != SPD_MEMTYPE_DDR4) { in cal_dimm_params()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c131 unsigned mem_type, in tgsi_build_declaration() argument
149 declaration.MemType = mem_type; in tgsi_build_declaration()
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_tracer.cc1440 CUmemorytype mem_type = CU_MEMORYTYPE_HOST; in GetMemoryType() local
1442 cuPointerGetAttribute(&mem_type, CU_POINTER_ATTRIBUTE_MEMORY_TYPE, ptr); in GetMemoryType()
1448 return mem_type; in GetMemoryType()

12