/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/ |
Malloc.c | 220 - valid NewSize >= OldSize Returns malloc(NewSize) with Oldsize bytes copied from Ptr
221 - valid NewSize < OldSize Returns new buffer with Oldsize bytes copied from Ptr
238 size_t OldSize = 0;
252 OldSize = (size_t)Head->Size;
262 NumCpy = OldSize;
263 if( OldSize > NewSize) {
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
CryptPkcs7Verify.c | 273 UINTN OldSize;
331 OldSize = BufferSize;
339 OldSize = BufferSize;
341 BufferSize = OldSize + SingleCertSize + sizeof (UINT32);
349 CopyMem (CertBuf, OldBuf, OldSize);
354 WriteUnaligned32 ((UINT32 *) (CertBuf + OldSize), (UINT32) SingleCertSize);
355 CopyMem (CertBuf + OldSize + sizeof (UINT32), SingleCert, SingleCertSize);
367 *CertLength = BufferSize - OldSize - sizeof (UINT32);
373 CopyMem (*TrustedCert, CertBuf + OldSize + sizeof (UINT32), *CertLength);
475 UINTN OldSize;
[all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
BitVector.h | 212 unsigned OldSize = Size; 214 if (t || N < OldSize)
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
AddrModeMatcher.cpp | 182 unsigned OldSize = AddrModeInsts.size(); 189 AddrModeInsts.resize(OldSize); 198 AddrModeInsts.resize(OldSize); 261 unsigned OldSize = AddrModeInsts.size(); 271 AddrModeInsts.resize(OldSize); 284 AddrModeInsts.resize(OldSize); 294 AddrModeInsts.resize(OldSize); 327 unsigned OldSize = AddrModeInsts.size(); 343 AddrModeInsts.resize(OldSize);
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/ |
BootMonFsDir.c | 358 UINT32 OldSize;
367 OldSize = BootMonFsFile->Info->FileSize;
373 if (NewSize < OldSize) {
390 } else if (NewSize > OldSize) {
403 Status = File->SetPosition (File, OldSize);
408 BufferSize = NewSize - OldSize;
|
/external/llvm/include/llvm/ADT/ |
BitVector.h | 207 unsigned OldSize = Size; 209 if (t || N < OldSize)
|
DenseMap.h | 946 unsigned OldSize = this->size(); 951 if (OldSize) { 952 NewNumBuckets = 1 << (Log2_32_Ceil(OldSize) + 1); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | 229 int OldSize = Slices.size(); 231 auto SliceI = Slices.begin() + OldSize; [all...] |
RewriteStatepointsForGC.cpp | 750 const size_t OldSize = States.size(); 796 assert(OldSize == States.size() && [all...] |
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
CrashDebugger.cpp | 479 unsigned OldSize = GVs.size();
484 if (GVs.size() < OldSize)
502 unsigned OldSize = Functions.size();
505 if (Functions.size() < OldSize)
520 unsigned OldSize = Blocks.size();
522 if (Blocks.size() < OldSize)
|
Miscompilation.cpp | 535 unsigned OldSize = Blocks.size();
549 if (Blocks.size() == OldSize)
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
FirmwareVolumeBuffer.c | 394 UINTN OldSize;
402 Status = FvBufGetSize (*Fv, &OldSize);
422 NewSize = OldSize + (BlockCount * blk->Length);
432 CommonLibBinderCopyMem (NewFv, *Fv, OldSize);
460 (UINT8*)NewFv + OldSize,
461 (NewSize - OldSize),
1518 UINTN OldSize;
1527 Status = FvBufGetSize (Fv, &OldSize);
[all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/ |
MainHexEditor.c | [all...] |
/external/llvm/tools/bugpoint/ |
CrashDebugger.cpp | 694 unsigned OldSize = GVs.size(); 698 if (GVs.size() < OldSize) 806 unsigned OldSize = Functions.size(); 809 if (Functions.size() < OldSize) 823 unsigned OldSize = Blocks.size(); 825 if (Blocks.size() < OldSize) [all...] |
Miscompilation.cpp | 544 unsigned OldSize = Blocks.size(); 558 if (Blocks.size() == OldSize) [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/ |
GenFvImageLib.c | [all...] |
/external/compiler-rt/lib/scudo/ |
scudo_allocator.cpp | 488 uptr OldSize = OldHeader.RequestedSize; 489 memcpy(NewPtr, OldPtr, Min(NewSize, OldSize)); 494 QuarantineCallback(&Cache), Chunk, OldSize); 499 Chunk, OldSize);
|
/external/llvm/lib/Fuzzer/ |
FuzzerLoop.cpp | 549 size_t OldSize = Res.size(); 567 assert(NewSize <= OldSize); 570 if (NewSize + 5 >= OldSize) 572 OldSize = NewSize;
|
/external/llvm/lib/MC/ |
MCAssembler.cpp | 788 uint64_t OldSize = LF.getContents().size(); 800 return OldSize != LF.getContents().size(); 806 uint64_t OldSize = DF.getContents().size(); 818 return OldSize != Data.size(); 824 uint64_t OldSize = DF.getContents().size(); 833 return OldSize != Data.size(); 838 unsigned OldSize = F.getContents().size(); 840 return OldSize != F.getContents().size(); 845 unsigned OldSize = F.getContents().size(); 847 return OldSize != F.getContents().size() [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/ |
MCAssembler.cpp | 720 uint64_t OldSize = LF.getContents().size(); 732 return OldSize != LF.getContents().size(); 738 uint64_t OldSize = DF.getContents().size(); 749 return OldSize != Data.size(); 755 uint64_t OldSize = DF.getContents().size(); 764 return OldSize != Data.size();
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/ |
GenFfsFile.c | 1117 UINT32 OldSize;
1378 OldSize = Size;
1391 if (Size - OldSize >= sizeof (EFI_COMMON_SECTION_HEADER) + sizeof (EFI_TE_IMAGE_HEADER) &&
1392 ((EFI_COMMON_SECTION_HEADER *) &FileBuffer[OldSize])->Type == EFI_SECTION_TE &&
1393 ((EFI_TE_IMAGE_HEADER *) &FileBuffer[OldSize + 4])->Machine == EFI_IMAGE_MACHINE_IA64) {
1394 TeStrippedSize = ((EFI_TE_IMAGE_HEADER *) &FileBuffer[OldSize + 4])->StrippedSize;
1395 Adjust = TeStrippedSize - (OldSize + sizeof (EFI_COMMON_SECTION_HEADER) + sizeof (EFI_TE_IMAGE_HEADER));
1398 memmove (&FileBuffer[OldSize + Adjust], &FileBuffer[OldSize], Size - OldSize);
[all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/ |
FileBuffer.c | [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CodeGenFunction.h | 429 size_t OldSize = LifetimeExtendedCleanupStack.size(); 435 char *Buffer = &LifetimeExtendedCleanupStack[OldSize]; [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUISelLowering.cpp | 523 unsigned OldSize = OldVT.getStoreSizeInBits(); 532 return (OldSize < 32); [all...] |