Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 26) sorted by relevance

12

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZipField.java146 void skip(@Nonnull ByteBuffer bytes) throws IOException { in skip()
163 long read(@Nonnull ByteBuffer bytes) throws IOException { in read()
190 void verify(@Nonnull ByteBuffer bytes) throws IOException { in verify()
204 void verify(@Nonnull ByteBuffer bytes, @Nullable VerifyLog verifyLog) throws IOException { in verify()
218 void verify(@Nonnull ByteBuffer bytes, long expected) throws IOException { in verify()
233 void verify( in verify()
DEncodeUtils.java50 public static String decode(@Nonnull ByteBuffer bytes, int length, @Nonnull GPFlags flags) in decode()
109 ByteBuffer bytes = charset.encode(name); in encode() local
DCentralDirectory.java224 static CentralDirectory makeFromData(@Nonnull ByteBuffer bytes, int count, @Nonnull ZFile file) in makeFromData()
281 private void readEntry(@Nonnull ByteBuffer bytes) throws IOException { in readEntry()
DStoredEntry.java357 public int read(byte[] bytes) throws IOException { in read()
438 ByteBuffer bytes = ByteBuffer.wrap(localHeader); in readLocalHeader() local
DEocd.java124 Eocd(@Nonnull ByteBuffer bytes) throws IOException { in Eocd()
DZFile.java2614 ByteBuffer bytes = ByteBuffer.wrap(comment, i, comment.length - i); in setEocdComment() local
/tools/security/remote_provisioning/hwtrust/src/
Dcbor.rs40 let bytes = [0x82, 0x04, 0x02]; // [4, 2] in value_from_bytes_valid_succeeds() localVariable
49 let bytes = [0x82, 0x04]; in value_from_bytes_truncated_fails() localVariable
55 let bytes = [0x82, 0x04, 0x02, 0x00]; in value_from_bytes_trailing_bytes_fails() localVariable
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtils.java46 public static long readUnsigned4Le(@Nonnull ByteBuffer bytes) throws IOException { in readUnsigned4Le()
72 public static int readUnsigned2Le(@Nonnull ByteBuffer bytes) throws IOException { in readUnsigned2Le()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java49 static HashingInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray()
88 static SigningInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray()
156 public static SigningInfos fromByteArray(byte[] bytes) throws IOException { in fromByteArray()
243 static int bytesSize(byte[] bytes) { in bytesSize()
294 static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes()
303 static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes()
/tools/security/fuzzing/example_java_jni_fuzzer_no_crash/
DExampleJavaJniFuzzer.java31 private native boolean parse(String bytes); in parse()
Dexample_jni.cpp34 JNIEnv *env, jobject o, jstring bytes) { in Java_ExampleJavaJniFuzzer_parse()
/tools/security/fuzzing/example_java_jni_fuzzer/
DExampleJavaJniFuzzer.java31 private native boolean parse(String bytes); in parse()
Dexample_jni.cpp39 JNIEnv *env, jobject o, jstring bytes) { in Java_ExampleJavaJniFuzzer_parse()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAsn1Utils.java73 public static ASN1Encodable getAsn1EncodableFromBytes(byte[] bytes) in getAsn1EncodableFromBytes()
82 public static ASN1Sequence getAsn1SequenceFromBytes(byte[] bytes) in getAsn1SequenceFromBytes()
/tools/metalava/src/main/java/com/android/tools/metalava/
DConvertJarsToSignatureFiles.kt159 val bytes = ByteStreams.toByteArray(`is`) in <lambda>() constant
180 val bytes = file.readBytes() in <lambda>() constant
DExtractAnnotations.kt148 val bytes = writer.contents.toByteArray(UTF_8) in <lambda>() constant
DAnnotationsMerger.kt194 val bytes = ByteStreams.toByteArray(zis) in <lambda>() constant
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DJarReaderUtils.kt46 val bytes = zis.readBytes() in readJar() constant
/tools/netsim/rust/netsim-cxx/src/captures/
Dpcap_util.rs69 let mut bytes = Vec::<u8>::with_capacity(header.len() + length); in append_record() localVariable
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DX509CertificateUtilsTest.java187 private static String getHexEncodedDigestOfBytes(byte[] bytes) in getHexEncodedDigestOfBytes()
/tools/netsim/src/frontend/
Dfrontend_client.cc177 auto bytes = in GetCapture() local
/tools/apksig/src/apksigner/java/com/android/apksigner/
DPasswordRetriever.java301 private static char[] castBytesToChars(byte[] bytes) { in castBytesToChars()
/tools/security/fuzzing/orphans/libffi/
Dfuzz_ffi.cc119 std::vector<uint8_t> bytes = dataProvider->ConsumeBytes<uint8_t>(type_size); in genArg() local
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt1287 val bytes = ByteStreams.toByteArray(stream) in <lambda>() constant
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java749 public static byte[] encodeAsLengthPrefixedElement(byte[] bytes) { in encodeAsLengthPrefixedElement()

12