/external/libvpx/libvpx/vp8/common/ |
common.h | 26 #define vp8_copy(Dest, Src) \ 28 assert(sizeof(Dest) == sizeof(Src)); \ 29 memcpy(Dest, Src, sizeof(Src)); \ 34 #define vp8_copy_array(Dest, Src, N) \ 36 assert(sizeof(*Dest) == sizeof(*Src)); \ 37 memcpy(Dest, Src, N * sizeof(*Src)); \ 40 #define vp8_zero(Dest) memset(&Dest, 0, sizeof(Dest)); 42 #define vp8_zero_array(Dest, N) memset(Dest, 0, N * sizeof(*Dest)) [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/ |
Misc.c | 31 EFI_EDITOR_LINE *Dest;
36 Dest = AllocateZeroPool (sizeof (EFI_EDITOR_LINE));
37 if (Dest == NULL) {
43 Dest->Buffer = CatSPrint (NULL, L"%s", Src->Buffer);
44 if (Dest->Buffer == NULL) {
45 FreePool (Dest);
52 Dest->Signature = LINE_LIST_SIGNATURE;
53 Dest->Size = Src->Size;
54 Dest->TotalSize = Dest->Size; [all...] |
/external/libchrome/base/ |
bit_cast.h | 15 // bit_cast<Dest,Source> is a template function that implements the equivalent 16 // of "*reinterpret_cast<Dest*>(&source)". We need this in very low-level 63 template <class Dest, class Source> 64 inline Dest bit_cast(const Source& source) { 65 static_assert(sizeof(Dest) == sizeof(Source), 67 static_assert(base::is_trivially_copyable<Dest>::value, 72 Dest dest; local 73 memcpy(&dest, &source, sizeof(dest)); [all...] |
/external/libtextclassifier/util/base/ |
casts.h | 24 // bit_cast<Dest, Source> is a template function that implements the equivalent 25 // of "*reinterpret_cast<Dest*>(&source)". We need this in very low-level 75 // WARNING: if Dest or Source is a non-POD type, the result of the memcpy 81 template <class Dest, class Source> 82 inline Dest bit_cast(const Source &source) { 83 static_assert(sizeof(Dest) == sizeof(Source), "Sizes do not match"); 85 Dest dest; local 86 memcpy(&dest, &source, sizeof(dest)); [all...] |
/external/tensorflow/tensorflow/core/lib/core/ |
casts.h | 30 // bit_cast<Dest,Source> is a template function that implements the 31 // equivalent of "*reinterpret_cast<Dest*>(&source)". We need this in 81 // WARNING: if Dest or Source is a non-POD type, the result of the memcpy 89 template <class Dest, class Source> 90 inline Dest bit_cast(const Source& source) { 91 static_assert(sizeof(Dest) == sizeof(Source), "Sizes do not match"); 93 Dest dest; local 94 memcpy(&dest, &source, sizeof(dest)); [all...] |
/external/tensorflow/tensorflow/stream_executor/lib/ |
casts.h | 27 // port::bit_cast<Dest,Source> is a template function that implements the 28 // equivalent of "*reinterpret_cast<Dest*>(&source)". We need this in 78 // WARNING: if Dest or Source is a non-POD type, the result of the memcpy 86 template <class Dest, class Source> 87 inline Dest bit_cast(const Source& source) { 88 // Compile time assertion: sizeof(Dest) == sizeof(Source) 89 // A compile error here means your Dest and Source have different sizes. 90 static_assert(sizeof(Dest) == sizeof(Source), 93 Dest dest; local [all...] |
/art/libartbase/base/ |
casts.h | 89 template <class Dest, class Source> 90 inline Dest bit_cast(const Source& source) { 91 // Compile time assertion: sizeof(Dest) == sizeof(Source) 92 // A compile error here means your Dest and Source have different sizes. 93 static_assert(sizeof(Dest) == sizeof(Source), "sizes should be equal"); 94 Dest dest; local 95 memcpy(&dest, &source, sizeof(dest)); 96 return dest; [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/CompilerStub/ |
memcpy.c | 32 OUT VOID *Dest,
40 for (Ptr = Dest, Source = Src; Count > 0; Count--, Source++, Ptr++) {
44 return Dest;
|
memset.c | 32 OUT VOID *Dest,
39 for (Ptr = Dest; Count > 0; Count--, Ptr++) {
43 return Dest;
|
/external/compiler-rt/lib/scudo/ |
scudo_utils.h | 23 template <class Dest, class Source> 24 inline Dest bit_cast(const Source& source) { 25 static_assert(sizeof(Dest) == sizeof(Source), "Sizes are not equal!"); 26 Dest dest; local 27 memcpy(&dest, &source, sizeof(dest)); 28 return dest;
|
/external/llvm/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm-c/ |
Linker.h | 35 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|