/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | argument_encoder.h | 25 template <typename... Args> 26 class ArgumentEncoder<void(Args...)> { 31 void EncodeArguments(Args... args) { in EncodeArguments() 40 template <typename Return, typename... Args> 41 class ArgumentEncoder<Return(Args...)> { 49 void EncodeArguments(Args... args) { in EncodeArguments() 64 template <typename Return, typename... Args> 65 inline ArgumentEncoder<Return(Args...)> MakeArgumentEncoder( in MakeArgumentEncoder() 66 Return (*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder() argument 67 return ArgumentEncoder<Return(Args...)>(writer); in MakeArgumentEncoder() [all …]
|
D | remote_method.h | 84 template <typename Class, typename Return, typename... Args> 85 class UnpackArguments<Class, Return(Args...)> { 87 using ArgsTupleType = std::tuple<typename std::decay<Args>::type...>; 88 using MethodType = Return (Class::*)(Message&, Args...); 99 constexpr auto Arity = sizeof...(Args); 178 template <typename RemoteMethodType, typename Class, typename... Args, 181 void (Class::*method)(Message&, Args...), 184 using Signature = typename RemoteMethodType::template RewriteArgs<Args...>; 214 typename... Args, typename = EnableIfNotVoidMethod<RemoteMethodType>> 216 Return (Class::*method)(Message&, Args...), [all …]
|
D | variant.h | 47 template <typename T, typename... Args> 48 struct IsConstructible<T, Args...> : std::is_constructible<T, Args...> {}; 51 template <typename R, typename T, typename... Args> 53 typename std::enable_if<IsConstructible<T, Args...>::value, R>::type; 55 template <typename R, typename T, typename... Args> 57 typename std::enable_if<!IsConstructible<T, Args...>::value, R>::type; 167 template <typename... Args> 168 std::int32_t Construct(TypeTag<Type>, Args&&... args) { 169 new (&first_) Type(std::forward<Args>(args)...); 172 template <typename... Args> [all …]
|
D | default_initialization_allocator.h | 36 template <typename U, typename... Args> 37 void construct(U* pointer, Args&&... args) { in construct() 39 std::forward<Args>(args)...); in construct()
|
D | function_traits.h | 29 using Args = std::tuple<Args_...>; 35 using Arg = typename std::tuple_element<Index, Args>::type;
|
D | remote_method_type.h | 25 typedef typename Traits::Args Args; typedef
|
/frameworks/compile/slang/ |
D | rs_cc_options.cpp | 112 llvm::opt::InputArgList Args = in ParseArguments() local 118 << Args.getArgString(MissingArgIndex) << MissingArgCount; in ParseArguments() 122 for (llvm::opt::arg_iterator it = Args.filtered_begin(OPT_UNKNOWN), in ParseArguments() 123 ie = Args.filtered_end(); in ParseArguments() 126 << (*it)->getAsString(Args); in ParseArguments() 129 DiagOpts.IgnoreWarnings = Args.hasArg(OPT_w); in ParseArguments() 130 DiagOpts.Warnings = Args.getAllArgValues(OPT_W); in ParseArguments() 136 for (llvm::opt::ArgList::const_iterator it = Args.begin(), ie = Args.end(); in ParseArguments() 143 Opts.mIncludePaths = Args.getAllArgValues(OPT_I); in ParseArguments() 145 Opts.mBitcodeOutputDir = Args.getLastArgValue(OPT_o); in ParseArguments() [all …]
|
D | slang_rs_reflection.cpp | 911 ArgTy Args; in genExportFunction() local 918 Args.push_back( in genExportFunction() 937 Args); in genExportFunction() 1025 ArgTy Args; in genExportForEach() local 1043 Args.push_back(std::make_pair("Allocation", "ain")); in genExportForEach() 1049 Args.push_back(std::make_pair("Allocation", in genExportForEach() 1058 Args.push_back(std::make_pair("Allocation", "aout")); in genExportForEach() 1067 Args.push_back( in genExportForEach() 1091 startFunction(AM_Public, false, "void", "forEach_" + EF->getName(), Args); in genExportForEach() 1112 mOut << Args.back().second << ", "; in genExportForEach() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | AsyncCallRecorder.h | 75 template <typename... Args> 76 class AsyncCallRecorder<void (*)(Args...)> { 90 using ArgTuple = std::tuple<std::remove_cv_t<std::remove_reference_t<Args>>...>; 92 void recordCall(Args... args) { in recordCall() 101 return [this](Args... args) { recordCall(args...); }; in getInvocable() 150 template <typename Ret, typename... Args> 151 class AsyncCallRecorderWithCannedReturn<Ret (*)(Args...)> 152 : public AsyncCallRecorder<void (*)(Args...)> { 157 return [this](Args... args) { in getInvocable()
|
/frameworks/av/media/codec2/core/include/ |
D | C2ParamDef.h | 240 template<typename ...Args> \ 241 inline static std::ptr##_ptr<_Type> Alloc##Ptr(size_t flexCount, const Args(&... args)) { \ 244 template<typename ...Args, typename U=typename S::FlexType> \ 246 const std::initializer_list<U> &init, const Args(&... args)) { \ 249 template<typename ...Args, typename U=typename S::FlexType> \ 251 const std::vector<U> &init, const Args(&... args)) { \ 254 template<typename ...Args, typename U=typename S::FlexType, unsigned N> \ 255 inline static std::ptr##_ptr<_Type> Alloc##Ptr(const U(&init)[N], const Args(&... args)) { \ 319 template<typename ...Args> 320 … inline C2GlobalParam(const Args(&... args)) : T(sizeof(_Type), _Type::PARAM_TYPE), S(args...) { } [all …]
|
/frameworks/native/cmds/lshal/ |
D | Timeout.h | 80 template<class R, class P, class Function, class I, class... Args> 81 typename std::result_of<Function(I *, Args...)>::type 83 Args &&... args) { in timeoutIPC() 85 typename std::result_of<Function(I *, Args...)>::type ret{Status::ok()}; in timeoutIPC() 87 interfaceObject.get(), std::forward<Args>(args)...); in timeoutIPC() 97 template<class Function, class I, class... Args> 98 typename std::result_of<Function(I *, Args...)>::type 99 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { in timeoutIPC()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | trace.h | 21 template <typename... Args> 22 ScopedTraceArgs(uint64_t tag, const char* format, Args&&... args) in ScopedTraceArgs() 27 std::forward<Args>(args)...); 44 template <typename... Args>
|
D | client.h | 80 template <typename RemoteMethodType, typename... Args> 81 Status<typename RemoteMethodType::Return> InvokeRemoteMethod(Args&&... args); 83 template <typename RemoteMethodType, typename ReturnType, typename... Args> 85 Args&&... args); 181 template <typename... Args> 182 static inline std::unique_ptr<T> Create(Args&&... args) { in Create() 183 std::unique_ptr<T> client(new T(std::forward<Args>(args)...)); in Create()
|
/frameworks/native/libs/binder/include/binder/ |
D | SafeInterface.h | 254 template <typename Method, typename TagType, typename... Args> 255 status_t callRemote(TagType tag, Args&&... args) const { 260 static_assert(ArgsMatchParams<std::tuple<Args...>, ParamTuple>::value, 267 status_t error = writeInputs(&data, std::forward<Args>(args)...); 285 error = readOutputs(reply, std::forward<Args>(args)...); 305 template <typename Method, typename TagType, typename... Args> 306 void callRemoteAsync(TagType tag, Args&&... args) const { 311 static_assert(ArgsMatchParams<std::tuple<Args...>, ParamTuple>::value, 317 status_t error = writeInputs(&data, std::forward<Args>(args)...); 358 template <typename... Args, typename... Params> [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/examples/ |
D | list_people.go | 43 if len(os.Args) != 2 { 44 log.Fatalf("Usage: %s ADDRESS_BOOK_FILE\n", os.Args[0]) 46 fname := os.Args[1]
|
D | add_person.go | 94 if len(os.Args) != 2 { 95 log.Fatalf("Usage: %s ADDRESS_BOOK_FILE\n", os.Args[0]) 97 fname := os.Args[1]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 77 using ::testing::Args; 381 .With(Args<0>(HasObjectLocation("i32"))); in TEST_P() 384 .With(Args<0>(HasObjectLocation("u32"))); in TEST_P() 387 .With(Args<0>(HasObjectLocation("sf64"))); in TEST_P() 390 .With(Args<0>(HasObjectLocation("bool"))); in TEST_P() 414 .With(Args<0>(HasObjectLocation("i32"))); in TEST_P() 417 .With(Args<0>(HasObjectLocation("u32"))); in TEST_P() 420 .With(Args<0>(HasObjectLocation("sf64"))); in TEST_P() 423 .With(Args<0>(HasObjectLocation("bool"))); in TEST_P() 498 .With(Args<0>(HasObjectLocation("author"))); in TEST_P() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | FuseAppLoop.java | 62 private final LinkedList<Args> mArgsPool = new LinkedList<>(); 146 final Args args = (Args) msg.obj; 235 final Args args; 237 args = new Args(); 299 private void recycleLocked(Args args) { 383 private static class Args {
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | Flagged.h | 404 template<typename ...Args> 405 constexpr Flagged(Flag flags, Args... args) 406 : mValue(std::forward<Args>(args)...), 483 template<typename ...Args> 484 constexpr Flagged(Flag flags, Args... args) 485 : T(std::forward<Args>(args)...) {
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Util.h | 36 template <typename T, class... Args> 37 std::unique_ptr<T> make_unique(Args&&... args) { in make_unique() 38 return std::unique_ptr<T>(new T{std::forward<Args>(args)...}); in make_unique()
|
/frameworks/native/services/sensorservice/ |
D | RingBuffer.h | 121 template <class... Args> 122 void emplace(Args&&... args); 290 template <class... Args> 291 void RingBuffer<T>::emplace(Args&&... args) { in emplace() 293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace() 299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
|
/frameworks/av/include/media/ |
D | RingBuffer.h | 121 template <class... Args> 122 void emplace(Args&&... args); 290 template <class... Args> 291 void RingBuffer<T>::emplace(Args&&... args) { in emplace() 293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace() 299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
|
/frameworks/av/media/libmedia/include/media/ |
D | RingBuffer.h | 121 template <class... Args> 122 void emplace(Args&&... args); 290 template <class... Args> 291 void RingBuffer<T>::emplace(Args&&... args) { in emplace() 293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace() 299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 95 template <typename... Args> 96 explicit ValueBuilder(Args&&... args) : value_(new T{std::forward<Args>(args)...}) { in ValueBuilder() 99 template <typename... Args> 100 ValueBuilder& SetSource(Args&&... args) { in SetSource() 101 value_->SetSource(Source{std::forward<Args>(args)...}); in SetSource()
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 124 template <typename T, typename... Args> 125 void* push(size_t, Args&&...); 127 template <typename Fn, typename... Args> 128 void map(const Fn[], Args...) const;
|