Home
last modified time | relevance | path

Searched refs:Args (Results 1 – 25 of 73) sorted by relevance

123

/device/google/cuttlefish_common/common/libs/threads/
Dthunkers.h25 template <typename HalType, typename Impl, typename R, typename... Args>
26 struct ThunkerImpl<HalType, R (Impl::*)(Args...)> {
27 template <R (Impl::*MemFn)(Args...)>
28 static R call(HalType* in, Args... args) {
33 template <typename HalType, typename Impl, typename R, typename... Args>
34 struct ThunkerImpl<HalType, R (Impl::*)(Args...) const> {
35 template <R (Impl::*MemFn)(Args...) const>
36 static R call(const HalType* in, Args... args) {
/device/google/wahoo/wifi_offload/
Dhidl_return_util.h28 template<typename ObjT, typename WorkFuncT, typename... Args>
31 Args&&... args) { in validateAndCall()
32 hidl_cb((obj->*work)(std::forward<Args>(args)...)); in validateAndCall()
38 template<typename ObjT, typename WorkFuncT, typename ReturnT, typename... Args>
41 Args&&... args) { in validateAndCall()
42 const auto& ret_pair = (obj->*work)(std::forward<Args>(args)...); in validateAndCall()
51 template<typename ObjT, typename WorkFuncT, typename ReturnT1, typename ReturnT2, typename... Args>
55 Args&&... args) { in validateAndCall()
56 const auto& ret_tuple = (obj->*work)(std::forward<Args>(args)...); in validateAndCall()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DX11GraphicsWindow.c719 IN EMU_GRAPHICS_WINDOWS__BLT_ARGS *Args in X11Blt() argument
746 if (Args->SourceY + Args->Height > Private->height) { in X11Blt()
750 if (Args->SourceX + Args->Width > Private->width) { in X11Blt()
761 if (Args->DestinationY + Args->Height > Private->height) { in X11Blt()
765 if (Args->DestinationX + Args->Width > Private->width) { in X11Blt()
772 …Blt = (EFI_UGA_PIXEL *)((UINT8 *)BltBuffer + (Args->DestinationY * Args->Delta) + Args->Destinatio… in X11Blt()
773 Args->Delta -= Args->Width * sizeof (EFI_UGA_PIXEL); in X11Blt()
774 for (SrcY = Args->SourceY; SrcY < (Args->Height + Args->SourceY); SrcY++) { in X11Blt()
775 for (SrcX = Args->SourceX; SrcX < (Args->Width + Args->SourceX); SrcX++) { in X11Blt()
778 Blt = (EFI_UGA_PIXEL *) ((UINT8 *) Blt + Args->Delta); in X11Blt()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/
DSmmBaseOnSmmBase2Thunk.c142 mCommunicationData.FunctionData.Args.Register.FilePath = FilePath; in SmmBaseRegister()
143 mCommunicationData.FunctionData.Args.Register.SourceBuffer = SourceBuffer; in SmmBaseRegister()
144 mCommunicationData.FunctionData.Args.Register.SourceSize = SourceSize; in SmmBaseRegister()
145 mCommunicationData.FunctionData.Args.Register.ImageHandle = ImageHandle; in SmmBaseRegister()
146 mCommunicationData.FunctionData.Args.Register.LegacyIA32Binary = LegacyIA32Binary; in SmmBaseRegister()
175 mCommunicationData.FunctionData.Args.UnRegister.ImageHandle = ImageHandle; in SmmBaseUnregister()
215 mCommunicationData.FunctionData.Args.Communicate.ImageHandle = ImageHandle; in SmmBaseCommunicate()
216 mCommunicationData.FunctionData.Args.Communicate.CommunicationBuffer = CommunicationBuffer; in SmmBaseCommunicate()
217 mCommunicationData.FunctionData.Args.Communicate.SourceSize = BufferSize; in SmmBaseCommunicate()
257 mCommunicationData.FunctionData.Args.RegisterCallback.SmmImageHandle = SmmImageHandle; in SmmBaseRegisterCallback()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DStringFormat.h66 template <class... Args>
67 std::string StringFormat(const char* format, Args&&... args) { in StringFormat()
68 return StringFormatRaw(format, unpackFormatArg(std::forward<Args>(args))...); in StringFormat()
71 template <class... Args>
74 Args&&... args) { in StringAppendFormat()
76 unpackFormatArg(std::forward<Args>(args))...); in StringAppendFormat()
DTypeTraits.h63 template <class F, class R, class... Args>
66 R(Args...),
69 std::declval<Args>()...))>::type,
83 template <class F, class R, class... Args>
86 R(Args...),
89 std::declval<Args>()...))>::type,
105 template <template <class...> class U, class... Args>
106 struct is_template_instantiation_of<U<Args...>, U> : std::true_type {};
DOptional.h229 template <class... Args>
230 Optional(InplaceT, Args&&... args) : base_flag(true) { in Optional()
231 new (&get()) T(std::forward<Args>(args)...); in Optional()
431 template <class... Args>
432 void emplace(Args&&... args) { in emplace()
436 new (&get()) T(std::forward<Args>(args)...); in emplace()
474 template <class T, class... Args>
475 Optional<typename std::decay<T>::type> makeOptional(Args&&... args) { in makeOptional()
477 std::forward<Args>(args)...); in makeOptional()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/
DHiiLib.c46 VA_LIST Args; in GluePreparePackages() local
63 VA_START (Args, Guid); in GluePreparePackages()
66 *Package = VA_ARG (Args, VOID *); in GluePreparePackages()
70 VA_END (Args); in GluePreparePackages()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/
DConsole.c318 VA_LIST Args; in CreatePopUp() local
336 VA_START (Args, Key); in CreatePopUp()
339 while ((String = VA_ARG (Args, CHAR16 *)) != NULL) { in CreatePopUp()
343 VA_END (Args); in CreatePopUp()
411 VA_START (Args, Key); in CreatePopUp()
412 while ((String = VA_ARG (Args, CHAR16 *)) != NULL && NumberOfLines > 0) { in CreatePopUp()
433 VA_END (Args); in CreatePopUp()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/Ipf/
DEsalServiceLib.c126 VA_LIST Args; in RegisterEsalClass() local
132 VA_START (Args, ModuleGlobal); in RegisterEsalClass()
136 Function = (SAL_INTERNAL_EXTENDED_SAL_PROC) VA_ARG (Args, SAL_INTERNAL_EXTENDED_SAL_PROC); in RegisterEsalClass()
141 FunctionId = VA_ARG (Args, UINT64); in RegisterEsalClass()
146 VA_END (Args); in RegisterEsalClass()
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyEfiCompressor/
DEfiCompressor.c25 PyObject *Args in UefiDecompress() argument
39 Args, in UefiDecompress()
102 PyObject *Args in FrameworkDecompress() argument
116 Args, in FrameworkDecompress()
179 PyObject *Args in UefiCompress() argument
190 PyObject *Args in FrameworkCompress() argument
/device/linaro/bootloader/edk2/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/
DNonDiscoverableDeviceRegistrationLib.c123 VA_LIST Args; in RegisterNonDiscoverableMmioDevice() local
154 VA_START (Args, NumMmioResources); in RegisterNonDiscoverableMmioDevice()
157 Base = VA_ARG (Args, UINTN); in RegisterNonDiscoverableMmioDevice()
158 Size = VA_ARG (Args, UINTN); in RegisterNonDiscoverableMmioDevice()
169 VA_END (Args); in RegisterNonDiscoverableMmioDevice()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/
DConsole.c404 VA_LIST Args; in CreatePopUp() local
423 VA_START (Args, Key); in CreatePopUp()
426 while ((String = VA_ARG (Args, CHAR16 *)) != NULL) { in CreatePopUp()
430 VA_END (Args); in CreatePopUp()
498 VA_START (Args, Key); in CreatePopUp()
499 while ((String = VA_ARG (Args, CHAR16 *)) != NULL && NumberOfLines > 0) { in CreatePopUp()
529 VA_END (Args); in CreatePopUp()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashFvbDxe.c598 VA_LIST Args; in FvbEraseBlocks() local
619 VA_START (Args, This); in FvbEraseBlocks()
622 StartingLba = VA_ARG (Args, EFI_LBA); in FvbEraseBlocks()
631 NumOfLba = VA_ARG (Args, UINT32); in FvbEraseBlocks()
636 VA_END (Args); in FvbEraseBlocks()
642 VA_END (Args); in FvbEraseBlocks()
647 VA_START (Args, This); in FvbEraseBlocks()
650 StartingLba = VA_ARG (Args, EFI_LBA); in FvbEraseBlocks()
659 NumOfLba = VA_ARG (Args, UINT32); in FvbEraseBlocks()
675 VA_END (Args); in FvbEraseBlocks()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxSpiFvDxe/
DStyxSpiFvDxe.c432 VA_LIST Args; in StyxSpiFvDxeErase() local
437 VA_START (Args, This); in StyxSpiFvDxeErase()
439 for (Start = VA_ARG (Args, EFI_LBA); in StyxSpiFvDxeErase()
441 Start = VA_ARG (Args, EFI_LBA)) { in StyxSpiFvDxeErase()
443 Length = VA_ARG (Args, UINTN); in StyxSpiFvDxeErase()
453 VA_END (Args); in StyxSpiFvDxeErase()
/device/google/cuttlefish_common/common/libs/utils/
Dsubprocess.h82 template<typename T, typename...Args>
83 bool BuildParameter(std::stringstream* stream, T t, Args...args) { in BuildParameter()
110 template<typename... Args>
111 bool AddParameter(Args... args) { in AddParameter()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
DBPDG.py48 global Options, Args
52 Options, Args = MyOptionParser()
74 if (Args[0] != None) :
75 StartBpdg(Args[0], Options.filename, Options.bin_filename, Force)
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/
DHandle.c531 VA_LIST Args; in CoreInstallMultipleProtocolInterfaces() local
554 VA_START (Args, Handle); in CoreInstallMultipleProtocolInterfaces()
559 Protocol = VA_ARG (Args, EFI_GUID *); in CoreInstallMultipleProtocolInterfaces()
564 Interface = VA_ARG (Args, VOID *); in CoreInstallMultipleProtocolInterfaces()
584 VA_END (Args); in CoreInstallMultipleProtocolInterfaces()
593 VA_START (Args, Handle); in CoreInstallMultipleProtocolInterfaces()
595 Protocol = VA_ARG (Args, EFI_GUID *); in CoreInstallMultipleProtocolInterfaces()
596 Interface = VA_ARG (Args, VOID *); in CoreInstallMultipleProtocolInterfaces()
599 VA_END (Args); in CoreInstallMultipleProtocolInterfaces()
834 VA_LIST Args; in CoreUninstallMultipleProtocolInterfaces() local
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/
Dwchar.h737 int vfwprintf(FILE * __restrict Stream, const wchar_t * __restrict Format, va_list Args);
760 int vfwscanf(FILE * __restrict Stream, const wchar_t * __restrict Format, va_list Args);
783 int vswprintf(wchar_t * __restrict S, size_t N, const wchar_t * __restrict Format, va_list Args);
805 int vswscanf(const wchar_t * __restrict S, const wchar_t * __restrict Format, va_list Args);
824 int vwprintf(const wchar_t * __restrict Format, va_list Args);
845 int vwscanf(const wchar_t * __restrict Format, va_list Args);
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/
DSmmBaseHelper.c753 if (mLocked || FunctionData->Args.Register.LegacyIA32Binary) { in Register()
758 FunctionData->Args.Register.FilePath, in Register()
759 FunctionData->Args.Register.SourceBuffer, in Register()
760 FunctionData->Args.Register.SourceSize, in Register()
761 FunctionData->Args.Register.ImageHandle in Register()
938 Buffer->SmmImageHandle = FunctionData->Args.RegisterCallback.SmmImageHandle; in RegisterCallback()
939 Buffer->CallbackAddress = FunctionData->Args.RegisterCallback.CallbackAddress; in RegisterCallback()
975 FunctionData->Args.AllocatePool.PoolType, in HelperAllocatePool()
976 FunctionData->Args.AllocatePool.Size, in HelperAllocatePool()
977 FunctionData->Args.AllocatePool.Buffer in HelperAllocatePool()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmHotkey.c269 IN VA_LIST Args, in BmInitializeKeyFields() argument
281 Key = VA_ARG (Args, EFI_INPUT_KEY *); in BmInitializeKeyFields()
816 VA_LIST Args; in EfiBootManagerRegisterContinueKeyOption() local
823 VA_START (Args, Modifier); in EfiBootManagerRegisterContinueKeyOption()
824 Status = BmInitializeKeyFields (Modifier, Args, &KeyOption); in EfiBootManagerRegisterContinueKeyOption()
825 VA_END (Args); in EfiBootManagerRegisterContinueKeyOption()
973 VA_LIST Args; in EfiBootManagerAddKeyOptionVariable() local
1000 VA_START (Args, Modifier); in EfiBootManagerAddKeyOptionVariable()
1001 Status = BmInitializeKeyFields (Modifier, Args, &KeyOption); in EfiBootManagerAddKeyOptionVariable()
1002 VA_END (Args); in EfiBootManagerAddKeyOptionVariable()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyUtility/
DPyUtility.c26 PyObject *Args in SaveFileToDisk() argument
38 Args, in SaveFileToDisk()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/
DSetupBrowser.c520 VA_LIST Args; in ThunkCreatePopUp() local
551 VA_START (Args, FirstString); in ThunkCreatePopUp()
552 while ((String = VA_ARG (Args, CHAR16 *)) != NULL) { in ThunkCreatePopUp()
556 VA_END (Args); in ThunkCreatePopUp()
630 VA_START (Args, FirstString); in ThunkCreatePopUp()
651 String = VA_ARG (Args, CHAR16 *); in ThunkCreatePopUp()
654 VA_END (Args); in ThunkCreatePopUp()
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptX509.c93 VA_LIST Args; in X509ConstructCertificateStack() local
116 VA_START (Args, X509Stack); in X509ConstructCertificateStack()
122 Cert = VA_ARG (Args, UINT8 *); in X509ConstructCertificateStack()
127 CertSize = VA_ARG (Args, UINTN); in X509ConstructCertificateStack()
154 VA_END (Args); in X509ConstructCertificateStack()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DHiKeyDxe.c132 IN CHAR16 *Args, in AbootimgAppendKernelArgs() argument
143 if (Args == NULL) { in AbootimgAppendKernelArgs()
189 Args + StrLen (Args), Size - StrLen (Args), in AbootimgAppendKernelArgs()

123