/tools/security/fuzzing/orphans/pppd/ |
D | eap_fuzz.proto | 28 required bytes data = 1; 32 required bytes data = 1; 36 required bytes data = 2; 48 required bytes data = 1; 52 required bytes data = 1; 56 required bytes data = 1; 60 required bytes data = 1; 74 required bytes data = 1; 78 required bytes data = 1; 90 required bytes data = 1; [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/ |
D | LittleEndianUtils.java | 46 public static long readUnsigned4Le(@Nonnull ByteBuffer bytes) throws IOException { in readUnsigned4Le() argument 47 Preconditions.checkNotNull(bytes, "bytes == null"); in readUnsigned4Le() 49 if (bytes.remaining() < 4) { in readUnsigned4Le() 50 throw new EOFException("Not enough data: 4 bytes expected, " + bytes.remaining() in readUnsigned4Le() 54 byte b0 = bytes.get(); in readUnsigned4Le() 55 byte b1 = bytes.get(); in readUnsigned4Le() 56 byte b2 = bytes.get(); in readUnsigned4Le() 57 byte b3 = bytes.get(); in readUnsigned4Le() 72 public static int readUnsigned2Le(@Nonnull ByteBuffer bytes) throws IOException { in readUnsigned2Le() argument 73 Preconditions.checkNotNull(bytes, "bytes == null"); in readUnsigned2Le() [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZipField.java | 146 void skip(@Nonnull ByteBuffer bytes) throws IOException { in skip() argument 147 if (bytes.remaining() < size) { in skip() 149 + bytes.remaining() + " remain in the buffer."); in skip() 152 bytes.position(bytes.position() + size); in skip() 163 long read(@Nonnull ByteBuffer bytes) throws IOException { in read() argument 164 if (bytes.remaining() < size) { in read() 166 + bytes.remaining() + " remain in the buffer."); in read() 169 bytes.order(ByteOrder.LITTLE_ENDIAN); in read() 173 r = LittleEndianUtils.readUnsigned2Le(bytes); in read() 175 r = LittleEndianUtils.readUnsigned4Le(bytes); in read() [all …]
|
D | CentralDirectory.java | 224 static CentralDirectory makeFromData(@Nonnull ByteBuffer bytes, int count, @Nonnull ZFile file) in makeFromData() argument 226 Preconditions.checkNotNull(bytes, "bytes == null"); in makeFromData() 233 directory.readEntry(bytes); in makeFromData() 240 + bytes.position() in makeFromData() 281 private void readEntry(@Nonnull ByteBuffer bytes) throws IOException { in readEntry() argument 282 F_SIGNATURE.verify(bytes); in readEntry() 283 long madeBy = F_MADE_BY.read(bytes); in readEntry() 285 long versionNeededToExtract = F_VERSION_EXTRACT.read(bytes); in readEntry() 291 long gpBit = F_GP_BIT.read(bytes); in readEntry() 294 long methodCode = F_METHOD.read(bytes); in readEntry() [all …]
|
D | StoredEntry.java | 357 public int read(byte[] bytes) throws IOException { in read() argument 358 if (bytes.length < getCentralDirectoryHeader().getUncompressedSize()) { in read() 363 return ByteStreams.read(is, bytes, 0, bytes.length); in read() 438 ByteBuffer bytes = ByteBuffer.wrap(localHeader); in readLocalHeader() local 439 F_LOCAL_SIGNATURE.verify(bytes); in readLocalHeader() 440 F_VERSION_EXTRACT.verify(bytes, compressInfo.getVersionExtract(), verifyLog); in readLocalHeader() 441 F_GP_BIT.verify(bytes, cdh.getGpBit().getValue(), verifyLog); in readLocalHeader() 442 F_METHOD.verify(bytes, compressInfo.getMethod().methodCode, verifyLog); in readLocalHeader() 445 F_LAST_MOD_TIME.skip(bytes); in readLocalHeader() 446 F_LAST_MOD_DATE.skip(bytes); in readLocalHeader() [all …]
|
D | EncodeUtils.java | 50 public static String decode(@Nonnull ByteBuffer bytes, int length, @Nonnull GPFlags flags) in decode() argument 52 if (bytes.remaining() < length) { in decode() 53 throw new IOException("Only " + bytes.remaining() + " bytes exist in the buffer, but " in decode() 58 bytes.get(stringBytes); in decode() 109 ByteBuffer bytes = charset.encode(name); in encode() local 110 byte[] result = new byte[bytes.remaining()]; in encode() 111 bytes.get(result); in encode()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4Signature.java | 45 static HashingInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray() argument 46 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() 84 static SigningInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray() argument 85 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() 157 static int bytesSize(byte[] bytes) { in bytesSize() argument 158 return 4/*length*/ + (bytes == null ? 0 : bytes.length); in bytesSize() 187 final byte[] bytes = new byte[size]; in readBytes() 188 readFully(stream, bytes); in readBytes() 189 return bytes; in readBytes() 203 final byte[] bytes = new byte[size]; in readBytes() [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/ |
D | MatchFilterTest.py | 34 MF_NNNNN = bytes([0x0, 0x0, 0x0, 0x0, 0x0]) 35 MF_12345 = bytes([0x1, 0x1, 0x1, 0x2, 0x1, 0x3, 0x1, 0x4, 0x1, 0x5]) 36 MF_12145 = bytes([0x1, 0x1, 0x1, 0x2, 0x1, 0x1, 0x1, 0x4, 0x1, 0x5]) 37 MF_1N3N5 = bytes([0x1, 0x1, 0x0, 0x1, 0x3, 0x0, 0x1, 0x5]) 38 MF_N23N5 = bytes([0x0, 0x1, 0x2, 0x1, 0x3, 0x0, 0x1, 0x5]) 39 MF_N2N4 = bytes([0x0, 0x1, 0x2, 0x0, 0x1, 0x4]) 40 MF_1N3N = bytes([0x1, 0x1, 0x0, 0x1, 0x3, 0x0])
|
D | DiscoveryTest.py | 83 bytes(range(40))]) 189 bytes(discovery_event["data"][ 255 bytes(discovery_event["data"][ 508 bytes(range(40))]) 522 bytes(range(40))]) 1211 bytes(event["data"][ 1221 bytes(event["data"][
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_job_test.py | 18 from builtins import bytes 42 self._stdout = bytes(stdout, 43 'utf-8') if stdout is not None else bytes() 44 self._stderr = bytes(stderr, 45 'utf-8') if stderr is not None else bytes()
|
D | acts_utils_test.py | 465 job.Result(stdout=bytes(MOCK_IP_ADDRESSES, 'utf-8'), 467 job.Result(stdout=bytes(MOCK_IFCONFIG_OUTPUT, 'utf-8'), 476 job.Result(stdout=bytes(MOCK_IP_ADDRESSES, 'utf-8'), 478 job.Result(stdout=bytes(MOCK_IFCONFIG_OUTPUT, 'utf-8'), 487 job.Result(stdout=bytes(MOCK_IP_ADDRESSES, 'utf-8'), 489 job.Result(stdout=bytes(MOCK_IFCONFIG_OUTPUT, 'utf-8'), 499 job.Result(stdout=bytes(MOCK_IP_ADDRESSES, 'utf-8'), 501 job.Result(stdout=bytes(MOCK_IFCONFIG_OUTPUT, 'utf-8'),
|
/tools/treble/hacksaw/config/ |
D | config_test.go | 38 var outputBuffer bytes.Buffer 43 if bytes.Compare(outputBuffer.Bytes(), expectedOutput) != 0 { 59 inputBuffer := bytes.NewBuffer(inputBytes)
|
/tools/test/connectivity/acts/framework/acts/libs/proc/ |
D | job.py | 71 stdout=bytes(), 72 stderr=bytes(), 142 out = bytes() 143 err = bytes()
|
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
D | Asn1Utils.java | 73 public static ASN1Encodable getAsn1EncodableFromBytes(byte[] bytes) in getAsn1EncodableFromBytes() argument 75 try (ASN1InputStream asn1InputStream = new ASN1InputStream(bytes)) { in getAsn1EncodableFromBytes() 82 public static ASN1Sequence getAsn1SequenceFromBytes(byte[] bytes) in getAsn1SequenceFromBytes() argument 84 try (ASN1InputStream asn1InputStream = new ASN1InputStream(bytes)) { in getAsn1SequenceFromBytes()
|
/tools/security/fuzzing/orphans/libffi/ |
D | fuzz_ffi.cc | 119 std::vector<uint8_t> bytes = dataProvider->ConsumeBytes<uint8_t>(type_size); in genArg() local 120 memcpy(ret, bytes.data(), bytes.size()); in genArg()
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/ |
D | nanopb.proto | 2 // - Maximum size of string/bytes 33 // Allocated size for 'bytes' and 'string' fields.
|
/tools/asuite/atest/proto/ |
D | clientanalytics.proto | 21 optional bytes source_extension = 6;
|
/tools/asuite/atest-py2/proto/ |
D | clientanalytics.proto | 21 optional bytes source_extension = 6;
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AndroidJarReader.java | 132 byte[] bytes = ByteStreams.toByteArray(zis); in readJar() 133 ClassReader reader = new ClassReader(bytes); in readJar()
|
/tools/repohooks/rh/ |
D | shell.py | 68 if isinstance(s, bytes):
|
/tools/asuite/atest/tools/ |
D | atest_tools.py | 177 if isinstance(output, bytes): 316 if isinstance(output, bytes):
|
/tools/asuite/atest/tf_proto/ |
D | log_file.proto | 33 // Size of the file in bytes
|
/tools/tradefederation/prebuilts/filegroups/tradefed/ |
D | tradefed-isolation.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE.txt
META ... |
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/protos/ |
D | bluetooth.proto | 129 // bytes transmitted. 132 // bytes transmitted.
|
/tools/asuite/atest/test_runners/ |
D | robolectric_test_runner.py | 172 if isinstance(data, bytes):
|