Home
last modified time | relevance | path

Searched refs:decodedData (Results 1 – 8 of 8) sorted by relevance

/external/oboe/samples/RhythmGame/src/main/cpp/audio/
DAAssetDataSource.cpp55 auto decodedData = new uint8_t[maximumDataSizeInBytes]; in newFromCompressedAsset() local
57 int64_t bytesDecoded = FFMpegExtractor::decode(asset, decodedData, targetProperties); in newFromCompressedAsset()
61 auto decodedData = new uint8_t[maximumDataSizeInBytes]; in newFromCompressedAsset() local
63 int64_t bytesDecoded = NDKExtractor::decode(asset, decodedData, targetProperties); in newFromCompressedAsset()
71 memcpy(outputBuffer.get(), decodedData, (size_t)bytesDecoded); in newFromCompressedAsset()
75 reinterpret_cast<int16_t*>(decodedData), in newFromCompressedAsset()
80 delete[] decodedData; in newFromCompressedAsset()
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/
DUkey2CppCompatibilityTest.java64 byte[] decodedData = javaSecureContext.decodeMessageFromPeer(encodedData); in testCppClientJavaServer()
65 assertTrue(Arrays.equals(sPayload1, decodedData)); in testCppClientJavaServer()
69 decodedData = cppUkey2Shell.sendDecryptCommand(encodedData); in testCppClientJavaServer()
70 assertTrue(Arrays.equals(sPayload2, decodedData)); in testCppClientJavaServer()
109 byte[] decodedData = javaSecureContext.decodeMessageFromPeer(encodedData); in testCppServerJavaClient()
110 assertTrue(Arrays.equals(sPayload1, decodedData)); in testCppServerJavaClient()
114 decodedData = cppUkey2Shell.sendDecryptCommand(encodedData); in testCppServerJavaClient()
115 assertTrue(Arrays.equals(sPayload2, decodedData)); in testCppServerJavaClient()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DBase64Variant.java519 int decodedData = bits; in decode() local
529 decodedData = (decodedData << 6) | bits; in decode()
534 decodedData >>= 4; in decode()
535 builder.append(decodedData); in decode()
557 decodedData >>= 4; in decode()
558 builder.append(decodedData); in decode()
562 decodedData = (decodedData << 6) | bits; in decode()
567 decodedData >>= 2; in decode()
568 builder.appendTwoBytes(decodedData); in decode()
579 decodedData >>= 2; in decode()
[all …]
/external/apache-http/src/org/apache/commons/codec/binary/
DBase64.java387 byte decodedData[] = null; in decodeBase64()
403 decodedData = new byte[lastData - numberQuadruple]; in decodeBase64()
419 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
420 decodedData[encodedIndex + 1] = in decodeBase64()
422 decodedData[encodedIndex + 2] = (byte) (b3 << 6 | b4); in decodeBase64()
425 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
430 decodedData[encodedIndex] = (byte) (b1 << 2 | b2 >> 4); in decodeBase64()
431 decodedData[encodedIndex + 1] = in decodeBase64()
436 return decodedData; in decodeBase64()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DUTF8DataInputJsonParser.java487 int decodedData = bits; in _readBinary() local
495 decodedData = (decodedData << 6) | bits; in _readBinary()
506 decodedData >>= 4; in _readBinary()
507 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
525 decodedData >>= 4; in _readBinary()
526 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
531 decodedData = (decodedData << 6) | bits; in _readBinary()
539 decodedData >>= 2; in _readBinary()
540 buffer[outputPtr++] = (byte) (decodedData >> 8); in _readBinary()
541 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
[all …]
DReaderBasedJsonParser.java548 int decodedData = bits; in _readBinary() local
560 decodedData = (decodedData << 6) | bits; in _readBinary()
574 decodedData >>= 4; in _readBinary()
575 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
596 decodedData >>= 4; in _readBinary()
597 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
602 decodedData = (decodedData << 6) | bits; in _readBinary()
613 decodedData >>= 2; in _readBinary()
614 buffer[outputPtr++] = (byte) (decodedData >> 8); in _readBinary()
615 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
[all …]
DUTF8StreamJsonParser.java595 int decodedData = bits; in _readBinary() local
607 decodedData = (decodedData << 6) | bits; in _readBinary()
621 decodedData >>= 4; in _readBinary()
622 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
643 decodedData >>= 4; in _readBinary()
644 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
649 decodedData = (decodedData << 6) | bits; in _readBinary()
660 decodedData >>= 2; in _readBinary()
661 buffer[outputPtr++] = (byte) (decodedData >> 8); in _readBinary()
662 buffer[outputPtr++] = (byte) decodedData; in _readBinary()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavExtractor.java312 private final ParsableByteArray decodedData; field in WavExtractor.ImaAdPcmOutputWriter
361 decodedData = in ImaAdPcmOutputWriter()
420 decode(inputData, pendingBlockCount, decodedData); in sampleData()
424 int decodedDataSize = decodedData.limit(); in sampleData()
425 trackOutput.sampleData(decodedData, decodedDataSize); in sampleData()