Home
last modified time | relevance | path

Searched full:ptr_depth (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/public/
DcppToCTypes.yaml35 ptr_depth: 1
39 …type.template_args.0.type.name| |es2panda_arg.type.template_args.0.type.ptr_depth|> |arg_name|Aren…
42 …\t\tauto |es2panda_arg.type.template_args.0.type.ptr_depth||es2panda_arg.type.template_args.0.type…
54 …or->New<|new_args.0.type.const| |new_args.0.type.name| |new_args.0.type.ptr_depth - 1||new_args.0.…
57 …et_cast<|new_args.0.type.const| |new_args.0.type.name| |new_args.0.type.ptr_depth - 1||new_args.0.…
80 ptr_depth: 1
86 …|es2panda_arg.type.template_args.0.type.ptr_depth|>>(reinterpret_cast<Context *>(context)->allocat…
88 …\t\tauto |es2panda_arg.type.template_args.0.type.ptr_depth||es2panda_arg.type.template_args.0.type…
100 …or->New<|new_args.0.type.const| |new_args.0.type.name| |new_args.0.type.ptr_depth - 1||new_args.0.…
103 …et_cast<|new_args.0.type.const| |new_args.0.type.name| |new_args.0.type.ptr_depth - 1||new_args.0.…
[all …]
DREADME.md38 ptr_depth: '|es2panda_arg.type.ptr_depth_int|'
46 ptr_depth: 1
52 auto |es2panda_arg.type.ptr_depth||arg_name|E2p =
53 reinterpret_cast<ir::FunctionSignature |es2panda_arg.type.ptr_depth|>(|arg_name|);
58 reinterpret_cast<?const? es2panda_FunctionSignature |es2panda_arg.type.ptr_depth|>
108 original_argument['type']['ptr_depth'] >= es2panda_arg['min_ptr_depth'] &&
109 original_argument['type']['ptr_depth'] <= es2panda_arg['max_ptr_depth']
126 ### Clarification on ptr_depth and ref_depth:
128 `ptr_depth` is number of `*` in argument.
151 ptr_depth: 1
[all …]
Des2panda_lib.rb42 def check_ptr_depth(change_type, ptr_depth) argument
43 …!((change_type.es2panda_arg['min_ptr_depth'] && ptr_depth < change_type.es2panda_arg['min_ptr_dept…
44 …(change_type.es2panda_arg['max_ptr_depth'] && ptr_depth > change_type.es2panda_arg['max_ptr_depth'…
62 unless arg['type']&.respond_to?('const') && arg['type']&.respond_to?('ptr_depth') &&
63 arg['type']&.ptr_depth&.positive?
72 unless arg['type']&.respond_to?('const') && arg['type']&.respond_to?('ptr_depth') &&
73 arg['type']&.ptr_depth&.positive?
94 ptr_depth = @es2panda_arg['type'].ptr_depth || 0
97 "#{' ' * [1, ptr_depth].min + '*' * (ptr_depth)}'"
181 check_ptr_depth(x, @es2panda_arg['type']['ptr_depth'] || 0)
[all …]
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/
Dparse_arguments.py75 res["ptr_depth"] = ptr_end - ptr_start