Searched defs:memmove (Results 1 - 22 of 22) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A Dmemmove_alias.c3 * IPRT - No-CRT memmove() alias for gcc.
32 #undef memmove macro
36 # pragma weak memmove macro
40 extern void *(memmove)(void *pvDst, const void *pvSrc, size_t cb) function
42 return RT_NOCRT(memmove)(pvDst, pvSrc, cb);
47 __asm__(".weak memmove\t\n"
48 " .set memmove," RT_NOCRT_STR(memmove) "\t\n");
51 extern __typeof(RT_NOCRT(memmove)) memmove __attribute_
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/md/
H A Dsunos4.h83 #define memmove(to,from,len) bcopy((char*)(from),(char*)(to),len) macro
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/
H A DUefiLzma.h42 #define memmove CopyMem macro
/vbox/src/VBox/Additions/x11/x11include/4.3/include/
H A DXfuncs.h51 #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
69 #define memmove(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len)) macro
71 #undef memmove macro
72 #define memmove(dst,src,len) _XBCOPYFUNC((char *)(src),(char *)(dst),(int)(len)) macro
76 #define memmove(dst,src,len) bcopy((char *)(src),(char *)(dst),(int)(len)) macro
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/String/
H A DCopying.c41 /** The memmove function copies n characters from the object pointed to by s2
50 memmove can be identical to memcpy.
52 @return The memmove function returns the value of s1.
55 memmove(void *s1, const void *s2, size_t n) function
/vbox/include/iprt/nocrt/
H A Dstring.h37 void * RT_NOCRT(memmove)(void *pvDst, const void *pvSrc, size_t cb);
60 # define memmove RT_NOCRT(memmove) macro
/vbox/src/VBox/Devices/PC/ipxe/src/arch/x86/include/bits/
H A Dstring.h5 * All except memcpy, memmove, memset and memcmp removed.
159 static inline void * memmove(void * dest,const void * src, size_t n) function
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dstring.c244 * memmove - Copy one area of memory to another
249 * Unlike memcpy(), memmove() copes with overlapping areas.
251 void * memmove(void * dest,const void *src,size_t count) function
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/
H A DOpenSslSupport.h164 void *memmove (void *, const void *, size_t);
231 #define memmove(dest,source,count) CopyMem(dest,source,(UINTN)(count)) macro
/vbox/src/VBox/Devices/Graphics/shaderlib/libWineStub/include/wine/
H A Dport.h281 void *memmove(void *dest, const void *src, size_t len);
476 #undef memmove macro
477 #define memmove __WINE_NOT_PORTABLE(memmove) macro
/vbox/src/VBox/Devices/Network/slirp/
H A Dslirp.h173 # define memmove(x, y, z) bcopy(y, x, z) macro
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/
H A Dport.h285 void *memmove(void *dest, const void *src, size_t len);
471 #undef memmove macro
472 #define memmove __WINE_NOT_PORTABLE(memmove) macro
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/vbox/libWineStub/include/wine/
H A Dport.h281 void *memmove(void *dest, const void *src, size_t len);
476 #undef memmove macro
477 #define memmove __WINE_NOT_PORTABLE(memmove) macro
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/libWineStub/include/wine/
H A Dport.h290 void *memmove(void *dest, const void *src, size_t len);
476 #undef memmove macro
477 #define memmove __WINE_NOT_PORTABLE(memmove) macro
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/
H A Dport.h281 void *memmove(void *dest, const void *src, size_t len);
476 #undef memmove macro
477 #define memmove __WINE_NOT_PORTABLE(memmove) macro
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/vbox/libWineStub/include/wine/
H A Dport.h281 void *memmove(void *dest, const void *src, size_t len);
476 #undef memmove macro
477 #define memmove __WINE_NOT_PORTABLE(memmove) macro
/vbox/src/VBox/VMM/VMMR3/
H A DCPUMR3CpuId.cpp809 memmove(&paLeaves[i + c], &paLeaves[i + 1], (cLeaves - i - c) * sizeof(paLeaves[0]));
846 memmove(&paLeaves[i + 1], &paLeaves[i], (cLeaves - i) * sizeof(paLeaves[0]));
893 memmove(&paLeaves[iFirst], &paLeaves[iEnd], (cLeaves - iEnd) * sizeof(paLeaves[0]));
840 AssertLogRelReturn(cLeaves < CPUM_CPUID_MAX_LEAVES, VERR_TOO_MANY_CPUID_LEAVES); paLeaves = cpumR3CpuIdEnsureSpace(pVM, ppaLeaves, cLeaves); if (!paLeaves) return VERR_NO_MEMORY; if (i < cLeaves) memmove(&paLeaves[i + 1], &paLeaves[i], (cLeaves - i) * sizeof(paLeaves[0])); *pcLeaves += 1; paLeaves[i] = *pNewLeaf; cpumR3CpuIdAssertOrder(*ppaLeaves, *pcLeaves); return VINF_SUCCESS; } static void cpumR3CpuIdRemoveRange(PCPUMCPUIDLEAF paLeaves, uint32_t *pcLeaves, uint32_t uFirst, uint32_t uLast) { uint32_t cLeaves = *pcLeaves; Assert(uFirst <= uLast); uint32_t iFirst = 0; while ( iFirst < cLeaves && paLeaves[iFirst].uLeaf < uFirst) iFirst++; uint32_t iEnd = iFirst; while ( iEnd < cLeaves && paLeaves[iEnd].uLeaf <= uLast) iEnd++; if (iFirst < iEnd) { if (iEnd < cLeaves) memmove(&paLeaves[iFirst], &paLeaves[iEnd], (cLeaves - iEnd) * sizeof(paLeaves[0])); *pcLeaves = cLeaves -= (iEnd - iFirst); } cpumR3CpuIdAssertOrder(paLeaves, *pcLeaves); } static bool cpumR3IsEcxRelevantForCpuIdLeaf(uint32_t uLeaf, uint32_t *pcSubLeaves, bool *pfFinalEcxUnchanged) { *pfFinalEcxUnchanged = false; uint32_t auCur[4]; uint32_t auPrev[4]; ASMCpuIdExSlow(uLeaf, 0, 0, 0, &auPrev[0], &auPrev[1], &auPrev[2], &auPrev[3]); uint32_t uSubLeaf = 1; for (;;) { ASMCpuIdExSlow(uLeaf, 0, uSubLeaf, 0, &auCur[0], &auCur[1], &auCur[2], &auCur[3]); if (memcmp(auCur, auPrev, sizeof(auCur))) break; uSubLeaf++; if (uSubLeaf >= 64) { *pcSubLeaves = 1; return false; } } uint32_t cRepeats = 0; uSubLeaf = 0; for (;;) { ASMCpuIdExSlow(uLeaf, 0, uSubLeaf, 0, &auCur[0], &auCur[1], &auCur[2], &auCur[3]); if ( auCur[0] == 0 && auCur[1] == 0 && (auCur[2] == 0 || auCur[2] == uSubLeaf) && (auCur[3] == 0 || uLeaf == 0xb ) ) { cRepeats = 0; break; } if ( auCur[0] == auPrev[0] && auCur[1] == auPrev[1] && ( auCur[2] == auPrev[2] || ( auCur[2] == uSubLeaf && auPrev[2] == uSubLeaf - 1) ) && auCur[3] == auPrev[3]) { cRepeats++; if (cRepeats > 4) break; } else cRepeats = 0; if ( uLeaf == 0xb && (auCur[2] & 0xff00) == 0 && (auPrev[2] & 0xff00) == 0) { cRepeats = 0; break; } if (uSubLeaf >= 128) { uint32_t cDocLimit = UINT32_MAX; if (uLeaf == 0x4) cDocLimit = 4; else if (uLeaf == 0x7) cDocLimit = 1; else if (uLeaf == 0xf) cDocLimit = 2; if (cDocLimit != UINT32_MAX) { *pfFinalEcxUnchanged = auCur[2] == uSubLeaf && uLeaf == 0xb; *pcSubLeaves = cDocLimit + 3; return true; } *pcSubLeaves = UINT32_MAX; return true; } uSubLeaf++; memcpy(auPrev, auCur, sizeof(auCur)); } *pfFinalEcxUnchanged = auCur[2] == uSubLeaf && uLeaf == 0xb; *pcSubLeaves = uSubLeaf + 1 - cRepeats; if (*pcSubLeaves == 0) *pcSubLeaves = 1; return true; } VMMR3DECL(int) CPUMR3CpuIdGetLeaf(PVM pVM, PCPUMCPUIDLEAF pLeaf, uint32_t uLeaf, uint32_t uSubLeaf) { PCPUMCPUIDLEAF pcLeaf = cpumR3CpuIdGetLeaf(pVM->cpum.s.GuestInfo.paCpuIdLeavesR3, pVM->cpum.s.GuestInfo.cCpuIdLeaves, uLeaf, uSubLeaf); if (pcLeaf) { memcpy(pLeaf, pcLeaf, sizeof(*pLeaf)); return VINF_SUCCESS; } return VERR_NOT_FOUND; } VMMR3DECL(int) CPUMR3CpuIdInsert(PVM pVM, PCPUMCPUIDLEAF pNewLeaf) { AssertReturn(pVM, VERR_INVALID_PARAMETER); AssertReturn(pNewLeaf, VERR_INVALID_PARAMETER); if ( pNewLeaf->uLeaf == UINT32_C(0x00000000) || pNewLeaf->uLeaf == UINT32_C(0x00000001) || pNewLeaf->uLeaf == UINT32_C(0x80000000) || pNewLeaf->uLeaf == UINT32_C(0x80000001) || pNewLeaf->uLeaf == UINT32_C(0xc0000000) || pNewLeaf->uLeaf == UINT32_C(0xc0000001) ) argument
/vbox/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/os-support/
H A Dxf86_libc.h307 #undef memmove macro
308 #define memmove(vp,cvp,I) xf86memmove(vp,cvp,I) macro
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Dxf86_libc.h345 #undef memmove macro
346 #define memmove(vp,cvp,I) xf86memmove(vp,cvp,I) macro
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Dxf86_libc.h345 #undef memmove macro
346 #define memmove(vp,cvp,I) xf86memmove(vp,cvp,I) macro
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/
H A Dxf86_libc.h351 #undef memmove macro
352 #define memmove(vp,cvp,I) xf86memmove(vp,cvp,I) macro
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/
H A Dxf86_libc.h351 #undef memmove macro
352 #define memmove(vp,cvp,I) xf86memmove(vp,cvp,I) macro

Completed in 146 milliseconds