Home
last modified time | relevance | path

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

12345678910

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DByteString.cs48 private readonly byte[] bytes; field in Google.Protobuf.ByteString
59 internal static ByteString FromBytes(byte[] bytes) in FromBytes()
68 internal static byte[] GetBuffer(ByteString bytes) in GetBuffer()
77 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
86 private ByteString(byte[] bytes) in ByteString()
137 public static ByteString FromBase64(string bytes) in FromBase64()
151 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
159 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8Test.java135 private byte[] toByteArray(int... bytes) { in toByteArray()
143 private void assertValidUtf8(ByteStringFactory factory, int[] bytes, boolean not) { in assertValidUtf8()
162 private void assertValidUtf8(int... bytes) { in assertValidUtf8()
168 private void assertInvalidUtf8(int... bytes) { in assertInvalidUtf8()
/frameworks/layoutlib/bridge/src/dalvik/system/
DVMRuntime_Delegate.java39 int bytes = 20 + (2 * minLength); in newUnpaddedArray() local
48 int bytes = 20 + minLength; in newUnpaddedArray() local
54 int bytes = 20 + minLength; in newUnpaddedArray() local
60 int bytes = 20 + (2 * minLength); in newUnpaddedArray() local
/frameworks/rs/rsov/compiler/spirit/
Dword_stream_test.cpp30 const std::vector<uint8_t> bytes((uint8_t *)words.data(), in TEST() local
41 const std::vector<uint8_t> bytes((uint8_t *)words.data(), in TEST() local
50 uint8_t bytes[] = {0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x00}; in TEST() local
60 uint8_t bytes[] = {0x47, 0x4c, 0x53, 0x4c, 0x2e, 0x73, 0x74, 0x64, in TEST() local
Dinstructions_test.cpp34 uint8_t bytes[] = {0x0a, 0x00, 0x03, 0x00, 0x41, 0x42, in TEST() local
44 uint8_t bytes[] = {0x0b, 0x00, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00, in TEST() local
/frameworks/base/core/java/android/bluetooth/
DUidTraffic.java54 public void setRxBytes(long bytes) { in setRxBytes()
58 public void setTxBytes(long bytes) { in setTxBytes()
62 public void addRxBytes(long bytes) { in addRxBytes()
66 public void addTxBytes(long bytes) { in addTxBytes()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DAudioSample.java23 public final byte[] bytes; field in AudioSample
25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { in AudioSample()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DInternal.java90 public static String stringDefaultValue(String bytes) { in stringDefaultValue()
102 public static ByteString bytesDefaultValue(String bytes) { in bytesDefaultValue()
111 public static byte[] byteArrayDefaultValue(String bytes) { in byteArrayDefaultValue()
121 public static ByteBuffer byteBufferDefaultValue(String bytes) { in byteBufferDefaultValue()
193 public static String toStringUtf8(byte[] bytes) { in toStringUtf8()
284 public static int hashCode(byte[] bytes) { in hashCode()
295 static int hashCode(byte[] bytes, int offset, int length) { in hashCode()
307 static int partialHash(int h, byte[] bytes, int offset, int length) { in partialHash()
362 public static int hashCodeByteBuffer(ByteBuffer bytes) { in hashCodeByteBuffer()
DUtf8.java151 public static boolean isValidUtf8(byte[] bytes) { in isValidUtf8()
164 public static boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8()
186 public static int partialIsValidUtf8(int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8()
208 private static int incompleteStateFor(byte[] bytes, int index, int limit) { in incompleteStateFor()
383 final boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8()
405 abstract int partialIsValidUtf8(int state, byte[] bytes, int index, int limit); in partialIsValidUtf8()
761 int partialIsValidUtf8(int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8()
914 private static int partialIsValidUtf8(byte[] bytes, int index, int limit) { in partialIsValidUtf8()
924 private static int partialIsValidUtf8NonAscii(byte[] bytes, int index, int limit) { in partialIsValidUtf8NonAscii()
999 int partialIsValidUtf8(int state, byte[] bytes, final int index, final int limit) { in partialIsValidUtf8()
[all …]
DLazyFieldLite.java116 public LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes) { in LazyFieldLite()
366 public void setByteString(ByteString bytes, ExtensionRegistryLite extensionRegistry) { in setByteString()
450 private static void checkArguments(ExtensionRegistryLite extensionRegistry, ByteString bytes) { in checkArguments()
DByteString.java106 byte[] copyFrom(byte[] bytes, int offset, int size); in copyFrom()
112 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
122 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
299 public static ByteString copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
309 public static ByteString copyFrom(byte[] bytes) { in copyFrom()
317 static ByteString wrap(byte[] bytes) { in wrap()
327 static ByteString wrap(byte[] bytes, int offset, int length) { in wrap()
339 public static ByteString copyFrom(ByteBuffer bytes, int size) { in copyFrom()
352 public static ByteString copyFrom(ByteBuffer bytes) { in copyFrom()
1244 protected final byte[] bytes; field in LiteralByteString
[all …]
/frameworks/rs/
DrsFifoSocket.cpp52 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) { in writeAsync()
76 size_t FifoSocket::read(void *data, size_t bytes) { in read()
101 void FifoSocket::readReturn(const void *data, size_t bytes) { in readReturn()
DrsThreadIO.h70 uint32_t bytes; member
74 uint32_t bytes; member
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DUnknownFieldData.java49 final byte[] bytes; field in UnknownFieldData
51 UnknownFieldData(int tag, byte[] bytes) { in UnknownFieldData()
/frameworks/opt/net/voip/src/jni/rtp/
DAmrCodec.cpp102 unsigned char *bytes = (unsigned char *)payload; in encode() local
133 unsigned char *bytes = (unsigned char *)payload; in decode() local
226 unsigned char *bytes = (unsigned char *)payload; in encode() local
244 unsigned char *bytes = (unsigned char *)payload; in decode() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DNativeUtil.java249 public static String bytesToHexOrQuotedString(ArrayList<Byte> bytes) { in bytesToHexOrQuotedString()
303 public static ArrayList<Byte> byteArrayToArrayList(byte[] bytes) { in byteArrayToArrayList()
314 public static byte[] byteArrayFromArrayList(ArrayList<Byte> bytes) { in byteArrayFromArrayList()
342 public static String hexStringFromByteArray(byte[] bytes) { in hexStringFromByteArray()
/frameworks/native/libs/binder/
DIpPrefix.cpp56 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(&mUnion.mIn6Addr); in writeToParcel() local
59 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(&mUnion.mInAddr); in writeToParcel() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataUsageDetailView.java68 final long bytes; in bind() local
126 private String formatBytes(long bytes) { in formatBytes()
/frameworks/base/core/tests/coretests/src/android/text/format/
DFormatterTest.java219 private void checkFormatBytes(long bytes, boolean useShort, in checkFormatBytes()
225 private void checkFormatBytes(long bytes, int flags, in checkFormatBytes()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabaseIoPerfTest.java103 long bytes = endMeasuringWrites(); in testDatabaseModifications() local
129 long bytes = endMeasuringWrites(); in testInsertsWithTransactions() local
/frameworks/base/core/java/android/util/
DBase64InputStream.java103 long bytes = Math.min(n, outputEnd-outputStart); in skip() local
126 int bytes = Math.min(len, outputEnd-outputStart); in read() local
/frameworks/base/services/net/java/android/net/netlink/
DNetlinkSocket.java66 final ByteBuffer bytes = recvMessage(fd, DEFAULT_RECV_BUFSIZE, IO_TIMEOUT); in sendOneShotKernelMessage() local
152 FileDescriptor fd, byte[] bytes, int offset, int count, long timeoutMs) in sendMessage()
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java103 public static int bytesToBEInt(byte[] bytes) { in bytesToBEInt()
110 public static int bytesToLEInt(byte[] bytes) { in bytesToLEInt()
126 public static void put(ByteBuffer buffer, int position, byte[] bytes) { in put()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestMtpManager.java61 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { in setImportFileBytes()
62 mImportFileBytes.put(pack(deviceId, objectHandle), bytes); in setImportFileBytes() local
69 void setThumbnail(int deviceId, int objectHandle, byte[] bytes) { in setThumbnail()
70 mThumbnailBytes.put(pack(deviceId, objectHandle), bytes); in setThumbnail() local
/frameworks/opt/gamesdk/src/tuningfork/
Dannotation_util.cpp35 uint64_t GetBase128IntegerFromByteStream(const std::vector<uint8_t> &bytes, int &index) { in GetBase128IntegerFromByteStream()
48 void WriteBase128IntToStream(uint64_t x, std::vector<uint8_t> &bytes) { in WriteBase128IntToStream()

12345678910