/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/ |
QemuFlash.c | 122 @param[in] NumBytes On input, indicates the requested read size. On
131 IN UINTN *NumBytes,
150 CopyMem (Buffer, Ptr, *NumBytes);
161 @param[in] NumBytes On input, indicates the requested write size. On
170 IN UINTN *NumBytes,
189 for (Loop = 0; Loop < *NumBytes; Loop++) {
198 if (*NumBytes > 0) {
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Application/FirmwareUpdate/ |
FirmwareUpdate.c | 516 UINTN NumBytes;
518 NumBytes = BLOCK_SIZE;
520 Status = SpiFlashBlockErase ((UINTN) BaseAddress, &NumBytes);
553 UINT32 NumBytes;
556 NumBytes = BLOCK_SIZE;
557 CompareBuffer = AllocatePool (NumBytes);
563 Status = SpiFlashRead ((UINTN) BaseAddress, &NumBytes, CompareBuffer);
727 Read NumBytes bytes of data from the address specified by
731 @param[in,out] NumBytes On input, the number of bytes to read. On output, the number
743 IN OUT UINT32 *NumBytes,
[all...] |
FirmwareUpdate.h | 106 IN OUT UINT32 *NumBytes,
115 IN OUT UINT32 *NumBytes,
124 IN UINTN *NumBytes
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
FvbService.c | 269 @param[in] NumBytes Pointer that on input contains the total size of
279 NumBytes contains the total number of bytes returned
284 @retval EFI_INVALID_PARAMETER Instance not found, or NumBytes, Buffer are NULL.
293 IN OUT UINTN *NumBytes,
302 if ( (NumBytes == NULL) || (Buffer == NULL)) {
305 if (*NumBytes == 0) {
324 if (LbaLength < ( *NumBytes + BlockOffset ) ) {
325 *NumBytes = (UINT32) (LbaLength - BlockOffset);
329 LibFvbFlashDeviceRead (LbaAddress + BlockOffset, NumBytes, Buffer);
341 @param[in] NumBytes Pointer that on input contains the total size of [all...] |
FvbSmmCommon.h | 78 UINTN NumBytes;
|
FvbSmmDxe.h | 149 when *NumBytes of data have been read, or when a block boundary is
150 reached. *NumBytes is updated to reflect the actual number of bytes
158 @param[in,out] NumBytes On input, indicates the requested write size. On
165 NumBytes contains the total number of bytes returned
170 @retval EFI_INVALID_PARAMETER NumBytes or Buffer are NULL
179 IN OUT UINTN *NumBytes,
186 when *NumBytes of data have been written, or when a block boundary is
187 reached. *NumBytes is updated to reflect the actual number of bytes
195 @param[in,out] NumBytes On input, indicates the requested write size. On
201 NumBytes contains the total number of bytes [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
Thumb2InstrInfo.cpp | 176 unsigned DestReg, unsigned BaseReg, int NumBytes, 179 bool isSub = NumBytes < 0; 180 if (isSub) NumBytes = -NumBytes; 185 NumBytes >= 4096 && 186 ARM_AM::getT2SOImmVal(NumBytes) == -1) { 188 if (NumBytes < 65536) { 191 .addImm(NumBytes) 194 } else if ((NumBytes & 0xffff) == 0) { 198 .addImm(NumBytes >> 16 [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOAArch64.h | 38 unsigned NumBytes = 1 << RE.Size; 45 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); 52 assert(NumBytes == 4 && "Invalid relocation size."); 63 if (NumBytes == 4) 133 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, 140 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); 147 assert(NumBytes == 4 && "Invalid relocation size."); 158 if (NumBytes == 4 [all...] |
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
PDBFile.h | 92 uint32_t NumBytes) const override; 106 static uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { 107 return alignTo(NumBytes, BlockSize) / BlockSize;
|
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
LanaiAsmBackend.cpp | 100 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; 107 for (unsigned i = 0; i != NumBytes; ++i) { 118 for (unsigned i = 0; i != NumBytes; ++i) {
|
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/ |
FWBlockService.c | 357 IN OUT UINTN *NumBytes,
371 NumBytes - Pointer that on input contains the total size of
384 NumBytes contains the total number of bytes returned
389 EFI_INVALID_PARAMETER - Instance not found, or NumBytes, Buffer are NULL
401 if ((NumBytes == NULL) || (Buffer == NULL)) {
405 if (*NumBytes == 0) {
422 // Perform boundary checks and adjust NumBytes
428 if (LbaLength < (*NumBytes + BlockOffset)) {
429 *NumBytes = (UINT32) (LbaLength - BlockOffset);
433 CopyMem (Buffer, (UINT8 *) (LbaAddress + BlockOffset), (UINTN) (*NumBytes));
[all...] |
FwBlockService.h | 68 IN OUT UINTN *NumBytes,
80 IN OUT UINTN *NumBytes,
195 IN OUT UINTN *NumBytes,
206 IN OUT UINTN *NumBytes,
|
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/ |
FWBlockService.c | 398 IN OUT UINTN *NumBytes,
412 NumBytes - Pointer that on input contains the total size of
425 NumBytes contains the total number of bytes returned
430 EFI_INVALID_PARAMETER - Instance not found, or NumBytes, Buffer are NULL
442 if ((NumBytes == NULL) || (Buffer == NULL)) {
446 if (*NumBytes == 0) {
463 // Perform boundary checks and adjust NumBytes
469 if (LbaLength < (*NumBytes + BlockOffset)) {
470 *NumBytes = (UINT32) (LbaLength - BlockOffset);
474 CopyMem (Buffer, (UINT8 *) (LbaAddress + BlockOffset), (UINTN) (*NumBytes));
[all...] |
FwBlockService.h | 79 IN OUT UINTN *NumBytes,
90 IN OUT UINTN *NumBytes,
193 IN OUT UINTN *NumBytes,
203 IN OUT UINTN *NumBytes,
|
/external/llvm/lib/Target/ARM/ |
ThumbRegisterInfo.cpp | 125 const DebugLoc &dl, unsigned DestReg, unsigned BaseReg, int NumBytes, 136 if (NumBytes < 0 && !isHigh && CanChangeCC) { 138 NumBytes = -NumBytes; 146 if (NumBytes <= 255 && NumBytes >= 0 && CanChangeCC) { 148 .addImm(NumBytes) 150 } else if (NumBytes < 0 && NumBytes >= -255 && CanChangeCC) { 152 .addImm(NumBytes) [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcFrameLowering.h | 62 int NumBytes, unsigned ADDrr, unsigned ADDri) const;
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Memory.h | 48 /// attempt to allocate \p NumBytes bytes of virtual memory is made. 56 static MemoryBlock AllocateRWX(size_t NumBytes,
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
NorFlashFvbDxe.c | 387 beyond. The output parameter NumBytes must be set to correctly
397 @param NumBytes Pointer to a UINTN.
398 At entry, *NumBytes contains the total size of the buffer.
399 At exit, *NumBytes contains the total number of bytes read.
408 On output, NumBytes contains the total number of bytes
422 IN OUT UINTN *NumBytes,
432 DEBUG ((DEBUG_BLKIO, "FvbRead(Parameters: Lba=%ld, Offset=0x%x, *NumBytes=0x%x, Buffer @ 0x%08x)\n", Instance->StartLba + Lba, Offset, *NumBytes, Buffer));
443 DEBUG ((DEBUG_BLKIO, "FvbRead: Check if (Offset=0x%x + NumBytes=0x%x) <= BlockSize=0x%x\n", Offset, *NumBytes, BlockSize )); [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
multibyte_Utf8.c | 253 ssize_t NumBytes;
256 NumBytes = 0;
259 NumBytes = 1;
262 NumBytes = 2;
265 NumBytes = -1;
268 NumBytes = 3; // Otherwise, it must be a 3-byte character.
270 return (int)NumBytes; // Return extimate of required bytes.
305 ssize_t NumBytes;
311 while(((NumBytes = OneWcToMcLen(EChar)) > 0) &&
312 ((size_t)(Estimate + NumBytes) < Limit)) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVolBlock/ |
FwVolBlock.h | 136 @param NumBytes Pointer to a UINT32. At entry, *NumBytes
138 *NumBytes contains the total number of bytes
156 IN OUT UINTN *NumBytes,
168 @param NumBytes Pointer to a UINT32. At entry, *NumBytes
170 *NumBytes contains the total number of bytes
177 On output, NumBytes contains the total number of
192 IN OUT UINTN *NumBytes,
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
FirmwareVolumeBlock.h | 161 beyond. The output parameter NumBytes must be set to correctly
172 @param NumBytes Pointer to a UINTN. At entry, *NumBytes
174 exit, *NumBytes contains the total number of
184 boundary. On output, NumBytes
202 IN OUT UINTN *NumBytes,
229 to the boundary but not beyond. The output parameter NumBytes
242 @param NumBytes The pointer to a UINTN. At entry, *NumBytes
244 exit, *NumBytes contains the total number of [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/EmuVariableFvbRuntimeDxe/ |
Fvb.h | 116 IN OUT UINTN *NumBytes,
127 IN OUT UINTN *NumBytes,
|
/external/llvm/include/llvm/Support/ |
Memory.h | 56 /// \p NumBytes bytes of virtual memory is made. 78 static MemoryBlock allocateMappedMemory(size_t NumBytes, 114 /// attempt to allocate \p NumBytes bytes of virtual memory is made. 122 static MemoryBlock AllocateRWX(size_t NumBytes,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
Memory.h | 56 /// \p NumBytes bytes of virtual memory is made. 78 static MemoryBlock allocateMappedMemory(size_t NumBytes, 114 /// attempt to allocate \p NumBytes bytes of virtual memory is made. 122 static MemoryBlock AllocateRWX(size_t NumBytes,
|
/external/tpm2/ |
TcpServer.c | 15 BOOL ReadBytes(SOCKET s, char* buffer, int NumBytes); 18 BOOL WriteBytes(SOCKET s, char* buffer, int NumBytes); 316 // This function reads the indicated number of bytes (NumBytes) into buffer from the indicated socket. 322 int NumBytes 327 while(numGot<NumBytes) 329 res = recv(s, buffer+numGot, NumBytes-numGot, 0); 347 // This function will send the indicated number of bytes (NumBytes) to the indicated socket 353 int NumBytes 358 while(numSent<NumBytes) 360 res = send(s, buffer+numSent, NumBytes-numSent, 0) [all...] |