Home
last modified time | relevance | path

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

12

/external/googletest/googlemock/include/gmock/
Dgmock-generated-matchers.h269 template <typename arg_type>\
271 GTEST_REFERENCE_TO_CONST_(arg_type)> {\
276 GTEST_REFERENCE_TO_CONST_(arg_type) arg,\
296 template <typename arg_type>\
297 operator ::testing::Matcher<arg_type>() const {\
298 return ::testing::Matcher<arg_type>(\
299 new gmock_Impl<arg_type>());\
308 template <typename arg_type>\
309 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain(\
310 GTEST_REFERENCE_TO_CONST_(arg_type) arg,\
[all …]
Dgmock-generated-matchers.h.pump65 // and refer to its type by 'arg_type'.
101 // Note that the type of the value being matched (arg_type) is
108 // takes an int, 'arg_type' will be int; if it takes an unsigned long,
109 // 'arg_type' will be unsigned long; and so on.
204 // 'arg_type' as that's determined by the context in which the matcher
302 template <typename arg_type>\
304 GTEST_REFERENCE_TO_CONST_(arg_type)> {\
309 GTEST_REFERENCE_TO_CONST_(arg_type) arg,\
329 template <typename arg_type>\
330 operator ::testing::Matcher<arg_type>() const {\
[all …]
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
Dmove_convert.pass.cpp68 TrackingDeleter() : arg_type(&makeArgumentID<>()) {} in TrackingDeleter()
71 : arg_type(&makeArgumentID<TrackingDeleter const&>()) {} in TrackingDeleter()
74 : arg_type(&makeArgumentID<TrackingDeleter &&>()) {} in TrackingDeleter()
77 TrackingDeleter(T&&) : arg_type(&makeArgumentID<T&&>()) {} in TrackingDeleter()
80 arg_type = &makeArgumentID<TrackingDeleter const&>(); in operator =()
85 arg_type = &makeArgumentID<TrackingDeleter &&>(); in operator =()
91 arg_type = &makeArgumentID<T&&>(); in operator =()
99 TypeID const* tmp = arg_type; in reset()
100 arg_type = nullptr; in reset()
104 mutable TypeID const* arg_type; member
[all …]
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Dmove_convert.pass.cpp54 TrackingDeleter() : arg_type(&makeArgumentID<>()) {} in TrackingDeleter()
57 : arg_type(&makeArgumentID<TrackingDeleter const&>()) {} in TrackingDeleter()
60 : arg_type(&makeArgumentID<TrackingDeleter &&>()) {} in TrackingDeleter()
63 TrackingDeleter(T&&) : arg_type(&makeArgumentID<T&&>()) {} in TrackingDeleter()
66 arg_type = &makeArgumentID<TrackingDeleter const&>(); in operator =()
71 arg_type = &makeArgumentID<TrackingDeleter &&>(); in operator =()
77 arg_type = &makeArgumentID<T&&>(); in operator =()
85 TypeID const* tmp = arg_type; in reset()
86 arg_type = nullptr; in reset()
90 mutable TypeID const* arg_type; member
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-matchers.h1415 template <typename arg_type>\
1416 class gmock_Impl : public ::testing::MatcherInterface<arg_type> {\
1421 arg_type arg, ::testing::MatchResultListener* result_listener) const;\
1440 template <typename arg_type>\
1441 operator ::testing::Matcher<arg_type>() const {\
1442 return ::testing::Matcher<arg_type>(\
1443 new gmock_Impl<arg_type>());\
1453 template <typename arg_type>\
1454 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain(\
1455 arg_type arg, \
[all …]
Dgmock-generated-matchers.h.pump423 // and refer to its type by 'arg_type'.
459 // Note that the type of the value being matched (arg_type) is
466 // takes an int, 'arg_type' will be int; if it takes an unsigned long,
467 // 'arg_type' will be unsigned long; and so on.
562 // 'arg_type' as that's determined by the context in which the matcher
659 template <typename arg_type>\
660 class gmock_Impl : public ::testing::MatcherInterface<arg_type> {\
665 arg_type arg, ::testing::MatchResultListener* result_listener) const;\
684 template <typename arg_type>\
685 operator ::testing::Matcher<arg_type>() const {\
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_logic.c360 LLVMTypeRef arg_type; in lp_build_select() local
370 arg_type = LLVMVectorType(LLVMDoubleTypeInContext(lc), 4); in lp_build_select()
374 arg_type = LLVMVectorType(LLVMFloatTypeInContext(lc), 8); in lp_build_select()
378 arg_type = LLVMVectorType(LLVMInt8TypeInContext(lc), 32); in lp_build_select()
384 arg_type = LLVMVectorType(LLVMDoubleTypeInContext(lc), 2); in lp_build_select()
388 arg_type = LLVMVectorType(LLVMFloatTypeInContext(lc), 4); in lp_build_select()
391 arg_type = LLVMVectorType(LLVMInt8TypeInContext(lc), 16); in lp_build_select()
394 if (arg_type != bld->int_vec_type) { in lp_build_select()
395 mask = LLVMBuildBitCast(builder, mask, arg_type, ""); in lp_build_select()
398 if (arg_type != bld->vec_type) { in lp_build_select()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-generated-matchers.h1384 template <typename arg_type>\
1385 class gmock_Impl : public ::testing::MatcherInterface<arg_type> {\
1390 arg_type arg, ::testing::MatchResultListener* result_listener) const;\
1409 template <typename arg_type>\
1410 operator ::testing::Matcher<arg_type>() const {\
1411 return ::testing::Matcher<arg_type>(\
1412 new gmock_Impl<arg_type>());\
1422 template <typename arg_type>\
1423 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain(\
1424 arg_type arg, \
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/
Dcommon.cpp79 const auto arg_type = arg.getType(); in make_kernel_args() local
85 const unsigned arg_store_size = dl.getTypeStoreSize(arg_type); in make_kernel_args()
86 const unsigned arg_api_size = dl.getTypeAllocSize(arg_type); in make_kernel_args()
88 const auto target_type = !arg_type->isIntegerTy() ? arg_type : in make_kernel_args()
123 isa< ::llvm::PointerType>(arg_type) && arg.hasByValAttr() ? in make_kernel_args()
124 cast< ::llvm::PointerType>(arg_type)->getElementType() : arg_type; in make_kernel_args()
/external/python/apitools/apitools/base/py/
Dutil.py87 def Typecheck(arg, arg_type, msg=None): argument
88 if not isinstance(arg, arg_type):
90 if isinstance(arg_type, tuple):
92 type(arg), arg_type)
94 msg = 'Type of arg is "%s", not "%s"' % (type(arg), arg_type)
/external/v8/tools/clang/plugins/
DCheckIPCVisitor.cpp110 QualType arg_type; in ValidateWriteParamArgument() local
114 arg_type = cast_expr->getTypeAsWritten(); in ValidateWriteParamArgument()
116 arg_type = arg_expr->getType(); in ValidateWriteParamArgument()
120 if (CheckType(arg_type, &details)) { in ValidateWriteParamArgument()
/external/e2fsprogs/intl/
Dprintf-args.h75 } arg_type; typedef
80 arg_type type;
Dprintf-parse.c309 arg_type type; in PRINTF_PARSE()
/external/v8/src/builtins/
Dbuiltins-trace.cc161 uint8_t arg_type; in BUILTIN() local
178 tracing::SetTraceValue(std::move(traced_value), &arg_type, &arg_value); in BUILTIN()
185 num_args, &arg_name, &arg_type, &arg_value, flags); in BUILTIN()
/external/e2fsprogs/misc/
De4defrag.c1677 int arg_type = -1; in main() local
1764 arg_type = DEVNAME; in main()
1774 arg_type = DIRNAME; in main()
1778 arg_type = FILENAME; in main()
1792 if (arg_type == FILENAME || arg_type == DIRNAME) { in main()
1821 switch (arg_type) { in main()
1856 if (arg_type == DEVNAME) { in main()
1979 if (arg_type == DEVNAME) in main()
1982 else if (arg_type == DIRNAME) in main()
2009 if (arg_type == DEVNAME) in main()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/
Dtypes.pass.cpp75 template <class F, class return_type, class arg_type>
79 static_assert((std::is_same<typename F::argument_type, arg_type>::value), "" ); in test_unary_function()
/external/googletest/googletest/scripts/
Dgen_gtest_pred_impl.py620 arg_type = 'user-defined type (Bool)'
627 arg_type = 'built-in type (int)'
651 'arg_type' : arg_type,
/external/google-breakpad/src/testing/gtest/scripts/
Dgen_gtest_pred_impl.py620 arg_type = 'user-defined type (Bool)'
627 arg_type = 'built-in type (int)'
651 'arg_type' : arg_type,
/external/v8/src/tracing/
Dtrace-event.h570 uint8_t arg_type; in AddTraceEvent() local
572 SetTraceValue(std::forward<ARG1_TYPE>(arg1_val), &arg_type, &arg_value); in AddTraceEvent()
575 &arg1_name, &arg_type, &arg_value, flags); in AddTraceEvent()
612 uint8_t arg_type; in AddTraceEventWithTimestamp() local
614 SetTraceValue(std::forward<ARG1_TYPE>(arg1_val), &arg_type, &arg_value); in AddTraceEventWithTimestamp()
617 &arg1_name, &arg_type, &arg_value, flags, timestamp); in AddTraceEventWithTimestamp()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DType.java162 for (final Type arg_type : arg_types) { in getMethodSignature()
163 buf.append(arg_type.getSignature()); in getMethodSignature()
DMethodGen.java145 for (final Type arg_type : arg_types) { in MethodGen()
146 if (Type.VOID == arg_type) { in MethodGen()
904 for (final Type arg_type : arg_types) { in setMaxLocals()
905 max += arg_type.getSize(); in setMaxLocals()
DInstructionFactory.java90 for (final Type arg_type : arg_types) { in createInvoke()
91 nargs += arg_type.getSize(); in createInvoke()
/external/perfetto/src/trace_processor/
Dfuchsia_trace_tokenizer.cc335 uint32_t arg_type = in ParseRecord() local
339 if (arg_type == kArgKernelObject) { in ParseRecord()
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/
Dffi.c69 static size_t ffi_put_arg(ffi_type **arg_type, void **arg, char *stack) in ffi_put_arg() argument
72 register ffi_type **p_arg = arg_type; in ffi_put_arg()
/external/libffi/src/arm/
Dffi.c69 static size_t ffi_put_arg(ffi_type **arg_type, void **arg, char *stack) in ffi_put_arg() argument
72 register ffi_type **p_arg = arg_type; in ffi_put_arg()

12