Home
last modified time | relevance | path

Searched refs:baseIndex (Results 1 – 25 of 41) sorted by relevance

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DUnicodeMap.java286 int baseIndex; in _put() local
289 baseIndex = lastIndex; in _put()
291 baseIndex = _findIndex(codepoint); in _put()
293 int limitIndex = baseIndex + 1; in _put()
295 if (areEqual(values[baseIndex], value)) return this; in _put()
299 if (errorOnReset && values[baseIndex] != null) { in _put()
301 + " when that is disallowed. Old: " + values[baseIndex] + "; New: " + value); in _put()
308 int baseCP = transitions[baseIndex]; in _put()
317 baseIndex != 0 && areEqual(value, values[baseIndex-1]); in _put()
322 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DUnicodeMap.java283 int baseIndex; in _put() local
286 baseIndex = lastIndex; in _put()
288 baseIndex = _findIndex(codepoint); in _put()
290 int limitIndex = baseIndex + 1; in _put()
292 if (areEqual(values[baseIndex], value)) return this; in _put()
296 if (errorOnReset && values[baseIndex] != null) { in _put()
298 + " when that is disallowed. Old: " + values[baseIndex] + "; New: " + value); in _put()
305 int baseCP = transitions[baseIndex]; in _put()
314 baseIndex != 0 && areEqual(value, values[baseIndex-1]); in _put()
319 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
[all …]
/external/skia/src/gpu/gl/
DGrGLOpsRenderPass.h46 const void* offsetForBaseIndex(int baseIndex) const { in offsetForBaseIndex() argument
49 return (void*)(baseIndex * sizeof(uint16_t)); in offsetForBaseIndex()
51 return fIndexPointer + baseIndex; in offsetForBaseIndex()
64 void onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue,
68 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
DGrGLOpsRenderPass.cpp176 void GrGLOpsRenderPass::onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue, in onDrawIndexed() argument
185 this->offsetForBaseIndex(baseIndex), 1, baseVertex, 0)); in onDrawIndexed()
194 GR_GL_UNSIGNED_SHORT, this->offsetForBaseIndex(baseIndex))); in onDrawIndexed()
197 this->offsetForBaseIndex(baseIndex))); in onDrawIndexed()
225 void GrGLOpsRenderPass::onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, in onDrawIndexedInstanced() argument
237 this->offsetForBaseIndex(baseIndex), instanceCountForDraw, baseVertex, in onDrawIndexedInstanced()
243 this->offsetForBaseIndex(baseIndex), instanceCountForDraw)); in onDrawIndexedInstanced()
385 auto [indexCount, instanceCount, baseIndex, baseVertex, baseInstance] = cmds[i]; in multiDrawElementsANGLEOrWebGL()
387 fIndices[i] = this->offsetForBaseIndex(baseIndex); in multiDrawElementsANGLEOrWebGL()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DTailoredSet.java105 int baseIndex = Collation.indexFromCE32(baseCE32); in compare() local
106 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
107 comparePrefixes(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
112 int baseIndex = Collation.indexFromCE32(baseCE32); in compare() local
113 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
114 addPrefixes(baseData, c, baseData.contexts, baseIndex + 2); in compare()
125 int baseIndex = Collation.indexFromCE32(baseCE32); in compare() local
129 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
131 … compareContractions(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
136 int baseIndex = Collation.indexFromCE32(baseCE32); in compare() local
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DTailoredSet.java103 int baseIndex = Collation.indexFromCE32(baseCE32); in compare() local
104 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
105 comparePrefixes(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
110 int baseIndex = Collation.indexFromCE32(baseCE32); in compare() local
111 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
112 addPrefixes(baseData, c, baseData.contexts, baseIndex + 2); in compare()
123 int baseIndex = Collation.indexFromCE32(baseCE32); in compare() local
127 baseCE32 = baseData.getFinalCE32(baseData.getCE32FromContexts(baseIndex)); in compare()
129 … compareContractions(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
134 int baseIndex = Collation.indexFromCE32(baseCE32); in compare() local
[all …]
/external/skia/src/gpu/
DGrSimpleMesh.h23 void setIndexed(sk_sp<const GrBuffer> indexBuffer, int indexCount, int baseIndex,
57 int baseIndex, uint16_t minIndexValue, uint16_t maxIndexValue, in setIndexed() argument
62 SkASSERT(baseIndex >= 0); in setIndexed()
68 fBaseIndex = baseIndex; in setIndexed()
DGrOpsRenderPass.h86 void drawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue, uint16_t maxIndexValue,
93 void drawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
187 virtual void onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue,
191 virtual void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount,
DGrOpsRenderPass.cpp233 void GrOpsRenderPass::drawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue, in drawIndexed() argument
241 this->onDrawIndexed(indexCount, baseIndex, minIndexValue, maxIndexValue, baseVertex); in drawIndexed()
256 void GrOpsRenderPass::drawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, in drawIndexedInstanced() argument
265 this->onDrawIndexedInstanced(indexCount, baseIndex, instanceCount, baseInstance, baseVertex); in drawIndexedInstanced()
313 auto [indexCount, instanceCount, baseIndex, baseVertex, baseInstance] = cmds[i]; in drawIndexedIndirect()
314 this->onDrawIndexedInstanced(indexCount, baseIndex, instanceCount, baseInstance, in drawIndexedIndirect()
DGrDrawIndirectCommand.h94 inline void writeIndexed(uint32_t indexCount, uint32_t baseIndex, uint32_t instanceCount, in writeIndexed()
96 *fData++ = {indexCount, instanceCount, baseIndex, baseVertex, baseInstance}; in writeIndexed()
DGrOpFlushState.h238 void drawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue, uint16_t maxIndexValue, in drawIndexed() argument
240 fOpsRenderPass->drawIndexed(indexCount, baseIndex, minIndexValue, maxIndexValue, in drawIndexed()
246 void drawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance, in drawIndexedInstanced() argument
248 fOpsRenderPass->drawIndexedInstanced(indexCount, baseIndex, instanceCount, baseInstance, in drawIndexedInstanced()
/external/proguard/src/proguard/obfuscate/
DSimpleNameFactory.java112 int baseIndex = index / totalCharacterCount; in newName() local
117 String newName = baseIndex == 0 ? in newName()
119 (name(baseIndex-1) + newChar); in newName()
/external/skqp/src/gpu/
DGrMesh.h38 void setIndexed(sk_sp<const GrBuffer> indexBuffer, int indexCount, int baseIndex,
56 int indexCount, int baseIndex, uint16_t minIndexValue,
66 int indexCount, int baseIndex,
136 inline void GrMesh::setIndexed(sk_sp<const GrBuffer> indexBuffer, int indexCount, int baseIndex, in setIndexed() argument
141 SkASSERT(baseIndex >= 0); in setIndexed()
147 fNonPatternIndexData.fBaseIndex = baseIndex; in setIndexed()
/external/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.h51 void onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue, in onDrawIndexed() argument
53 this->onDrawIndexedInstanced(indexCount, baseIndex, 1, 0, baseVertex); in onDrawIndexed()
57 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
DGrD3DOpsRenderPass.cpp269 void GrD3DOpsRenderPass::onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, in onDrawIndexedInstanced() argument
272 fGpu->currentCommandList()->drawIndexedInstanced(indexCount, instanceCount, baseIndex, in onDrawIndexedInstanced()
/external/skia/src/gpu/vk/
DGrVkOpsRenderPass.h80 void onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue, in onDrawIndexed() argument
82 this->onDrawIndexedInstanced(indexCount, baseIndex, 1, 0, baseVertex); in onDrawIndexed()
86 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.h104 int baseIndex, uint16_t /*minIndexValue*/, uint16_t /*maxIndexValue*/, in sendIndexedMeshToGpu() argument
108 this->sendIndexedInstancedMeshToGpu(primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
118 int baseIndex, const GrBuffer* vertexBuffer, int baseVertex,
/external/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp203 void GrDawnOpsRenderPass::onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue, in onDrawIndexed() argument
205 this->onDrawIndexedInstanced(indexCount, baseIndex, 1, 0, baseVertex); in onDrawIndexed()
208 void GrDawnOpsRenderPass::onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, in onDrawIndexedInstanced() argument
210 fPassEncoder.DrawIndexed(indexCount, instanceCount, baseIndex, baseVertex, baseInstance); in onDrawIndexedInstanced()
DGrDawnOpsRenderPass.h48 void onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue,
52 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
/external/tensorflow/tensorflow/core/kernels/
Deigen_spatial_convolutions-inl.h857 const Index baseIndex) const { in packetNoPadding() argument
858 const Index inputIndex = depth + baseIndex; in packetNoPadding()
863 const Index baseIndex) const { in coeffNoPadding() argument
864 const Index inputIndex = depth + baseIndex; in coeffNoPadding()
871 partialPacketNoPadding(const Index depth, const Index baseIndex, in partialPacketNoPadding() argument
873 const Index inputIndex = depth + baseIndex; in partialPacketNoPadding()
946 EIGEN_ALWAYS_INLINE Index baseIndex(const Index row, const Index col) const { in baseIndex() function
1127 const Index idx0 = dm0.baseIndex(start_row, c);
1128 const Index idx1 = dm1.baseIndex(start_row, c);
1129 const Index idx2 = dm2.baseIndex(start_row, c);
[all …]
Deigen_cuboid_convolution.h1068 const Index baseIndex) const { in packetNoPadding() argument
1069 const Index inputIndex = depth + baseIndex; in packetNoPadding()
1074 const Index baseIndex) const { in coeffNoPadding() argument
1075 const Index inputIndex = depth + baseIndex; in coeffNoPadding()
1095 EIGEN_ALWAYS_INLINE Index baseIndex(const Index plane, const Index row, in baseIndex() function
1283 const Index idx0 = dm0.baseIndex(p, r, c);
1284 const Index idx1 = dm1.baseIndex(p, r, c);
1285 const Index idx2 = dm2.baseIndex(p, r, c);
1286 const Index idx3 = dm3.baseIndex(p, r, c);
1465 const Index idx0 = dm0.baseIndex(p, r, c);
[all …]
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.h126 int baseIndex, uint16_t /*minIndexValue*/, uint16_t /*maxIndexValue*/, in sendIndexedMeshToGpu() argument
130 this->sendIndexedInstancedMeshToGpu(primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu()
140 int baseIndex, const GrBuffer* vertexBuffer, int baseVertex,
/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.h46 void onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue,
50 void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance,
DGrMtlOpsRenderPass.mm300 void GrMtlOpsRenderPass::onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue,
309 size_t indexOffset = mtlIndexBuffer->offset() + sizeof(uint16_t) * baseIndex;
337 int indexCount, int baseIndex, int instanceCount, int baseInstance, int baseVertex) {
344 size_t indexOffset = mtlIndexBuffer->offset() + sizeof(uint16_t) * baseIndex;
/external/skia/tests/
DGrMeshTest.cpp289 int baseIndex = (y % 2); local
292 pass->drawIndexedInstanced(6, baseIndex, kBoxCountX, y * kBoxCountX,
356 int baseIndex = 1 + y * 6; local
357 indexedIndirectWriter.writeIndexed(6, baseIndex, kBoxCountX,

12