Home
last modified time | relevance | path

Searched refs:ptr_type (Results 1 – 25 of 36) sorted by relevance

12

/third_party/boost/libs/numeric/ublas/benchmarks/opencl/
Dbenchmark.hpp35 typedef std::unique_ptr<type> ptr_type; typedef
36 static ptr_type create(long) { return ptr_type(new T());} in create()
42 typedef std::unique_ptr<type> ptr_type; typedef
43 static ptr_type create(long, compute::context) { return ptr_type(new T());} in create()
49 typedef void *ptr_type; typedef
50 static ptr_type create(long) { return 0;} in create()
56 typedef void *ptr_type; typedef
57 static ptr_type create(long, compute::context) { return 0;} in create()
63 typedef std::unique_ptr<type> ptr_type; typedef
64 static ptr_type create(long l) { return ptr_type(new type(l));} in create()
[all …]
/third_party/boost/boost/fiber/future/
Dfuture.hpp28 typedef typename shared_state< R >::ptr_type ptr_type; typedef
30 ptr_type state_{};
34 explicit future_base( ptr_type p) noexcept : in future_base()
120 explicit future( typename base_type::ptr_type const& p) noexcept : in future()
147 typename base_type::ptr_type tmp{}; in get()
169 explicit future( typename base_type::ptr_type const& p) noexcept : in future()
196 typename base_type::ptr_type tmp{}; in get()
218 explicit future( base_type::ptr_type const& p) noexcept : in future()
248 base_type::ptr_type tmp{}; in get()
266 explicit shared_future( typename base_type::ptr_type const& p) noexcept : in shared_future()
[all …]
Dpackaged_task.hpp32 typedef typename detail::task_base< R, Args ... >::ptr_type ptr_type; typedef in boost::fibers::packaged_task
35 ptr_type task_{};
Dpromise.hpp28 typedef typename shared_state< R >::ptr_type ptr_type; typedef
31 ptr_type future_{};
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c415 base->ptr_type->stride); in vtn_pointer_dereference()
429 if (base->ptr_type && base->ptr_type->type) { in vtn_pointer_dereference()
431 glsl_get_vector_elements(base->ptr_type->type); in vtn_pointer_dereference()
432 tail->dest.ssa.bit_size = glsl_get_bit_size(base->ptr_type->type); in vtn_pointer_dereference()
441 tail->type, base->ptr_type->stride); in vtn_pointer_dereference()
1687 struct vtn_type *ptr_type) in vtn_pointer_from_ssa() argument
1689 vtn_assert(ptr_type->base_type == vtn_base_type_pointer); in vtn_pointer_from_ssa()
1693 vtn_type_without_array(ptr_type->deref); in vtn_pointer_from_ssa()
1696 ptr->mode = vtn_storage_class_to_mode(b, ptr_type->storage_class, in vtn_pointer_from_ssa()
1698 ptr->type = ptr_type->deref; in vtn_pointer_from_ssa()
[all …]
Dvtn_private.h528 struct vtn_type *ptr_type; member
738 struct vtn_type *ptr_type);
/third_party/boost/libs/algorithm/test/
Dsearch_test1.cpp101 typedef const typename Container::value_type *ptr_type; in check_one_pointer() typedef
102 typedef typename std::pair<ptr_type, ptr_type> ret_type; in check_one_pointer()
104 ptr_type hBeg = haystack.size () == 0 ? NULL : &*haystack.begin (); in check_one_pointer()
105 ptr_type hEnd = hBeg + haystack.size (); in check_one_pointer()
106 ptr_type nBeg = needle.size () == 0 ? NULL : &*needle.begin (); in check_one_pointer()
107 ptr_type nEnd = nBeg + needle.size (); in check_one_pointer()
109 ptr_type it0 = std::search (hBeg, hEnd, nBeg, nEnd); in check_one_pointer()
/third_party/boost/boost/fiber/future/detail/
Dtask_base.hpp25 typedef intrusive_ptr< task_base > ptr_type; typedef
32 virtual ptr_type reset() = 0;
Dshared_state.hpp190 typedef intrusive_ptr< shared_state > ptr_type; typedef in boost::fibers::detail::shared_state
243 typedef intrusive_ptr< shared_state > ptr_type; typedef in boost::fibers::detail::shared_state
285 typedef intrusive_ptr< shared_state > ptr_type; typedef in boost::fibers::detail::shared_state
Dtask_object.hpp76 typename base_type::ptr_type reset() override final { in reset()
150 typename base_type::ptr_type reset() override final { in reset()
/third_party/boost/libs/iostreams/test/detail/
Doperation_sequence.hpp110 typedef weak_ptr<operation::impl> ptr_type; typedef in boost::iostreams::test::operation_sequence
111 typedef std::map<int, ptr_type> map_type;
169 operations_.insert(make_pair(id, ptr_type(op.pimpl_))); in new_operation()
/third_party/boost/boost/spirit/home/classic/utility/
Dgrammar_def.hpp81 ptr_type; typedef
90 ptr_type
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl.cc1286 const auto* ptr_type = def_use_mgr_->GetDef(var.type_id()); in RegisterTypes() local
1287 if (ptr_type->opcode() != SpvOpTypePointer) { in RegisterTypes()
1292 def_use_mgr_->GetDef(ptr_type->GetSingleWordInOperand(1)); in RegisterTypes()
1583 auto* ptr_type = def_use_mgr_->GetDef(var->type_id()); in GetArraySize() local
1584 if (!ptr_type || ptr_type->opcode() != SpvOpTypePointer) { in GetArraySize()
1587 auto* array_type = def_use_mgr_->GetDef(ptr_type->GetSingleWordInOperand(1)); in GetArraySize()
2349 const auto* ptr_type = def_use_mgr_->GetDef(var.type_id()); in GetSpirvTypeForHandleMemoryObjectDeclaration() local
2350 if (!ptr_type || (ptr_type->opcode() != SpvOpTypePointer)) { in GetSpirvTypeForHandleMemoryObjectDeclaration()
2356 def_use_mgr_->GetDef(ptr_type->GetSingleWordInOperand(1)); in GetSpirvTypeForHandleMemoryObjectDeclaration()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp451 auto &ptr_type = set<SPIRType>(type_ptr_id, vec4_type_ptr); in build_implicit_builtins() local
452 ptr_type.self = type_id; in build_implicit_builtins()
473 auto &ptr_type = set<SPIRType>(type_ptr_id, uint_type_ptr); in build_implicit_builtins() local
474 ptr_type.self = get_uint_type_id(); in build_implicit_builtins()
495 auto &ptr_type = set<SPIRType>(type_ptr_id, uint_type_ptr); in build_implicit_builtins() local
496 ptr_type.self = get_uint_type_id(); in build_implicit_builtins()
518 auto &ptr_type = set<SPIRType>(type_ptr_id, uint_type_ptr); in build_implicit_builtins() local
519 ptr_type.self = get_uint_type_id(); in build_implicit_builtins()
538 auto &ptr_type = set<SPIRType>(type_ptr_id, uint_type_ptr); in build_implicit_builtins() local
539 ptr_type.self = get_uint_type_id(); in build_implicit_builtins()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_interfaces.cpp218 auto ptr_type = _.FindDef(ptr_type_id); in GetLocationsForVariable() local
219 auto type_id = ptr_type->GetOperandAs<uint32_t>(2); in GetLocationsForVariable()
Dvalidate_decorations.cpp1353 const auto ptr_type = vstate.FindDef(ptr_inst->GetOperandAs<uint32_t>(0)); in CheckFPRoundingModeForShaders() local
1355 const auto half_float_id = ptr_type->GetOperandAs<uint32_t>(2); in CheckFPRoundingModeForShaders()
1366 const auto storage = ptr_type->GetOperandAs<uint32_t>(1); in CheckFPRoundingModeForShaders()
Dvalidate_image.cpp1048 const auto ptr_type = result_type->GetOperandAs<uint32_t>(2); in ValidateImageTexelPointer() local
1049 const auto ptr_opcode = _.GetIdOpcode(ptr_type); in ValidateImageTexelPointer()
1075 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_interfaces.cpp226 auto ptr_type = _.FindDef(ptr_type_id); in GetLocationsForVariable() local
227 auto type_id = ptr_type->GetOperandAs<uint32_t>(2); in GetLocationsForVariable()
Dvalidate_decorations.cpp1371 const auto ptr_type = vstate.FindDef(ptr_inst->GetOperandAs<uint32_t>(0)); in CheckFPRoundingModeForShaders() local
1373 const auto half_float_id = ptr_type->GetOperandAs<uint32_t>(2); in CheckFPRoundingModeForShaders()
1384 const auto storage = ptr_type->GetOperandAs<uint32_t>(1); in CheckFPRoundingModeForShaders()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_interfaces.cpp226 auto ptr_type = _.FindDef(ptr_type_id); in GetLocationsForVariable() local
227 auto type_id = ptr_type->GetOperandAs<uint32_t>(2); in GetLocationsForVariable()
Dvalidate_decorations.cpp1371 const auto ptr_type = vstate.FindDef(ptr_inst->GetOperandAs<uint32_t>(0)); in CheckFPRoundingModeForShaders() local
1373 const auto half_float_id = ptr_type->GetOperandAs<uint32_t>(2); in CheckFPRoundingModeForShaders()
1384 const auto storage = ptr_type->GetOperandAs<uint32_t>(1); in CheckFPRoundingModeForShaders()
Dvalidate_image.cpp1059 const auto ptr_type = result_type->GetOperandAs<uint32_t>(2); in ValidateImageTexelPointer() local
1060 const auto ptr_opcode = _.GetIdOpcode(ptr_type); in ValidateImageTexelPointer()
1086 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c433 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, in create_shared_block() local
436 … ctx->shared_block_var = spirv_builder_emit_var(&ctx->builder, ptr_type, SpvStorageClassWorkgroup); in create_shared_block()
2197 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, in emit_store_deref() local
2205 SpvId member = spirv_builder_emit_access_chain(&ctx->builder, ptr_type, in emit_store_deref()
2230 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, in emit_load_shared() local
2239 SpvId member = spirv_builder_emit_access_chain(&ctx->builder, ptr_type, in emit_load_shared()
2267 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, in emit_store_shared() local
2280 SpvId member = spirv_builder_emit_access_chain(&ctx->builder, ptr_type, in emit_store_shared()
3469 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, in emit_deref_array() local
3474 ptr_type, in emit_deref_array()
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Dfunction_validation_test.cc779 auto* ptr_type = ty.pointer(Source{{12, 34}}, ty.i32(), param.storage_class); in TEST_P() local
780 auto* arg = Param(Source{{12, 34}}, "p", ptr_type); in TEST_P()
/third_party/flatbuffers/src/
Didl_gen_cpp.cpp740 auto &ptr_type = PtrType(field); in GenTypeNativePtr() local
741 if (ptr_type != "naked") { in GenTypeNativePtr()
742 return (ptr_type != "default_ptr_type" in GenTypeNativePtr()
743 ? ptr_type in GenTypeNativePtr()
756 auto &ptr_type = PtrType(&field); in GenPtrGet() local
757 return ptr_type == "naked" ? "" : ".get()"; in GenPtrGet()

12