/external/parameter-framework/upstream/utility/ |
BinaryCopy.hpp | 45 * The source and the destination must have the same storage size (e.g. copying 49 * @tparam Destination the destination type (even if it is a reference, this 52 * @returns the source, reinterpreted as the destination type 54 template <class Destination, class Source> 55 typename std::remove_reference<Destination>::type binaryCopy(const Source source) 57 static_assert(sizeof(Source) == sizeof(Destination), 58 "Source and Destination must have the same size"); 60 using Destination_ = decltype(binaryCopy<Destination>(source)); 65 Destination_ destination; member in union:utility::__anon30942 [all...] |
/hardware/interfaces/audio/common/all-versions/util/include/common/all-versions/ |
VersionUtils.h | 32 template <class Source, class Destination = Source> 35 static_assert(std::is_enum<Source>::value || std::is_enum<Destination>::value, 36 "Source or destination should be an enum"); 40 operator Destination() const { return static_cast<Destination>(mSource); } 42 template <class = std::enable_if_t<std::is_enum<Destination>::value>> 43 operator ::android::hardware::hidl_bitfield<Destination>() { 44 return static_cast<std::underlying_type_t<Destination>>(mSource); 50 template <class Destination, class Source> 52 return EnumConverter<Source, Destination>{source} [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/Ebc/ |
CopyMem.c | 26 Copy Length bytes from Source to Destination.
28 @param Destination Target of copy
32 @return Destination
38 OUT VOID *Destination,
51 if (Source > Destination) {
52 Destination8 = (UINT8*)Destination;
57 } else if (Source < Destination) {
58 Destination8 = (UINT8*)Destination + Length;
64 return Destination;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/Ipf/ |
CopyMem.c | 26 Copy Length bytes from Source to Destination.
28 @param Destination Target of copy
32 @return Destination
38 OUT VOID *Destination,
51 if (Source > Destination) {
52 Destination8 = (UINT8*)Destination;
57 } else if (Source < Destination) {
58 Destination8 = (UINT8*)Destination + Length;
64 return Destination;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ |
EfiCopyMem.c | 29 IN VOID *Destination,
37 Copy Length bytes from Source to Destination.
41 Destination - Target of copy
56 if (Source < Destination) {
57 Destination8 = (CHAR8 *) Destination + Length - 1;
63 Destination8 = (CHAR8 *) Destination;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/sec_api/ |
stralign_s.h | 19 static __inline PUWSTR ua_wcscpy_s(PUWSTR Destination,size_t DestinationSize,PCUWSTR Source) { 20 if(WSTR_ALIGNED(Source) && WSTR_ALIGNED(Destination)) return (wcscpy_s((PWSTR)Destination,DestinationSize,(PCWSTR)Source)==0 ? Destination : NULL);
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
SafeString.c | 114 @param MaxSize The maximum number of Destination Unicode
158 to the array pointed to by Destination.
162 If Destination is not aligned on a 16-bit boundary, then ASSERT().
166 If an error is returned, then the Destination is unmodified.
168 @param Destination A pointer to a Null-terminated Unicode string.
169 @param DestMax The maximum number of Destination Unicode
175 @retval RETURN_INVALID_PARAMETER If Destination is NULL.
181 @retval RETURN_ACCESS_DENIED If Source and Destination overlap.
186 OUT CHAR16 *Destination,
193 ASSERT (((UINTN) Destination & BIT0) == 0); [all...] |
String.c | 26 string Destination, and returns Destination. If Source and Destination
29 If Destination is NULL, then ASSERT().
30 If Destination is not aligned on a 16-bit boundary, then ASSERT().
33 If Source and Destination overlap, then ASSERT().
38 @param Destination A pointer to a Null-terminated Unicode string.
41 @return Destination.
47 OUT CHAR16 *Destination,
54 // Destination cannot be NULL [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/PeiMemoryLib/ |
MemLib.c | 18 Copies a source buffer to a destination buffer, and returns the destination buffer.
22 @param DestinationBuffer The pointer to the destination buffer of the memory copy.
32 OUT VOID *Destination,
38 Destination,
42 return Destination;
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiMemoryLib/ |
MemLib.c | 18 Copies a source buffer to a destination buffer, and returns the destination buffer.
22 @param DestinationBuffer The pointer to the destination buffer of the memory copy.
32 OUT VOID *Destination,
37 gBS->CopyMem (Destination, (VOID*)Source, Length);
38 return Destination;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
ntstrsafe.h | 72 RtlStringValidateDestA(IN LPSTR Destination, 85 Status = RtlStringLengthWorkerA(Destination, 101 RtlStringExValidateDestA(IN OUT LPSTR *Destination, 108 return RtlStringValidateDestA(*Destination, 136 RtlStringVPrintfWorkerA(OUT LPSTR Destination, 148 Return = _vsnprintf(Destination, MaxLength, Format, argList); 151 Destination += MaxLength; 152 *Destination = ANSI_NULL; 160 Destination += MaxLength; 161 *Destination = ANSI_NULL [all...] |
/frameworks/support/navigation/testing/src/main/java/androidx/navigation/testing/ |
TestNavigator.java | 34 public class TestNavigator extends Navigator<TestNavigator.Destination> { 36 public final ArrayDeque<Pair<Destination, Bundle>> mBackStack = new ArrayDeque<>(); 40 public Destination createDestination() { 41 return new Destination(this); 45 public void navigate(@NonNull Destination destination, @Nullable Bundle args, 48 && mBackStack.peekLast().first.getId() == destination.getId()) { 50 mBackStack.add(new Pair<>(destination, args)); 51 dispatchOnNavigatorNavigated(destination.getId(), BACK_STACK_UNCHANGED); 53 mBackStack.add(new Pair<>(destination, args)) [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
String.c | 30 string Destination, and returns Destination. If Source and Destination
33 If Destination is NULL, then ASSERT().
34 If Destination is not aligned on a 16-bit boundary, then ASSERT().
37 If Source and Destination overlap, then ASSERT().
42 @param Destination Pointer to a Null-terminated Unicode string.
51 OUT CHAR16 *Destination,
58 // Destination cannot be NULL
60 ASSERT (Destination != NULL); [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
BinderFuncs.c | 42 IN VOID *Destination,
47 memmove (Destination, Source, Length);
52 IN VOID *Destination,
57 memset (Destination, Value, Length);
|
BinderFuncs.h | 41 IN VOID *Destination,
48 IN VOID *Destination,
|
/frameworks/base/libs/incident/proto/android/ |
privacy.proto | 26 enum Destination { 51 optional Destination dest = 1 [ default = DEST_UNSET ];
|
/external/clang/test/CodeGen/ |
ms-intrinsics.c | 29 void *test_InterlockedCompareExchangePointer(void * volatile *Destination, 31 return _InterlockedCompareExchangePointer(Destination, Exchange, Comparand); 34 // CHECK: define{{.*}}i8* @test_InterlockedCompareExchangePointer(i8** {{[a-z_ ]*}}%Destination, i8* {{[a-z_ ]*}}%Exchange, i8* {{[a-z_ ]*}}%Comparand){{.*}}{ 35 // CHECK: %[[DEST:[0-9]+]] = bitcast i8** %Destination to [[iPTR]]*
|
/frameworks/support/navigation/safe-args-generator/src/tests/kotlin/androidx/navigation/safe/args/generator/ |
DestinationTest.kt | 19 import androidx.navigation.safe.args.generator.models.Destination 33 val name = Destination.createName(id("main"), "foo.sub.ClassName", "some.app") 39 val name = Destination.createName(id("main"), ".sub.ClassName", "some.app") 45 val name = Destination.createName(id("main"), "ClassName", "some.app") 51 val name = Destination.createName(id("main"), "", "some.app")
|
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/ |
NavArgumentResolver.kt | 20 import androidx.navigation.safe.args.generator.models.Destination 23 fun resolveArguments(rootDestination: Destination): Destination { 24 val destinations = mutableMapOf<ResReference, Destination>() 26 fun dfs(dest: Destination): Destination { 30 val actionDestination = destinations[action.destination]
|
/frameworks/support/navigation/testing/ktx/src/main/java/androidx/navigation/testing/ |
TestNavigator.kt | 22 * Get the [TestNavigator] back stack as a [List] of [destination and argument pairs][Pair]. 24 val TestNavigator.backStack: List<Pair<TestNavigator.Destination, Bundle?>>
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/ |
InterlockedCompareExchange32.c | 21 long volatile * Destination,
|
InterlockedCompareExchange64.c | 21 __int64 volatile * Destination,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/ |
EfiCopyMemRep1.c | 26 IN VOID *Destination,
34 Copy Length bytes from Source to Destination.
38 Destination - Target of copy
52 mov edi, Destination ; edi <- Destination
64 lea edi, [edi + edx - 1] ; edi <- End of Destination
|
EfiCopyMemRep4.c | 26 IN VOID *Destination,
34 Copy Length bytes from Source to Destination.
38 Destination - Target of copy
52 mov edi, Destination ; edi <- Destination
71 lea edi, [edi + edx - 1] ; edi <- End of Destination
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/X64/ |
InterlockedCompareExchange16.c | 21 __int16 volatile * Destination,
|