HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 376 - 400 of 3342) sorted by null

<<11121314151617181920>>

  /external/elfutils/lib/
md5.c 44 /* This array contains the bytes used to pad the buffer to the next
63 /* Put result from CTX in first 16 bytes following RESBUF. The result
89 /* Process the remaining bytes in the internal buffer and the usual
97 /* Take yet unprocessed bytes into account. */
98 md5_uint32 bytes = ctx->buflen; local
101 /* Now count remaining bytes. */
102 ctx->total[0] += bytes;
103 if (ctx->total[0] < bytes)
106 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes
    [all...]
sha1.c 44 /* This array contains the bytes used to pad the buffer to the next
63 /* Put result from CTX in first 20 bytes following RESBUF. The result
87 /* Process the remaining bytes in the internal buffer and the usual
95 /* Take yet unprocessed bytes into account. */
96 sha1_uint32 bytes = ctx->buflen; local
99 /* Now count remaining bytes. */
100 ctx->total[0] += bytes;
101 if (ctx->total[0] < bytes)
104 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes
    [all...]
  /external/gptfdisk/
diskio-unix.cc 295 // size with the number of bytes read.
296 // Returns the number of bytes read into buffer.
338 // size with the number of bytes read.
339 // Returns the number of bytes written.
393 off_t bytes = 0; // size in bytes local
422 *err = ioctl(fd, DIOCGMEDIASIZE, &bytes);
424 sectors = bytes / b;
454 bytes = st.st_size;
455 if ((bytes % UINT64_C(512)) != 0
    [all...]
diskio-windows.cc 213 // size with the number of bytes read.
214 // Returns the number of bytes read into buffer.
258 // Returns the number of bytes written.
307 DWORD bytes, moreBytes; // low- and high-order bytes of file size local
326 bytes = GetFileSize(fd, &moreBytes);
327 sectors = ((uint64_t) bytes + ((uint64_t) moreBytes) * UINT32_MAX) / GetBlockSize();
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 35 private final int bytes; field in class:MessageDigestHashFunction
41 this.bytes = prototype.getDigestLength();
46 MessageDigestHashFunction(String algorithmName, int bytes, String toString) {
50 checkArgument(bytes >= 4 && bytes <= maxLength,
51 "bytes (%s) must be >= 4 and < %s", bytes, maxLength);
52 this.bytes = bytes;
66 return bytes * Byte.SIZE
94 private final int bytes; field in class:MessageDigestHashFunction.SerializedForm
120 private final int bytes; field in class:MessageDigestHashFunction.MessageDigestHasher
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
AbstractByteHasherTest.java 70 byte[] bytes = new byte[64];
71 random.nextBytes(bytes);
72 String s = new String(bytes, UTF_16LE); // so all random strings are valid
127 byte[] bytes() { method in class:AbstractByteHasherTest.TestHasher
132 assertArrayEquals(expected, bytes());
137 return HashCode.fromBytesNoCopy(bytes());
  /external/guava/guava-tests/test/com/google/common/io/
ByteSinkTest.java 37 private final byte[] bytes = newPreFilledByteArray(10000); field in class:ByteSinkTest
60 sink.write(bytes);
63 assertArrayEquals(bytes, sink.getBytes());
67 ByteArrayInputStream in = new ByteArrayInputStream(bytes);
71 assertArrayEquals(bytes, sink.getBytes());
  /external/icu/android_icu4j/src/main/java/android/icu/text/
BreakIteratorFactory.java 132 ByteBuffer bytes = null; local
145 bytes = ICUBinary.getData(rulesFileName);
155 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes);
DictionaryData.java 51 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); local
52 ICUBinary.readHeader(bytes, DATA_FORMAT_ID, null);
56 indexes[i] = bytes.getInt();
62 ICUBinary.skipBytes(bytes, diff);
70 bytes.get(data);
74 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
Normalizer2.java 56 * (to process only the substring for which sort key bytes are computed).
183 ByteBuffer bytes = null; local
186 bytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(data);
191 Norm2AllModes all2Modes=Norm2AllModes.getInstance(bytes, name);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
BytesTrieBuilder.java 32 // Used in add() to wrap the bytes into a CharSequence for StringTrieBuilder.addImpl().
49 * Bytes 0..length-1 will be copied; the builder does not keep
77 return new BytesTrie(bytes, bytes.length-bytesLength);
89 * <em>Do not modify the bytes in the buffer!</em>
100 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength);
105 if(bytes==null) {
106 bytes=new byte[1024];
118 bytes=null
305 private byte[] bytes; field in class:BytesTrieBuilder
    [all...]
  /external/icu/icu4c/source/io/
ufmt_cmn.c 175 uint8_t bytes[sizeof(void*)]; member in union:__anon20033
219 result.bytes[resultIdx] = byte;
  /external/icu/icu4c/source/test/intltest/
convtest.h 40 const uint8_t *bytes; member in struct:ConversionCase
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
BreakIteratorFactory.java 131 ByteBuffer bytes = null; local
144 bytes = ICUBinary.getData(rulesFileName);
154 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes);
DictionaryData.java 50 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); local
51 ICUBinary.readHeader(bytes, DATA_FORMAT_ID, null);
55 indexes[i] = bytes.getInt();
61 ICUBinary.skipBytes(bytes, diff);
69 bytes.get(data);
73 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
Normalizer2.java 55 * (to process only the substring for which sort key bytes are computed).
194 ByteBuffer bytes = null; local
197 bytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(data);
202 Norm2AllModes all2Modes=Norm2AllModes.getInstance(bytes, name);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
BytesTrieBuilder.java 32 // Used in add() to wrap the bytes into a CharSequence for StringTrieBuilder.addImpl().
49 * Bytes 0..length-1 will be copied; the builder does not keep
79 return new BytesTrie(bytes, bytes.length-bytesLength);
91 * <em>Do not modify the bytes in the buffer!</em>
103 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength);
108 if(bytes==null) {
109 bytes=new byte[1024];
122 bytes=null
309 private byte[] bytes; field in class:BytesTrieBuilder
    [all...]
  /external/iptables/include/linux/netfilter/
xt_sctp.h 38 #define bytes(type) (sizeof(type) * 8) macro
42 (chunkmap)[type / bytes(__u32)] |= \
43 1 << (type % bytes(__u32)); \
48 (chunkmap)[type / bytes(__u32)] &= \
49 ~(1 << (type % bytes(__u32))); \
54 ((chunkmap)[type / bytes (__u32)] & \
55 (1 << (type % bytes (__u32)))) ? 1: 0; \
  /external/kernel-headers/original/uapi/linux/netfilter/
xt_sctp.h 38 #define bytes(type) (sizeof(type) * 8) macro
42 (chunkmap)[type / bytes(__u32)] |= \
43 1 << (type % bytes(__u32)); \
48 (chunkmap)[type / bytes(__u32)] &= \
49 ~(1 << (type % bytes(__u32))); \
54 ((chunkmap)[type / bytes (__u32)] & \
55 (1 << (type % bytes (__u32)))) ? 1: 0; \
  /external/libchrome/dbus/
property.cc 548 const uint8_t* bytes = NULL; local
550 if (!variant_reader.PopArrayOfBytes(&bytes, &length))
552 value_.assign(bytes, bytes + length);
631 const uint8_t* bytes = NULL; local
633 if (!struct_reader.PopArrayOfBytes(&bytes, &length))
635 entry.first.assign(bytes, bytes + length);
  /external/libcups/cups/
debug.c 93 ssize_t bytes; /* Number of bytes in buffer */ local
143 bytes = _cups_safe_vsnprintf(buffer + 19, sizeof(buffer) - 20, format, ap) + 19;
146 if ((size_t)bytes >= (sizeof(buffer) - 1))
149 bytes = sizeof(buffer) - 1;
151 else if (buffer[bytes - 1] != '\n')
153 buffer[bytes++] = '\n';
154 buffer[bytes] = '\0';
162 write(_cups_debug_fd, buffer, (size_t)bytes);
176 ssize_t bytes; /* Number of bytes in buffer * local
346 ssize_t bytes; \/* Total number of bytes needed *\/ local
    [all...]
request.c 111 ssize_t bytes; /* Number of bytes read/written */ local
228 while ((bytes = read(infile, buffer, sizeof(buffer))) > 0)
230 if ((status = cupsWriteRequestData(http, buffer, (size_t)bytes))
262 while ((bytes = httpRead2(http, buffer, sizeof(buffer))) > 0)
263 if (write(outfile, buffer, (size_t)bytes) < bytes)
539 ssize_t /* O - Bytes read, 0 on EOF, -1 on error */
543 size_t length) /* I - Number of bytes to read */
898 const char *buffer, /* I - Bytes to write *
    [all...]
testcups.c 194 ssize_t bytes; /* Bytes read/written */ local
219 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0)
221 printf("Writing %d bytes...\n", (int)bytes);
223 if (cupsWriteRequestData(CUPS_HTTP_DEFAULT, buffer, (size_t)bytes) != HTTP_STATUS_CONTINUE)
225 puts("Unable to write bytes!");
testdest.c 385 ssize_t bytes; /* Bytes read/to write */ local
415 while ((bytes = cupsFileRead(fp, buffer, sizeof(buffer))) > 0)
417 if (cupsWriteRequestData(http, buffer, (size_t)bytes) != HTTP_STATUS_CONTINUE)
  /external/libcups/filter/
rastertohp.c 429 unsigned length, /* I - Number of bytes */
437 unsigned count; /* Count of bytes for output */
562 bytes, /* Bytes to write */ local
563 count; /* Bytes to convert */
585 bytes = (header->cupsWidth + 7) / 8;
594 CompressData(Planes[plane], bytes, plane < (NumPlanes - 1) ? 'V' : 'W',
622 bit_ptr[bytes] = bit1;
629 CompressData(BitBuffer, bytes, 'V', header->cupsCompression);
630 CompressData(BitBuffer + bytes, bytes, plane < (NumPlanes - 1) ? 'V' : 'W'
    [all...]

Completed in 1051 milliseconds

<<11121314151617181920>>