Home
last modified time | relevance | path

Searched refs:BytesToWrite (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/SetSockOpt/
DSetSockOpt.c175 socklen_t BytesToWrite; in GetOptionValue() local
187 BytesToWrite = 0; in GetOptionValue()
201 BytesToWrite = sizeof ( *Value.i32); in GetOptionValue()
214 BytesToWrite = sizeof ( *Value.TimeVal ); in GetOptionValue()
223 if ( 0 == BytesToWrite ) { in GetOptionValue()
230 return BytesToWrite; in GetOptionValue()
249 socklen_t BytesToWrite; in main() local
298 BytesToWrite = 0; in main()
300 || ( 0 < ( BytesToWrite = GetOptionValue ( pOption, Argv[2])))) { in main()
325 (BOOLEAN)( 0 == BytesToWrite )); in main()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashDxe.c918 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local
967 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock()
970 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock()
982 TmpBuf = *((UINT32*)(Buffer + (*NumBytes - BytesToWrite))); in NorFlashWriteSingleBlock()
986 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock()
998 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock()
1001 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock()
1014 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock()
1015 BytesToWrite = 0; in NorFlashWriteSingleBlock()
1019 if (BytesToWrite > (4 - (CurOffset & 0x3))) { in NorFlashWriteSingleBlock()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DCommonLib.c260 IN UINT32 BytesToWrite in PutFileImage() argument
307 BytesWrote = fwrite (OutputFileImage, sizeof (UINT8), BytesToWrite, OutputFile); in PutFileImage()
308 if (BytesWrote != sizeof (UINT8) * BytesToWrite) { in PutFileImage()
DCommonLib.h80 IN UINT32 BytesToWrite