Home
last modified time | relevance | path

Searched refs:_bufSize (Results 1 – 25 of 154) sorted by relevance

1234567

/dports/math/curv/curv-0.5/extern/replxx/src/
H A Dutf8string.hxx14 int _bufSize; member in replxx::Utf8String
19 , _bufSize( 0 ) in Utf8String()
24 , _bufSize( 0 ) in Utf8String()
31 , _bufSize( 0 ) in Utf8String()
65 if ( ( reqLen + 1 ) > _bufSize ) { in realloc()
66 _bufSize = 1; in realloc()
67 while ( ( reqLen + 1 ) > _bufSize ) { in realloc()
68 _bufSize *= 2; in realloc()
70 _data.reset( new char[_bufSize] ); in realloc()
71 memset( _data.get(), 0, _bufSize ); in realloc()
/dports/mail/rspamd/rspamd-3.1/contrib/replxx/src/
H A Dutf8string.hxx14 int _bufSize; member in replxx::Utf8String
19 , _bufSize( 0 ) in Utf8String()
24 , _bufSize( 0 ) in Utf8String()
31 , _bufSize( 0 ) in Utf8String()
76 if ( ( reqLen + 1 ) > _bufSize ) { in realloc()
77 _bufSize = 1; in realloc()
78 while ( ( reqLen + 1 ) > _bufSize ) { in realloc()
79 _bufSize *= 2; in realloc()
81 _data.reset( new char[_bufSize] ); in realloc()
82 memset( _data.get(), 0, _bufSize ); in realloc()
/dports/devel/replxx/replxx-release-0.0.3/src/
H A Dutf8string.hxx14 int _bufSize; member in replxx::Utf8String
19 , _bufSize( 0 ) in Utf8String()
24 , _bufSize( 0 ) in Utf8String()
31 , _bufSize( 0 ) in Utf8String()
76 if ( ( reqLen + 1 ) > _bufSize ) { in realloc()
77 _bufSize = 1; in realloc()
78 while ( ( reqLen + 1 ) > _bufSize ) { in realloc()
79 _bufSize *= 2; in realloc()
81 _data.reset( new char[_bufSize] ); in realloc()
82 memset( _data.get(), 0, _bufSize ); in realloc()
/dports/mail/rspamd-devel/rspamd-93430bb/contrib/replxx/src/
H A Dutf8string.hxx14 int _bufSize; member in replxx::Utf8String
19 , _bufSize( 0 ) in Utf8String()
24 , _bufSize( 0 ) in Utf8String()
31 , _bufSize( 0 ) in Utf8String()
76 if ( ( reqLen + 1 ) > _bufSize ) { in realloc()
77 _bufSize = 1; in realloc()
78 while ( ( reqLen + 1 ) > _bufSize ) { in realloc()
79 _bufSize *= 2; in realloc()
81 _data.reset( new char[_bufSize] ); in realloc()
82 memset( _data.get(), 0, _bufSize ); in realloc()
/dports/games/aquaria/Aquaria-OSE-v1.002-22-g84366ad/ExternalLibs/ttvfs_zip/
H A DVFSFileZip.cpp16 , _bufSize(0) in ZipFile()
49 return _pos >= _bufSize; in iseof()
58 _bufSize = 0; in close()
79 if(pos >= _bufSize) in seek()
81 _pos = _bufSize - pos; in seek()
127 if(_buf && _bufSize) in size()
128 return _bufSize; in size()
161 _bufSize = sz; in unpack()
168 _bufSize = (vfspos)strnNLcpy(_buf, _buf); in unpack()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/Dependencies/lzmasdk-18.05/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
H A DStreamBinder.cpp58 _bufSize = 0; in ReInit()
71 _bufSize = 0; in CreateStreams()
98 if (size > _bufSize) in Read()
99 size = _bufSize; in Read()
107 _bufSize -= size; in Read()
108 if (_bufSize == 0) in Read()
129 _bufSize = size; in Write()
143 size -= _bufSize; in Write()
/dports/www/firefox-esr/firefox-91.8.0/other-licenses/7zstub/src/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
H A DStreamBinder.cpp58 _bufSize = 0; in ReInit()
71 _bufSize = 0; in CreateStreams()
98 if (size > _bufSize) in Read()
99 size = _bufSize; in Read()
107 _bufSize -= size; in Read()
108 if (_bufSize == 0) in Read()
129 _bufSize = size; in Write()
143 size -= _bufSize; in Write()
/dports/emulators/mess/mame-mame0226/3rdparty/lzma/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
H A DStreamBinder.cpp58 _bufSize = 0; in ReInit()
71 _bufSize = 0; in CreateStreams()
98 if (size > _bufSize) in Read()
99 size = _bufSize; in Read()
107 _bufSize -= size; in Read()
108 if (_bufSize == 0) in Read()
129 _bufSize = size; in Write()
143 size -= _bufSize; in Write()
/dports/archivers/lzma/lzma-19.00/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/emulators/mame/mame-mame0226/3rdparty/lzma/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/www/firefox/firefox-99.0/other-licenses/7zstub/src/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/lang/spidermonkey60/firefox-60.9.0/other-licenses/7zstub/src/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/libchdr/deps/lzma-16.04/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/mail/thunderbird/thunderbird-91.8.0/other-licenses/7zstub/src/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/lang/spidermonkey78/firefox-78.9.0/other-licenses/7zstub/src/CPP/7zip/Common/
H A DOutBuffer.cpp14 if (_buf != 0 && _bufSize == bufSize) in Create()
17 _bufSize = bufSize; in Create()
31 _limitPos = _bufSize; in Init()
44 res += _bufSize; in GetProcessedSize()
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart()
74 if (_streamPos == _bufSize) in FlushPart()
76 if (_pos == _bufSize) in FlushPart()
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/sound/decoder/wave/
H A Dstream.cpp269 uint32 _bufSize; member in Common::__anonc6a33ffa0211::BufferedReadStream
295 _bufSize(0), in BufferedReadStream()
311 const uint32 bufBytesLeft = _bufSize - _pos; in read()
320 _pos = _bufSize; in read()
342 if (_bufSize < dataSize) { in read()
346 dataSize = _bufSize; in read()
412 offset -= (_bufSize - _pos); in seek()
413 _pos = _bufSize; in seek()
440 const uint32 _bufSize; member in Common::__anonc6a33ffa0411::BufferedWriteStream
464 _bufSize(bufSize) { in BufferedWriteStream()
[all …]
/dports/games/scummvm/scummvm-2.5.1/common/
H A Dstream.cpp310 uint32 _bufSize; member in Common::__anon5bad8c8a0211::BufferedReadStream
328 _bufSize(0), in BufferedReadStream()
351 _pos = _bufSize; in read()
367 _pos = _bufSize; in read()
368 memcpy(_buf, (byte *)dataPtr + n - _bufSize, _bufSize); in read()
380 if (_bufSize < dataSize) { in read()
384 dataSize = _bufSize; in read()
459 offset -= (_bufSize - _pos); in seek()
467 _pos = _bufSize = 0; in seek()
494 const uint32 _bufSize; member in Common::__anon5bad8c8a0411::BufferedWriteStream
[all …]
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/lib/netcore/Thrift/Transports/Client/
H A DTBufferedClientTransport.cs28 private readonly int _bufSize; field in Thrift.Transports.Client.TBufferedClientTransport
43 _bufSize = bufSize; in TBufferedClientTransport()
85 if (_inputBuffer.Capacity < _bufSize) in ReadAsync()
87 _inputBuffer.Capacity = _bufSize; in ReadAsync()
145 while (length - writtenCount >= _bufSize) in WriteAsync()
147 … await _transport.WriteAsync(buffer, offset + writtenCount, _bufSize, cancellationToken); in WriteAsync()
148 writtenCount += _bufSize; in WriteAsync()
154 if (_outputBuffer.Capacity < _bufSize) in WriteAsync()
156 _outputBuffer.Capacity = _bufSize; in WriteAsync()
/dports/www/fabio/fabio-1.5.14/vendor/github.com/apache/thrift/thrift-da1169d75b15/lib/netcore/Thrift/Transports/Client/
H A DTBufferedClientTransport.cs28 private readonly int _bufSize; field in Thrift.Transports.Client.TBufferedClientTransport
43 _bufSize = bufSize; in TBufferedClientTransport()
85 if (_inputBuffer.Capacity < _bufSize) in ReadAsync()
87 _inputBuffer.Capacity = _bufSize; in ReadAsync()
145 while (length - writtenCount >= _bufSize) in WriteAsync()
147 … await _transport.WriteAsync(buffer, offset + writtenCount, _bufSize, cancellationToken); in WriteAsync()
148 writtenCount += _bufSize; in WriteAsync()
154 if (_outputBuffer.Capacity < _bufSize) in WriteAsync()
156 _outputBuffer.Capacity = _bufSize; in WriteAsync()
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/netcore/Thrift/Transports/Client/
H A DTBufferedClientTransport.cs28 private readonly int _bufSize; field in Thrift.Transports.Client.TBufferedClientTransport
43 _bufSize = bufSize; in TBufferedClientTransport()
85 if (_inputBuffer.Capacity < _bufSize) in ReadAsync()
87 _inputBuffer.Capacity = _bufSize; in ReadAsync()
145 while (length - writtenCount >= _bufSize) in WriteAsync()
147 … await _transport.WriteAsync(buffer, offset + writtenCount, _bufSize, cancellationToken); in WriteAsync()
148 writtenCount += _bufSize; in WriteAsync()
154 if (_outputBuffer.Capacity < _bufSize) in WriteAsync()
156 _outputBuffer.Capacity = _bufSize; in WriteAsync()

1234567