Home
last modified time | relevance | path

Searched refs:Func (Results 1 – 25 of 224) sorted by relevance

123456789

/external/protobuf/src/google/protobuf/
Drepeated_field_reflection_unittest.cc51 static int Func(int i, int j) { in Func() function
57 SStringPrintf(&str, "%d", Func(i, 4)); in StrFunc()
68 message.add_repeated_int32(Func(i, 1)); in TEST()
69 message.add_repeated_double(Func(i, 2)); in TEST()
71 message.add_repeated_foreign_message()->set_c(Func(i, 6)); in TEST()
119 EXPECT_EQ(rf_int32.Get(i), Func(i, 1)); in TEST()
120 EXPECT_EQ(rf_double.Get(i), Func(i, 2)); in TEST()
122 EXPECT_EQ(rpf_foreign_message.Get(i).c(), Func(i, 6)); in TEST()
124 Func(i, 6)); in TEST()
127 EXPECT_EQ(mrf_int32->Get(i), Func(i, 1)); in TEST()
[all …]
/external/eigen/Eigen/src/Core/
DRedux.h26 template<typename Func, typename Derived>
39 && (functor_traits<Func>::PacketAccess),
55 || (Derived::SizeAtCompileTime!=1 && functor_traits<Func>::Cost == Dynamic)
58 + (Derived::SizeAtCompileTime-1) * functor_traits<Func>::Cost,
76 template<typename Func, typename Derived, int Start, int Length>
85 static EIGEN_STRONG_INLINE Scalar run(const Derived &mat, const Func& func) in run()
87 return func(redux_novec_unroller<Func, Derived, Start, HalfLength>::run(mat,func), in run()
88 … redux_novec_unroller<Func, Derived, Start+HalfLength, Length-HalfLength>::run(mat,func)); in run()
92 template<typename Func, typename Derived, int Start>
93 struct redux_novec_unroller<Func, Derived, Start, 1>
[all …]
/external/harfbuzz_ng/test/api/
Dhb-test.h170 #define hb_test_add(Func) hb_test_add_func (#Func, Func) argument
181 #define hb_test_add_flavor(Flavor, Func) hb_test_add_func (#Func, Flavor, Func) argument
192 #define hb_test_add_data(UserData, Func) hb_test_add_data_func (#Func, UserData, Func) argument
204 …e hb_test_add_data_flavor(UserData, Flavor, Func) hb_test_add_data_func_flavor (#Func, Flavor, Use… argument
219 #define hb_test_add_fixture(FixturePrefix, UserData, Func) \ argument
230 add_vtable (#Func, sizeof (G_PASTE (FixturePrefix, _t)), UserData, \
231 G_PASTE (FixturePrefix, _init), Func, G_PASTE (FixturePrefix, _finish)); \
247 #define hb_test_add_fixture_flavor(FixturePrefix, UserData, Flavor, Func) \ argument
258 add_vtable (#Func, Flavor, sizeof (G_PASTE (FixturePrefix, _t)), UserData, \
259 G_PASTE (FixturePrefix, _init), Func, G_PASTE (FixturePrefix, _finish)); \
/external/libunwind/doc/
Dlibunwind-setjmp.tex16 \Type{int} \Func{setjmp}(\Type{jmp\_buf}~\Var{env});\\
17 \Type{void} \Func{longjmp}(\Type{jmp\_buf}~\Var{env}, \Type{int}~\Var{val});\\
18 \Type{int} \Func{\_setjmp}(\Type{jmp\_buf}~\Var{env});\\
19 \Type{void} \Func{\_longjmp}(\Type{jmp\_buf}~\Var{env}, \Type{int}~\Var{val});\\
20 \Type{int} \Func{sigsetjmp}(\Type{sigjmp\_buf}~\Var{env}, \Type{int}~\Var{savemask});\\
21 \Type{void} \Func{siglongjmp}(\Type{sigjmp\_buf}~\Var{env}, \Type{int}~\Var{val});\\
30 \Func{setjmp}() routines is very fast. Typically, just 2 or 3 words
32 \Func{sigprocmask}(2), in the case of \Func{sigsetjmp}). On the
34 \Func{longjmp}() routines tends to be much slower than with the
36 \Func{longjmp}() will be proportional to the number of call frames
[all …]
Dlibunwind-ptrace.tex18 \Type{void~*}\Func{\_UPT\_create}(\Type{pid\_t});\\
20 \Type{void} \Func{\_UPT\_destroy}(\Type{void~*});\\
23 \Type{int} \Func{\_UPT\_find\_proc\_info}(\Type{unw\_addr\_space\_t}, \Type{unw\_word\_t}, \Type{un…
25 \Type{void} \Func{\_UPT\_put\_unwind\_info}(\Type{unw\_addr\_space\_t}, \Type{unw\_proc\_info\_t~*}…
27 \Type{int} \Func{\_UPT\_get\_dyn\_info\_list\_addr}(\Type{unw\_addr\_space\_t}, \Type{unw\_word\_t~…
29 \Type{int} \Func{\_UPT\_access\_mem}(\Type{unw\_addr\_space\_t}, \Type{unw\_word\_t}, \Type{unw\_wo…
31 \Type{int} \Func{\_UPT\_access\_reg}(\Type{unw\_addr\_space\_t}, \Type{unw\_regnum\_t}, \Type{unw\_…
33 \Type{int} \Func{\_UPT\_access\_fpreg}(\Type{unw\_addr\_space\_t}, \Type{unw\_regnum\_t}, \Type{unw…
35 \Type{int} \Func{\_UPT\_get\_proc\_name}(\Type{unw\_addr\_space\_t}, \Type{unw\_word\_t}, \Type{cha…
37 \Type{int} \Func{\_UPT\_resume}(\Type{unw\_addr\_space\_t}, \Type{unw\_cursor\_t~*}, \Type{void~*})…
[all …]
Dunw_resume.tex15 \Type{int} \Func{unw\_resume}(\Type{unw\_cursor\_t~*}\Var{cp});\\
19 The \Func{unw\_resume}() routine resumes execution at the stack frame
23 For local unwinding, \Func{unw\_resume}() restores the machine state
25 \Func{unw\_resume}() does not return in this case. Restoring the
29 \Var{cp} was interrupted by a signal, then \Func{unw\_resume}() will
31 \Func{unw\_resume}() on a cursor which identifies the stack frame of
35 For remote unwinding, \Func{unw\_resume}() installs the machine state
36 identified by the cursor by calling the \Func{access\_reg} and
37 \Func{access\_fpreg} accessor callbacks as needed. Once that is
38 accomplished, the \Func{resume} accessor callback is invoked. The
[all …]
Dunw_step.tex15 \Type{int} \Func{unw\_step}(\Type{unw\_cursor\_t~*}\Var{cp});\\
19 The \Func{unw\_step}() routine advances the unwind cursor \Var{cp} to
24 On successful completion, \Func{unw\_step}() returns a positive value
31 \Func{unw\_step}() is thread-safe. If cursor \Var{cp} is in the local
48 \Func{find\_proc\_info}() returned -\Const{UNW\_ESTOPUNWIND}.
50 In addition, \Func{unw\_step}() may return any error returned by the
51 \Func{find\_proc\_info}(), \Func{get\_dyn\_info\_list\_addr}(),
52 \Func{access\_mem}(), \Func{access\_reg}(), or \Func{access\_fpreg}()
53 call-backs (see \Func{unw\_create\_addr\_space}(3)).
Dunw_create_addr_space.tex15 \Type{unw\_addr\_space\_t} \Func{unw\_create\_addr\_space}(\Type{unw\_accessors\_t~*}\Var{ap}, \Typ…
19 The \Func{unw\_create\_addr\_space}() routine creates a new unwind
39 \Func{unw\_create\_addr\_space}().
47 \Func{unw\_init\_remote}(3) was called.
54 \Type{int} \Func{find\_proc\_info}(\Type{unw\_addr\_space\_t} \Var{as},\\
57 \Type{void} \Func{put\_unwind\_info}(\Type{unw\_addr\_space\_t} \Var{as},\\
59 \Type{int} \Func{get\_dyn\_info\_list\_addr}(\Type{unw\_addr\_space\_t} \Var{as},\\
61 \Type{int} \Func{access\_mem}(\Var{unw\_addr\_space\_t} \Var{as},\\
64 \Type{int} \Func{access\_reg}(\Var{unw\_addr\_space\_t} \Var{as},\\
67 \Type{int} \Func{access\_fpreg}(\Var{unw\_addr\_space\_t} \Var{as},\\
[all …]
Dunw_get_reg.tex15 \Type{int} \Func{unw\_get\_reg}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_regnum\_t} \Var{reg}, \…
19 The \Func{unw\_get\_reg}() routine reads the value of register
30 \Func{unw\_is\_signal\_frame}(3)), it is usually possible to access
33 Note that \Func{unw\_get\_reg}() can only read the contents of
35 \Func{unw\_get\_fpreg}(3) for a way to read registers which do not fit
40 On successful completion, \Func{unw\_get\_reg}() returns 0.
46 \Func{unw\_get\_reg}() is thread-safe as well as safe to use
56 In addition, \Func{unw\_get\_reg}() may return any error returned by
57 the \Func{access\_mem}(), \Func{access\_reg}(), and
58 \Func{access\_fpreg}() call-backs (see
[all …]
Dunw_init_local.tex15 \Type{int} \Func{unw\_init\_local}(\Type{unw\_cursor\_t~*}\Var{c}, \Type{unw\_context\_t~*}\Var{ctx…
19 The \Func{unw\_init\_local}() routine initializes the unwind cursor
26 The \Func{unw\_init\_local}() routine can be used only for unwinding in
28 For all other cases, \Func{unw\_init\_remote}() must be used instead.
41 \Func{unw\_init\_local}(). Also, \Func{unw\_init\_local}() is
43 including \File{$<$libunwind.h$>$}, whereas \Func{unw\_init\_remote}()
48 On successful completion, \Func{unw\_init\_local}() returns 0.
54 \Func{unw\_init\_local}() is thread-safe as well as safe to use from a
60 \item[\Const{UNW\_EINVAL}] \Func{unw\_init\_local}() was called in a
62 (this normally happens when calling \Func{unw\_init\_local}() for a
[all …]
Dlibunwind.tex16 \Type{int} \Func{unw\_getcontext}(\Type{unw\_context\_t~*});\\
18 \Type{int} \Func{unw\_init\_local}(\Type{unw\_cursor\_t~*}, \Type{unw\_context\_t~*});\\
20 \Type{int} \Func{unw\_init\_remote}(\Type{unw\_cursor\_t~*}, \Type{unw\_addr\_space\_t}, \Type{void…
22 \Type{int} \Func{unw\_step}(\Type{unw\_cursor\_t~*});\\
24 \Type{int} \Func{unw\_get\_reg}(\Type{unw\_cursor\_t~*}, \Type{unw\_regnum\_t}, \Type{unw\_word\_t~…
26 \Type{int} \Func{unw\_get\_fpreg}(\Type{unw\_cursor\_t~*}, \Type{unw\_regnum\_t}, \Type{unw\_fpreg\…
28 \Type{int} \Func{unw\_set\_reg}(\Type{unw\_cursor\_t~*}, \Type{unw\_regnum\_t}, \Type{unw\_word\_t}…
30 \Type{int} \Func{unw\_set\_fpreg}(\Type{unw\_cursor\_t~*}, \Type{unw\_regnum\_t}, \Type{unw\_fpreg\…
32 \Type{int} \Func{unw\_resume}(\Type{unw\_cursor\_t~*});\\
37 \Type{unw\_addr\_space\_t} \Func{unw\_create\_addr\_space}(\Type{unw\_accessors\_t}, \Type{int});\\
[all …]
Dunw_get_fpreg.tex15 \Type{int} \Func{unw\_get\_fpreg}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_regnum\_t} \Var{reg},…
19 The \Func{unw\_get\_fpreg}() routine reads the value of floating-point
30 \Func{unw\_is\_signal\_frame}(3)), it is usually possible to access
33 Note that \Func{unw\_get\_fpreg}() can only read the contents of
34 floating-point registers. See \Func{unw\_get\_fpreg}(3) for a way to
39 On successful completion, \Func{unw\_get\_fpreg}() returns 0.
45 \Func{unw\_get\_fpreg}() is thread-safe as well as safe to use
55 In addition, \Func{unw\_get\_fpreg}() may return any error returned by
56 the \Func{access\_mem}(), \Func{access\_reg}(), and
57 \Func{access\_fpreg}() call-backs (see
[all …]
Dunw_set_reg.tex15 \Type{int} \Func{unw\_set\_reg}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_regnum\_t} \Var{reg}, \…
19 The \Func{unw\_set\_reg}() routine sets the value of register
30 \Func{unw\_is\_signal\_frame}(3)), it is usually possible to access
33 Note that \Func{unw\_set\_reg}() can only write the contents of
35 \Func{unw\_set\_fpreg}(3) for a way to write registers which do not
40 On successful completion, \Func{unw\_set\_reg}() returns 0.
46 \Func{unw\_set\_reg}() is thread-safe as well as safe to use
58 In addition, \Func{unw\_set\_reg}() may return any error returned by
59 the \Func{access\_mem}(), \Func{access\_reg}(), and
60 \Func{access\_fpreg}() call-backs (see
[all …]
Dunw_set_fpreg.tex15 \Type{int} \Func{unw\_set\_fpreg}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_regnum\_t} \Var{reg},…
19 The \Func{unw\_set\_fpreg}() routine sets the value of register
30 \Func{unw\_is\_signal\_frame}(3)), it is usually possible to access
33 Note that \Func{unw\_set\_fpreg}() can only write the contents of
34 floating-point registers. See \Func{unw\_set\_reg}(3) for a way to
39 On successful completion, \Func{unw\_set\_fpreg}() returns 0.
45 \Func{unw\_set\_fpreg}() is thread-safe as well as safe to use
57 In addition, \Func{unw\_set\_fpreg}() may return any error returned by
58 the \Func{access\_mem}(), \Func{access\_reg}(), and
59 \Func{access\_fpreg}() call-backs (see
[all …]
Dunw_getcontext.tex15 \Type{int} \Func{unw\_getcontext}(\Type{unw\_context\_t~*}\Var{ucp});\\
19 The \Func{unw\_getcontext}() routine initializes the context structure
21 exact set of registers stored by \Func{unw\_getcontext}() is
33 \Func{getcontext}() instead of \Func{unw\_getcontext}(). However, the
35 initialized by \Func{unw\_getcontext()} in places where a structure
36 initialized by \Func{getcontext()} is expected. The reason for this
37 asymmetry is that \Func{unw\_getcontext()} is optimized for maximum
42 On successful completion, \Func{unw\_getcontext}() returns 0.
47 \Func{unw\_getcontext}() is thread-safe as well as safe to use
Dunw_backtrace.tex15 \Type{int} \Func{unw\_backtrace}(\Type{void~**}\Var{buffer}, \Type{int}~\Var{size});\\
19 \Type{int} \Func{backtrace}(\Type{void~**}\Var{buffer}, \Type{int}~\Var{size});\\
23 \Func{unw\_backtrace}() is a convenient routine for obtaining the backtrace for
28 called \Func{backtrace}(). The prototype for this function is usually obtained
30 \Func{backtrace}() is not provided by \Prog{libunwind}. \Prog{libunwind} weakly
31 aliases \Func{backtrace}() to \Func{unw\_backtrace}(), so when a program
32 calling \Func{backtrace}() is linked against \Prog{libunwind}, it may end up
33 calling \Func{unw\_backtrace}().
Dlibunwind.trans7 $manMacro1a{'Func'} = $manMacro1a{Prog};
8 $manMacro1b{'Func'} = $manMacro1b{Prog};
9 $htmlMacro1a{'Func'} = $htmlMacro1a{Arg};
10 $htmlMacro1b{'Func'} = $htmlMacro1b{Arg};
11 $texiMacro1a{'Func'} = $texiMacro1a{Prog};
12 $texiMacro1b{'Func'} = $texiMacro1b{Prog};
/external/eigen/Eigen/src/Core/util/
DMeta.h119 template<typename Func, typename ArgType, int SizeOf=sizeof(has_none)>
122 template<typename Func, typename ArgType>
123 struct unary_result_of_select<Func, ArgType, sizeof(has_std_result_type)> {typedef typename Func::r…
125 template<typename Func, typename ArgType>
126 struct unary_result_of_select<Func, ArgType, sizeof(has_tr1_result)> {typedef typename Func::templa…
128 template<typename Func, typename ArgType>
129 struct result_of<Func(ArgType)> {
137 enum {FunctorType = sizeof(testFunctor(static_cast<Func*>(0)))};
138 typedef typename unary_result_of_select<Func, ArgType, FunctorType>::type type;
141 template<typename Func, typename ArgType0, typename ArgType1, int SizeOf=sizeof(has_none)>
[all …]
/external/llvm/bindings/go/llvm/
DIRBindings.cpp25 Function *Func = unwrap<Function>(Fn); in LLVMAddFunctionAttr2() local
26 const AttributeSet PAL = Func->getAttributes(); in LLVMAddFunctionAttr2()
29 PAL.addAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMAddFunctionAttr2()
30 AttributeSet::get(Func->getContext(), in LLVMAddFunctionAttr2()
32 Func->setAttributes(PALnew); in LLVMAddFunctionAttr2()
36 Function *Func = unwrap<Function>(Fn); in LLVMGetFunctionAttr2() local
37 const AttributeSet PAL = Func->getAttributes(); in LLVMGetFunctionAttr2()
42 Function *Func = unwrap<Function>(Fn); in LLVMRemoveFunctionAttr2() local
43 const AttributeSet PAL = Func->getAttributes(); in LLVMRemoveFunctionAttr2()
46 PAL.removeAttributes(Func->getContext(), AttributeSet::FunctionIndex, in LLVMRemoveFunctionAttr2()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DEnumerableExtensions.cs40 public delegate TResult Func<TResult>(); in Func() method
41 public delegate TResult Func<T, TResult>(T arg1); in Func() method
42 public delegate TResult Func<T1, T2, TResult>(T1 arg1, T2 arg2); in Func() method
43 public delegate TResult Func<T1, T2, T3, TResult>(T1 arg1, T2 arg2, T3 arg3); in Func() method
44 public delegate TResult Func<T1, T2, T3, T4, TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4); in Func() method
57 Func<TAggregate, TElement, TAggregate> func, Func<TAggregate, long, TResult> result)
139 static U Iterate<T, U>(IEnumerable<T> source, U initValue, Func<T, U, U> selector) { in Iterate()
166 …Enumerable<TResult> Select<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, TResult> s… in Select()
172 …sult> CreateSelectIterator<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, TResult> s… in CreateSelectIterator()
177 …Enumerable<TResult> Select<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, int, TResu… in Select()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerStructArgs.cpp60 Function *Func = Arg->getParent(); in handleParam() local
61 Instruction *FirstInst = &(Func->getEntryBlock().front()); in handleParam()
73 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleParam()
79 Type::getInt8PtrTy(Func->getParent()->getContext(), ADDRESS_SPACE_PARAM), in handleParam()
80 Type::getInt8PtrTy(Func->getParent()->getContext(), in handleParam()
83 Func->getParent(), Intrinsic::nvvm_ptr_gen_to_param, CvtTypes); in handleParam()
86 new BitCastInst(Arg, Type::getInt8PtrTy(Func->getParent()->getContext(), in handleParam()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h163 typedef VariantMatcher (*MarshallerType)(void (*Func)(),
176 MarshallerType Marshaller, void (*Func)(), StringRef MatcherName,
179 : Marshaller(Marshaller), Func(Func), MatcherName(MatcherName),
186 return Marshaller(Func, MatcherName, NameRange, Args, Error);
204 void (* const Func)();
280 ResultT (*Func)(ArrayRef<const ArgT *>)>
302 Out = outvalueToVariantMatcher(Func(llvm::makeArrayRef(InnerArgs,
329 VariadicFuncMatcherDescriptor(llvm::VariadicFunction<ResultT, ArgT, F> Func,
331 : Func(&variadicMatcherDescriptor<ResultT, ArgT, F>),
340 return Func(MatcherName, NameRange, Args, Error);
[all …]
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp144 for (const auto &Func : *Reader) { in showInstrProfile()
147 Func.Name.find(ShowFunction) != Func.Name.npos); in showInstrProfile()
150 assert(Func.Counts.size() > 0 && "function missing entry counter"); in showInstrProfile()
151 if (Func.Counts[0] > MaxFunctionCount) in showInstrProfile()
152 MaxFunctionCount = Func.Counts[0]; in showInstrProfile()
159 OS << " " << Func.Name << ":\n" in showInstrProfile()
160 << " Hash: " << format("0x%016" PRIx64, Func.Hash) << "\n" in showInstrProfile()
161 << " Counters: " << Func.Counts.size() << "\n" in showInstrProfile()
162 << " Function count: " << Func.Counts[0] << "\n"; in showInstrProfile()
167 for (size_t I = 1, E = Func.Counts.size(); I < E; ++I) { in showInstrProfile()
[all …]
/external/clang/test/SemaObjC/
Dcall-super-2.m12 @protocol Func protocol
43 int i = [(id <Func>)self class_func0];
44 …i += [(id <Func>)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an expre…
45 i += [(Class <Func>)self class_func0]; //
46 …return i + [(Class <Func>)super class_func0]; // // expected-error {{cannot cast 'super' (it isn't…
50 …return [(Object <Func> *)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an…
54 …return [(Derived <Func> *)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an…
76 …return [(id <Func>)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't an exp…
80 …return [(Object <Func> *)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't …
84 …return [(Derived <Func> *)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't…
Dprotocol-qualified-class-unsupported.m16 @protocol Func protocol
21 @interface Derived: Object <Func>
24 @interface Derived2: Object <Func>
27 static void doSomething(Class <Func> unsupportedObjectType) {
31 static void doSomethingElse(id <Func> pleaseConvertToThisType) {

123456789