HomeSort by relevance Sort by last modified time
    Searched defs:byteCount (Results 26 - 50 of 397) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/llvm/lib/Fuzzer/
FuzzerSHA1.cpp 54 uint32_t byteCount;
88 s->byteCount = 0;
148 ++s->byteCount;
167 sha1_addUncounted(s, s->byteCount >> 29); // Shifting to multiply by 8
168 sha1_addUncounted(s, s->byteCount >> 21); // as SHA-1 supports bitstreams as well as
169 sha1_addUncounted(s, s->byteCount >> 13); // byte.
170 sha1_addUncounted(s, s->byteCount >> 5);
171 sha1_addUncounted(s, s->byteCount << 3);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
MultipartBuilder.java 230 long byteCount = 0L;
275 byteCount += contentLength;
289 byteCount += byteCountBuffer.size();
293 return byteCount;
  /external/okhttp/okio/okio/src/test/java/okio/
DeflaterSinkTest.java 84 int byteCount = Segment.SIZE * 4;
85 deflaterSink.write(new Buffer().writeUtf8(repeat('a', byteCount)), byteCount);
87 assertEquals(repeat('a', byteCount), inflate(buffer).readUtf8(byteCount));
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMemoryMappedFile.java 99 @Override public void skip(int byteCount) {
100 buffer.position(buffer.position() + byteCount);
108 @Override public void readByteArray(byte[] dst, int dstOffset, int byteCount) {
109 System.arraycopy(buffer.array(), buffer.position(), dst, dstOffset, byteCount);
110 skip(byteCount);
  /external/vogar/src/vogar/
Md5Cache.java 62 int byteCount;
63 while ((byteCount = in.read(bytes)) > 0) {
64 digester.update(bytes, 0, byteCount);
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
combined_encode.cpp 285 Int byteCount = 0, byteCount1 = 0, bitCount = 0;
368 byteCount1 = byteCount = bitCount >> 3; /* save the position before GOB header */
438 byteCount = bitCount >> 3; /* save the state before encoding */
469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB */
506 if (mbnum < nTotalMB - 1 && currVol->stream->byteCount + bs1->byteCount + 1 >= currVol->stream->bufferSize)
509 byteCount = currVol->stream->bufferSize - currVol->stream->byteCount - 1;
511 num_bits = BitstreamGetPos(bs1) - (byteCount << 3);
512 BitstreamRepos(bs1, byteCount, 0)
    [all...]
  /frameworks/base/packages/PrintSpooler/jni/
com_android_printspooler_util_BitmapSerializeUtils.cpp 29 static bool writeAllBytes(const int fd, void* buffer, const size_t byteCount) {
31 size_t remainingBytes = byteCount;
48 static bool readAllBytes(const int fd, void* buffer, const size_t byteCount) {
50 size_t remainingBytes = byteCount;
67 byteCount);
123 size_t byteCount = readInfo.stride * readInfo.height;
124 read = readAllBytes(fd, (void*) pixels, byteCount);
162 size_t byteCount = info.stride * info.height;
163 written = writeAllBytes(fd, (void*) pixels, byteCount);
  /libcore/ojluni/src/main/native/
Character.cpp 157 int32_t byteCount = u_charName(codePoint, nameType, &buf[0], sizeof(buf), &status);
158 return (U_FAILURE(status) || byteCount == 0) ? NULL : env->NewStringUTF(buf);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
byte_array_utils.h 235 int byteCount = 0;
243 byteCount += 3;
246 byteCount += 1;
251 byteCount += 1;
253 return byteCount;
  /tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
ByteBufferBerDataValueReader.java 132 int byteCount = firstLengthByte & 0x7f;
133 if (byteCount > 4) {
134 throw new BerDataValueFormatException("Length too large: " + byteCount + " bytes");
137 for (int i = 0; i < byteCount; i++) {
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
NativeLeakCollector.java 114 int byteCount = msgBytes.length;
115 receiver.addOutput(msgBytes, 0, byteCount);
  /cts/tests/netlegacy22.permission/src/android/net/cts/legacy/api22/permission/
QtaguidPermissionTest.java 85 final int byteCount = 1024;
98 byte[] buf = new byte[byteCount];
116 byte[] buf = new byte[byteCount];
118 while (read < byteCount * packetCount) {
  /cts/tests/tests/media/src/android/media/cts/
MidiSoloTest.java 49 public int byteCount;
62 System.arraycopy(msg, offset, data, byteCount, count);
66 byteCount += count;
71 byteCount = 0;
192 assertEquals("MidiReceiver flush ", 0, myReceiver.byteCount);
195 assertEquals("MidiReceiver count ", count, myReceiver.byteCount);
  /dalvik/dx/src/com/android/dex/
TableOfContents.java 160 section.byteCount = end - section.off;
223 public int byteCount = 0;
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
MSOutlookKeyIdCalculator.java 42 private long byteCount;
70 byteCount = t.byteCount;
84 byteCount++;
112 byteCount += xBuf.length;
129 long bitLength = (byteCount << 3);
148 byteCount = 0;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1ObjectIdentifier.java 252 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
SICBlockCipher.java 26 private int byteCount;
42 this.byteCount = 0;
102 if (byteCount == 0)
106 return (byte)(counterOut[byteCount++] ^ in);
109 byte rv = (byte)(counterOut[byteCount++] ^ in);
111 if (byteCount == counter.length)
113 byteCount = 0;
178 long numBlocks = (n + byteCount) / blockSize;
196 byteCount = (int)((n + byteCount) - (blockSize * numBlocks))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
CertBlacklist.java 100 int byteCount = f.read(buffer);
101 if (byteCount == -1) {
104 bytes.write(buffer, 0, byteCount);
  /external/conscrypt/platform/src/main/java/org/conscrypt/
CertBlacklist.java 107 int byteCount = f.read(buffer);
108 if (byteCount == -1) {
111 bytes.write(buffer, 0, byteCount);
  /external/dng_sdk/source/
dng_gain_map.cpp 512 uint32 byteCount = stream.Get_uint32 ();
520 if (stream.Position () != startPosition + byteCount)
  /external/icu/icu4c/source/test/cintltst/
ucsdetst.c 74 int32_t byteCount = preflight(src, length, cnv);
76 char *bytes = NEW_ARRAY(char, byteCount + 1);
77 char *dest = bytes, *destLimit = bytes + byteCount + 1;
82 *byteLength = byteCount;
  /external/icu/icu4c/source/test/intltest/
tscoll.cpp 369 int32_t i, byteCount;
370 const uint8_t *bytes = source.getByteArray(byteCount);
375 for (i = 0; i < byteCount; i += 1)
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UnicodeCompressor.java 331 int byteCount = comp.compress(buffer, start, limit, null,
334 byte [] result = new byte [byteCount];
335 System.arraycopy(temp, 0, result, 0, byteCount);
    [all...]
  /external/okhttp/okio/okio/src/main/java/okio/
RealBufferedSink.java 42 @Override public void write(Buffer source, long byteCount)
45 buffer.write(source, byteCount);
93 @Override public BufferedSink write(byte[] source, int offset, int byteCount) throws IOException {
95 buffer.write(source, offset, byteCount);
109 @Override public BufferedSink write(Source source, long byteCount) throws IOException {
110 while (byteCount > 0) {
111 long read = source.read(buffer, byteCount);
113 byteCount -= read;
175 long byteCount = buffer.completeSegmentByteCount();
176 if (byteCount > 0) sink.write(buffer, byteCount)
    [all...]
  /external/python/cpython2/Mac/Modules/scrap/
_Scrapmodule.c 82 Size byteCount;
88 &byteCount);
91 byteCount);
100 Size byteCount;
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)")},

Completed in 2127 milliseconds

12 3 4 5 6 7 8 91011>>