Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 51) sorted by relevance

123

/tools/apksig/src/test/java/com/android/apksig/internal/util/
DChainedDataSourceTest.java72 ByteBuffer buffer = mChain.getByteBuffer(begin, size); in getByteBufferFromAllPossibleRanges() local
90 ByteBuffer buffer = ByteBuffer.allocate(size); in copyTo() local
107 ByteBuffer buffer = mChain.slice(begin, size).getByteBuffer(0, size); in slice() local
116 private void assertByteBufferEquals(ByteBuffer buffer, ByteBuffer buffer2) { in assertByteBufferEquals()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java50 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
61 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
92 static SigningInfo fromByteBuffer(ByteBuffer buffer) throws IOException { in fromByteBuffer()
107 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
127 static SigningInfoBlock fromByteBuffer(ByteBuffer buffer) throws IOException { in fromByteBuffer()
135 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
157 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
229 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in getSignedData() local
247 static void readFully(InputStream stream, byte[] buffer) throws IOException { in readFully()
281 static byte[] readBytes(ByteBuffer buffer) throws IOException { in readBytes()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java256 static void assertByteOrderLittleEndian(ByteBuffer buffer) { in assertByteOrderLittleEndian()
262 public static int getUnsignedInt16(ByteBuffer buffer, int offset) { in getUnsignedInt16()
266 public static int getUnsignedInt16(ByteBuffer buffer) { in getUnsignedInt16()
310 static void setUnsignedInt16(ByteBuffer buffer, int offset, int value) { in setUnsignedInt16()
317 static void setUnsignedInt32(ByteBuffer buffer, int offset, long value) { in setUnsignedInt32()
324 public static void putUnsignedInt16(ByteBuffer buffer, int value) { in putUnsignedInt16()
331 static long getUnsignedInt32(ByteBuffer buffer, int offset) { in getUnsignedInt32()
335 static long getUnsignedInt32(ByteBuffer buffer) { in getUnsignedInt32()
339 static void putUnsignedInt32(ByteBuffer buffer, long value) { in putUnsignedInt32()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
Dtransformers.py53 def _transform_buffer(self, buffer): argument
112 def _transform_buffer(self, buffer): argument
150 def _transform_buffer(self, buffer): argument
196 def _transform_buffer(self, buffer): argument
Dtransformer.py68 def _transform_buffer(self, buffer): argument
141 def _transform_buffer(self, buffer): argument
185 def _transform_buffer(self, buffer): argument
207 def _transform_buffer(self, buffer): argument
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
Dstock_transformers.py85 def _transform_buffer(self, buffer): argument
154 def _transform_buffer(self, buffer): argument
161 def _transform_buffer(self, buffer): argument
209 def _transform_buffer(self, buffer): argument
349 def _transform_buffer(self, buffer): argument
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSparseImageUtilTest.java82 ByteBuffer buffer = ByteBuffer.allocate(4096); in getSparseImageData() local
131 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); in getLoremIpsum() local
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DStreamAdapter.kt37 val buffer = ByteArray(2 * 1024 * 1024) in next() constant
/tools/netsim/src/util/
Dlog.cc25 const char *buffer) { in BtsLogDefault()
71 char buffer[255]; in __BtsLog() local
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DByteBufferDataSource.java36 public ByteBufferDataSource(ByteBuffer buffer) { in ByteBufferDataSource()
44 private ByteBufferDataSource(ByteBuffer buffer, boolean sliceRequired) { in ByteBufferDataSource()
DByteBufferSink.java31 public ByteBufferSink(ByteBuffer buffer) { in ByteBufferSink()
DVerityTreeBuilder.java245 final ByteBuffer buffer = ByteBuffer.allocate(bufferSizeChunks * CHUNK_SIZE); in digestDataByChunks() local
295 private static ByteBuffer slice(ByteBuffer buffer, int begin, int end) { in slice()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dtransformers.py122 def _transform_buffer(self, buffer): argument
199 def _transform_buffer(self, buffer): argument
271 def _transform_buffer(self, buffer): argument
416 def _transform_buffer(self, buffer): argument
/tools/netsim/src/hci/
Drust_device.cc41 std::vector<uint8_t> buffer(packet.begin(), packet.end()); in SendLinkLayerLePacket() local
/tools/netsim/rust/daemon/src/transport/
Duci.rs41 let mut buffer = vec![0; UCI_HEADER_SIZE]; in read_uci_packet() localVariable
Dsocket.rs44 let mut buffer = Vec::new(); in response() localVariable
/tools/security/fuzzing/system_fuzzers/libcrypto_utils/
Dlibcrypto_utils_fuzzer.cpp36 uint8_t buffer[ANDROID_PUBKEY_ENCODED_SIZE]; in LLVMFuzzerTestOneInput() local
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSources.java36 public static DataSource asDataSource(ByteBuffer buffer) { in asDataSource()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/
DSystraceExtractorTest.kt65 val buffer = listOf(HTML_HEADER, TRACE_BEGIN, "one big buffer", TRACE_END) in <lambda>() constant
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTraceViewerWindow.kt74 val buffer = ByteArray(2 * 1024 * 1024) in <lambda>() constant
/tools/security/fuzzing/llm/xmlreader_fuzzer/
DXmlRead_Memory_Fuzzer.cpp47 std::string buffer = GenerateRandomXML(stream); in LLVMFuzzerTestOneInput() local
/tools/security/fuzzing/orphans/libexif/
Dlibexif_fuzzer.cpp43 uint8_t *buffer = (uint8_t *)malloc(size * sizeof(uint8_t)); in LLVMFuzzerTestOneInput() local
/tools/netsim/rust/daemon/src/wifi/
Dradiotap.rs68 let mut buffer = Vec::<u8>::new(); in frame_into_pcap() localVariable
/tools/test/graphicsbenchmark/functional_tests/java/src/cpp/
Dsurface_flinger_test_activity.cpp123 jlong buffer[] = { *frameReadyTime.begin(), *latchTime.begin() }; in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_getFrameData() local
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DStringSearch.kt170 val buffer = window.slice in findInWindow() constant

123