/external/angle/src/libANGLE/renderer/vulkan/ |
D | TransformFeedbackVk.cpp | 59 for (size_t bufferIndex = 0; bufferIndex < xfbBufferCount; ++bufferIndex) in initializeXFBBuffersDesc() local 61 const gl::OffsetBindingPointer<gl::Buffer> &binding = mState.getIndexedBuffer(bufferIndex); in initializeXFBBuffersDesc() 69 mBufferHelpers[bufferIndex] = &bufferVk->getBufferAndOffset(&bufferOffset); in initializeXFBBuffersDesc() 70 mBufferOffsets[bufferIndex] = binding.getOffset() + bufferOffset; in initializeXFBBuffersDesc() 71 mBufferSizes[bufferIndex] = gl::GetBoundBufferAvailableSize(binding); in initializeXFBBuffersDesc() 77 mBufferHelpers[bufferIndex] = &nullBuffer; in initializeXFBBuffersDesc() 78 mBufferOffsets[bufferIndex] = 0; in initializeXFBBuffersDesc() 79 mBufferSizes[bufferIndex] = nullBuffer.getSize(); in initializeXFBBuffersDesc() 83 bufferIndex, mBufferHelpers[bufferIndex]->getBufferSerial(), in initializeXFBBuffersDesc() 84 mBufferOffsets[bufferIndex]); in initializeXFBBuffersDesc() [all …]
|
D | ProgramExecutableVk.cpp | 430 uint32_t bufferIndex) in GetInterfaceBlockArraySize() argument 432 const gl::InterfaceBlock &block = blocks[bufferIndex]; in GetInterfaceBlockArraySize() 443 for (arraySize = 1; bufferIndex + arraySize < blocks.size(); ++arraySize) in GetInterfaceBlockArraySize() 445 const gl::InterfaceBlock &nextBlock = blocks[bufferIndex + arraySize]; in GetInterfaceBlockArraySize() 531 for (uint32_t bufferIndex = 0; bufferIndex < blocks.size();) in addInterfaceBlockDescriptorSetDesc() local 533 gl::InterfaceBlock block = blocks[bufferIndex]; in addInterfaceBlockDescriptorSetDesc() 534 const uint32_t arraySize = GetInterfaceBlockArraySize(blocks, bufferIndex); in addInterfaceBlockDescriptorSetDesc() 535 bufferIndex += arraySize; in addInterfaceBlockDescriptorSetDesc() 995 for (uint32_t bufferIndex = 0; bufferIndex < blocks.size();) in createPipelineLayout() local 997 const gl::InterfaceBlock &block = blocks[bufferIndex]; in createPipelineLayout() [all …]
|
/external/pdfium/third_party/skia_shared/ |
D | SkFloatToDecimal.cpp | 138 int bufferIndex = 0; in SkFloatToDecimal() local 140 buffer[bufferIndex++] = d % 10; in SkFloatToDecimal() 143 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0); in SkFloatToDecimal() 146 --bufferIndex; in SkFloatToDecimal() 147 *output_ptr++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal() 148 } while (bufferIndex); in SkFloatToDecimal() 153 int placesBeforeDecimal = bufferIndex + decimalShift; in SkFloatToDecimal() 156 --bufferIndex; in SkFloatToDecimal() 157 *output_ptr++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal() 167 while (bufferIndex > 0) { in SkFloatToDecimal() [all …]
|
/external/skqp/src/utils/ |
D | SkFloatToDecimal.cpp | 142 int bufferIndex = 0; in SkFloatToDecimal() local 144 buffer[bufferIndex++] = d % 10; in SkFloatToDecimal() 147 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0); in SkFloatToDecimal() 150 --bufferIndex; in SkFloatToDecimal() 151 *output++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal() 152 } while (bufferIndex); in SkFloatToDecimal() 157 int placesBeforeDecimal = bufferIndex + decimalShift; in SkFloatToDecimal() 160 --bufferIndex; in SkFloatToDecimal() 161 *output++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal() 171 while (bufferIndex > 0) { in SkFloatToDecimal() [all …]
|
/external/skia/src/utils/ |
D | SkFloatToDecimal.cpp | 142 int bufferIndex = 0; in SkFloatToDecimal() local 144 buffer[bufferIndex++] = d % 10; in SkFloatToDecimal() 147 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0); in SkFloatToDecimal() 150 --bufferIndex; in SkFloatToDecimal() 151 *output_ptr++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal() 152 } while (bufferIndex); in SkFloatToDecimal() 157 int placesBeforeDecimal = bufferIndex + decimalShift; in SkFloatToDecimal() 160 --bufferIndex; in SkFloatToDecimal() 161 *output_ptr++ = '0' + buffer[bufferIndex]; in SkFloatToDecimal() 171 while (bufferIndex > 0) { in SkFloatToDecimal() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/util/ |
D | IndentingWriter.java | 178 int bufferIndex = 23; in printUnsignedLongAsHex() local 182 buffer[bufferIndex--] = (char)(digit + '0'); in printUnsignedLongAsHex() 184 buffer[bufferIndex--] = (char)((digit - 10) + 'a'); in printUnsignedLongAsHex() 190 bufferIndex++; in printUnsignedLongAsHex() 192 writeLine(buffer, bufferIndex, 24-bufferIndex); in printUnsignedLongAsHex() 196 int bufferIndex = 23; in printSignedLongAsDec() local 205 buffer[bufferIndex--] = (char)(digit + '0'); in printSignedLongAsDec() 210 bufferIndex++; in printSignedLongAsDec() 212 writeLine(buffer, bufferIndex, 24-bufferIndex); in printSignedLongAsDec() 216 int bufferIndex = 15; in printSignedIntAsDec() local [all …]
|
/external/icu/icu4c/source/i18n/ |
D | ucoleitr.cpp | 58 int32_t bufferIndex; member 72 bufferIndex = 0; in RCEBuffer() 85 return bufferIndex <= 0; in isEmpty() 93 if (bufferIndex >= bufferSize) { in put() 110 buffer[bufferIndex].ce = ce; in put() 111 buffer[bufferIndex].low = ixLow; in put() 112 buffer[bufferIndex].high = ixHigh; in put() 114 bufferIndex += 1; in put() 119 if (bufferIndex > 0) { in get() 120 return &buffer[--bufferIndex]; in get() [all …]
|
/external/oboe/samples/iolib/src/main/cpp/player/ |
D | SimpleMultiPlayer.cpp | 156 for (int32_t bufferIndex = 0; bufferIndex < mNumSampleBuffers; bufferIndex++) { in unloadSampleData() local 157 delete mSampleBuffers[bufferIndex]; in unloadSampleData() 158 delete mSampleSources[bufferIndex]; in unloadSampleData() 180 for (int32_t bufferIndex = 0; bufferIndex < mNumSampleBuffers; bufferIndex++) { in resetAll() local 181 mSampleSources[bufferIndex]->setStopMode(); in resetAll()
|
/external/angle/src/libANGLE/ |
D | Uniform.cpp | 43 : typeInfo(nullptr), bufferIndex(-1), blockInfo(sh::kDefaultBlockMemberInfo) in LinkedUniform() 55 : typeInfo(&GetUniformTypeInfo(typeIn)), bufferIndex(bufferIndexIn), blockInfo(blockInfoIn) in LinkedUniform() 71 bufferIndex(-1), in LinkedUniform() 82 bufferIndex(uniform.bufferIndex), in LinkedUniform() 92 bufferIndex = uniform.bufferIndex; in operator =() 101 : bufferIndex(-1), blockInfo(sh::kDefaultBlockMemberInfo), topLevelArraySize(-1) in BufferVariable() 110 : bufferIndex(bufferIndexIn), blockInfo(blockInfoIn), topLevelArraySize(-1) in BufferVariable()
|
D | Uniform.h | 58 const int bufferIndex, 68 bool isInDefaultBlock() const { return bufferIndex == -1; } in isInDefaultBlock() 76 int bufferIndex; member 88 const int bufferIndex, 92 int bufferIndex; member
|
/external/angle/src/libANGLE/renderer/metal/ |
D | TransformFeedbackMtl.mm | 90 for (size_t bufferIndex = 0; bufferIndex < xfbBufferCount; ++bufferIndex) 93 mState.getIndexedBuffer(bufferIndex); 101 (bufferBinding.getOffset() + drawCallVertexOffset * bufferStrides[bufferIndex]) / 104 offsetsOut[bufferIndex] = static_cast<int32_t>(writeOffset); 107 ANGLE_CHECK_GL_ALLOC(contextMtl, offsetsOut[bufferIndex] == writeOffset);
|
D | mtl_glslang_mtl_utils.mm | 32 std::string GetXfbBufferNameMtl(const uint32_t bufferIndex) 34 return "xfbBuffer" + Str(bufferIndex); 243 const std::string &bufferIndex) 261 << "xfbBuffer" << bufferIndex << "[" 263 << bufferIndex << "] + (gl_VertexID + ANGLE_instanceIdMod * " 311 for (uint32_t bufferIndex = 0; bufferIndex < bufferCount; ++bufferIndex) 314 xfbIndices[bufferIndex] = Str(bufferIndex); 316 std::string bufferName = GetXfbBufferNameMtl(bufferIndex); 321 uint32_t bindingPoint = kMaxShaderBuffers - 1 - bufferIndex; 322 xfbBindingRemapOut->at(bufferIndex) = bindingPoint; [all …]
|
D | ProgramMtl.mm | 173 uint32_t bufferIndex, 176 encoder->metalArgBufferEncoder = [function newArgumentEncoderWithBufferIndex:bufferIndex]; 1347 for (uint32_t bufferIndex = 0; bufferIndex < blocks.size(); ++bufferIndex) 1349 const gl::InterfaceBlock &block = blocks[bufferIndex]; 1358 uint32_t stages = mArgumentBufferRenderStageUsages[bufferIndex] & 1366 cmdEncoder->useResource(mLegalizedOffsetedUniformBuffers[bufferIndex].first, 1379 for (uint32_t bufferIndex = 0; bufferIndex < blocks.size(); ++bufferIndex) 1381 const gl::InterfaceBlock &block = blocks[bufferIndex]; 1417 mLegalizedOffsetedUniformBuffers[bufferIndex].first = conversion->convertedBuffer; 1418 mLegalizedOffsetedUniformBuffers[bufferIndex].second = [all …]
|
/external/skia/src/core/ |
D | SkMD5.cpp | 41 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in write() local 42 unsigned int bufferAvailable = 64 - bufferIndex; in write() 46 if (bufferIndex) { in write() 47 memcpy(&this->buffer[bufferIndex], input, bufferAvailable); in write() 58 bufferIndex = 0; in write() 63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write() 76 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in finish() local 77 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex); in finish()
|
/external/skqp/src/core/ |
D | SkMD5.cpp | 41 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in write() local 42 unsigned int bufferAvailable = 64 - bufferIndex; in write() 46 if (bufferIndex) { in write() 47 memcpy(&this->buffer[bufferIndex], input, bufferAvailable); in write() 58 bufferIndex = 0; in write() 63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write() 75 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in finish() local 76 unsigned int paddingLength = (bufferIndex < 56) ? (56 - bufferIndex) : (120 - bufferIndex); in finish()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/ |
D | MediaCodecAsyncCallback.java | 64 int bufferIndex = availableOutputBuffers.remove(); in dequeueOutputBufferIndex() local 65 if (bufferIndex >= 0) { in dequeueOutputBufferIndex() 72 } else if (bufferIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in dequeueOutputBufferIndex() 75 return bufferIndex; in dequeueOutputBufferIndex()
|
D | MultiLockAsyncMediaCodecAdapter.java | 259 int bufferIndex; in dequeueAvailableOutputBufferIndex() local 262 bufferIndex = MediaCodec.INFO_TRY_AGAIN_LATER; in dequeueAvailableOutputBufferIndex() 264 bufferIndex = availableOutputBuffers.remove(); in dequeueAvailableOutputBufferIndex() 265 if (bufferIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in dequeueAvailableOutputBufferIndex() 267 } else if (bufferIndex >= 0) { in dequeueAvailableOutputBufferIndex() 277 return bufferIndex; in dequeueAvailableOutputBufferIndex()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | streamout_jit.h | 41 DWORD bufferIndex; member 89 if (stream.decl[i].bufferIndex != other.stream.decl[i].bufferIndex)
|
D | streamout_jit.cpp | 151 Value* pOut = BITCAST(pOutBuffers[decl.bufferIndex], PointerType::get(simd4Ty, 0)); in buildDecl() 162 pOutBuffers[decl.bufferIndex] = GEP(pOutBuffers[decl.bufferIndex], C(numComponents)); in buildDecl() 190 activeSOBuffers.insert(decl.bufferIndex); in buildStream()
|
/external/angle/src/tests/gl_tests/ |
D | AtomicCounterBufferTest.cpp | 261 for (int32_t bufferIndex = 0; bufferIndex < kBufferCount; bufferIndex++) in TEST_P() local 263 glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, atomicCounterBuffer[bufferIndex]); in TEST_P() 265 (bufferIndex == 0) ? bufferData : nullptr, GL_STATIC_DRAW); in TEST_P() 276 int32_t bufferIndex = kBufferIndices[i]; in TEST_P() local 290 int32_t bufferId = (even) ? 0 : atomicCounterBuffer[bufferIndex]; in TEST_P()
|
D | BufferDataTest.cpp | 1067 for (GLsizei bufferIndex = 0; bufferIndex < bufferCnt; ++bufferIndex) in TEST_P() local 1069 vertexShaderStr << "attribute float attrib" << bufferIndex << ";\n"; in TEST_P() 1078 for (GLsizei bufferIndex = 0; bufferIndex < bufferCnt; ++bufferIndex) in TEST_P() local 1080 vertexShaderStr << "v_attrib += attrib" << bufferIndex << ";\n"; in TEST_P() 1096 for (GLsizei bufferIndex = 0; bufferIndex < bufferCnt; ++bufferIndex) in TEST_P() local 1098 glBindBuffer(GL_ARRAY_BUFFER, buffers[bufferIndex].get()); in TEST_P() 1102 attribNameStr << "attrib" << bufferIndex; in TEST_P() 1121 for (GLsizei bufferIndex = 0; bufferIndex < bufferCnt; ++bufferIndex) in TEST_P() local 1124 attribNameStr << "attrib" << bufferIndex; in TEST_P()
|
/external/swiftshader/src/Shader/ |
D | VertexProgram.hpp | 74 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index); 75 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int &offset); 76 Int relativeAddress(const Shader::Relative &rel, int bufferIndex = -1);
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/ |
D | MultiLockAsyncMediaCodecAdapterTest.java | 125 int bufferIndex = i; in dequeueInputBufferIndex_withFlushCompletedAndInputBuffer_returnsInputBuffer() local 126 handler.post(() -> adapter.onInputBufferAvailable(codec, bufferIndex)); in dequeueInputBufferIndex_withFlushCompletedAndInputBuffer_returnsInputBuffer() 199 int bufferIndex = i; in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer() local 202 handler.post(() -> adapter.onOutputBufferAvailable(codec, bufferIndex, outBufferInfo)); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer()
|
D | DedicatedThreadAsyncMediaCodecAdapterTest.java | 127 int bufferIndex = i; in dequeueInputBufferIndex_withFlushCompletedAndInputBuffer_returnsInputBuffer() local 128 handler.post(() -> adapter.onInputBufferAvailable(codec, bufferIndex)); in dequeueInputBufferIndex_withFlushCompletedAndInputBuffer_returnsInputBuffer() 199 int bufferIndex = i; in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer() local 202 handler.post(() -> adapter.onOutputBufferAvailable(codec, bufferIndex, outBufferInfo)); in dequeueOutputBufferIndex_withFlushCompletedAndOutputBuffer_returnsOutputBuffer()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | StateManager11.cpp | 2115 bool StateManager11::queueVertexBufferChange(size_t bufferIndex, in queueVertexBufferChange() argument 2120 if (buffer != mCurrentVertexBuffers[bufferIndex] || in queueVertexBufferChange() 2121 stride != mCurrentVertexStrides[bufferIndex] || in queueVertexBufferChange() 2122 offset != mCurrentVertexOffsets[bufferIndex]) in queueVertexBufferChange() 2124 mDirtyVertexBufferRange.extend(static_cast<unsigned int>(bufferIndex)); in queueVertexBufferChange() 2126 mCurrentVertexBuffers[bufferIndex] = buffer; in queueVertexBufferChange() 2127 mCurrentVertexStrides[bufferIndex] = stride; in queueVertexBufferChange() 2128 mCurrentVertexOffsets[bufferIndex] = offset; in queueVertexBufferChange() 3090 size_t bufferIndex = reservedBuffers + attribIndex; in applyVertexBuffers() local 3092 queueVertexBufferChange(bufferIndex, buffer, vertexStride, vertexOffset); in applyVertexBuffers() [all …]
|