Home
last modified time | relevance | path

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

/external/compiler-rt/lib/interception/
Dinterception.h122 # define DECLARE_WRAPPER(ret_type, func, ...) argument
128 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
129 extern "C" ret_type func(__VA_ARGS__);
130 # define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \ argument
131 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__);
139 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
140 extern "C" ret_type func(__VA_ARGS__) \
146 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
147 extern "C" ret_type func(__VA_ARGS__) \
156 # define DECLARE_REAL(ret_type, func, ...) \ argument
[all …]
/external/llvm/include/llvm/Support/
DCasting.h147 typedef To& ret_type; // Normal case, return Ty&
150 typedef const To &ret_type; // Normal case, return Ty&
154 typedef To* ret_type; // Pointer arg case, return Ty*
158 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
162 typedef const To* ret_type; // Constant pointer arg case, return const Ty*
171 typedef typename cast_retty<To, SimpleFrom>::ret_type ret_type;
177 typedef typename cast_retty_impl<To,FromTy>::ret_type ret_type;
183 typename simplify_type<From>::SimpleType>::ret_type ret_type;
191 static typename cast_retty<To, From>::ret_type doit(From &Val) {
200 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
[all …]
/external/clang/utils/VtableTest/
Dgen.cc157 int ret_type = 0; in gs() local
159 ret_type = random() % s + 1; in gs()
160 if (!base_present[s][ret_type] in gs()
161 || !base_present[ret_type][ret_types[s][fn]]) in gs()
165 ret_type = ret_types[s][fn]; in gs()
167 ret_type = s; in gs()
170 ret_types[s][fn] = ret_type; in gs()
172 if (ret_type) { in gs()
173 g(" virtual s"); g(ret_type); g("* fun"); in gs()
177 if (ret_type) in gs()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.c58 LLVMTypeRef ret_type, in lp_declare_intrinsic() argument
67 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0); in lp_declare_intrinsic()
82 LLVMTypeRef ret_type, in lp_build_intrinsic() argument
101 function = lp_declare_intrinsic(module, name, ret_type, arg_types, num_args); in lp_build_intrinsic()
111 LLVMTypeRef ret_type, in lp_build_intrinsic_unary() argument
114 return lp_build_intrinsic(builder, name, ret_type, &a, 1); in lp_build_intrinsic_unary()
121 LLVMTypeRef ret_type, in lp_build_intrinsic_binary() argument
130 return lp_build_intrinsic(builder, name, ret_type, args, 2); in lp_build_intrinsic_binary()
226 LLVMTypeRef ret_type, in lp_build_intrinsic_map() argument
231 LLVMTypeRef ret_elem_type = LLVMGetElementType(ret_type); in lp_build_intrinsic_map()
[all …]
Dlp_bld_intr.h53 LLVMTypeRef ret_type,
60 LLVMTypeRef ret_type,
68 LLVMTypeRef ret_type,
75 LLVMTypeRef ret_type,
92 LLVMTypeRef ret_type,
100 LLVMTypeRef ret_type,
107 LLVMTypeRef ret_type,
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, Elements(arg_types), in lp_build_assert()
Dlp_bld_format_aos.c543 LLVMTypeRef ret_type; in lp_build_fetch_rgba_aos() local
547 ret_type = LLVMVoidTypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
552 function_type = LLVMFunctionType(ret_type, arg_types, in lp_build_fetch_rgba_aos()
648 LLVMTypeRef ret_type; in lp_build_fetch_rgba_aos() local
651 ret_type = LLVMVoidTypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
659 ret_type, in lp_build_fetch_rgba_aos()
Dlp_bld_const.c464 LLVMTypeRef ret_type, in lp_build_const_func_pointer() argument
472 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0); in lp_build_const_func_pointer()
Dlp_bld_const.h160 LLVMTypeRef ret_type,
Dlp_bld_arit.c1382 LLVMTypeRef ret_type = lp_build_int_vec_type(bld->gallivm, type); in lp_build_iround_nearest_sse2() local
1409 ret_type, arg); in lp_build_iround_nearest_sse2()
1422 ret_type, a); in lp_build_iround_nearest_sse2()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_shader.c153 LLVMTypeRef ret_type; in use_sgpr() local
161 ret_type = LLVMFloatTypeInContext(gallivm->context); in use_sgpr()
162 ret_type = LLVMPointerType(ret_type, CONST_ADDR_SPACE); in use_sgpr()
166 ret_type = LLVMInt32TypeInContext(gallivm->context); in use_sgpr()
171 ret_type= LLVMInt64TypeInContext(gallivm->context); in use_sgpr()
176 ret_type = LLVMInt32TypeInContext(gallivm->context); in use_sgpr()
177 ret_type = LLVMVectorType(ret_type, 4); in use_sgpr()
178 ret_type = LLVMPointerType(ret_type, CONST_ADDR_SPACE); in use_sgpr()
183 ret_type = LLVMInt32TypeInContext(gallivm->context); in use_sgpr()
184 ret_type = LLVMVectorType(ret_type, 8); in use_sgpr()
[all …]
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc420 #define INTERCEPTOR_STRTO_BODY(ret_type, func, ...) \ argument
422 ret_type res = REAL(func)(__VA_ARGS__); \
426 #define INTERCEPTOR_STRTO(ret_type, func, char_type) \ argument
427 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr) { \
428 INTERCEPTOR_STRTO_BODY(ret_type, func, nptr, endptr); \
431 #define INTERCEPTOR_STRTO_BASE(ret_type, func, char_type) \ argument
432 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
434 INTERCEPTOR_STRTO_BODY(ret_type, func, nptr, endptr, base); \
437 #define INTERCEPTOR_STRTO_LOC(ret_type, func, char_type) \ argument
438 INTERCEPTOR(ret_type, func, const char_type *nptr, char_type **endptr, \
[all …]
/external/opencv3/modules/java/generator/
Dgen_java.py1246 ret_type = fi.ctype
1248 ret_type = ret_type[:-1]
1249 ret_val = type_dict[ret_type]["j_type"] + " retVal = "
1252 if ret_type.startswith('vector'):
1254 j_type = type_dict[ret_type]["j_type"]
1260 j_epilogue.append('Converters.Mat_to_' + ret_type + '(retValMat, retVal);')
1261 elif ret_type.startswith("Ptr_"):
1262 … ret_val = type_dict[fi.ctype]["j_type"] + " retVal = new " + type_dict[ret_type]["j_type"] + "("
1264 elif ret_type == "void":
1267 elif ret_type == "": # c-tor
[all …]
/external/v8/test/unittests/wasm/
Dmodule-decoder-unittest.cc737 LocalTypePair ret_type = kLocalTypes[i]; in TEST_F() local
738 const byte data[] = {0, ret_type.code}; in TEST_F()
745 EXPECT_EQ(ret_type.type, sig->GetReturn()); in TEST_F()
767 LocalTypePair ret_type = kLocalTypes[i]; in TEST_F() local
771 ret_type.code, // ret in TEST_F()
780 EXPECT_EQ(ret_type.type, sig->GetReturn()); in TEST_F()
Dast-decoder-unittest.cc151 void TestUnop(WasmOpcode opcode, LocalType ret_type, LocalType param_type) { in TestUnop() argument
156 LocalType types[] = {ret_type, param_type}; in TestUnop()
166 if (types[0] != ret_type || types[1] != param_type) { in TestUnop()
/external/e2fsprogs/lib/blkid/
Dblkid.h98 extern int blkid_parse_tag_string(const char *token, char **ret_type,
Dtag.c224 int blkid_parse_tag_string(const char *token, char **ret_type, char **ret_val) in blkid_parse_tag_string() argument
248 *ret_type = name; in blkid_parse_tag_string()
Dblkid.h.in98 extern int blkid_parse_tag_string(const char *token, char **ret_type,
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_llvm.h163 LLVMTypeRef ret_type,
Dradeon_setup_tgsi_llvm.c954 LLVMTypeRef ret_type, in build_intrinsic() argument
974 function = lp_declare_intrinsic(module, name, ret_type, arg_types, num_args); in build_intrinsic()
/external/webrtc/webrtc/base/
Dx11windowpicker.cc285 Atom ret_type; in GetWindowIcon() local
293 &ret_type, &format, &length, &size, &data) == Success && in GetWindowIcon()
305 &ret_type, &format, &length, &bytes_after, &data) == Success && in GetWindowIcon()
/external/mesa3d/src/glsl/tests/lower_jumps/
Dcreate_test_cases.py33 def make_test_case(f_name, ret_type, body): argument
65 [['function', f_name, ['signature', ret_type, ['parameters'], body]]]
/external/mesa3d/src/glsl/
Dast_to_hir.cpp3378 const glsl_type *const ret_type = in hir() local
3382 if (state->current_function->return_type != ret_type) { in hir()
3388 ret_type->name, in hir()