HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 401 - 425 of 3210) sorted by null

<<11121314151617181920>>

  /dalvik/dx/src/com/android/dx/cf/direct/
AttributeListParser.java 57 * @param offset offset in {@code bytes} to the start of the list
126 ByteArray bytes = cf.getBytes(); local
129 observer.parsed(bytes, offset, 2,
136 observer.parsed(bytes, at, 0,
149 observer.parsed(bytes, at, 0,
CodeObserver.java 40 private final ByteArray bytes; field in class:CodeObserver
48 * @param bytes {@code non-null;} actual array of bytecode
51 public CodeObserver(ByteArray bytes, ParseObserver observer) {
52 if (bytes == null) {
53 throw new NullPointerException("bytes == null");
60 this.bytes = bytes;
67 observer.parsed(bytes, offset, length, header(offset));
73 observer.parsed(bytes, offset, length, header(offset));
94 observer.parsed(bytes, offset, length
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
DotDumper.java 45 private final byte[] bytes; field in class:DotDumper
52 static void dump(byte[] bytes, String filePath, Args args) {
53 new DotDumper(bytes, filePath, args).run();
56 DotDumper(byte[] bytes, String filePath, Args args) {
57 this.bytes = bytes;
66 ByteArray ba = new ByteArray(bytes);
98 public void parsed(ByteArray bytes, int offset, int len, String human) {
104 public void startParsingMember(ByteArray bytes, int offset, String name,
110 public void endParsingMember(ByteArray bytes, int offset, String name
    [all...]
  /dalvik/dx/src/com/android/dx/util/
ByteArray.java 32 private final byte[] bytes; field in class:ByteArray
37 /** {@code >= 0, <= bytes.length}; size computed as
44 * @param bytes {@code non-null;} the underlying array
46 * @param end {@code >= start, <= bytes.length;} end index of
49 public ByteArray(byte[] bytes, int start, int end) {
50 if (bytes == null) {
51 throw new NullPointerException("bytes == null");
62 if (end > bytes.length) {
63 throw new IllegalArgumentException("end > bytes.length");
66 this.bytes = bytes
    [all...]
  /device/google/contexthub/firmware/os/core/
heap.c 237 int bytes = 0; local
249 bytes += node->size + sizeof(struct HeapNode);
255 return bytes;
262 int bytes = 0; local
272 bytes += node->size + sizeof(struct HeapNode);
277 return bytes;
  /external/adhd/cras/src/common/
cras_audio_format.h 118 /* Returns the number of bytes per sample.
123 const int bytes = PCM_FORMAT_WIDTH(fmt->format) / 8; local
124 return (size_t)bytes * fmt->num_channels;
  /external/boringssl/src/crypto/cipher_extra/
e_aesctrhmac.c 110 uint8_t bytes[8]; local
112 for (i = 0; i < sizeof(bytes); i++) {
113 bytes[i] = value & 0xff;
116 SHA256_Update(sha256, bytes, sizeof(bytes));
156 // bytes is pointless. However, |CRYPTO_ctr128_encrypt| requires it.
  /external/boringssl/src/crypto/fipsmodule/ecdsa/
ecdsa_test.cc 249 std::vector<uint8_t> bytes(order_len, 0xff);
250 ASSERT_TRUE(BN_bin2bn(bytes.data(), bytes.size(), sig->r));
251 ASSERT_TRUE(BN_bin2bn(bytes.data(), bytes.size(), sig->s));
313 std::vector<uint8_t> bytes; local
314 if (!t->GetBytes(&bytes, key)) {
318 return bssl::UniquePtr<BIGNUM>(BN_bin2bn(bytes.data(), bytes.size(), nullptr));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1BitString.java 73 * @return the correct number of bytes for a bit string defined in
83 int bytes = 4; local
90 bytes--;
93 byte[] result = new byte[bytes];
94 for (int i = 0; i < bytes; i++)
  /external/caliper/examples/src/main/java/examples/
CopyArrayBenchmark.java 297 @Benchmark int bytes(int reps) { method in class:CopyArrayBenchmark
  /external/capstone/bindings/python/pyx/
ccapstone.pyx 86 # return instruction's machine bytes (which should have @size bytes).
88 def bytes(self): member in class:CsInsn
89 return bytearray(self._raw.bytes[:self._raw.size])
  /external/curl/src/
tool_sdecls.h 56 * 'bytes' member represents amount written so far.
73 curl_off_t bytes; member in struct:OutStruct
  /external/e2fsprogs/debugfs/
dump.c 216 unsigned bytes = inode->i_size; local
225 retval = ext2fs_file_read(e2_file, p, bytes, &got);
230 bytes -= got;
232 if (got == 0 || bytes == 0)
  /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.cpp 175 uint8_t bytes[sizeof(void*)]; member in union:__anon21511
219 result.bytes[resultIdx] = byte;

Completed in 575 milliseconds

<<11121314151617181920>>