Home
last modified time | relevance | path

Searched refs:inputBuffer (Results 1 – 25 of 56) sorted by relevance

123

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSignatureRawRSA.java43 private byte[] inputBuffer; field in OpenSSLSignatureRawRSA
61 if (inputOffset > inputBuffer.length) { in engineUpdate()
66 inputBuffer[oldOffset] = input; in engineUpdate()
74 if (inputOffset > inputBuffer.length) { in engineUpdate()
79 System.arraycopy(input, offset, inputBuffer, oldOffset, len); in engineUpdate()
105 inputBuffer = new byte[maxSize]; in engineInitSign()
123 inputBuffer = new byte[maxSize]; in engineInitVerify()
141 + inputBuffer.length + " (modulus size)"); in engineSign()
144 byte[] outputBuffer = new byte[inputBuffer.length]; in engineSign()
146 NativeCrypto.RSA_private_encrypt(inputOffset, inputBuffer, outputBuffer, in engineSign()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLSignatureRawRSA.java46 private byte[] inputBuffer; field in OpenSSLSignatureRawRSA
65 if (inputOffset > inputBuffer.length) { in engineUpdate()
70 inputBuffer[oldOffset] = input; in engineUpdate()
78 if (inputOffset > inputBuffer.length) { in engineUpdate()
83 System.arraycopy(input, offset, inputBuffer, oldOffset, len); in engineUpdate()
109 inputBuffer = new byte[maxSize]; in engineInitSign()
127 inputBuffer = new byte[maxSize]; in engineInitVerify()
145 + inputBuffer.length + " (modulus size)"); in engineSign()
148 byte[] outputBuffer = new byte[inputBuffer.length]; in engineSign()
150 NativeCrypto.RSA_private_encrypt(inputOffset, inputBuffer, outputBuffer, in engineSign()
[all …]
/external/brotli/java/org/brotli/wrapper/enc/
DEncoder.java22 final ByteBuffer inputBuffer; field in Encoder
79 this.inputBuffer = this.encoder.getInputBuffer(); in Encoder()
115 ((Buffer) inputBuffer).limit(inputBuffer.position()); in encode()
116 } else if (inputBuffer.hasRemaining()) { in encode()
130 encoder.push(op, inputBuffer.limit()); in encode()
133 ((Buffer) inputBuffer).clear(); in encode()
DEncoderJNI.java29 private final ByteBuffer inputBuffer; field in EncoderJNI.Wrapper
36 this.inputBuffer = nativeCreate(this.context); in Wrapper()
79 return inputBuffer; in getInputBuffer()
DBrotliOutputStream.java64 encoder.inputBuffer.put((byte) b); in write()
81 int limit = Math.min(len, encoder.inputBuffer.remaining()); in write()
82 encoder.inputBuffer.put(b, off, limit); in write()
DBrotliEncoderChannel.java67 int limit = Math.min(src.remaining(), inputBuffer.remaining()); in write()
70 inputBuffer.put(slice); in write()
/external/sonic/
DSonic.java18 private short inputBuffer[]; field in Sonic
185 inputBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers()
256 inputBuffer = resize(inputBuffer, inputBufferSize); in enlargeInputBufferIfNeeded()
271 inputBuffer[xBuffer++] = (short)(samples[xSample]*32767.0f); in addFloatSamplesToInputBuffer()
285 move(inputBuffer, numInputSamples, samples, 0, numSamples); in addShortSamplesToInputBuffer()
300 inputBuffer[xBuffer++] = (short) (sample << 8); in addUnsignedByteSamplesToInputBuffer()
317 inputBuffer[xBuffer++] = sample; in addBytesToInputBuffer()
328 move(inputBuffer, 0, inputBuffer, position, remainingSamples); in removeInputSamples()
352 copyToOutput(inputBuffer, position, numSamples); in copyInputToOutput()
467 inputBuffer[remainingSamples*numChannels + xSample] = 0; in flushStream()
[all …]
Dsonic.c22 short *inputBuffer; member
184 if(stream->inputBuffer != NULL) { in freeStreamBuffers()
185 free(stream->inputBuffer); in freeStreamBuffers()
217 stream->inputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers()
218 if(stream->inputBuffer == NULL) { in allocateStreamBuffers()
332 stream->inputBuffer = (short *)realloc(stream->inputBuffer, in enlargeInputBufferIfNeeded()
334 if(stream->inputBuffer == NULL) { in enlargeInputBufferIfNeeded()
356 buffer = stream->inputBuffer + stream->numInputSamples*stream->numChannels; in addFloatSamplesToInputBuffer()
376 memcpy(stream->inputBuffer + stream->numInputSamples*stream->numChannels, samples, in addShortSamplesToInputBuffer()
397 buffer = stream->inputBuffer + stream->numInputSamples*stream->numChannels; in addUnsignedCharSamplesToInputBuffer()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipelinedMsgParser.java221 StringBuffer inputBuffer = new StringBuffer(); in run() local
248 inputBuffer.append(line1); in run()
256 inputBuffer.append(line2); in run()
269 inputBuffer.append(line2); in run()
276 Debug.println("About to parse : " + inputBuffer.toString()); in run()
278 sipMessage = smp.parseSIPMessage(inputBuffer.toString()); in run()
/external/libxml2/python/tests/
Dreader.py19 input = libxml2.inputBuffer(f)
79 input = libxml2.inputBuffer(f)
101 input = libxml2.inputBuffer(f)
120 input = libxml2.inputBuffer(f)
249 input = libxml2.inputBuffer(f)
266 input = libxml2.inputBuffer(f)
286 input = libxml2.inputBuffer(f)
305 input = libxml2.inputBuffer(f)
Dreader2.py91 input = libxml2.inputBuffer(str_io(s))
141 input = libxml2.inputBuffer(str_io(s))
195 input = libxml2.inputBuffer(str_io(s))
240 input = libxml2.inputBuffer(str_io(s))
Dreader3.py27 input = libxml2.inputBuffer(f)
64 input = libxml2.inputBuffer(f)
135 input = libxml2.inputBuffer(str_io(s))
Dreader6.py50 input = libxml2.inputBuffer(f)
93 input = libxml2.inputBuffer(f)
/external/brotli/java/org/brotli/wrapper/dec/
DDecoderJNI.java31 private final ByteBuffer inputBuffer; field in DecoderJNI.Wrapper
36 this.inputBuffer = nativeCreate(this.context); in Wrapper()
79 return inputBuffer; in getInputBuffer()
DDecoder.java86 ByteBuffer inputBuffer = decoder.getInputBuffer(); in decode() local
87 ((Buffer) inputBuffer).clear(); in decode()
88 int bytesRead = source.read(inputBuffer); in decode()
/external/adhd/scripts/mic_testing/frontend/
Dsource.js154 for (var i = 0; i < e.inputBuffer.numberOfChannels; i++) {
156 e.inputBuffer.getChannelData(i), 0);
160 var tmpLeft = e.inputBuffer.getChannelData(0).subarray(
162 var tmpRight = e.inputBuffer.getChannelData(1).subarray(
/external/skia/tests/
DPDFDeflateWStreamTest.cpp37 uint8_t inputBuffer[kBufferSize]; in stream_inflate() local
57 flateData.next_in = inputBuffer; in stream_inflate()
79 size_t read = src->read(&inputBuffer, kBufferSize); in stream_inflate()
82 flateData.next_in = inputBuffer; in stream_inflate()
/external/skqp/tests/
DPDFDeflateWStreamTest.cpp37 uint8_t inputBuffer[kBufferSize]; in stream_inflate() local
57 flateData.next_in = inputBuffer; in stream_inflate()
79 size_t read = src->read(&inputBuffer, kBufferSize); in stream_inflate()
82 flateData.next_in = inputBuffer; in stream_inflate()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DSpeechActivity.java282 short[] inputBuffer = new short[RECORDING_LENGTH]; in recognize() local
298 System.arraycopy(recordingBuffer, recordingOffset, inputBuffer, 0, firstCopyLength); in recognize()
299 System.arraycopy(recordingBuffer, 0, inputBuffer, firstCopyLength, secondCopyLength); in recognize()
307 floatInputBuffer[i] = inputBuffer[i] / 32767.0f; in recognize()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DSpeechActivity.java305 short[] inputBuffer = new short[RECORDING_LENGTH]; in recognize() local
320 System.arraycopy(recordingBuffer, recordingOffset, inputBuffer, 0, firstCopyLength); in recognize()
321 System.arraycopy(recordingBuffer, 0, inputBuffer, firstCopyLength, secondCopyLength); in recognize()
329 floatInputBuffer[i][0] = inputBuffer[i] / 32767.0f; in recognize()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp254 …const Unique<VkBuffer> inputBuffer(createBuffer(deviceInterface, getDevice(), &inputBufferCreate… in iterate() local
255 …tBufferAlloc(bindBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirem… in iterate()
273 *inputBuffer, in iterate()
283 deviceInterface.cmdCopyBuffer(*commandBuffer, *inputBuffer, *sparseBuffer, 1u, &bufferCopy); in iterate()
DvktSparseResourcesBufferSparseResidency.cpp273 …const Unique<VkBuffer> inputBuffer (createBuffer(deviceInterface, getDevice(), &inputBufferCr… in iterate() local
274 …ufferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirem… in iterate()
323 …const VkDescriptorBufferInfo inputBufferInfo = makeDescriptorBufferInfo(*inputBuffer, 0ull, m_buff… in iterate()
338 *inputBuffer, in iterate()
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorage.java220 ByteBuffer inputBuffer, int index) throws IOException { in writeExternalWord() argument
223 objectOutput.writeShort(inputBuffer.getShort(wordIndex)); in writeExternalWord()
225 objectOutput.writeInt(inputBuffer.getInt(wordIndex)); in writeExternalWord()
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorage.java221 ByteBuffer inputBuffer, int index) throws IOException { in writeExternalWord() argument
224 objectOutput.writeShort(inputBuffer.getShort(wordIndex)); in writeExternalWord()
226 objectOutput.writeInt(inputBuffer.getInt(wordIndex)); in writeExternalWord()
/external/aac/libFDK/src/
DFDK_bitbuffer.cpp365 void FDK_Feed(HANDLE_FDK_BITBUF hBitBuf, const UCHAR *RESTRICT inputBuffer, in FDK_Feed() argument
367 inputBuffer = &inputBuffer[bufferSize - *bytesValid]; in FDK_Feed()
383 FDKmemcpy(&hBitBuf->Buffer[hBitBuf->ReadOffset], inputBuffer, in FDK_Feed()
389 inputBuffer += bToRead; in FDK_Feed()

123