/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
Unknown.java | 43 private byte[] bytes; field in class:Unknown 71 * @param length Content length in bytes 72 * @param bytes Attribute contents 75 public Unknown(final int name_index, final int length, final byte[] bytes, final ConstantPool constant_pool) { 77 this.bytes = bytes; 88 * @param length Content length in bytes 97 bytes = new byte[length]; 98 input.readFully(bytes); 117 * Dump unknown bytes to file stream [all...] |
Utility.java | 142 * <EM>(number of opcodes, not bytes!)</EM> 176 * @param bytes stream of bytes 181 * @throws IOException if a failure from reading from the bytes argument occurs 183 public static String codeToString( final ByteSequence bytes, final ConstantPool constant_pool, 185 final short opcode = (short) bytes.readUnsignedByte(); 198 /* Special case: Skip (0-3) padding bytes, i.e., the 199 * following bytes are 4-byte-aligned 202 final int remainder = bytes.getIndex() % 4; 206 if ((b = bytes.readByte()) != 0) [all...] |
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
INVOKEINTERFACE.java | 86 protected void initFromFile( final ByteSequence bytes, final boolean wide ) throws IOException { 87 super.initFromFile(bytes, wide); 89 nargs = bytes.readUnsignedByte(); 90 bytes.readByte(); // Skip 0 byte
|
LDC.java | 90 protected void initFromFile( final ByteSequence bytes, final boolean wide ) throws IOException { 92 super.setIndex(bytes.readUnsignedByte());
|
/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/ec/ |
p256-x86_64_test.cc | 62 EXPECT_EQ(Bytes(reinterpret_cast<const char *>(&expected), sizeof(expected)), 63 Bytes(reinterpret_cast<const char *>(&val), sizeof(val))); 91 EXPECT_EQ(Bytes(reinterpret_cast<const char *>(&expected), sizeof(expected)), 92 Bytes(reinterpret_cast<const char *>(&val), sizeof(val))); 150 OPENSSL_memcpy(in_scalar.bytes, in, sizeof(in)); 151 OPENSSL_memcpy(out_scalar.bytes, out, sizeof(out)); 170 std::vector<uint8_t> bytes; local 171 if (!t->GetBytes(&bytes, name)) { 175 if (bytes.size() != BN_BYTES * P256_LIMBS) { 180 // |byte| contains bytes in big-endian while |out| should contain |BN_ULONG| [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1BitString.java | 74 * @return the correct number of bytes for a bit string defined in 84 int bytes = 4; local 91 bytes--; 94 byte[] result = new byte[bytes]; 95 for (int i = 0; i < bytes; i++)
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
ASN1BitString.java | 77 * @return the correct number of bytes for a bit string defined in 87 int bytes = 4; local 94 bytes--; 97 byte[] result = new byte[bytes]; 98 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/deqp-deps/SPIRV-Tools/test/ |
unit_spirv.h | 55 unsigned char bytes[4]; member in union:__anon20535
|
/external/e2fsprogs/debugfs/ |
dump.c | 215 unsigned bytes = inode->i_size; local 224 retval = ext2fs_file_read(e2_file, p, bytes, &got); 229 bytes -= got; 231 if (got == 0 || bytes == 0)
|
/external/elfutils/libebl/ |
eblobjnote.c | 206 /* In most cases the value comes right after the encoding bytes. */ 250 size_t bytes = namesz - (value - name); local 252 if (bytes == 1) 254 else if (bytes == 2) 256 else if (bytes == 4) 258 else if (bytes == 8) 524 /* Normally NT_GNU_ABI_TAG is just 4 words (16 bytes). If it
|
/external/epid-sdk/epid/member/src/ |
nrprove.c | 45 unsigned char* bytes = (unsigned char*)elem_str; local 46 if (!bytes) { 51 if (0 != bytes[i]) return false;
|
/external/epid-sdk/example/util/src/ |
bufutil.c | 249 unsigned char* bytes = (unsigned char*)buffer; local 328 log_fmt("%02x", (int)bytes[byte_offset]); 348 unsigned char ch = bytes[byte_offset];
|
/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/grpc-grpc/include/grpc/impl/codegen/ |
slice.h | 32 A slice represents a contiguous reference counted array of bytes. 65 by this many bytes */ 72 s.bytes[0..s.length-1]. 84 uint8_t* bytes; member in struct:grpc_slice::grpc_slice_data::grpc_slice_refcounted 89 uint8_t bytes[GRPC_SLICE_INLINED_SIZE]; member in struct:grpc_slice::grpc_slice_data::grpc_slice_inlined 117 ((slice).refcount ? (slice).data.refcounted.bytes \ 118 : (slice).data.inlined.bytes) 133 ((slice).refcount ? (slice).data.refcounted.bytes \ 134 : (slice).data.inlined.bytes)
|
/external/grpc-grpc/test/core/tsi/alts/frame_protector/ |
frame_handler_test.cc | 80 static size_t deframe(frame_handler* handler, unsigned char* bytes, 82 GPR_ASSERT(alts_reset_frame_reader(handler->reader, bytes)); 100 unsigned char* bytes = local 102 size_t deframed_payload_length = deframe(handler, bytes, read_length); 104 GPR_ASSERT(memcmp(payload, bytes, payload_length) == 0); 105 gpr_free(bytes); 164 unsigned char* bytes = local 166 GPR_ASSERT(alts_reset_frame_reader(handler->reader, bytes)); 172 gpr_free(bytes); 183 unsigned char* bytes local 209 unsigned char* bytes = local 222 unsigned char* bytes = local [all...] |
/external/grpc-grpc/test/core/util/ |
trickle_endpoint.cc | 179 size_t bytes = static_cast<size_t>(te->bytes_per_second * elapsed); local 180 // gpr_log(GPR_DEBUG, "%lf elapsed --> %" PRIdPTR " bytes", elapsed, bytes); 181 if (bytes > 0) { 183 GPR_MIN(bytes, te->write_buffer.length),
|
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/ |
HandlerRegistryBenchmark.java | 106 char[] bytes = new char[nameLength]; local 109 bytes[ix] = VALID_CHARACTERS.charAt(charIx); 111 return new String(bytes);
|
/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());
|