Home
last modified time | relevance | path

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

12

/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java236 static void assertByteOrderLittleEndian(ByteBuffer buffer) { in assertByteOrderLittleEndian()
242 public static int getUnsignedInt16(ByteBuffer buffer, int offset) { in getUnsignedInt16()
246 public static int getUnsignedInt16(ByteBuffer buffer) { in getUnsignedInt16()
250 static void setUnsignedInt16(ByteBuffer buffer, int offset, int value) { in setUnsignedInt16()
257 static void setUnsignedInt32(ByteBuffer buffer, int offset, long value) { in setUnsignedInt32()
264 public static void putUnsignedInt16(ByteBuffer buffer, int value) { in putUnsignedInt16()
271 static long getUnsignedInt32(ByteBuffer buffer, int offset) { in getUnsignedInt32()
275 static long getUnsignedInt32(ByteBuffer buffer) { in getUnsignedInt32()
279 static void putUnsignedInt32(ByteBuffer buffer, long value) { in putUnsignedInt32()
/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.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 getSigningData() 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/tradefederation/core/tests/src/com/android/tradefed/util/
DConfigCompletorTest.java46 final String buffer = "run "; in testFullList() local
55 final String buffer = "run util/wi"; in testPartialMatch() local
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
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
Dtransformers.py51 def _transform_buffer(self, buffer): argument
83 def _transform_buffer(self, buffer): argument
127 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
343 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/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dtransformers.py122 def _transform_buffer(self, buffer): argument
198 def _transform_buffer(self, buffer): argument
265 def _transform_buffer(self, buffer): argument
410 def _transform_buffer(self, buffer): argument
/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/trebuchet/core/common/src/test/kotlin/trebuchet/io/
DStringStreamTest.kt73 val buffer = ByteArray(2 * 1024 * 1024) in readFile() constant
/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/tradefederation/core/src/com/android/tradefed/util/
DConfigCompletor.java42 public int complete(String buffer, int cursor, List candidates) { in complete()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTraceViewerWindow.kt74 val buffer = ByteArray(2 * 1024 * 1024) in <lambda>() constant
/tools/security/fuzzing/system_fuzzers/libcrypto_utils/
Dlibcrypto_utils_fuzzer.cpp34 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/tradefederation/core/python-lib/tradefed_py/
Dtf_main.py32 verbosity=1, failfast=None, catchbreak=None, buffer=None, serial=None): argument
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/task/
DImportTaskTest.kt91 val buffer = ByteArray(2 * 1024 * 1024) in <lambda>() constant
/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/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/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DSector.java37 protected final ByteBuffer buffer; field in Sector
/tools/test/graphicsbenchmark/functional_tests/native/
Dmprotect_test.cpp31 char *buffer; variable

12