/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
Base64InputStream.java | 39 private final int[] outputBuffer = new int[3]; 66 return outputBuffer[outIndex++]; 84 // No more input - just return, let outputBuffer drain out, and be done 114 outputBuffer[0] = (accum >> 16) & 0xFF; 115 outputBuffer[1] = (accum >> 8) & 0xFF; 116 outputBuffer[2] = (accum) & 0xFF; 120 outputBuffer[0] = (accum >> 16) & 0xFF; 121 outputBuffer[1] = (accum >> 8) & 0xFF; 125 outputBuffer[0] = (accum >> 16) & 0xFF;
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/ |
SynthVoice.java | 46 * @param outputBuffer 50 public void mix(float[] outputBuffer, int samplesPerFrame, float level) { 51 int numFrames = outputBuffer.length / samplesPerFrame; 56 outputBuffer[offset + jf] += output * level;
|
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/ |
SynthVoice.java | 46 * @param outputBuffer 50 public void mix(float[] outputBuffer, int samplesPerFrame, float level) { 51 int numFrames = outputBuffer.length / samplesPerFrame; 56 outputBuffer[offset + jf] += output * level;
|
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/ |
SynthVoice.java | 46 * @param outputBuffer 50 public void mix(float[] outputBuffer, int samplesPerFrame, float level) { 51 int numFrames = outputBuffer.length / samplesPerFrame; 56 outputBuffer[offset + jf] += output * level;
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
SynthVoice.java | 46 * @param outputBuffer 50 public void mix(float[] outputBuffer, int samplesPerFrame, float level) { 51 int numFrames = outputBuffer.length / samplesPerFrame; 56 outputBuffer[offset + jf] += output * level;
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
SynthVoice.java | 46 * @param outputBuffer 50 public void mix(float[] outputBuffer, int samplesPerFrame, float level) { 51 int numFrames = outputBuffer.length / samplesPerFrame; 56 outputBuffer[offset + jf] += output * level;
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
WaveDataRingBuffer.java | 130 double outputBuffer[] = new double[mWaveRecord.length]; 134 System.arraycopy(mWaveRecord, 0, outputBuffer, 0, mIndex); 135 Arrays.fill(outputBuffer, mIndex+1, outputBuffer.length-1, 0); 138 System.arraycopy(mWaveRecord, mIndex, outputBuffer, 0, mWaveRecord.length - mIndex); 139 System.arraycopy(mWaveRecord, 0, outputBuffer, mWaveRecord.length - mIndex, mIndex); 142 return outputBuffer;
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLSignatureRawECDSA.java | 91 byte[] outputBuffer = new byte[output_size]; 94 NativeCrypto.ECDSA_sign(buffer.toByteArray(), outputBuffer, key.getNativeRef()); 103 System.arraycopy(outputBuffer, 0, newBuffer, 0, bytes_written); 104 outputBuffer = newBuffer; 106 return outputBuffer;
|
OpenSSLSignatureRawRSA.java | 144 byte[] outputBuffer = new byte[inputBuffer.length]; 146 NativeCrypto.RSA_private_encrypt(inputOffset, inputBuffer, outputBuffer, 148 return outputBuffer; 174 byte[] outputBuffer = new byte[inputBuffer.length]; 179 outputBuffer, key.getNativeRef(), NativeConstants.RSA_PKCS1_PADDING); 188 if (inputBuffer[i] != outputBuffer[i]) {
|
/external/r8/src/main/java/com/android/tools/r8/utils/ |
LebUtils.java | 45 public static void putUleb128(DexOutputBuffer outputBuffer, int value) { 48 outputBuffer.putByte((byte) ((value & PAYLOAD_MASK) | MORE_DATA_TAG_BIT)); 52 outputBuffer.putByte((byte) (value & PAYLOAD_MASK)); 92 public static void putSleb128(DexOutputBuffer outputBuffer, int value) { 99 outputBuffer.putByte((byte) ((value & PAYLOAD_MASK) | (hasMore ? MORE_DATA_TAG_BIT : 0)));
|
EncodedValueUtils.java | 23 public static int putSigned(DexOutputBuffer outputBuffer, long value, int expectedSize) { 28 outputBuffer.putByte((byte) value); 58 public static int putUnsigned(DexOutputBuffer outputBuffer, long value, 64 outputBuffer.putByte((byte) value); 81 public static int putBitsFromRightZeroExtended(DexOutputBuffer outputBuffer, long value, 88 outputBuffer.putByte((byte) value); 111 public static int putFloat(DexOutputBuffer outputBuffer, float value) { 113 return EncodedValueUtils.putBitsFromRightZeroExtended(outputBuffer, bits, Float.BYTES); 128 public static int putDouble(DexOutputBuffer outputBuffer, double value) { 130 return EncodedValueUtils.putBitsFromRightZeroExtended(outputBuffer, bits, Double.BYTES) [all...] |
/external/sonic/ |
Sonic.java | 19 private short outputBuffer[]; 187 outputBuffer = new short[maxRequired*numChannels]; 246 outputBuffer = resize(outputBuffer, outputBufferSize); 339 move(outputBuffer, numOutputSamples, samples, position, numSamples); 374 samples[xSample++] = (outputBuffer[xSample])/32767.0f; 376 move(outputBuffer, 0, outputBuffer, numSamples, remainingSamples); 397 move(samples, 0, outputBuffer, 0, numSamples); 398 move(outputBuffer, 0, outputBuffer, numSamples, remainingSamples) [all...] |
sonic.c | 23 short *outputBuffer; 187 if(stream->outputBuffer != NULL) { 188 free(stream->outputBuffer); 223 stream->outputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); 224 if(stream->outputBuffer == NULL) { 316 stream->outputBuffer = (short *)realloc(stream->outputBuffer, 318 if(stream->outputBuffer == NULL) { 428 memcpy(stream->outputBuffer + stream->numOutputSamples*stream->numChannels, 472 buffer = stream->outputBuffer; [all...] |
/external/skia/tests/ |
PDFDeflateWStreamTest.cpp | 37 uint8_t outputBuffer[kBufferSize]; 44 flateData.next_out = outputBuffer; 66 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { 70 flateData.next_out = outputBuffer; 89 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { 93 flateData.next_out = outputBuffer;
|
/hardware/intel/common/utils/ISV/base/ |
isv_processor.cpp | 140 OMX_BUFFERHEADERTYPE *outputBuffer; 156 outputBuffer = mOutputBuffers.itemAt(i); 157 if (!outputBuffer) { 161 unsigned long fillHandle = reinterpret_cast<unsigned long>(outputBuffer->pBuffer); 173 OMX_BUFFERHEADERTYPE *outputBuffer; 226 outputBuffer = mOutputBuffers.itemAt(i); 230 outputBuffer->nTimeStamp = timeUs + 1000000ll * (i + 1) / 60 - 1000000ll * 1 / 24; 232 outputBuffer->nTimeStamp = timeUs + 1000000ll * (i + 3) / 60 - 1000000ll * 2 / 24; 236 outputBuffer->nTimeStamp = timeUs - 1000000ll * (fillBufNum - i - 1) / (mFilterParam.frameRate * 2); 241 err = mpOwner->releaseBuffer(kPortIndexOutput, outputBuffer, cropChanged) [all...] |
/system/media/audio_utils/tests/ |
fifo_tests.cpp | 108 int16_t *outputBuffer = new int16_t[sfinfoin.frames * sfinfoin.channels]; 164 &outputBuffer[framesRead * sfinfoin.channels], framesToRead); 232 sf_count_t actualWritten = sf_writef_short(sfout, outputBuffer, framesRead); 233 delete[] outputBuffer; 234 outputBuffer = NULL;
|
fifo_threads.cpp | 118 char outputBuffer[64]; 119 audio_utils_fifo outputFifo(sizeof(outputBuffer) /*frameCount*/, 1 /*frameSize*/, outputBuffer,
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
PackageManagerBackupAgent.java | 183 ByteArrayOutputStream outputBuffer = new ByteArrayOutputStream(); // we'll reuse these 184 DataOutputStream outputBufferStream = new DataOutputStream(outputBuffer); 235 writeEntity(data, DEFAULT_HOME_KEY, outputBuffer.toByteArray()); 250 outputBuffer.reset(); 255 writeEntity(data, GLOBAL_METADATA_KEY, outputBuffer.toByteArray()); 309 outputBuffer.reset(); 317 + " entityLen=" + outputBuffer.size()); 321 writeEntity(data, packName, outputBuffer.toByteArray());
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBufferSparseBinding.cpp | 263 const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferCreateInfo)); 264 const de::UniquePtr<Allocation> outputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirement::HostVisible)); 269 deviceInterface.cmdCopyBuffer(*commandBuffer, *sparseBuffer, *outputBuffer, 1u, &bufferCopy); 276 *outputBuffer,
|
vktSparseResourcesBufferMemoryAliasing.cpp | 261 const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferCreateInfo)); 262 const de::UniquePtr<Allocation> outputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirement::HostVisible)); 336 deviceInterface.cmdCopyBuffer(*commandBuffer, *sparseBufferRead, *outputBuffer, 1u, &bufferCopy); 343 *outputBuffer,
|
vktSparseResourcesBufferSparseResidency.cpp | 255 const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferCreateInfo)); 256 const de::UniquePtr<Allocation> outputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirement::HostVisible)); 325 deviceInterface.cmdCopyBuffer(*commandBuffer, *sparseBuffer, *outputBuffer, 1u, &bufferCopy); 332 *outputBuffer,
|
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
FlyweightMapStorage.java | 195 * @param outputBuffer the byte buffer to which the value is stored 200 ByteBuffer outputBuffer, int index) throws IOException { 203 outputBuffer.putShort(wordIndex, objectInput.readShort()); 205 outputBuffer.putInt(wordIndex, objectInput.readInt());
|
/external/deqp/modules/gles31/functional/ |
es31fBasicComputeShaderTests.cpp | 151 const Buffer outputBuffer (m_context.getRenderContext()); 196 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); 198 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *outputBuffer); 271 const Buffer outputBuffer (m_context.getRenderContext()); 317 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); 319 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *outputBuffer); 394 const Buffer outputBuffer (m_context.getRenderContext()); 415 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); 425 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); 597 const Buffer outputBuffer (m_context.getRenderContext()) [all...] |
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
MediaCodecVideoEncoder.java | 525 ByteBuffer outputBuffer = outputBuffers[result].duplicate(); 526 outputBuffer.position(info.offset); 527 outputBuffer.limit(info.offset + info.size); 543 keyFrameBuffer.put(outputBuffer); 548 return new OutputBufferInfo(result, outputBuffer.slice(),
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/ |
MpegTsDefaultAudioTrackRenderer.java | 523 ByteBuffer outputBuffer = mAudioDecoder.getDecodedSample(); 525 decodeDone(outputBuffer, presentationTimeUs); 632 private void decodeDone(ByteBuffer outputBuffer, long presentationTimeUs) { 633 if (outputBuffer == null || mOutputBuffer == null) { 646 Assertions.checkState(mOutputBuffer.remaining() >= outputBuffer.limit()); 648 mOutputBuffer.put(outputBuffer);
|