Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Drepeated_field_reflection_unittest.cc53 static int Func(int i, int j) { in Func() function
59 SStringPrintf(&str, "%d", Func(i, 4)); in StrFunc()
69 message.add_repeated_int32(Func(i, 1)); in TEST()
70 message.add_repeated_double(Func(i, 2)); in TEST()
72 message.add_repeated_foreign_message()->set_c(Func(i, 6)); in TEST()
120 EXPECT_EQ(rf_int32.Get(i), Func(i, 1)); in TEST()
121 EXPECT_EQ(rf_double.Get(i), Func(i, 2)); in TEST()
123 EXPECT_EQ(rpf_foreign_message.Get(i).c(), Func(i, 6)); in TEST()
125 Func(i, 6)); in TEST()
128 EXPECT_EQ(mrf_int32->Get(i), Func(i, 1)); in TEST()
[all …]
Dmap_test.cc972 static int Func(int i, int j) { in Func() function
978 SStringPrintf(&str, "%d", Func(i, j)); in StrFunc()
1005 (*map_int32_int32)[i] = Func(i, 1); in TEST_F()
1006 (*map_int32_double)[i] = Func(i, 2); in TEST_F()
1008 (*map_int32_foreign_message)[i].set_c(Func(i, 6)); in TEST_F()
1070 EXPECT_EQ(value_int32_int32, Func(key_int32_int32, 1)); in TEST_F()
1078 EXPECT_EQ(value_int32_double, Func(key_int32_double, 2)); in TEST_F()
1097 EXPECT_EQ(value_int32_message.c(), Func(key_int32_message, 6)); in TEST_F()
1107 EXPECT_EQ(value_int32_int32, Func(key_int32_int32, 1)); in TEST_F()
1115 EXPECT_EQ(value_int32_double, Func(key_int32_double, 2)); in TEST_F()
[all …]
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp180 void attachDebugInfo(llvm::DIBuilder &DebugInfo, llvm::Function &Func) { in attachDebugInfo() argument
183 for (llvm::Instruction &inst : llvm::instructions(Func)) { in attachDebugInfo()
195 Func.getName(), Func.getName(), in attachDebugInfo()
199 Func.setSubprogram(ExpandedFunc); in attachDebugInfo()
202 llvm::IRBuilder<> ir(&*Func.getEntryBlock().begin()); in attachDebugInfo()
209 for (llvm::Argument &arg : Func.getArgumentList()) { in attachDebugInfo()
250 for (llvm::Instruction &inst : llvm::instructions(Func)) { in attachDebugInfo()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DFieldCodec.cs207 … public static FieldCodec<T> ForEnum<T>(uint tag, Func<T, int> toInt32, Func<int, T> fromInt32) in ForEnum()
379 internal Func<T, int> ValueSizeCalculator { get; }
385 internal Func<CodedInputStream, T> ValueReader { get; }
413 Func<CodedInputStream, T> reader, in FieldCodec()
422 Func<CodedInputStream, T> reader, in FieldCodec()
424 Func<T, int> sizeCalculator, in FieldCodec()
430 Func<CodedInputStream, T> reader, in FieldCodec()
432 Func<T, int> sizeCalculator, in FieldCodec()
DMessageParser.cs44 private Func<IMessage> factory;
46 internal MessageParser(Func<IMessage> factory) in MessageParser()
163 private readonly Func<T> factory;
173 public MessageParser(Func<T> factory) : base(() => factory()) in MessageParser()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs59 internal static Func<IMessage, object> CreateFuncIMessageObject(MethodInfo method) in CreateFuncIMessageObject()
65 return Expression.Lambda<Func<IMessage, object>>(upcast, parameter).Compile(); in CreateFuncIMessageObject()
72 internal static Func<IMessage, T> CreateFuncIMessageT<T>(MethodInfo method) in CreateFuncIMessageT()
78 return Expression.Lambda<Func<IMessage, T>>(upcast, parameter).Compile(); in CreateFuncIMessageT()
DFieldAccessorBase.cs44 private readonly Func<IMessage, object> getValueDelegate;
DOneofAccessor.cs44 private readonly Func<IMessage, int> caseDelegate;
/frameworks/rs/rsov/compiler/spirit/
Dbuilder_test.cpp97 auto Func = b.MakeFunctionDefinition(VoidTy, FunctionControl::None, FuncTy); in TEST() local
100 m->addFunctionDefinition(Func); in TEST()
103 Func->addBlock(Blk); in TEST()
166 b.MakeEntryPointDefinition(ExecutionModel::GLCompute, Func, funcName) in TEST()
210 auto Func = b.MakeFunctionDefinition(IntTy, FunctionControl::None, FuncTy); in TEST() local
213 m->addFunctionDefinition(Func); in TEST()
216 Func->addBlock(Blk); in TEST()
/frameworks/rs/rsov/compiler/
DGlobalMergePass.cpp192 Function *Func; in CreateInitFunction() local
194 Func = Function::Create(FTy, GlobalValue::ExternalLinkage, FName, &M); in CreateInitFunction()
195 BasicBlock *Blk = BasicBlock::Create(LLVMCtxt, "entry", Func); in CreateInitFunction()
205 CallInst::Create(Func, {}, "", &EntryBlk.front()); in CreateInitFunction()
DWrapper.cpp89 FunctionDefinition *Func = in AddWrapper() local
91 m->addFunctionDefinition(Func); in AddWrapper()
94 Func->addBlock(Blk); in AddWrapper()
219 ExecutionModel::GLCompute, Func, wrapperName.c_str()); in AddWrapper()
/frameworks/native/services/surfaceflinger/tests/unittests/
DAsyncCallRecorder.h72 template <typename Func>
147 template <typename Func>
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp473 llvm::Function *Func = in populateForEachMetadata() local
476 TmpInputCountList[i] = (Func != nullptr) ? in populateForEachMetadata()
477 calculateNumInputs(Func, TmpSigList[i]) : 0; in populateForEachMetadata()
546 llvm::Function *Func = in populateReduceMetadata() local
550 …TmpReduceList[i].mInputCount = (Func ? calculateNumInputs(Func, TmpReduceList[i].mSignature) - 1 :… in populateReduceMetadata()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DMapField.cs676 private readonly Func<KeyValuePair<TKey, TValue>, T> projection;
677 private readonly Func<T, bool> containsCheck;
681 Func<KeyValuePair<TKey, TValue>, T> projection, in MapView()
682 Func<T, bool> containsCheck) in MapView()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp113 template<typename Func = void*>
114 Func GetTrampoline(const char* name) const { in GetTrampoline()
116 return reinterpret_cast<Func>(android::NativeBridgeGetTrampoline( in GetTrampoline()
119 return reinterpret_cast<Func>(dlsym(dlhandle_, name)); in GetTrampoline()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h213 template <typename Func>
214 void ForEachTypeSpec(Func f) const { in ForEachTypeSpec()
DResourceTypes.h2122 template <typename Func>
2124 bool includeSystemConfigs, const Func& f) const;
/frameworks/base/tools/aapt2/
DResourceTable.h162 template <typename Func>
163 std::vector<ResourceConfigValue*> FindValuesIf(Func f) { in FindValuesIf()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp2267 Function *Func = Function::Create(FTy, GlobalValue::ExternalLinkage, in ParseModule() local
2270 Func->setCallingConv(static_cast<CallingConv::ID>(Record[1])); in ParseModule()
2273 Func->setLinkage(getDecodedLinkage(RawLinkage)); in ParseModule()
2274 Func->setAttributes(getAttributes(Record[4])); in ParseModule()
2276 Func->setAlignment((1 << Record[5]) >> 1); in ParseModule()
2280 Func->setSection(SectionTable[Record[6]-1]); in ParseModule()
2282 Func->setVisibility(GetDecodedVisibility(Record[7])); in ParseModule()
2286 Func->setGC(GCTable[Record[8]-1].c_str()); in ParseModule()
2291 Func->setUnnamedAddr(UnnamedAddr); in ParseModule()
2292 ValueList.push_back(Func); in ParseModule()
[all …]
/frameworks/native/opengl/include/EGL/
DPlatform.h276 #define ANGLE_PLATFORM_METHOD_DEF(Name, CapsName) CapsName##Func Name = Default##CapsName;
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp2534 Function *Func = Function::Create(FTy, GlobalValue::ExternalLinkage, in ParseModule() local
2537 Func->setCallingConv(static_cast<CallingConv::ID>(Record[1])); in ParseModule()
2540 Func->setLinkage(getDecodedLinkage(RawLinkage)); in ParseModule()
2541 Func->setAttributes(getAttributes(Record[4])); in ParseModule()
2543 Func->setAlignment((1 << Record[5]) >> 1); in ParseModule()
2547 Func->setSection(SectionTable[Record[6]-1]); in ParseModule()
2549 Func->setVisibility(GetDecodedVisibility(Record[7])); in ParseModule()
2553 Func->setGC(GCTable[Record[8]-1].c_str()); in ParseModule()
2558 Func->setUnnamedAddr(UnnamedAddr); in ParseModule()
2559 ValueList.push_back(Func); in ParseModule()
[all …]
/frameworks/opt/gamesdk/src/swappy/
DSwappy.cpp322 template<typename Tracers, typename Func> void addToTracers(Tracers& tracers, Func func, void *user… in addToTracers()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.h4514 typedef F Func;
4587 typedef Func2<bool, P1, P2, ReturnTrue2<P1, P2, F>, I> Func;
4592 typedef Func3<bool, P1, P2, P3, ReturnTrue3<P1, P2, P3, F>, I> Func;
4599 typedef Func2<void *, P1, P2, ReturnClosure2<P1, P2, F>, I> Func;
4604 typedef Func3<void *, P1, P2, P3, ReturnClosure3<P1, P2, P3, F>, I> Func;
4612 typedef Func2<void *, P1, P2, CastReturnToVoidPtr2<R *, P1, P2, F>, I> Func;
4619 Func;
4626 typedef Func2<void *, P1, P2, ReturnClosureOrBreak2<P1, P2, F>, I> Func;
4632 Func;
4643 ReturnStringLen<P1, P2, F>, I> Func;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.h5210 typedef F Func;
5283 typedef Func2<bool, P1, P2, ReturnTrue2<P1, P2, F>, I> Func;
5288 typedef Func3<bool, P1, P2, P3, ReturnTrue3<P1, P2, P3, F>, I> Func;
5295 typedef Func2<void *, P1, P2, ReturnClosure2<P1, P2, F>, I> Func;
5300 typedef Func3<void *, P1, P2, P3, ReturnClosure3<P1, P2, P3, F>, I> Func;
5308 typedef Func2<void *, P1, P2, CastReturnToVoidPtr2<R *, P1, P2, F>, I> Func;
5315 Func;
5322 typedef Func2<void *, P1, P2, ReturnClosureOrBreak2<P1, P2, F>, I> Func;
5328 Func;
5339 ReturnStringLen<P1, P2, F>, I> Func;
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.h493 template<class Func>
497 Func onStatusUpdatedLocked);

12