HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 301 - 325 of 2623) sorted by null

<<11121314151617181920>>

  /external/elfutils/lib/
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 293 // size with the number of bytes read.
294 // Returns the number of bytes read into buffer.
336 // size with the number of bytes read.
337 // Returns the number of bytes written.
391 off_t bytes = 0; // size in bytes local
420 *err = ioctl(fd, DIOCGMEDIASIZE, &bytes);
422 sectors = bytes / b;
452 bytes = st.st_size;
453 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 124 ByteBuffer bytes = null; local
136 bytes = ICUBinary.getData(rulesFileName);
146 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes);
DictionaryData.java 49 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); local
50 ICUBinary.readHeader(bytes, DATA_FORMAT_ID, null);
54 indexes[i] = bytes.getInt();
60 ICUBinary.skipBytes(bytes, diff);
68 bytes.get(data);
72 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
Normalizer2.java 54 * (to process only the substring for which sort key bytes are computed).
181 ByteBuffer bytes = null; local
184 bytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(data);
189 Norm2AllModes all2Modes=Norm2AllModes.getInstance(bytes, name);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
BytesTrieBuilder.java 30 // Used in add() to wrap the bytes into a CharSequence for StringTrieBuilder.addImpl().
47 * Bytes 0..length-1 will be copied; the builder does not keep
75 return new BytesTrie(bytes, bytes.length-bytesLength);
87 * <em>Do not modify the bytes in the buffer!</em>
98 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength);
103 if(bytes==null) {
104 bytes=new byte[1024];
116 bytes=null
303 private byte[] bytes; field in class:BytesTrieBuilder
    [all...]
  /external/icu/icu4c/source/io/
ufmt_cmn.c 173 uint8_t bytes[sizeof(void*)]; member in union:__anon11973
217 result.bytes[resultIdx] = byte;
  /external/icu/icu4c/source/test/intltest/
convtest.h 38 const uint8_t *bytes; member in struct:ConversionCase
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
BreakIteratorFactory.java 123 ByteBuffer bytes = null; local
135 bytes = ICUBinary.getData(rulesFileName);
145 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes);
DictionaryData.java 48 ByteBuffer bytes = ICUBinary.getRequiredData(dictFileName); local
49 ICUBinary.readHeader(bytes, DATA_FORMAT_ID, null);
53 indexes[i] = bytes.getInt();
59 ICUBinary.skipBytes(bytes, diff);
67 bytes.get(data);
71 String data = ICUBinary.getString(bytes, totalSize / 2, totalSize & 1);
Normalizer2.java 53 * (to process only the substring for which sort key bytes are computed).
192 ByteBuffer bytes = null; local
195 bytes = ICUBinary.getByteBufferFromInputStreamAndCloseStream(data);
200 Norm2AllModes all2Modes=Norm2AllModes.getInstance(bytes, name);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
BytesTrieBuilder.java 30 // Used in add() to wrap the bytes into a CharSequence for StringTrieBuilder.addImpl().
47 * 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>
101 return ByteBuffer.wrap(bytes, bytes.length-bytesLength, bytesLength);
106 if(bytes==null) {
107 bytes=new byte[1024];
120 bytes=null
307 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/jetty/src/java/org/eclipse/jetty/server/
HttpWriter.java 139 int bytes=out._bytes.getCount(); local
141 if (chars>buffer.length-bytes)
142 chars=buffer.length-bytes;
147 buffer[bytes++]=(byte)(c<256?c:'?'); // ISO-1 and UTF-8 match for 0 - 255
149 if (bytes>=0)
150 out._bytes.setCount(bytes);
158 int bytes=out._bytes.getCount(); local
160 if (bytes+chars>buffer.length)
161 chars=buffer.length-bytes;
193 if (bytes>=buffer.length
    [all...]
  /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 550 const uint8_t* bytes = NULL; local
552 if (!variant_reader.PopArrayOfBytes(&bytes, &length))
554 value_.assign(bytes, bytes + length);
633 const uint8_t* bytes = NULL; local
635 if (!struct_reader.PopArrayOfBytes(&bytes, &length))
637 entry.first.assign(bytes, bytes + length);
  /external/libedit/src/
read.c 196 /* FIONREAD attempts to buffer up multiple bytes, and to make that work
319 int bytes = 0; local
356 if ((bytes = ct_mbtowc(cp, cbuf, cbp)) == -1) {
369 (bytes = ct_mbtowc(cp, cbuf, cbp)) != 1)
373 if ((el->el_flags & IGNORE_EXTCHARS) && bytes > 1) {
  /external/libevent/
event_iocp.c 75 DWORD bytes=0; local
76 int ok = GetQueuedCompletionStatus(p, &bytes, &key,
89 handle_entry(overlapped, key, bytes, ok);
115 DWORD bytes=0; local
119 &bytes, NULL, NULL);
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/
DataInputStream.java 100 int bytes = readUnsignedShort(); local
103 while (bytes > 0) {
104 bytes -= readUtfChar(sb);
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/
StringByteBuffer.java 204 int bytes = 0; local
206 bytes = bytes << 8;
207 bytes = bytes | (get(baseOffset + i) & 0xFF);
209 return bytes;
213 short bytes = 0; local
214 bytes = (short)(get(baseOffset + 1) << 8);
215 bytes |= (get(baseOffset) & 0xFF);
216 return bytes;
    [all...]
  /external/libopus/src/
opus.c 174 int i, bytes; local
214 bytes = parse_size(data, len, size);
215 len -= bytes;
218 data += bytes;
256 bytes = parse_size(data, len, size+i);
257 len -= bytes;
260 data += bytes;
261 last_size -= bytes+size[i];
279 bytes = parse_size(data, len, size+count-1);
280 len -= bytes;
    [all...]

Completed in 584 milliseconds

<<11121314151617181920>>