Home
last modified time | relevance | path

Searched refs:Arg1 (Results 1 – 25 of 48) sorted by relevance

12

/external/clang/test/SemaTemplate/
Ddeduction.cpp37 template<typename T, typename Arg1, typename Arg2>
43 template<typename Arg1, typename Arg2>
44 struct Replace<_1, Arg1, Arg2> {
45 typedef Arg1 type;
48 template<typename Arg1, typename Arg2>
49 struct Replace<_2, Arg1, Arg2> {
54 template<typename T, typename Arg1, typename Arg2>
55 struct Replace<const T, Arg1, Arg2> {
56 typedef typename Replace<T, Arg1, Arg2>::type const type;
60 template<template<typename> class TT, typename T1, typename Arg1, typename Arg2>
[all …]
Dinstantiation-default-1.cpp82 template<typename R, typename Arg1, typename Arg2 = Arg1,
83 typename FuncType = R (*)(Arg1, Arg2)>
Dinstantiate-expr-4.cpp78 template<typename T, typename Arg1>
80 T* f(bool x, Arg1 a1) { in f()
89 template<typename T, typename Arg1, typename Arg2>
91 T* f(bool x, Arg1 a1, Arg2 a2) { in f()
Dinstantiate-c99.cpp74 template<typename T, typename Arg1, typename Arg2>
76 T f(Arg1 a1, Arg2 a2) { in f()
Dinstantiate-expr-1.cpp115 template<typename Result, typename F, typename Arg1>
116 Result test_call_operator(F f, Arg1 arg1) { in test_call_operator()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h906 template <typename Arg1>
909 typedef void (*FunctionType)(Arg1 arg1);
912 Arg1 arg1) in FunctionClosure1()
926 Arg1 arg1_;
929 template <typename Class, typename Arg1>
932 typedef void (Class::*MethodType)(Arg1 arg1);
935 Arg1 arg1) in MethodClosure1()
950 Arg1 arg1_;
953 template <typename Arg1, typename Arg2>
956 typedef void (*FunctionType)(Arg1 arg1, Arg2 arg2);
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerDFSan.cpp105 bool ComputeCmp(size_t CmpType, U Arg1, U Arg2) { in ComputeCmp() argument
107 case ICMP_EQ : return Arg1 == Arg2; in ComputeCmp()
108 case ICMP_NE : return Arg1 != Arg2; in ComputeCmp()
109 case ICMP_UGT: return Arg1 > Arg2; in ComputeCmp()
110 case ICMP_UGE: return Arg1 >= Arg2; in ComputeCmp()
111 case ICMP_ULT: return Arg1 < Arg2; in ComputeCmp()
112 case ICMP_ULE: return Arg1 <= Arg2; in ComputeCmp()
113 case ICMP_SGT: return (S)Arg1 > (S)Arg2; in ComputeCmp()
114 case ICMP_SGE: return (S)Arg1 >= (S)Arg2; in ComputeCmp()
115 case ICMP_SLT: return (S)Arg1 < (S)Arg2; in ComputeCmp()
[all …]
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp90 unsigned short Arg0, Arg1; // Input operands for this value. member
178 if (ShufTab[ShufTab[ThisOp].Arg1].Cost == 0) { in PrintOperation()
179 std::cerr << getZeroCostOpName(ShufTab[ThisOp].Arg1); in PrintOperation()
180 PrintMask(ShufTab[ThisOp].Arg1, std::cerr); in PrintOperation()
184 if (Vals[i] == ShufTab[ThisOp].Arg1) { in PrintOperation()
209 unsigned Arg0 = ShufTab[Elt].Arg0, Arg1 = ShufTab[Elt].Arg1; in EvaluateOps() local
212 if (Arg0 != Arg1 && ShufTab[Arg1].Cost) in EvaluateOps()
213 EvaluateOps(Arg1, Vals, NumVals); in EvaluateOps()
314 ShufTab[ResultMask].Arg1 = LHS; in main()
352 ShufTab[ResultMask].Arg1 = RHS; in main()
[all …]
/external/clang/test/Index/
Dcomplete-objc-message.m88 - (int)Method:(float)f Arg1:(int)i1 Arg2:(int)i2;
89 - (int)Method:(float)f Arg1:(int)i1 OtherArg:(id)obj;
91 - (int)OtherMethod:(float)f Arg1:(int)i1 Arg2:(int)i2;
95 [ovl Method:1 Arg1:1 OtherArg:ovl];
109 + (int)Method:(float)f Arg1:(int)i1 Arg2:(int)i2;
110 + (int)Method:(float)f Arg1:(int)i1 OtherArg:(id)obj;
112 + (int)OtherMethod:(float)f Arg1:(int)i1 Arg2:(int)i2;
116 [Overload2 Method:1 Arg1:1 OtherArg:ovl];
120 [x Method:1 Arg1:1 OtherArg:ovl];
121 [[x blarg] Method:1 Arg1:1 OtherArg:ovl];
[all …]
/external/libcxx/test/support/
Dcounting_predicates.hpp30 template <typename Predicate, typename Arg1, typename Arg2=Arg1>
31 struct binary_counting_predicate : public std::binary_function<Arg1, Arg2, bool> {
37 bool operator () (const Arg1 &a1, const Arg2 &a2) const { ++count_; return p_(a1, a2); } in operator ()()
/external/v8/src/
Darguments.cc49 #define WRITE_CALL_1(Function, ReturnValue, Arg1) \ argument
51 Arg1 arg1) { \
61 #define WRITE_CALL_2(Function, ReturnValue, Arg1, Arg2) \ argument
63 Arg1 arg1, \
74 #define WRITE_CALL_2_VOID(Function, ReturnValue, Arg1, Arg2) \ argument
76 Arg1 arg1, \
Darguments.h194 #define WRITE_CALL_1(Function, ReturnValue, Arg1) \ argument
195 v8::Handle<ReturnValue> Call(Function f, Arg1 arg1); \
197 #define WRITE_CALL_2(Function, ReturnValue, Arg1, Arg2) \ argument
198 v8::Handle<ReturnValue> Call(Function f, Arg1 arg1, Arg2 arg2); \
200 #define WRITE_CALL_2_VOID(Function, ReturnValue, Arg1, Arg2) \ argument
201 void Call(Function f, Arg1 arg1, Arg2 arg2); \
/external/clang/test/CodeGenObjCXX/
Dblock-in-template-inst.mm39 template<typename R, typename Arg0, typename Arg1, typename Arg2>
40 struct Curry<R (^)(Arg0, Arg1, Arg2)>
42 typedef R (^FType)(Arg0, Arg1, Arg2);
47 R (^(^operator()(Arg0 a))(Arg1))(Arg2)
49 auto block = ^(Arg1 b) {
/external/clang/test/CodeGenCXX/
Dmangle-ms-template-callback.cpp10 template<typename Ret, typename Arg1>
11 class C<Ret(Arg1)> {};
13 template<typename Ret, typename Arg1, typename Arg2>
14 class C<Ret(Arg1, Arg2)> {};
/external/clang/test/SemaObjCXX/
Dinstantiate-message.mm14 template<typename R, typename T, typename Arg1>
15 void test_class_method(Arg1 arg1) {
35 template<typename R, typename T, typename Arg1>
36 void test_instance_method(Arg1 arg1) {
/external/clang/test/SemaObjC/
Dwarning-missing-selector-name.m7 -(void) Name1:(id)Arg1 Name2:(id)Arg2; // Name1:Name2:
11 -(void) Name1:(id)Arg1 Name2:(id)Arg2 Name3:(id)Arg3; // Name1:Name2:Name3:
12 -(void) Name1:(id)Arg1 Name2:(id) Name3:(id)Arg3; // expected-warning {{'Name3' used as the name of…
23 -(void) Name1:(id)Arg1 Name2:(id)Arg2{}
27 -(void) Name1:(id)Arg1 Name2:(id)Arg2 Name3:(id)Arg3 {}
28 -(void) Name1:(id)Arg1 Name2:(id) Name3:(id)Arg3 {} // expected-warning {{'Name3' used as the name …
Ddist-object-modifiers.m8 + (oneway id) stillMore : (byref id)Arg : (bycopy oneway id)Arg1; // expected-note 3 {{previous de…
19 + (id) stillMore : (id)Arg : (bycopy id)Arg1 { return Arg; } // expected-warning {{conflicting dis…
/external/clang/test/Rewriter/
Dundecl-objc-h.m9 - (NSRec) MainMethod : (NSRec) Arg1 : (NSRec) Arg2;
18 - (NSRec) MainMethod : (NSRec) Arg1 : (NSRec) Arg2;
27 - (NSRec) MainMethod : (NSRec) Arg1 : (NSRec) Arg2 { return Arg2; }
Dmetadata-test-2.m9 - (void) MyMeth : (NSPoint) Arg1;
13 - (void) MyMeth : (NSPoint) Arg1{}
Dobjc-modern-StretAPI-3.mm20 + (myPoint)foo : (int)Arg1 : (double)fArg;
38 + (myPoint)foo : (int)Arg1 : (double)fArg {
/external/llvm/test/Transforms/DeadStoreElimination/
D2011-03-25-DSEMiscompile.ll10 define ghccc void @Func1(i32* noalias %Arg1, i32* noalias %Arg2, i32* %Arg3, i32 %Arg4) {
14 %ln2gz = getelementptr i32, i32* %Arg1, i32 14
21 tail call ghccc void @Func2(i32* %Arg1, i32* %Arg2, i32* %Arg3, i32 %Arg4) nounwind
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp25 std::vector<ParserValue> Args(const VariantValue &Arg1) { in Args() argument
27 Out[0].Value = Arg1; in Args()
30 std::vector<ParserValue> Args(const VariantValue &Arg1, in Args() argument
33 Out[0].Value = Arg1; in Args()
55 const VariantValue &Arg1, in constructMatcher() argument
62 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1), Error); in constructMatcher()
68 const VariantValue &Arg1, in constructMatcher() argument
76 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1, Arg2), in constructMatcher()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp490 Value *Arg1 = II->getArgOperand(1); in visitCallInst() local
493 if (Arg0 == Arg1) in visitCallInst()
497 const ConstantFP *C1 = dyn_cast<ConstantFP>(Arg1); in visitCallInst()
501 II->setArgOperand(0, Arg1); in visitCallInst()
515 return ReplaceInstUsesWith(CI, Arg1); in visitCallInst()
518 if (isa<UndefValue>(Arg1)) in visitCallInst()
526 if (match(Arg1, m_FMin(m_Value(X), m_Value(Y)))) { in visitCallInst()
528 return ReplaceInstUsesWith(CI, Arg1); in visitCallInst()
534 if (Arg1 == X || Arg1 == Y) in visitCallInst()
543 return ReplaceInstUsesWith(CI, Arg1); in visitCallInst()
[all …]
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp252 Value *Arg1 = CI->getArgOperand(0); in runOnModule() local
256 if (Arg1->use_empty()) { in runOnModule()
257 if (Constant *C = dyn_cast<Constant>(Arg1)) in runOnModule()
260 RecursivelyDeleteTriviallyDeadInstructions(Arg1); in runOnModule()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp1112 typedef P1 Arg1; typedef
1117 typedef typename Traits<Arg1>::IVal IArg1;
1121 typedef Tuple4< const Arg0&, const Arg1&, const Arg2&, const Arg3&> Args;
1123 typedef Tuple4< ExprP<Arg0>, ExprP<Arg1>, ExprP<Arg2>, ExprP<Arg3> > ArgExprs;
1178 typedef typename Sig::Arg1 Arg1; typedef in deqp::gls::BuiltinPrecisionTests::Func
1210 const ExprP<Arg1>& arg1 = voidP(),
1229 if (isTypeValid<Arg1>()) in doPrint()
1254 typedef typename Sig::Arg1 Arg1; typedef in deqp::gls::BuiltinPrecisionTests::Apply
1264 const ExprP<Arg1>& arg1 = voidP(), in Apply()
1341 const ExprP<typename Sig::Arg1>& arg1 = voidP(), in createApply()
[all …]

12