/frameworks/base/core/java/com/android/internal/util/ |
LineBreakBufferedWriter.java | 43 private int bufferIndex; 82 this.bufferIndex = 0; 92 writeBuffer(bufferIndex); 93 bufferIndex = 0; 99 if (bufferIndex < buffer.length) { 100 buffer[bufferIndex] = (char)c; 101 bufferIndex++; 103 lastNewline = bufferIndex; 119 while (bufferIndex + len > bufferSize) { 123 int maxLength = bufferSize - bufferIndex; [all...] |
/external/smali/util/src/main/java/org/jf/util/ |
IndentingWriter.java | 178 int bufferIndex = 23; 182 buffer[bufferIndex--] = (char)(digit + '0'); 184 buffer[bufferIndex--] = (char)((digit - 10) + 'a'); 190 bufferIndex++; 192 writeLine(buffer, bufferIndex, 24-bufferIndex); 196 int bufferIndex = 23; 205 buffer[bufferIndex--] = (char)(digit + '0'); 210 bufferIndex++; 212 writeLine(buffer, bufferIndex, 24-bufferIndex) [all...] |
/external/icu/icu4c/source/i18n/ |
ucoleitr.cpp | 58 int32_t bufferIndex; 72 bufferIndex = 0; 85 return bufferIndex <= 0; 93 if (bufferIndex >= bufferSize) { 110 buffer[bufferIndex].ce = ce; 111 buffer[bufferIndex].low = ixLow; 112 buffer[bufferIndex].high = ixHigh; 114 bufferIndex += 1; 119 if (bufferIndex > 0) { 120 return &buffer[--bufferIndex]; [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
Converter.cpp | 444 size_t bufferIndex; 445 CHECK(msg->findInt32("bufferIndex", (int32_t*)&bufferIndex)); 446 CHECK(bufferIndex < mEncoderOutputBuffers.size()); 447 mEncoder->releaseOutputBuffer(bufferIndex); 615 size_t bufferIndex = *mAvailEncoderInputIndices.begin(); 624 memcpy(mEncoderInputBuffers.itemAt(bufferIndex)->data(), 631 mEncoderInputBuffers.itemAt(bufferIndex)->setMediaBufferBase( 641 bufferIndex, 0, (buffer == NULL) ? 0 : buffer->size(), 672 size_t bufferIndex; [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
streamout_jit.h | 41 DWORD bufferIndex; 86 if (stream.decl[i].bufferIndex != other.stream.decl[i].bufferIndex) return false;
|
streamout_jit.cpp | 158 Value* pOut = BITCAST(pOutBuffers[decl.bufferIndex], PointerType::get(mInt8Ty, 0)); 166 pOutBuffers[decl.bufferIndex] = GEP(pOutBuffers[decl.bufferIndex], C(numComponents)); 190 activeSOBuffers.insert(decl.bufferIndex);
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
MediaCodecVideoEncoderTest.java | 112 int bufferIndex; 115 bufferIndex = encoder.dequeueInputBuffer(); 116 } while (bufferIndex == -1); // |-1| is returned when there is no buffer available yet. 118 assertTrue(bufferIndex >= 0); 119 assertTrue(bufferIndex < inputBuffers.length); 120 assertTrue(encoder.encodeBuffer(true, bufferIndex, min_size, presentationTimestampUs));
|
/hardware/interfaces/camera/device/1.0/ |
ICameraDeviceCallback.hal | 61 * @param bufferIndex The offset into the memory handle where the buffer 65 dataCallback(DataCallbackMsg msgType, MemoryId data, uint32_t bufferIndex, 73 * @param bufferIndex The offset into the memory handle where the buffer 79 dataCallbackTimestamp(DataCallbackMsg msgType, MemoryId data, uint32_t bufferIndex, 88 * @param bufferIndex The offset into the memory handle where the buffer 95 uint32_t bufferIndex, int64_t timestamp);
|
/external/skia/src/core/ |
SkMD5.cpp | 41 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); 42 unsigned int bufferAvailable = 64 - bufferIndex; 46 if (bufferIndex) { 47 memcpy(&this->buffer[bufferIndex], input, bufferAvailable); 58 bufferIndex = 0; 63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); 75 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); 76 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex); [all...] |
/external/skia/src/pdf/ |
SkPDFUtils.cpp | 405 int bufferIndex = 0; 407 buffer[bufferIndex++] = d % 10; 410 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0); 413 --bufferIndex; 414 *output++ = '0' + buffer[bufferIndex]; 415 } while (bufferIndex); 420 int placesBeforeDecimal = bufferIndex + decimalShift; 423 --bufferIndex; 424 *output++ = '0' + buffer[bufferIndex]; [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
AudioTrackDecoder.java | 77 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { 78 ByteBuffer buffer = buffers[bufferIndex]; 96 codec.releaseOutputBuffer(bufferIndex, false);
|
CpuVideoTrackDecoder.java | 81 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { 84 mDecodedBuffer = buffers[bufferIndex]; 96 codec.releaseOutputBuffer(bufferIndex, false);
|
/device/linaro/bootloader/edk2/OptionRomPkg/CirrusLogic5430Dxe/ |
Edid.c | 231 UINT8 *BufferIndex;
276 BufferIndex = &EdidDataBlock->StandardTimingIdentification[0];
278 if ((BufferIndex[0] != 0x1) && (BufferIndex[1] != 0x1)){
282 HorizontalResolution = (UINT16) (BufferIndex[0] * 8 + 248);
283 AspectRatio = (UINT8) (BufferIndex[1] >> 6);
301 RefreshRate = (UINT8) ((BufferIndex[1] & 0x1f) + 60);
308 BufferIndex += 2;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ScannerParseLargeFileBenchmarkTest.java | 59 int bufferIndex = offset; 63 buffer[bufferIndex++] = CONTENT[contentIndex++];
|
/frameworks/av/services/camera/libcameraservice/device1/ |
CameraHardwareInterface.cpp | 121 DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, 135 sDataCb((int32_t) msgType, mem, bufferIndex, &md, this); 141 uint32_t bufferIndex, int64_t timestamp) { 151 sDataCbTimestamp(timestamp, (int32_t) msgType, mem, bufferIndex, this); 157 uint32_t bufferIndex, int64_t timestamp) { 169 heapMem->mBuffers[bufferIndex]->pointer(); 171 sDataCbTimestamp(timestamp, (int32_t) msgType, mem, bufferIndex, this); 190 if (hidl_msg.bufferIndex >= mem->mNumBufs) { 192 hidl_msg.bufferIndex, mem->mNumBufs); 196 mem->mBuffers[hidl_msg.bufferIndex]->pointer() [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaSyncTest.java | 249 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { 252 decoderAudio.checkReturnedAudioBuffer(byteBuffer, bufferIndex); 253 decoderAudio.releaseOutputBuffer(bufferIndex, NO_TIMESTAMP); 308 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { 311 returnedIndex[0] = bufferIndex; 503 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { 506 decoderAudio.releaseOutputBuffer(bufferIndex, NO_TIMESTAMP); 511 && mTaggedAudioBufferIndex == bufferIndex) { 611 public AudioBuffer(ByteBuffer byteBuffer, int bufferIndex) { 613 mBufferIndex = bufferIndex; [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
ARB_shader_atomic_counters.xml | 40 <param name="bufferIndex" type="GLuint" />
|
/external/mesa3d/src/mesa/main/ |
buffers.h | 63 GLenum buffer, gl_buffer_index bufferIndex);
|
/external/swiftshader/src/Main/ |
Config.hpp | 94 MAX_UNIFORM_BUFFER_BINDINGS = MAX_FRAGMENT_UNIFORM_BLOCKS + MAX_VERTEX_UNIFORM_BLOCKS, // Limited to 127 by SourceParameter.bufferIndex in Shader.hpp
|
/cts/tests/tests/media/libmediandkjni/ |
native-mediadrm-jni.cpp | 333 ssize_t bufferIndex = AMediaCodec_dequeueInputBuffer(codec, 2000); 334 if (bufferIndex >= 0) { 336 uint8_t* buf = AMediaCodec_getInputBuffer(codec, bufferIndex, &bufsize); 351 codec, bufferIndex, 0, cryptoInfo, 357 codec, bufferIndex, 0, sampleSize, 369 ssize_t bufferIndex = AMediaCodec_dequeueOutputBuffer(codec, &info, 0); 370 if (bufferIndex >= 0) { 384 AMediaCodec_releaseOutputBuffer(codec, bufferIndex, info.size != 0); 385 } else if (bufferIndex == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED) { 387 } else if (bufferIndex == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) [all...] |
/external/swiftshader/src/Shader/ |
PixelProgram.hpp | 95 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index); 96 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int& offset); 97 Int relativeAddress(const Shader::Parameter &var, int bufferIndex = -1);
|
VertexProgram.hpp | 72 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index); 73 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int& offset); 74 Int relativeAddress(const Shader::Parameter &var, int bufferIndex = -1);
|
/hardware/interfaces/camera/device/1.0/default/ |
CameraDevice_1_0.h | 95 Return<void> releaseRecordingFrame(uint32_t memId, uint32_t bufferIndex) override; 97 uint32_t memId, uint32_t bufferIndex, const hidl_handle& frame) override; 184 void releaseRecordingFrameLocked(uint32_t memId, uint32_t bufferIndex, const native_handle_t*);
|
/external/swiftshader/src/OpenGL/compiler/ |
OutputASM.h | 332 ArgumentInfo(const BlockMemberInfo& b, const TType& t, int clampedIndex, int bufferIndex) : 333 typedMemberInfo(b, t), clampedIndex(clampedIndex), bufferIndex(bufferIndex) {} 336 int bufferIndex;
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
FilmstripView.java | 859 private void renderFullRes(int bufferIndex) { 860 ViewItem item = mViewItems[bufferIndex]; 868 private void renderThumbnail(int bufferIndex) { 869 ViewItem item = mViewItems[bufferIndex]; 883 private void removeItem(int bufferIndex) { 884 if (bufferIndex >= mViewItems.length || mViewItems[bufferIndex] == null) { 888 mViewItems[bufferIndex].getAdapterIndex()); [all...] |