Home
last modified time | relevance | path

Searched refs:ret_type (Results 1 – 25 of 72) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCasting.h165 using ret_type = To &; // Normal case, return Ty&
168 using ret_type = const To &; // Normal case, return Ty&
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
180 using ret_type = const To *; // Constant pointer arg case, return const Ty*
186 using PointerType = typename cast_retty_impl<To, From *>::ret_type;
190 using ret_type = std::unique_ptr<ResultType>;
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
209 using ret_type = typename cast_retty_wrap<
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCasting.h146 typedef To& ret_type; // Normal case, return Ty&
149 typedef const To &ret_type; // Normal case, return Ty&
153 typedef To* ret_type; // Pointer arg case, return Ty*
157 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
161 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
170 typedef typename cast_retty<To, SimpleFrom>::ret_type ret_type;
176 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
182 typename simplify_type<From>::SimpleType>::ret_type ret_type;
190 static typename cast_retty<To, From>::ret_type doit(From &Val) {
199 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
[all …]
/third_party/boost/libs/python/test/
Dproperties.cpp11 class ret_type class
14 ret_type() : i(42.5) {} in ret_type() function in test::ret_type
21 ret_type i;
23 ret_type& get_i() { return i; } in get_i()
86 class_< test::ret_type>( "ret_type") in BOOST_PYTHON_MODULE()
87 .add_property( "i", &test::ret_type::i, &test::ret_type::i) in BOOST_PYTHON_MODULE()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.h77 LLVMTypeRef ret_type,
88 LLVMTypeRef ret_type,
97 LLVMTypeRef ret_type,
104 LLVMTypeRef ret_type,
121 LLVMTypeRef ret_type,
129 LLVMTypeRef ret_type,
136 LLVMTypeRef ret_type,
Dlp_bld_intr.c108 LLVMTypeRef ret_type, in lp_declare_intrinsic() argument
117 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0); in lp_declare_intrinsic()
225 LLVMTypeRef ret_type, in lp_build_intrinsic() argument
247 function = lp_declare_intrinsic(module, name, ret_type, arg_types, num_args); in lp_build_intrinsic()
278 LLVMTypeRef ret_type, in lp_build_intrinsic_unary() argument
281 return lp_build_intrinsic(builder, name, ret_type, &a, 1, 0); in lp_build_intrinsic_unary()
288 LLVMTypeRef ret_type, in lp_build_intrinsic_binary() argument
297 return lp_build_intrinsic(builder, name, ret_type, args, 2, 0); in lp_build_intrinsic_binary()
393 LLVMTypeRef ret_type, in lp_build_intrinsic_map() argument
398 LLVMTypeRef ret_elem_type = LLVMGetElementType(ret_type); in lp_build_intrinsic_map()
[all …]
Dlp_bld_assert.c67 LLVMTypeRef ret_type; in lp_build_assert() local
74 ret_type = LLVMVoidTypeInContext(context); in lp_build_assert()
80 ret_type, arg_types, ARRAY_SIZE(arg_types), in lp_build_assert()
Dlp_bld_format_aos.c828 LLVMTypeRef ret_type; in lp_build_fetch_rgba_aos() local
832 ret_type = LLVMVoidTypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
837 function_type = LLVMFunctionType(ret_type, arg_types, in lp_build_fetch_rgba_aos()
937 LLVMTypeRef ret_type; in lp_build_fetch_rgba_aos() local
940 ret_type = LLVMVoidTypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
950 ret_type, in lp_build_fetch_rgba_aos()
/third_party/boost/libs/algorithm/test/
Dsearch_test1.cpp37 typedef typename std::pair<iter_type, iter_type> ret_type; in check_one_iter() typedef
46 ret_type ret1 = ba::boyer_moore_search (hBeg, hEnd, nBeg, nEnd); in check_one_iter()
47 ret_type ret1r = ba::boyer_moore_search (haystack, nBeg, nEnd); in check_one_iter()
48 ret_type ret2 = ba::boyer_moore_horspool_search (hBeg, hEnd, nBeg, nEnd); in check_one_iter()
49 ret_type ret3 = ba::knuth_morris_pratt_search (hBeg, hEnd, nBeg, nEnd); in check_one_iter()
102 typedef typename std::pair<ptr_type, ptr_type> ret_type; in check_one_pointer() typedef
110 ret_type ret1 = ba::boyer_moore_search (hBeg, hEnd, nBeg, nEnd); in check_one_pointer()
111 ret_type ret2 = ba::boyer_moore_horspool_search (hBeg, hEnd, nBeg, nEnd); in check_one_pointer()
112 ret_type ret3 = ba::knuth_morris_pratt_search (hBeg, hEnd, nBeg, nEnd); in check_one_pointer()
152 typedef typename std::pair<iter_type, iter_type> ret_type; in check_one_object() typedef
[all …]
/third_party/jerryscript/jerry-core/api/
Djerry-debugger.c113 jerry_debugger_wait_for_source_status_t ret_type = JERRY_DEBUGGER_SOURCE_RECEIVE_FAILED; in jerry_debugger_wait_for_client_source() local
130 ret_type = JERRY_DEBUGGER_CONTEXT_RESET_RECEIVED; in jerry_debugger_wait_for_client_source()
138 ret_type = JERRY_DEBUGGER_SOURCE_END; in jerry_debugger_wait_for_client_source()
157 ret_type = JERRY_DEBUGGER_SOURCE_RECEIVED; in jerry_debugger_wait_for_client_source()
175 return ret_type; in jerry_debugger_wait_for_client_source()
/third_party/skia/third_party/externals/tint/src/resolver/
Dfunction_validation_test.cc680 auto* ret_type = in TEST_F() local
682 Func("f", {}, ret_type, {}); in TEST_F()
690 auto* ret_type = ty.atomic(Source{{12, 34}}, ty.i32()); in TEST_F() local
691 Func("f", {}, ret_type, {}); in TEST_F()
699 auto* ret_type = ty.array(Source{{12, 34}}, ty.atomic(ty.i32()), 10); in TEST_F() local
700 Func("f", {}, ret_type, {}); in TEST_F()
709 auto* ret_type = ty.type_name(Source{{12, 34}}, "S"); in TEST_F() local
710 Func("f", {}, ret_type, {}); in TEST_F()
718 auto* ret_type = ty.array(Source{{12, 34}}, ty.i32()); in TEST_F() local
719 Func("f", {}, ret_type, {}); in TEST_F()
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/
Dfunction-redecl.c4 int ret_type(void);
5 void ret_type(void) { } /* check-should-fail */ in ret_type() function
/third_party/boost/libs/python/src/object/
Dfunction_doc_signature.cpp228 str ret_type (formal_params.pop(0)); in pretty_signature() local
234 ( ret_type in pretty_signature()
250 , ret_type in pretty_signature()
257 ( cpp_types?ret_type:str("") in pretty_signature()
263 , cpp_types?str(""):ret_type in pretty_signature()
/third_party/mesa3d/src/intel/perf/
Dgen_perf.py282 ret_type = counter.get('data_type')
283 if ret_type == "uint64":
284 ret_type = "uint64_t"
288 c("static " + ret_type)
319 ret_type = counter.get('data_type')
320 if ret_type == "uint64":
321 ret_type = "uint64_t"
323 c("static " + ret_type)
/third_party/python/Lib/test/
Dtest_winreg.py353 ret_val, ret_type = QueryValueEx(ck, "test_name")
354 self.assertEqual(ret_type, REG_DWORD)
366 ret_val, ret_type = QueryValueEx(ck, "test_name")
367 self.assertEqual(ret_type, REG_BINARY)
379 ret_val, ret_type = QueryValueEx(ck, "test_name")
380 self.assertEqual(ret_type, REG_SZ)
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_function_decoration_test.cc54 const ast::Type* ret_type = nullptr; in TEST_P() local
58 ret_type = ty.vec4<f32>(); in TEST_P()
62 ret_type = ty.void_(); in TEST_P()
70 auto* func = Func("main", {}, ret_type, body, deco_list, ret_type_decos); in TEST_P()
/third_party/mindspore/mindspore/_extends/parallel_compile/tbe_compiler/
Dtbe_process.py400 ret_type, result = task_future.get(COMPILE_TIME_OUT_SECONDS)
401 if ret_type == "Success":
403 elif ret_type in ("Exception", "TBEException"):
404 ret = task_id, ret_type + ":" + result, "_"
406 ret = task_id, "Exception: Not support return type:" + str(ret_type), "_"
/third_party/libffi/src/bfin/
Dffi.c122 int ret_type = cif->flags; in ffi_call() local
130 ffi_call_SYSV(cif->bytes, &ecif, ffi_prep_args, ret_type, ecif.rvalue, fn); in ffi_call()
/third_party/boost/boost/
Dtoken_iterator.hpp125 token_iterator_generator<TokenizerFunc,Iterator,Type>::type ret_type; in make_token_iterator() typedef
126 return ret_type(fun,begin,end); in make_token_iterator()
/third_party/libffi/src/s390/
Dsysv.S37 # r3: ret_type
58 sla %r3,3 # ret_type *= 8
191 # r3: ret_type
213 slag %r3,%r3,3 # ret_type *= 8
Dffi.c312 int ret_type = cif->flags; in ffi_call_int() local
326 if (ret_type & FFI390_RET_IN_MEM) in ffi_call_int()
329 ret_type = FFI390_RET_VOID; in ffi_call_int()
477 ffi_call_SYSV (frame, ret_type & FFI360_RET_MASK, rvalue, fn, closure); in ffi_call_int()
/third_party/alsa-lib/src/pcm/
Dpcm.c7859 #define __P_OLD_GET(pfx, name, val_type, ret_type) \ argument
7860 EXPORT_SYMBOL ret_type pfx##name(const snd_pcm_hw_params_t *params) \
7865 return (ret_type)val; \
7868 #define __P_OLD_GET1(pfx, name, val_type, ret_type) \ argument
7869 EXPORT_SYMBOL ret_type pfx##name(const snd_pcm_hw_params_t *params, int *dir) \
7874 return (ret_type)val; \
7877 #define __OLD_GET(name, val_type, ret_type) __P_OLD_GET(__old_, name, val_type, ret_type) argument
7878 #define __OLD_GET1(name, val_type, ret_type) __P_OLD_GET1(__old_, name, val_type, ret_type) argument
7910 #define __P_OLD_NEAR(pfx, name, ret_type) \ argument
7911 EXPORT_SYMBOL ret_type pfx##name(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, ret_type val) \
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dbuiltin.h8 struct symbol *ret_type; member
/third_party/skia/third_party/externals/tint/src/transform/
Drobustness.cc57 auto* ret_type = ctx.src->Sem().Get(expr->object)->Type(); in Transform() local
59 auto* ref = ret_type->As<sem::Reference>(); in Transform()
64 auto* ret_unwrapped = ret_type->UnwrapRef(); in Transform()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c142 LLVMTypeRef ret_type; in si_llvm_create_func() local
146 ret_type = LLVMStructTypeInContext(ctx->ac.context, return_types, num_return_elems, true); in si_llvm_create_func()
148 ret_type = ctx->ac.voidt; in si_llvm_create_func()
182 ctx->return_type = ret_type; in si_llvm_create_func()
183 ctx->main_fn = ac_build_main(&ctx->args, &ctx->ac, call_conv, name, ret_type, ctx->ac.module); in si_llvm_create_func()
677 LLVMTypeRef ret_type; in si_build_wrapper_function() local
780 ret_type = LLVMTypeOf(ret); in si_build_wrapper_function()
784 if (LLVMGetTypeKind(ret_type) != LLVMVoidTypeKind) { in si_build_wrapper_function()
785 assert(LLVMGetTypeKind(ret_type) == LLVMStructTypeKind); in si_build_wrapper_function()
787 unsigned ret_size = LLVMCountStructElementTypes(ret_type); in si_build_wrapper_function()
/third_party/ffmpeg/libavcodec/
Dlibdavs2.c63 davs2_seq_info_t *headerset, int ret_type, AVFrame *frame) in davs2_dump_frames() argument
75 if (!pic || ret_type == DAVS2_GOT_HEADER) { in davs2_dump_frames()

123