Home
last modified time | relevance | path

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

12

/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/zip/
DZipUtils.java242 static void assertByteOrderLittleEndian(ByteBuffer buffer) { in assertByteOrderLittleEndian()
248 public static int getUnsignedInt16(ByteBuffer buffer, int offset) { in getUnsignedInt16()
252 public static int getUnsignedInt16(ByteBuffer buffer) { in getUnsignedInt16()
296 static void setUnsignedInt16(ByteBuffer buffer, int offset, int value) { in setUnsignedInt16()
303 static void setUnsignedInt32(ByteBuffer buffer, int offset, long value) { in setUnsignedInt32()
310 public static void putUnsignedInt16(ByteBuffer buffer, int value) { in putUnsignedInt16()
317 static long getUnsignedInt32(ByteBuffer buffer, int offset) { in getUnsignedInt32()
321 static long getUnsignedInt32(ByteBuffer buffer) { in getUnsignedInt32()
325 static void putUnsignedInt32(ByteBuffer buffer, long value) { in putUnsignedInt32()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java46 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
57 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
85 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local
100 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in toByteArray() local
143 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in getSignedData() local
161 static void readFully(InputStream stream, byte[] buffer) throws IOException { in readFully()
195 static byte[] readBytes(ByteBuffer buffer) throws IOException { in readBytes()
217 static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes()
/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
143 def _transform_buffer(self, buffer): argument
187 def _transform_buffer(self, buffer): argument
209 def _transform_buffer(self, buffer): argument
Dassembly_line.py296 def add_indexed_buffer(self, buffer): argument
325 def add_indexed_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
162 def _transform_buffer(self, buffer): argument
210 def _transform_buffer(self, buffer): argument
350 def _transform_buffer(self, buffer): argument
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DStreamAdapter.kt37 val buffer = ByteArray(2 * 1024 * 1024) in next() constant
/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()
DChainedDataSource.java86 ByteBuffer buffer = ByteBuffer.allocate(size); in getByteBuffer() local
/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/security/fuzzing/system_fuzzers/libcrypto_utils/
Dlibcrypto_utils_fuzzer.cpp35 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/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
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DSector.java37 protected final ByteBuffer buffer; field in Sector
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java839 private static int getUnsignedInt8(ByteBuffer buffer) { in getUnsignedInt8()
843 private static int getUnsignedInt16(ByteBuffer buffer) { in getUnsignedInt16()
847 private static long getUnsignedInt32(ByteBuffer buffer) { in getUnsignedInt32()
851 private static long getUnsignedInt32(ByteBuffer buffer, int position) { in getUnsignedInt32()
/tools/test/graphicsbenchmark/functional_tests/native/
Dmprotect_test.cpp31 char *buffer; variable
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DRamDisk.java76 private RamDisk(ByteBuffer buffer, int sectorSize) { in RamDisk()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt315 val buffer = StringBuilder() in <lambda>() constant
545 val buffer = StringBuilder() in <lambda>() constant
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DDataSlice.kt19 data class DataSlice(var buffer: ByteArray, variable in trebuchet.io.DataSlice

12