/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Sockets/SetSockOpt/ |
H A D | SetSockOpt.c | 175 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() 330 if (( 0 < BytesToWrite ) in main() 331 && ( BytesToWrite == LengthInBytes )) { in main() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.Ports/tests/SerialStream/ |
H A D | BeginWrite_Generic.cs | 90 public void BytesToWrite() in BytesToWrite() method in System.IO.Ports.Tests.SerialStream_BeginWrite_Generic 116 BYTE_SIZE_BYTES_TO_WRITE, com1.BytesToWrite); in BytesToWrite() 153 while (elapsedTime < 1000 && BYTE_SIZE_BYTES_TO_WRITE != com1.BytesToWrite) in BytesToWriteSuccessive() 162 BYTE_SIZE_BYTES_TO_WRITE, com1.BytesToWrite); in BytesToWriteSuccessive() 178 BYTE_SIZE_BYTES_TO_WRITE, com1.BytesToWrite); in BytesToWriteSuccessive() 214 if (0 != com.BytesToWrite) in Handshake_None() 216 Fail("ERROR!!! Expcted BytesToWrite=0 actual {0}", com.BytesToWrite); in Handshake_None() 357 while (BYTE_SIZE_HANDSHAKE > com1.BytesToWrite && waitTime < 500) in Verify_Handshake() 364 if (BYTE_SIZE_HANDSHAKE != com1.BytesToWrite) in Verify_Handshake() 367 com1.BytesToWrite); in Verify_Handshake() [all …]
|
/dports/audio/polyphone/polyphone-75a5e88/sources/core/input/sfark/ |
H A D | sfarkextractor2.cpp | 117 int WriteOutputFile(const quint8 *Buf, int BytesToWrite) in WriteOutputFile() argument 119 … (SfArkExtractor2::_fileManager.write(OutputFileHandle, (char *)Buf, BytesToWrite) != BytesToWrite) in WriteOutputFile() 125 return BytesToWrite; in WriteOutputFile()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlash.c | 611 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 656 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 659 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 675 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 687 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 690 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 703 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 704 BytesToWrite = 0; in NorFlashWriteSingleBlock() 722 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 739 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/sysutils/edk2/edk2-edk2-stable202102/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlash.c | 611 UINTN BytesToWrite; 656 BytesToWrite = *NumBytes; 659 while (BytesToWrite > 0) { 675 if (BytesToWrite >= 4) { 687 BytesToWrite -= sizeof(TmpBuf); 690 Mask = ~((~0) << (BytesToWrite * 8)); 703 CurOffset += BytesToWrite; 704 BytesToWrite = 0; 722 BytesToWrite -= (4 - (CurOffset & 0x3)); 739 CurOffset += BytesToWrite; [all …]
|
/dports/print/hplip/hplip-3.20.6/prnt/hpijs/ |
H A D | printer.cpp | 544 DWORD BytesToWrite = dwWriteCount; in Send() local 549 if ( (BytesToWrite >= iBuffSize) && (iCurrBuffSize == 0) ) in Send() 551 pBuffer = pWriteBuff+(dwWriteCount-BytesToWrite); in Send() 552 dwSendSize = BytesToWrite; in Send() 558 if (BytesToWrite <= DWORD(iBuffSize-iCurrBuffSize)) in Send() 561 (void*)(pWriteBuff+(dwWriteCount-BytesToWrite)),BytesToWrite); in Send() 562 iCurrBuffSize += BytesToWrite; in Send() 563 BytesToWrite = 0; in Send() 568 (void*)(pWriteBuff+(dwWriteCount-BytesToWrite)), in Send() 570 BytesToWrite -= (iBuffSize-iCurrBuffSize); in Send() [all …]
|
/dports/sysutils/edk2/edk2-platforms-89f6170d/Silicon/Socionext/SynQuacer/Drivers/Fip006Dxe/ |
H A D | NorFlash.c | 771 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 820 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 823 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 842 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 854 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 857 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 870 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 871 BytesToWrite = 0; in NorFlashWriteSingleBlock() 889 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 906 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/net/sbd/sbd-1.37/ |
H A D | doexec_win32.h | 455 DWORD BufferCnt, BytesToWrite; in SessionReadShellThreadFn() local 475 for (BufferCnt = 0, BytesToWrite = 0; BufferCnt < BytesRead; BufferCnt++) { in SessionReadShellThreadFn() 477 Buffer2[BytesToWrite++] = '\r'; in SessionReadShellThreadFn() 478 PrevChar = Buffer2[BytesToWrite++] = Buffer[BufferCnt]; in SessionReadShellThreadFn() 483 write(STDOUT_FILENO, Buffer2, BytesToWrite); in SessionReadShellThreadFn() 487 if (pel_send_msg(Session->ClientSocket, Buffer2, BytesToWrite) != PEL_SUCCESS) { in SessionReadShellThreadFn() 498 if (send(Session->ClientSocket, Buffer2, BytesToWrite, 0) <= 0) in SessionReadShellThreadFn()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlashDxe.c | 909 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 954 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 957 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 973 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 985 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 988 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 1001 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 1002 BytesToWrite = 0; in NorFlashWriteSingleBlock() 1020 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 1037 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlashDxe.c | 909 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 954 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 957 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 973 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 985 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 988 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 1001 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 1002 BytesToWrite = 0; in NorFlashWriteSingleBlock() 1020 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 1037 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlashDxe.c | 909 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 954 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 957 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 973 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 985 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 988 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 1001 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 1002 BytesToWrite = 0; in NorFlashWriteSingleBlock() 1020 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 1037 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlashDxe.c | 909 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 954 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 957 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 973 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 985 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 988 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 1001 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 1002 BytesToWrite = 0; in NorFlashWriteSingleBlock() 1020 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 1037 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlashDxe.c | 909 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 954 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 957 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 973 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 985 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 988 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 1001 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 1002 BytesToWrite = 0; in NorFlashWriteSingleBlock() 1020 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 1037 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlashDxe.c | 909 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 954 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 957 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 973 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 985 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 988 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 1001 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 1002 BytesToWrite = 0; in NorFlashWriteSingleBlock() 1020 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 1037 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlashDxe.c | 868 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 917 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 920 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 936 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 948 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 951 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 964 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 965 BytesToWrite = 0; in NorFlashWriteSingleBlock() 983 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 1000 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
H A D | NorFlashDxe.c | 909 UINTN BytesToWrite; in NorFlashWriteSingleBlock() local 954 BytesToWrite = *NumBytes; in NorFlashWriteSingleBlock() 957 while (BytesToWrite > 0) { in NorFlashWriteSingleBlock() 973 if (BytesToWrite >= 4) { in NorFlashWriteSingleBlock() 985 BytesToWrite -= sizeof(TmpBuf); in NorFlashWriteSingleBlock() 988 Mask = ~((~0) << (BytesToWrite * 8)); in NorFlashWriteSingleBlock() 1001 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() 1002 BytesToWrite = 0; in NorFlashWriteSingleBlock() 1020 BytesToWrite -= (4 - (CurOffset & 0x3)); in NorFlashWriteSingleBlock() 1037 CurOffset += BytesToWrite; in NorFlashWriteSingleBlock() [all …]
|
/dports/multimedia/mxflib/mxflib-1.0.1/mxflib/ |
H A D | klvobject.h | 376 Length BytesToWrite = Data.Size - Start; variable 379 if((Size > 0) && (Size < BytesToWrite)) BytesToWrite = Size; 382 if((sizeof(size_t) < 8) && (BytesToWrite > 0xffffffff)) 388 return Base_WriteDataTo(&Data.Data[Start], Offset, static_cast<size_t>(BytesToWrite));
|
H A D | crypto.h | 494 Length BytesToWrite = Data.Size - Start; variable 497 if((Size != static_cast<size_t>(-1)) && (Size < BytesToWrite)) BytesToWrite = Size; 500 if((sizeof(size_t) < 8) && (BytesToWrite > 0xffffffff)) 506 return WriteDataTo(&Data.Data[Start], Offset, static_cast<size_t>(BytesToWrite));
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/turbopower_ipro/ |
H A D | ipstrms.pas | 856 BytesToWrite: Longint; 873 BytesToWrite := MinLong(BytesToGo, FBufSize - FBufPos); 875 Move(BufAsBytes[0], FBuffer[FBufPos], BytesToWrite); 878 inc(FBufPos, BytesToWrite); 883 dec(BytesToGo, BytesToWrite); 899 inc(DestPos, BytesToWrite); 900 BytesToWrite := MinLong(BytesToGo, FBufSize - FBufPos); 902 if BytesToWrite > 0 then 903 Move(BufAsBytes[DestPos], FBuffer[0], BytesToWrite); 906 inc(FBufPos, BytesToWrite); [all …]
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/turbopower_ipro/ |
H A D | ipstrms.pas | 856 BytesToWrite: Longint; 873 BytesToWrite := MinLong(BytesToGo, FBufSize - FBufPos); 875 Move(BufAsBytes[0], FBuffer[FBufPos], BytesToWrite); 878 inc(FBufPos, BytesToWrite); 883 dec(BytesToGo, BytesToWrite); 899 inc(DestPos, BytesToWrite); 900 BytesToWrite := MinLong(BytesToGo, FBufSize - FBufPos); 902 if BytesToWrite > 0 then 903 Move(BufAsBytes[DestPos], FBuffer[0], BytesToWrite); 906 inc(FBufPos, BytesToWrite); [all …]
|
/dports/editors/lazarus/lazarus/components/turbopower_ipro/ |
H A D | ipstrms.pas | 870 BytesToWrite: Longint; 887 BytesToWrite := MinLong(BytesToGo, FBufSize - FBufPos); 889 Move(BufAsBytes[0], FBuffer[FBufPos], BytesToWrite); 892 inc(FBufPos, BytesToWrite); 897 dec(BytesToGo, BytesToWrite); 913 inc(DestPos, BytesToWrite); 914 BytesToWrite := MinLong(BytesToGo, FBufSize - FBufPos); 916 if BytesToWrite > 0 then 917 Move(BufAsBytes[DestPos], FBuffer[0], BytesToWrite); 920 inc(FBufPos, BytesToWrite); [all …]
|
/dports/editors/lazarus-qt5/lazarus/components/turbopower_ipro/ |
H A D | ipstrms.pas | 870 BytesToWrite: Longint; 887 BytesToWrite := MinLong(BytesToGo, FBufSize - FBufPos); 889 Move(BufAsBytes[0], FBuffer[FBufPos], BytesToWrite); 892 inc(FBufPos, BytesToWrite); 897 dec(BytesToGo, BytesToWrite); 913 inc(DestPos, BytesToWrite); 914 BytesToWrite := MinLong(BytesToGo, FBufSize - FBufPos); 916 if BytesToWrite > 0 then 917 Move(BufAsBytes[DestPos], FBuffer[0], BytesToWrite); 920 inc(FBufPos, BytesToWrite); [all …]
|
/dports/devel/py-keystone-engine/keystone-engine-0.9.1-3/src/llvm/lib/Support/ |
H A D | raw_ostream.cpp | 318 size_t BytesToWrite = Size - (Size % NumBytes); in write() local 319 write_impl(Ptr, BytesToWrite); in write() 320 size_t BytesRemaining = Size - BytesToWrite; in write() 323 return write(Ptr + BytesToWrite, BytesRemaining); in write() 325 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.Ports/tests/SerialPort/ |
H A D | Write_str_Generic.cs | 178 public void BytesToWrite() in BytesToWrite() method in System.IO.Ports.Tests.Write_str_Generic 243 Assert.Equal(0, com.BytesToWrite); in Handshake_None() 440 if (0 != com1.BytesToWrite) in Verify_Handshake() 442 Fail("ERROR!!! Expcted BytesToWrite=0 actual {0}", com1.BytesToWrite); in Verify_Handshake()
|
H A D | Write_byte_int_int_Generic.cs | 174 public void BytesToWrite() in BytesToWrite() method in System.IO.Ports.Tests.Write_byte_int_int_generic 244 if (0 != com.BytesToWrite) in Handshake_None() 246 Fail("ERROR!!! Expcted BytesToWrite=0 actual {0}", com.BytesToWrite); in Handshake_None() 440 Assert.Equal(0, com1.BytesToWrite); in Verify_Handshake()
|