/external/tink/go/streamingaead/subtle/ |
D | aes_gcm_hkdf_test.go | 30 segmentSize int 38 segmentSize: 256, 46 segmentSize: 512, 54 segmentSize: 256, 62 segmentSize: 512, 70 segmentSize: 256, 78 segmentSize: 256, 86 segmentSize: 256, 94 segmentSize: 512, 102 segmentSize: 1024, [all …]
|
D | aes_ctr_hmac_test.go | 31 segmentSize int 40 segmentSize: 256, 49 segmentSize: 512, 58 segmentSize: 256, 67 segmentSize: 512, 76 segmentSize: 256, 85 segmentSize: 256, 94 segmentSize: 256, 103 segmentSize: 512, 112 segmentSize: 1024, [all …]
|
D | subtle_test.go | 96 func segmentPos(segmentSize, firstSegmentOffset, headerLen, segmentNr int) (int, int) { argument 97 start := segmentSize * segmentNr 98 end := start + segmentSize
|
/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/ |
D | AesGcmHkdfStreamingTest.java | 46 int segmentSize = 4096; in createAesGcmStreaming() local 48 return new AesGcmHkdfStreaming(ikm, hkdfAlgo, keySize, segmentSize, offset); in createAesGcmStreaming() 62 int keySizeInBytes, int segmentSize, int firstSegmentOffset, int plaintextSize, int chunkSize) in testEncryptDecrypt() argument 66 new AesGcmHkdfStreaming(ikm, "HmacSha256", keySizeInBytes, segmentSize, in testEncryptDecrypt() 132 int keySizeInBytes, int segmentSize, int firstSegmentOffset, int plaintextSize) in testEncryptDecryptRandomAccess() argument 136 new AesGcmHkdfStreaming(ikm, "HmacSha256", keySizeInBytes, segmentSize, in testEncryptDecryptRandomAccess() 187 int segmentSize = 512; in testEncryptSingleBytes() local 190 new AesGcmHkdfStreaming(ikm, "HmacSha256", keySizeInBytes, segmentSize, in testEncryptSingleBytes() 209 int segmentSize = 256; in testSkipWithStream() local 214 ikm, "HmacSha256", keySize, "HmacSha256", tagSize, segmentSize, offset); in testSkipWithStream() [all …]
|
D | AesCtrHmacStreamingTest.java | 53 int segmentSize = 4096; in createAesCtrHmacStreaming() local 55 return new AesCtrHmacStreaming(ikm, hkdfAlgo, keySize, tagAlgo, tagSize, segmentSize, offset); in createAesCtrHmacStreaming() 72 int segmentSize, in testEncryptDecrypt() argument 80 tagSizeInBytes, segmentSize, firstSegmentOffset); in testEncryptDecrypt() 174 int segmentSize, in testEncryptDecryptRandomAccess() argument 181 tagSizeInBytes, segmentSize, firstSegmentOffset); in testEncryptDecryptRandomAccess() 260 int segmentSize = 512; in testEncryptSingleBytes() local 264 "HmacSha256", tagSizeInBytes, segmentSize, firstSegmentOffset); in testEncryptSingleBytes() 293 int segmentSize = 512; in testEncryptLimitedCiphertextChannel() local 299 "HmacSha256", tagSizeInBytes, segmentSize, firstSegmentOffset); in testEncryptLimitedCiphertextChannel() [all …]
|
D | StreamingAeadThreadSafetyTest.java | 174 int segmentSize = 512; in testDecryptionAesGcm() local 175 AesGcmHkdfStreaming ags = new AesGcmHkdfStreaming(ikm, "HmacSha256", keySize, segmentSize, 0); in testDecryptionAesGcm() 185 int segmentSize = 512; in testDecryptionAesCtrHmac() local 187 ikm, "HmacSha256", keySize, "HmacSha256", tagSize, segmentSize, 0); in testDecryptionAesCtrHmac() 289 int segmentSize = 512; in testEncryptionAesGcm() local 290 AesGcmHkdfStreaming ags = new AesGcmHkdfStreaming(ikm, "HmacSha256", keySize, segmentSize, 0); in testEncryptionAesGcm() 300 int segmentSize = 512; in testEncryptionAesCtrHmac() local 302 ikm, "HmacSha256", keySize, "HmacSha256", tagSize, segmentSize, 0); in testEncryptionAesCtrHmac() 311 int segmentSize = 512; in testEncryptionLargeChunks() local 313 AesGcmHkdfStreaming ags = new AesGcmHkdfStreaming(ikm, "HmacSha256", keySize, segmentSize, 0); in testEncryptionLargeChunks() [all …]
|
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/jpeg/bitstream/ |
D | decode_jpeg_input_bitstream.cpp | 57 uint32_t segmentSize = decodeParams.m_dataSize; in Append() local 63 … if (numScans >= totalScans && segmentSize >= headerSize) // Bitstream complete and scan complete in Append() 68 …else if (numScans < totalScans && segmentSize > headerSize) // Bitstream complete and scan incomp… in Append() 73 …else if (numScans >= totalScans && segmentSize < headerSize) //Bitstream incomplete and scan comp… in Append() 100 if (m_segmentsTotalSize + segmentSize > m_requiredSize) in Append() 110 if (m_segmentsTotalSize + segmentSize >= totalSize) in Append() 116 m_segmentsTotalSize += MOS_ALIGN_CEIL(segmentSize, MHW_CACHELINE_SIZE); in Append()
|
/external/tink-java/src/test/java/com/google/crypto/tink/subtle/ |
D | StreamingAeadThreadSafetyTest.java | 174 int segmentSize = 512; in testDecryptionAesGcm() local 175 AesGcmHkdfStreaming ags = new AesGcmHkdfStreaming(ikm, "HmacSha256", keySize, segmentSize, 0); in testDecryptionAesGcm() 185 int segmentSize = 512; in testDecryptionAesCtrHmac() local 187 ikm, "HmacSha256", keySize, "HmacSha256", tagSize, segmentSize, 0); in testDecryptionAesCtrHmac() 289 int segmentSize = 512; in testEncryptionAesGcm() local 290 AesGcmHkdfStreaming ags = new AesGcmHkdfStreaming(ikm, "HmacSha256", keySize, segmentSize, 0); in testEncryptionAesGcm() 300 int segmentSize = 512; in testEncryptionAesCtrHmac() local 302 ikm, "HmacSha256", keySize, "HmacSha256", tagSize, segmentSize, 0); in testEncryptionAesCtrHmac() 311 int segmentSize = 512; in testEncryptionLargeChunks() local 313 AesGcmHkdfStreaming ags = new AesGcmHkdfStreaming(ikm, "HmacSha256", keySize, segmentSize, 0); in testEncryptionLargeChunks() [all …]
|
D | AesCtrHmacStreamingTest.java | 63 int segmentSize = 4096; in createAesCtrHmacStreaming() local 65 return new AesCtrHmacStreaming(ikm, hkdfAlgo, keySize, tagAlgo, tagSize, segmentSize, offset); in createAesCtrHmacStreaming() 82 int segmentSize, in testEncryptDecrypt() argument 90 tagSizeInBytes, segmentSize, firstSegmentOffset); in testEncryptDecrypt() 184 int segmentSize, in testEncryptDecryptRandomAccess() argument 191 tagSizeInBytes, segmentSize, firstSegmentOffset); in testEncryptDecryptRandomAccess() 286 int segmentSize = 512; in testEncryptSingleBytes() local 290 "HmacSha256", tagSizeInBytes, segmentSize, firstSegmentOffset); in testEncryptSingleBytes() 319 int segmentSize = 512; in testEncryptLimitedCiphertextChannel() local 325 "HmacSha256", tagSizeInBytes, segmentSize, firstSegmentOffset); in testEncryptLimitedCiphertextChannel() [all …]
|
/external/intel-media-driver/media_driver/media_softlet/agnostic/Xe_M/Xe_M_base/codec/hal/dec/shared/ |
D | decode_input_bitstream_m12.cpp | 97 uint32_t segmentSize = decodeParams.m_dataSize; in Append() local 103 … if (numScans >= totalScans && segmentSize >= headerSize) // Bitstream complete and scan complete in Append() 108 …else if (numScans < totalScans && segmentSize > headerSize) // Bitstream complete and scan incomp… in Append() 113 …else if (numScans >= totalScans && segmentSize < headerSize) //Bitstream incomplete and scan comp… in Append() 139 if (m_segmentsTotalSize + segmentSize > m_requiredSize) in Append() 149 if (m_segmentsTotalSize + segmentSize >= totalSize) in Append() 155 m_segmentsTotalSize += MOS_ALIGN_CEIL(segmentSize, MHW_CACHELINE_SIZE); in Append()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/ |
D | VbriSeeker.java | 75 int segmentSize; in create() local 78 segmentSize = frame.readUnsignedByte(); in create() 81 segmentSize = frame.readUnsignedShort(); in create() 84 segmentSize = frame.readUnsignedInt24(); in create() 87 segmentSize = frame.readUnsignedIntToInt(); in create() 92 position += segmentSize * scale; in create()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/ |
D | VbriSeeker.java | 75 int segmentSize; in create() local 78 segmentSize = frame.readUnsignedByte(); in create() 81 segmentSize = frame.readUnsignedShort(); in create() 84 segmentSize = frame.readUnsignedInt24(); in create() 87 segmentSize = frame.readUnsignedIntToInt(); in create() 92 position += segmentSize * scale; in create()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math3/stat/correlation/ |
D | KendallsCorrelation.java | 207 for (int segmentSize = 1; segmentSize < n; segmentSize <<= 1) { in correlation() 208 for (int offset = 0; offset < n; offset += 2 * segmentSize) { in correlation() 210 final int iEnd = FastMath.min(i + segmentSize, n); in correlation() 212 final int jEnd = FastMath.min(j + segmentSize, n); in correlation()
|
/external/tink/java_src/src/main/java/com/google/crypto/tink/testing/ |
D | StreamingTestUtil.java | 899 StreamingAead ags, int segmentSize, int firstSegmentOffset) throws Exception { in testModifiedCiphertext() argument 913 int[] sizes = new int[] {1, (segmentSize - ciphertext.length % segmentSize), segmentSize}; in testModifiedCiphertext() 929 for (int segment = 0; segment < (ciphertext.length / segmentSize); segment++) { in testModifiedCiphertext() 932 Arrays.copyOf(ciphertext, segment * segmentSize), in testModifiedCiphertext() 933 Arrays.copyOfRange(ciphertext, (segment + 1) * segmentSize, ciphertext.length)); in testModifiedCiphertext() 939 for (int segment = 0; segment < (ciphertext.length / segmentSize); segment++) { in testModifiedCiphertext() 942 Arrays.copyOf(ciphertext, (segment + 1) * segmentSize), in testModifiedCiphertext() 943 Arrays.copyOfRange(ciphertext, segment * segmentSize, ciphertext.length)); in testModifiedCiphertext() 1010 StreamingAead ags, int segmentSize, int firstSegmentOffset) throws Exception { in testModifiedCiphertextWithSeekableByteChannel() argument 1024 int[] sizes = new int[] {1, (segmentSize - ciphertext.length % segmentSize), segmentSize}; in testModifiedCiphertextWithSeekableByteChannel() [all …]
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | SegmentedByteString.java | 191 int segmentSize = directory[s] - segmentOffset; in rangeEquals() local 192 int stepSize = Math.min(byteCount, segmentOffset + segmentSize - offset); in rangeEquals() 208 int segmentSize = directory[s] - segmentOffset; in rangeEquals() local 209 int stepSize = Math.min(byteCount, segmentOffset + segmentSize - offset); in rangeEquals() 243 int segmentSize = nextSegmentOffset - segmentOffset; in hashCode() local 244 for (int i = segmentPos, limit = segmentPos + segmentSize; i < limit; i++) { in hashCode()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | SegmentedByteString.java | 190 int segmentSize = directory[s] - segmentOffset; in rangeEquals() local 191 int stepSize = Math.min(byteCount, segmentOffset + segmentSize - offset); in rangeEquals() 207 int segmentSize = directory[s] - segmentOffset; in rangeEquals() local 208 int stepSize = Math.min(byteCount, segmentOffset + segmentSize - offset); in rangeEquals() 242 int segmentSize = nextSegmentOffset - segmentOffset; in hashCode() local 243 for (int i = segmentPos, limit = segmentPos + segmentSize; i < limit; i++) { in hashCode()
|
/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/shared/ |
D | decode_input_bitstream.cpp | 122 uint32_t segmentSize = decodeParams.m_dataSize; in Append() local 128 bool isIncompleteBitstream = (segmentSize < m_requiredSize); in Append() 140 if(m_segmentsTotalSize + segmentSize > m_requiredSize) in Append() 149 m_segmentsTotalSize += MOS_ALIGN_CEIL(segmentSize, MHW_CACHELINE_SIZE); in Append()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/ |
D | build.gradle.kts | 239 configureJvmForLincheck(segmentSize = 2) in <lambda>() 242 fun Test.configureJvmForLincheck(segmentSize: Int = 1) { in Test() 250 systemProperty("kotlinx.coroutines.semaphore.segmentSize", segmentSize) in Test() 252 systemProperty("kotlinx.coroutines.bufferedChannel.segmentSize", segmentSize) in Test()
|
/external/tink-java/src/main/java/com/google/crypto/tink/testing/ |
D | StreamingTestUtil.java | 962 StreamingAead ags, int segmentSize, int firstSegmentOffset) throws Exception { in testModifiedCiphertext() argument 976 int[] sizes = new int[] {1, (segmentSize - ciphertext.length % segmentSize), segmentSize}; in testModifiedCiphertext() 992 for (int segment = 0; segment < (ciphertext.length / segmentSize); segment++) { in testModifiedCiphertext() 995 Arrays.copyOf(ciphertext, segment * segmentSize), in testModifiedCiphertext() 996 Arrays.copyOfRange(ciphertext, (segment + 1) * segmentSize, ciphertext.length)); in testModifiedCiphertext() 1002 for (int segment = 0; segment < (ciphertext.length / segmentSize); segment++) { in testModifiedCiphertext() 1005 Arrays.copyOf(ciphertext, (segment + 1) * segmentSize), in testModifiedCiphertext() 1006 Arrays.copyOfRange(ciphertext, segment * segmentSize, ciphertext.length)); in testModifiedCiphertext() 1073 StreamingAead ags, int segmentSize, int firstSegmentOffset) throws Exception { in testModifiedCiphertextWithSeekableByteChannel() argument 1087 int[] sizes = new int[] {1, (segmentSize - ciphertext.length % segmentSize), segmentSize}; in testModifiedCiphertextWithSeekableByteChannel() [all …]
|
/external/tink-java/src/main/java/com/google/crypto/tink/subtle/ |
D | StreamingAeadSeekableDecryptingChannel.java | 214 int segmentSize = ciphertextSegmentSize; in tryLoadSegment() local 216 segmentSize = lastCiphertextSegmentSize; in tryLoadSegment() 219 segmentSize -= ciphertextOffset; in tryLoadSegment() 224 ciphertextSegment.limit(segmentSize); in tryLoadSegment()
|
/external/tink/java_src/src/main/java/com/google/crypto/tink/subtle/ |
D | StreamingAeadSeekableDecryptingChannel.java | 214 int segmentSize = ciphertextSegmentSize; in tryLoadSegment() local 216 segmentSize = lastCiphertextSegmentSize; in tryLoadSegment() 219 segmentSize -= ciphertextOffset; in tryLoadSegment() 224 ciphertextSegment.limit(segmentSize); in tryLoadSegment()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | ReadOnlySequenceFactory.cs | 47 …public static ReadOnlySequence<byte> CreateWithContent(byte[] data, int segmentSize = 1, bool addE… in CreateWithContent() argument 60 while (segment.Count < segmentSize && currentIndex < data.Length) in CreateWithContent()
|
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | ReadOnlySequenceFactory.cs | 47 …public static ReadOnlySequence<byte> CreateWithContent(byte[] data, int segmentSize = 1, bool addE… in CreateWithContent() argument 60 while (segment.Count < segmentSize && currentIndex < data.Length) in CreateWithContent()
|
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | ReadOnlySequenceFactory.cs | 47 …public static ReadOnlySequence<byte> CreateWithContent(byte[] data, int segmentSize = 1, bool addE… in CreateWithContent() argument 60 while (segment.Count < segmentSize && currentIndex < data.Length) in CreateWithContent()
|
/external/zstd/lib/decompress/ |
D | huf_decompress.c | 631 const size_t segmentSize = (dstSize+3) / 4; in HUF_decompress4X1_usingDTable_internal_body() local 632 BYTE* const opStart2 = ostart + segmentSize; in HUF_decompress4X1_usingDTable_internal_body() 633 BYTE* const opStart3 = opStart2 + segmentSize; in HUF_decompress4X1_usingDTable_internal_body() 634 BYTE* const opStart4 = opStart3 + segmentSize; in HUF_decompress4X1_usingDTable_internal_body() 874 { size_t const segmentSize = (dstSize+3) / 4; in HUF_decompress4X1_usingDTable_internal_fast() local 879 if (segmentSize <= (size_t)(oend - segmentEnd)) in HUF_decompress4X1_usingDTable_internal_fast() 880 segmentEnd += segmentSize; in HUF_decompress4X1_usingDTable_internal_fast() 1412 size_t const segmentSize = (dstSize+3) / 4; in HUF_decompress4X2_usingDTable_internal_body() local 1413 BYTE* const opStart2 = ostart + segmentSize; in HUF_decompress4X2_usingDTable_internal_body() 1414 BYTE* const opStart3 = opStart2 + segmentSize; in HUF_decompress4X2_usingDTable_internal_body() [all …]
|