Home
last modified time | relevance | path

Searched refs:binaryData (Results 1 – 9 of 9) sorted by relevance

/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java640 public static byte[] encodeBase64(byte[] binaryData) { in encodeBase64() argument
641 return encodeBase64(binaryData, false); in encodeBase64()
652 public static String encodeBase64String(byte[] binaryData) { in encodeBase64String() argument
653 return StringUtils.newStringUtf8(encodeBase64(binaryData, true)); in encodeBase64String()
665 public static byte[] encodeBase64URLSafe(byte[] binaryData) { in encodeBase64URLSafe() argument
666 return encodeBase64(binaryData, false, true); in encodeBase64URLSafe()
678 public static String encodeBase64URLSafeString(byte[] binaryData) { in encodeBase64URLSafeString() argument
679 return StringUtils.newStringUtf8(encodeBase64(binaryData, false, true)); in encodeBase64URLSafeString()
689 public static byte[] encodeBase64Chunked(byte[] binaryData) { in encodeBase64Chunked() argument
690 return encodeBase64(binaryData, true); in encodeBase64Chunked()
[all …]
/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java182 public static byte[] encodeBase64(byte[] binaryData) { in encodeBase64() argument
183 return encodeBase64(binaryData, false); in encodeBase64()
193 public static byte[] encodeBase64Chunked(byte[] binaryData) { in encodeBase64Chunked() argument
194 return encodeBase64(binaryData, true); in encodeBase64Chunked()
237 public static byte[] encodeBase64(byte[] binaryData, boolean isChunked) { in encodeBase64() argument
238 int lengthDataBits = binaryData.length * EIGHTBIT; in encodeBase64()
276 b1 = binaryData[dataIndex]; in encodeBase64()
277 b2 = binaryData[dataIndex + 1]; in encodeBase64()
278 b3 = binaryData[dataIndex + 2]; in encodeBase64()
327 b1 = binaryData[dataIndex]; in encodeBase64()
[all …]
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java118 sink.write(binaryData(50)).flush(); in serverBinaryMessage()
120 assertData(binaryData(50)); in serverBinaryMessage()
122 sink.write(binaryData(50)).flush(); in serverBinaryMessage()
124 assertData(binaryData(50)); in serverBinaryMessage()
180 byte[] part1 = binaryData(50); in clientBinary()
187 byte[] part2 = binaryData(50); in clientBinary()
281 serverWriter.writePing(new Buffer().write(binaryData(1000))); in pingTooLongThrows()
290 serverWriter.writePong(new Buffer().write(binaryData(1000))); in pongTooLongThrows()
299 String longString = ByteString.of(binaryData(75)).hex(); in closeTooLongThrows()
333 private static byte[] binaryData(int length) { in binaryData() method in WebSocketWriterTest
DWebSocketReaderTest.java228 byte[] bytes = binaryData(256); in clientSimpleBinary()
235 byte[] bytes = binaryData(200); in clientTwoFrameBinary()
243 byte[] bytes = binaryData(200); in twoFrameNotContinuation()
404 private byte[] binaryData(int length) { in binaryData() method in WebSocketReaderTest
/external/apache-http/src/org/apache/http/impl/auth/
DDigestScheme.java456 private static String encode(byte[] binaryData) { in encode() argument
457 if (binaryData.length != 16) { in encode()
463 int low = (binaryData[i] & 0x0f); in encode()
464 int high = ((binaryData[i] & 0xf0) >> 4); in encode()
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp507 std::vector<uint8_t> *binaryData) in WriteBinaryParamReplay() argument
542 size_t offset = rx::roundUpPow2(binaryData->size(), kBinaryAlignment); in WriteBinaryParamReplay()
543 binaryData->resize(offset + data.size()); in WriteBinaryParamReplay()
544 memcpy(binaryData->data() + offset, data.data(), data.size()); in WriteBinaryParamReplay()
559 std::vector<uint8_t> *binaryData) in WriteCppReplayForCall() argument
717 WriteBinaryParamReplay(dataTracker, callOut, header, call, param, binaryData); in WriteCppReplayForCall()
797 const std::vector<uint8_t> &binaryData) in SaveBinaryData() argument
807 uLong uncompressedSize = static_cast<uLong>(binaryData.size()); in SaveBinaryData()
814 binaryData.data(), uncompressedSize, in SaveBinaryData()
826 saveData.write(binaryData.data(), binaryData.size()); in SaveBinaryData()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsonschema/
DTestReadJsonSchema.java21 public byte[] binaryData; field in TestReadJsonSchema.Schemable
/external/deqp/framework/opengl/
DgluShaderProgram.cpp509 …, std::vector<Shader*>& shaders, glw::GLenum binaryFormat, const void* binaryData, const int lengt… in setBinary() argument
515 …gl.shaderBinary((glw::GLsizei)shaderVec.size(), shaderVec.data(), binaryFormat, binaryData, length… in setBinary()
DgluShaderProgram.hpp212 …, std::vector<Shader*>& shaders, glw::GLenum binaryFormat, const void* binaryData, const int lengt…