Home
last modified time | relevance | path

Searched refs:bytesToConsume (Results 1 – 25 of 30) sorted by relevance

12

/dports/sysutils/lizardfs/lizardfs-3.12.0/src/common/
H A Dparser.cc31 Parser::Status Parser::consume(size_t bytesToConsume) { in consume() argument
32 Status status = checkState(bytesToConsume); in consume()
37 position_ += bytesToConsume; in consume()
71 Parser::Status Parser::checkState(int bytesToConsume) { in checkState() argument
74 } else if (data_.size() < position_ + bytesToConsume) { in checkState()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/freebl/
H A Dmd2.c197 PRUint32 bytesToConsume; in MD2_Update() local
201 bytesToConsume = PR_MIN(inputLen, cx->unusedBuffer); in MD2_Update()
203 input, bytesToConsume); in MD2_Update()
204 if (cx->unusedBuffer + bytesToConsume >= MD2_BUFSIZE) in MD2_Update()
206 inputLen -= bytesToConsume; in MD2_Update()
207 input += bytesToConsume; in MD2_Update()
H A Dmd5.c424 PRUint32 bytesToConsume; in MD5_Update() local
432 bytesToConsume = PR_MIN(inputLen, MD5_BUFFER_SIZE - inBufIndex); in MD5_Update()
433 memcpy(&cx->inBuf[inBufIndex], input, bytesToConsume); in MD5_Update()
434 if (inBufIndex + bytesToConsume >= MD5_BUFFER_SIZE) { in MD5_Update()
442 inputLen -= bytesToConsume; in MD5_Update()
443 input += bytesToConsume; in MD5_Update()
/dports/security/ca_root_nss/nss-3.71/nss/lib/freebl/
H A Dmd2.c197 PRUint32 bytesToConsume; in MD2_Update() local
201 bytesToConsume = PR_MIN(inputLen, cx->unusedBuffer); in MD2_Update()
203 input, bytesToConsume); in MD2_Update()
204 if (cx->unusedBuffer + bytesToConsume >= MD2_BUFSIZE) in MD2_Update()
206 inputLen -= bytesToConsume; in MD2_Update()
207 input += bytesToConsume; in MD2_Update()
H A Dmd5.c424 PRUint32 bytesToConsume; in MD5_Update() local
432 bytesToConsume = PR_MIN(inputLen, MD5_BUFFER_SIZE - inBufIndex); in MD5_Update()
433 memcpy(&cx->inBuf[inBufIndex], input, bytesToConsume); in MD5_Update()
434 if (inBufIndex + bytesToConsume >= MD5_BUFFER_SIZE) { in MD5_Update()
442 inputLen -= bytesToConsume; in MD5_Update()
443 input += bytesToConsume; in MD5_Update()
/dports/www/firefox/firefox-99.0/security/nss/lib/freebl/
H A Dmd2.c197 PRUint32 bytesToConsume; in MD2_Update() local
201 bytesToConsume = PR_MIN(inputLen, cx->unusedBuffer); in MD2_Update()
203 input, bytesToConsume); in MD2_Update()
204 if (cx->unusedBuffer + bytesToConsume >= MD2_BUFSIZE) in MD2_Update()
206 inputLen -= bytesToConsume; in MD2_Update()
207 input += bytesToConsume; in MD2_Update()
H A Dmd5.c424 PRUint32 bytesToConsume; in MD5_Update() local
432 bytesToConsume = PR_MIN(inputLen, MD5_BUFFER_SIZE - inBufIndex); in MD5_Update()
433 memcpy(&cx->inBuf[inBufIndex], input, bytesToConsume); in MD5_Update()
434 if (inBufIndex + bytesToConsume >= MD5_BUFFER_SIZE) { in MD5_Update()
442 inputLen -= bytesToConsume; in MD5_Update()
443 input += bytesToConsume; in MD5_Update()
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/freebl/
H A Dmd2.c197 PRUint32 bytesToConsume; in MD2_Update() local
201 bytesToConsume = PR_MIN(inputLen, cx->unusedBuffer); in MD2_Update()
203 input, bytesToConsume); in MD2_Update()
204 if (cx->unusedBuffer + bytesToConsume >= MD2_BUFSIZE) in MD2_Update()
206 inputLen -= bytesToConsume; in MD2_Update()
207 input += bytesToConsume; in MD2_Update()
H A Dmd5.c424 PRUint32 bytesToConsume; in MD5_Update() local
432 bytesToConsume = PR_MIN(inputLen, MD5_BUFFER_SIZE - inBufIndex); in MD5_Update()
433 memcpy(&cx->inBuf[inBufIndex], input, bytesToConsume); in MD5_Update()
434 if (inBufIndex + bytesToConsume >= MD5_BUFFER_SIZE) { in MD5_Update()
442 inputLen -= bytesToConsume; in MD5_Update()
443 input += bytesToConsume; in MD5_Update()
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/freebl/
H A Dmd2.c197 PRUint32 bytesToConsume; in MD2_Update() local
201 bytesToConsume = PR_MIN(inputLen, cx->unusedBuffer); in MD2_Update()
203 input, bytesToConsume); in MD2_Update()
204 if (cx->unusedBuffer + bytesToConsume >= MD2_BUFSIZE) in MD2_Update()
206 inputLen -= bytesToConsume; in MD2_Update()
207 input += bytesToConsume; in MD2_Update()
H A Dmd5.c424 PRUint32 bytesToConsume; in MD5_Update() local
432 bytesToConsume = PR_MIN(inputLen, MD5_BUFFER_SIZE - inBufIndex); in MD5_Update()
433 memcpy(&cx->inBuf[inBufIndex], input, bytesToConsume); in MD5_Update()
434 if (inBufIndex + bytesToConsume >= MD5_BUFFER_SIZE) { in MD5_Update()
442 inputLen -= bytesToConsume; in MD5_Update()
443 input += bytesToConsume; in MD5_Update()
/dports/security/nss/nss-3.76.1/nss/lib/freebl/
H A Dmd2.c197 PRUint32 bytesToConsume; in MD2_Update() local
201 bytesToConsume = PR_MIN(inputLen, cx->unusedBuffer); in MD2_Update()
203 input, bytesToConsume); in MD2_Update()
204 if (cx->unusedBuffer + bytesToConsume >= MD2_BUFSIZE) in MD2_Update()
206 inputLen -= bytesToConsume; in MD2_Update()
207 input += bytesToConsume; in MD2_Update()
H A Dmd5.c424 PRUint32 bytesToConsume; in MD5_Update() local
432 bytesToConsume = PR_MIN(inputLen, MD5_BUFFER_SIZE - inBufIndex); in MD5_Update()
433 memcpy(&cx->inBuf[inBufIndex], input, bytesToConsume); in MD5_Update()
434 if (inBufIndex + bytesToConsume >= MD5_BUFFER_SIZE) { in MD5_Update()
442 inputLen -= bytesToConsume; in MD5_Update()
443 input += bytesToConsume; in MD5_Update()
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/freebl/
H A Dmd2.c197 PRUint32 bytesToConsume; in MD2_Update() local
201 bytesToConsume = PR_MIN(inputLen, cx->unusedBuffer); in MD2_Update()
203 input, bytesToConsume); in MD2_Update()
204 if (cx->unusedBuffer + bytesToConsume >= MD2_BUFSIZE) in MD2_Update()
206 inputLen -= bytesToConsume; in MD2_Update()
207 input += bytesToConsume; in MD2_Update()
H A Dmd5.c424 PRUint32 bytesToConsume; in MD5_Update() local
432 bytesToConsume = PR_MIN(inputLen, MD5_BUFFER_SIZE - inBufIndex); in MD5_Update()
433 memcpy(&cx->inBuf[inBufIndex], input, bytesToConsume); in MD5_Update()
434 if (inBufIndex + bytesToConsume >= MD5_BUFFER_SIZE) { in MD5_Update()
442 inputLen -= bytesToConsume; in MD5_Update()
443 input += bytesToConsume; in MD5_Update()
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/freebl/
H A Dmd2.c197 PRUint32 bytesToConsume; in MD2_Update() local
201 bytesToConsume = PR_MIN(inputLen, cx->unusedBuffer); in MD2_Update()
203 input, bytesToConsume); in MD2_Update()
204 if (cx->unusedBuffer + bytesToConsume >= MD2_BUFSIZE) in MD2_Update()
206 inputLen -= bytesToConsume; in MD2_Update()
207 input += bytesToConsume; in MD2_Update()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.net.http/share/classes/jdk/internal/net/http/
H A DResponseContent.java139 … volatile int bytesToConsume; // number of bytes that still need to be consumed before proceeding field in ResponseContent.ChunkedBodyParser
249 int n = bytesToConsume; in tryConsumeBytes()
266 bytesToConsume = n; in tryConsumeBytes()
282 int toconsume = bytesToConsume; in tryReadOneHunk()
292 if (clen == 0) toconsume = bytesToConsume = 2; // that was the last chunk in tryReadOneHunk()
305 toconsume = bytesToConsume; in tryReadOneHunk()
337 if (unfulfilled == 0) bytesToConsume = 2; in tryReadOneHunk()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.net.http/share/classes/jdk/internal/net/http/
H A DResponseContent.java139 … volatile int bytesToConsume; // number of bytes that still need to be consumed before proceeding field in ResponseContent.ChunkedBodyParser
249 int n = bytesToConsume; in tryConsumeBytes()
266 bytesToConsume = n; in tryConsumeBytes()
282 int toconsume = bytesToConsume; in tryReadOneHunk()
292 if (clen == 0) toconsume = bytesToConsume = 2; // that was the last chunk in tryReadOneHunk()
305 toconsume = bytesToConsume; in tryReadOneHunk()
337 if (unfulfilled == 0) bytesToConsume = 2; in tryReadOneHunk()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.net.http/share/classes/jdk/internal/net/http/
H A DResponseContent.java139 … volatile int bytesToConsume; // number of bytes that still need to be consumed before proceeding field in ResponseContent.ChunkedBodyParser
249 int n = bytesToConsume; in tryConsumeBytes()
266 bytesToConsume = n; in tryConsumeBytes()
282 int toconsume = bytesToConsume; in tryReadOneHunk()
292 if (clen == 0) toconsume = bytesToConsume = 2; // that was the last chunk in tryReadOneHunk()
305 toconsume = bytesToConsume; in tryReadOneHunk()
337 if (unfulfilled == 0) bytesToConsume = 2; in tryReadOneHunk()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.net.http/share/classes/jdk/internal/net/http/
H A DResponseContent.java139 … volatile int bytesToConsume; // number of bytes that still need to be consumed before proceeding field in ResponseContent.ChunkedBodyParser
249 int n = bytesToConsume; in tryConsumeBytes()
266 bytesToConsume = n; in tryConsumeBytes()
282 int toconsume = bytesToConsume; in tryReadOneHunk()
292 if (clen == 0) toconsume = bytesToConsume = 2; // that was the last chunk in tryReadOneHunk()
305 toconsume = bytesToConsume; in tryReadOneHunk()
337 if (unfulfilled == 0) bytesToConsume = 2; in tryReadOneHunk()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.net.http/share/classes/jdk/internal/net/http/
H A DResponseContent.java139 … volatile int bytesToConsume; // number of bytes that still need to be consumed before proceeding field in ResponseContent.ChunkedBodyParser
249 int n = bytesToConsume; in tryConsumeBytes()
266 bytesToConsume = n; in tryConsumeBytes()
282 int toconsume = bytesToConsume; in tryReadOneHunk()
292 if (clen == 0) toconsume = bytesToConsume = 2; // that was the last chunk in tryReadOneHunk()
305 toconsume = bytesToConsume; in tryReadOneHunk()
337 if (unfulfilled == 0) bytesToConsume = 2; in tryReadOneHunk()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.net.http/share/classes/jdk/internal/net/http/
H A DResponseContent.java142 … volatile int bytesToConsume; // number of bytes that still need to be consumed before proceeding field in ResponseContent.ChunkedBodyParser
300 int n = bytesToConsume; in tryConsumeBytes()
317 bytesToConsume = n; in tryConsumeBytes()
333 int toconsume = bytesToConsume; in tryReadOneHunk()
344 if (clen == 0) toconsume = bytesToConsume = 2; // that was the last chunk in tryReadOneHunk()
357 toconsume = bytesToConsume; in tryReadOneHunk()
389 if (unfulfilled == 0) bytesToConsume = 2; in tryReadOneHunk()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.net.http/share/classes/jdk/internal/net/http/
H A DResponseContent.java142 … volatile int bytesToConsume; // number of bytes that still need to be consumed before proceeding field in ResponseContent.ChunkedBodyParser
300 int n = bytesToConsume; in tryConsumeBytes()
317 bytesToConsume = n; in tryConsumeBytes()
333 int toconsume = bytesToConsume; in tryReadOneHunk()
344 if (clen == 0) toconsume = bytesToConsume = 2; // that was the last chunk in tryReadOneHunk()
357 toconsume = bytesToConsume; in tryReadOneHunk()
389 if (unfulfilled == 0) bytesToConsume = 2; in tryReadOneHunk()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.net.http/share/classes/jdk/internal/net/http/
H A DResponseContent.java142 … volatile int bytesToConsume; // number of bytes that still need to be consumed before proceeding field in ResponseContent.ChunkedBodyParser
300 int n = bytesToConsume; in tryConsumeBytes()
317 bytesToConsume = n; in tryConsumeBytes()
333 int toconsume = bytesToConsume; in tryReadOneHunk()
344 if (clen == 0) toconsume = bytesToConsume = 2; // that was the last chunk in tryReadOneHunk()
357 toconsume = bytesToConsume; in tryReadOneHunk()
389 if (unfulfilled == 0) bytesToConsume = 2; in tryReadOneHunk()
/dports/www/R-cran-httpuv/httpuv/src/
H A Dwebsockets.cpp202 size_t bytesToConsume = min((uint64_t)len, _bytesLeft); in read() local
203 _bytesLeft -= bytesToConsume; in read()
204 _pCallbacks->onPayload(data, bytesToConsume); in read()
206 data += bytesToConsume; in read()
207 len -= bytesToConsume; in read()

12