Searched refs:byteCount (Results 51 - 75 of 158) sorted by relevance

1234567

/external/okhttp/okio/okio/src/main/java/okio/
H A DAsyncTimeout.java151 @Override public void write(Buffer source, long byteCount) throws IOException {
155 sink.write(source, byteCount);
207 @Override public long read(Buffer sink, long byteCount) throws IOException {
211 long result = source.read(sink, byteCount);
/external/python/cpython3/Modules/_sha3/kcp/
H A DKeccakP-1600-SnP-opt64.h42 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
H A DPlSnP-Fallback.inc138 void PlSnP_OverwriteWithZeroes(void *states, unsigned int instanceIndex, unsigned int byteCount)
141 SnP_OverwriteWithZeroes(stateWithIndex(instanceIndex), byteCount);
143 SnP_OverwriteWithZeroes(stateWithIndex(instanceIndex/PlSnP_baseParallelism), instanceIndex%PlSnP_baseParallelism, byteCount);
/external/skia/include/core/
H A DSkMetaData.h58 const void* findData(const char name[], size_t* byteCount = nullptr) const;
81 bool hasData(const char name[], const void* data, size_t byteCount) const {
84 return ptr && len == byteCount && !memcmp(ptr, data, len);
94 void setData(const char name[], const void* data, size_t byteCount);
/external/skqp/include/core/
H A DSkMetaData.h58 const void* findData(const char name[], size_t* byteCount = nullptr) const;
81 bool hasData(const char name[], const void* data, size_t byteCount) const {
84 return ptr && len == byteCount && !memcmp(ptr, data, len);
94 void setData(const char name[], const void* data, size_t byteCount);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
H A DNameValueBlockReader.java55 @Override public long read(Buffer sink, long byteCount) throws IOException {
57 long read = super.read(sink, Math.min(byteCount, compressedLimit));
H A DHttp2.java430 long byteCount = hpackBuffer.size();
431 int length = (int) Math.min(maxFrameSize - 4, byteCount);
433 byte flags = byteCount == length ? FLAG_END_HEADERS : 0;
438 if (byteCount > length) writeContinuationFrames(streamId, byteCount - length);
445 long byteCount = hpackBuffer.size();
446 int length = (int) Math.min(maxFrameSize, byteCount);
448 byte flags = byteCount == length ? FLAG_END_HEADERS : 0;
453 if (byteCount > length) writeContinuationFrames(streamId, byteCount
456 writeContinuationFrames(int streamId, long byteCount) argument
482 data(boolean outFinished, int streamId, Buffer source, int byteCount) argument
490 dataFrame(int streamId, byte flags, Buffer buffer, int byteCount) argument
606 read(Buffer sink, long byteCount) argument
[all...]
H A DFrameWriter.java65 * @param source the buffer to draw bytes from. May be null if byteCount is 0.
66 * @param byteCount must be between 0 and the minimum of {code source.length}
69 void data(boolean outFinished, int streamId, Buffer source, int byteCount) throws IOException; argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
H A DFaultyFileSystem.java85 @Override public void write(Buffer source, long byteCount) throws IOException { argument
87 super.write(source, byteCount);
/external/libvncserver/libvncserver/
H A Dstats.c40 void rfbStatRecordEncodingSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw);
41 void rfbStatRecordEncodingRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw);
42 void rfbStatRecordMessageSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw);
43 void rfbStatRecordMessageRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw);
212 void rfbStatRecordEncodingSentAdd(rfbClientPtr cl, uint32_t type, int byteCount) /* Specifically for tight encoding */ argument
218 ptr->bytesSent += byteCount;
222 void rfbStatRecordEncodingSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) argument
230 ptr->bytesSent += byteCount;
235 void rfbStatRecordEncodingRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) argument
243 ptr->bytesRcvd += byteCount;
248 rfbStatRecordMessageSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) argument
261 rfbStatRecordMessageRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw) argument
[all...]
/external/scapy/scapy/contrib/
H A Dmodbus.py52 BitFieldLenField("byteCount", None, 8, count_of="coilStatus"),
53 FieldListField("coilStatus", [0x00], ByteField("", 0x00), count_from=lambda pkt: pkt.byteCount)]
85 BitFieldLenField("byteCount", None, 8, count_of="inputStatus"),
86 FieldListField("inputStatus", [0x00], ByteField("", 0x00), count_from=lambda pkt: pkt.byteCount)]
108 BitFieldLenField("byteCount", None, 8, count_of="registerVal", adjust=lambda pkt, x: x*2),
110 count_from=lambda pkt: pkt.byteCount)]
132 BitFieldLenField("byteCount", None, 8, count_of="registerVal", adjust=lambda pkt, x: x*2),
134 count_from=lambda pkt: pkt.byteCount)]
211 BitFieldLenField("byteCount", None, 8, count_of="outputsValue"),
212 FieldListField("outputsValue", [0x00], XByteField("", 0x00), count_from=lambda pkt: pkt.byteCount)]
[all...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
H A DMSOutlookKeyIdCalculator.java42 private long byteCount; field in class:MSOutlookKeyIdCalculator.GeneralDigest
70 byteCount = t.byteCount;
84 byteCount++;
112 byteCount += xBuf.length;
129 long bitLength = (byteCount << 3);
148 byteCount = 0;
/external/python/cpython2/Mac/Modules/scrap/
H A D_Scrapmodule.c82 Size byteCount; local
88 &byteCount);
91 byteCount);
100 Size byteCount; local
107 &byteCount);
109 _res = PyString_FromStringAndSize(NULL, (int)byteCount);
113 &byteCount,
206 PyDoc_STR("(ScrapFlavorType flavorType) -> (Size byteCount)")},
208 PyDoc_STR("(ScrapFlavorType flavorType, Buffer destination) -> (Size byteCount)")},
/external/toybox/toys/other/
H A Dbzcat.c73 int byteCount[256]; member in struct:bwdata
323 *byteCount, *base, *limit; local
332 byteCount = bw->byteCount;
334 byteCount[ii] = 0;
409 byteCount[uc] += hh;
432 byteCount[uc]++;
456 int *byteCount = bw->byteCount; local
458 // Turn byteCount int
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1ObjectIdentifier.java252 int byteCount = (fieldValue.bitLength() + 6) / 7;
253 if (byteCount == 0)
260 byte[] tmp = new byte[byteCount];
261 for (int i = byteCount - 1; i >= 0; i--)
266 tmp[byteCount - 1] &= 0x7f;
/external/okhttp/okio/okio/src/test/java/okio/
H A DDeflaterSinkTest.java84 int byteCount = Segment.SIZE * 4;
85 deflaterSink.write(new Buffer().writeUtf8(repeat('a', byteCount)), byteCount);
87 assertEquals(repeat('a', byteCount), inflate(buffer).readUtf8(byteCount));
H A DReadUtf8LineTest.java64 @Override public long read(Buffer sink, long byteCount) throws IOException {
65 return super.read(sink, Math.min(1, byteCount));
H A DAsyncTimeoutTest.java184 @Override public void write(Buffer source, long byteCount) throws IOException {
204 @Override public long read(Buffer sink, long byteCount) throws IOException {
225 @Override public void write(Buffer source, long byteCount) throws IOException {
248 @Override public void write(Buffer source, long byteCount) throws IOException {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DCertBlacklist.java100 int byteCount = f.read(buffer);
101 if (byteCount == -1) {
104 bytes.write(buffer, 0, byteCount);
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DProgress.java97 @Override public long read(Buffer sink, long byteCount) throws IOException {
98 long bytesRead = super.read(sink, byteCount);
/external/skqp/src/ports/
H A DSkOSFile_stdio.cpp80 size_t sk_fwrite(const void* buffer, size_t byteCount, FILE* f) { argument
82 return fwrite(buffer, 1, byteCount, f);
/external/dng_sdk/source/
H A Ddng_opcode_list.h142 /// specified offset (streamOffset, in bytes). byteCount is provided for
145 /// match byteCount.
149 uint32 byteCount,
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DImageHeaderParser.java252 final int byteCount = componentCount + BYTES_PER_FORMAT[formatCode];
254 if (byteCount > 4) {
270 if (byteCount < 0 || tagValueOffset + byteCount > segmentData.length()) {
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DMultipartBuilder.java230 long byteCount = 0L;
275 byteCount += contentLength;
289 byteCount += byteCountBuffer.size();
293 return byteCount;
/external/skia/src/core/
H A DSkOSFile.h28 size_t sk_fwrite(const void* buffer, size_t byteCount, FILE*);

Completed in 7781 milliseconds

1234567