Home
last modified time | relevance | path

Searched refs:Src (Results 1 – 25 of 91) sorted by relevance

1234

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/
DMisc.c29 IN EFI_EDITOR_LINE *Src in LineDup() argument
44 Dest->Buffer = CatSPrint (NULL, L"%s", Src->Buffer); in LineDup()
54 Dest->Size = Src->Size; in LineDup()
56 Dest->Type = Src->Type; in LineDup()
57 Dest->Link = Src->Link; in LineDup()
70 IN EFI_EDITOR_LINE *Src in LineFree() argument
73 if (Src == NULL) { in LineFree()
79 SHELL_FREE_NON_NULL (Src->Buffer); in LineFree()
80 SHELL_FREE_NON_NULL (Src); in LineFree()
DMisc.h30 IN EFI_EDITOR_LINE *Src
44 IN EFI_EDITOR_LINE *Src
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dmultibyte_Utf8.c192 const char *Src, // Multibyte Source (UTF8) in DecodeOneStateful() argument
205 if(Src != NULL) { in DecodeOneStateful()
206 if(*Src != 0) { in DecodeOneStateful()
207 SrcEnd = Src + Len; in DecodeOneStateful()
208 while(Src < SrcEnd) { in DecodeOneStateful()
209 ch = (unsigned char)*Src++; in DecodeOneStateful()
301 EstimateWtoM(const wchar_t * Src, size_t Limit, size_t *NumChar) in EstimateWtoM() argument
310 EChar = *Src++; // Get the initial character and point to next in EstimateWtoM()
316 EChar = *Src++; // Get the next source character and point to the next. in EstimateWtoM()
343 CountMbcsChars(const char *Src) in CountMbcsChars() argument
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
DOnigurumaUefiPort.h35 #define xmemmove(Dest,Src,Length) CopyMem(Dest,Src,Length) argument
36 #define xmemcpy(Dest,Src,Length) CopyMem(Dest,Src,Length) argument
56 #define strcat_s(Dest,MaxSize,Src) AsciiStrCatS (Dest, MaxSize, Src) argument
57 #define strncpy_s(Dest,MaxSize,Src,Length) AsciiStrnCpyS (Dest, MaxSize, Src, Length) argument
/device/linaro/bootloader/edk2/StdLib/Include/
Dstring.h110 void *memcpy(void * __restrict Dest, const void * __restrict Src, size_t N);
125 void *memmove(void *Dest, const void *Src, size_t N);
136 char *strcpy(char * __restrict Dest, const char * __restrict Src);
153 char *strncpy(char * __restrict Dest, const char * __restrict Src, size_t N);
173 int strncpyX(char * __restrict Dest, const char * __restrict Src, size_t N);
188 char *strcat(char * __restrict Dest, const char * __restrict Src);
203 char *strncat(char * __restrict Dest, const char * __restrict Src, size_t N);
300 size_t strxfrm(char * __restrict Dest, const char * __restrict Src, size_t N);
Dstdlib.h832 size_t mbstowcs(wchar_t * __restrict Dest, const char * __restrict Src, size_t Limit);
859 size_t wcstombs(char * __restrict Dest, const wchar_t * __restrict Src, size_t Limit);
937 EstimateWtoM(const wchar_t * Src, size_t Limit, size_t *NumChar);
947 CountMbcsChars(const char *Src);
Dwchar.h1117 wchar_t *wcscpy(wchar_t * __restrict Dest, const wchar_t * __restrict Src);
1129 wchar_t *wcsncpy(wchar_t * __restrict Dest, const wchar_t * __restrict Src, size_t n);
1139 wchar_t *wmemcpy(wchar_t * __restrict Dest, const wchar_t * __restrict Src, size_t n);
1155 wchar_t *wmemmove(wchar_t *Dest, const wchar_t *Src, size_t n);
1166 wchar_t *wcscat(wchar_t * __restrict Dest, const wchar_t * __restrict Src);
1176 wchar_t *wcsncat(wchar_t * __restrict Dest, const wchar_t * __restrict Src, size_t n);
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
DString.c54 IN CHAR16 *Src, in EfiStrnCpy() argument
74 SrcLen = EfiStrLen (Src); in EfiStrnCpy()
78 Dst[Index] = Src[Index]; in EfiStrnCpy()
232 IN CHAR16 *Src, in EfiStrnCat() argument
249 EfiStrnCpy (Dest + EfiStrLen (Dest), Src, Length); in EfiStrnCat()
306 IN CHAR8 *Src, in EfiAsciiStrnCpy() argument
326 SrcLen = EfiAsciiStrLen (Src); in EfiAsciiStrnCpy()
330 Dst[Index] = Src[Index]; in EfiAsciiStrnCpy()
745 CHAR16 *Src; in EfiStrStr() local
748 Src = String; in EfiStrStr()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Route.h25 #define IP4_ROUTE_CACHE_HASH(Dst, Src) (((Dst) ^ (Src)) % IP4_ROUTE_CACHE_HASH_VALUE) argument
57 IP4_ADDR Src; member
176 IN IP4_ADDR Src
206 IN IP4_ADDR Src
DIp4Output.c82 PacketHead->Src = HTONL (Head->Src); in Ip4PrependHead()
108 IN IP4_ADDR Src in Ip4SelectInterface() argument
129 IpIf = Ip4FindInterface (IpSb, Src); in Ip4SelectInterface()
245 IpIf = Ip4SelectInterface (IpSb, Head->Dst, Head->Src); in Ip4Output()
254 if ((Head->Src == IP4_ALLZERO_ADDRESS) && (IpInstance == NULL)) { in Ip4Output()
255 Head->Src = IpIf->Ip; in Ip4Output()
312 CacheEntry = Ip4Route (IpSb->DefaultRouteTable, Head->Dst, Head->Src); in Ip4Output()
314 CacheEntry = Ip4Route (IpInstance->RouteTable, Head->Dst, Head->Src); in Ip4Output()
320 CacheEntry = Ip4Route (IpSb->DefaultRouteTable, Head->Dst, Head->Src); in Ip4Output()
DIp4Common.c73 IN IP4_ADDR Src in Ip4GetHostCast() argument
97 if (!IpIf->Configured || IP4_IS_BROADCAST (Ip4GetNetCast (Src, IpIf))) { in Ip4GetHostCast()
113 IpIf = Ip4FindNet (IpSb, Src); in Ip4GetHostCast()
115 if (IpIf != NULL && !IP4_IS_BROADCAST (Ip4GetNetCast (Src, IpIf))) { in Ip4GetHostCast()
265 Head->Src = NTOHL (Head->Src); in Ip4NtohHead()
DIp4Icmp.c108 IP4_ADDR Src; in Ip4ProcessIcmpRedirect() local
115 IpIf = Ip4FindInterface (IpSb, NTOHL (Icmp->IpHead.Src)); in Ip4ProcessIcmpRedirect()
139 Src = NTOHL (Icmp->IpHead.Src); in Ip4ProcessIcmpRedirect()
140 CacheEntry = Ip4FindRouteCache (Ip4Instance->RouteTable, Dst, Src); in Ip4ProcessIcmpRedirect()
146 if ((CacheEntry != NULL) && (NTOHL (Head->Src) == CacheEntry->NextHop)) { in Ip4ProcessIcmpRedirect()
252 ReplyHead.Src = 0; in Ip4IcmpReplyEcho()
257 ReplyHead.Dst = Head->Src; in Ip4IcmpReplyEcho()
DIp4Route.c91 IN IP4_ADDR Src, in Ip4CreateRouteCacheEntry() argument
108 RtCacheEntry->Src = Src; in Ip4CreateRouteCacheEntry()
421 IN IP4_ADDR Src in Ip4FindRouteCache() argument
428 Index = IP4_ROUTE_CACHE_HASH (Dest, Src); in Ip4FindRouteCache()
433 if ((RtCacheEntry->Dest == Dest) && (RtCacheEntry->Src == Src)) { in Ip4FindRouteCache()
506 IN IP4_ADDR Src in Ip4Route() argument
520 Head = &RtTable->Cache.CacheBucket[IP4_ROUTE_CACHE_HASH (Dest, Src)]; in Ip4Route()
521 RtCacheEntry = Ip4FindRouteCache (RtTable, Dest, Src); in Ip4Route()
558 RtCacheEntry = Ip4CreateRouteCacheEntry (Dest, Src, NextHop, (UINTN) RtEntry); in Ip4Route()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DDecompress.c689 UINT8 *Src; in GetInfo() local
693 Src = Source; in GetInfo()
698 *DstSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in GetInfo()
742 UINT8 *Src; in Decompress() local
746 Src = Source; in Decompress()
759 CompSize = Src[0] + (Src[1] << 8) + (Src[2] << 16) + (Src[3] << 24); in Decompress()
760 OrigSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in Decompress()
777 Src = Src + 8; in Decompress()
803 Sd->mSrcBase = Src; in Decompress()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DTianoDecompress.c683 UINT8 *Src; in GetInfo() local
687 Src = Source; in GetInfo()
692 *DstSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in GetInfo()
735 UINT8 *Src; in Decompress() local
740 Src = Source; in Decompress()
753 CompSize = Src[0] + (Src[1] << 8) + (Src[2] << 16) + (Src[3] << 24); in Decompress()
754 OrigSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in Decompress()
771 Src = Src + 8; in Decompress()
798 Sd->mSrcBase = Src; in Decompress()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DDecompress.c683 UINT8 *Src; in GetInfo() local
687 Src = Source; in GetInfo()
692 *DstSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in GetInfo()
732 UINT8 *Src; in Decompress() local
736 Src = Source; in Decompress()
749 CompSize = Src[0] + (Src[1] << 8) + (Src[2] << 16) + (Src[3] << 24); in Decompress()
750 OrigSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in Decompress()
760 Src = Src + 8; in Decompress()
766 Sd->mSrcBase = Src; in Decompress()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DDecompress.c833 UINT8 *Src; in GetInfo() local
837 Src = Source; in GetInfo()
842 *DstSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in GetInfo()
886 UINT8 *Src; in Decompress() local
890 Src = Source; in Decompress()
903 CompSize = Src[0] + (Src[1] << 8) + (Src[2] << 16) + (Src[3] << 24); in Decompress()
904 OrigSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in Decompress()
921 Src = Src + 8; in Decompress()
947 Sd->mSrcBase = Src; in Decompress()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c747 CONST UINT8 *Src; in UefiDecompress() local
754 Src = Source; in UefiDecompress()
759 CompSize = Src[0] + (Src[1] << 8) + (Src[2] << 16) + (Src[3] << 24); in UefiDecompress()
760 OrigSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in UefiDecompress()
769 Src = Src + 8; in UefiDecompress()
777 Sd->mSrcBase = (UINT8 *)Src; in UefiDecompress()
/device/linaro/bootloader/edk2/StdLib/LibC/String/
DComparison.c90 size_t strxfrm(char * __restrict Dest, const char * __restrict Src, size_t Len) in strxfrm() argument
97 srclen = strlen(Src); in strxfrm()
100 (void)memcpy(Dest, Src, copysize); in strxfrm()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/
DQNCSmmHelpers.c153 CONST IN QNC_SMM_SOURCE_DESC *Src in SourceIsActive() argument
180 if ((Src->Flags & QNC_SMM_SCI_EN_DEPENDENT) && (SciEn)) { in SourceIsActive()
193 if (!IS_BIT_DESC_NULL (Src->En[loopvar])) { in SourceIsActive()
195 if (ReadBitDesc (&Src->En[loopvar]) == 0) { in SourceIsActive()
212 if (!IS_BIT_DESC_NULL (Src->Sts[loopvar])) { in SourceIsActive()
214 if (ReadBitDesc (&Src->Sts[loopvar]) == 0) { in SourceIsActive()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c778 CONST UINT8 *Src; in UefiDecompress() local
785 Src = Source; in UefiDecompress()
790 CompSize = Src[0] + (Src[1] << 8) + (Src[2] << 16) + (Src[3] << 24); in UefiDecompress()
791 OrigSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in UefiDecompress()
800 Src = Src + 8; in UefiDecompress()
811 Sd->mSrcBase = (UINT8 *)Src; in UefiDecompress()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/
DBaseUefiTianoCustomDecompressLib.c743 CONST UINT8 *Src; in UefiTianoDecompress() local
750 Src = Source; in UefiTianoDecompress()
755 CompSize = Src[0] + (Src[1] << 8) + (Src[2] << 16) + (Src[3] << 24); in UefiTianoDecompress()
756 OrigSize = Src[4] + (Src[5] << 8) + (Src[6] << 16) + (Src[7] << 24); in UefiTianoDecompress()
765 Src = Src + 8; in UefiTianoDecompress()
784 Sd->mSrcBase = (UINT8 *)Src; in UefiTianoDecompress()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/CompilerStub/
Dmemcpy.c33 IN const VOID *Src, in memcpy() argument
40 for (Ptr = Dest, Source = Src; Count > 0; Count--, Source++, Ptr++) { in memcpy()
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Route.c176 IN EFI_IPv6_ADDRESS *Src, in Ip6CreateRouteCacheEntry() argument
193 IP6_COPY_ADDRESS (&RtCacheEntry->Source, Src); in Ip6CreateRouteCacheEntry()
233 IN EFI_IPv6_ADDRESS *Src in Ip6FindRouteCache() argument
240 Index = IP6_ROUTE_CACHE_HASH (Dest, Src); in Ip6FindRouteCache()
245 …if (EFI_IP6_EQUAL (Dest, &RtCacheEntry->Destination)&& EFI_IP6_EQUAL (Src, &RtCacheEntry->Source))… in Ip6FindRouteCache()
567 IN EFI_IPv6_ADDRESS *Src in Ip6Route() argument
584 Index = IP6_ROUTE_CACHE_HASH (Dest, Src); in Ip6Route()
587 RtCacheEntry = Ip6FindRouteCache (RtTable, Dest, Src); in Ip6Route()
623 RtCacheEntry = Ip6CreateRouteCacheEntry (Dest, Src, &NextHop, (UINTN) RtEntry); in Ip6Route()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Io.c64 IN UINT32 Src, in TcpSendIpPacket() argument
77 Source.Addr[0] = Src; in TcpSendIpPacket()
102 CopyMem (&Override.Ip4OverrideData.SourceAddress, &Src, sizeof (EFI_IPv4_ADDRESS)); in TcpSendIpPacket()

1234