Home
last modified time | relevance | path

Searched refs:arrayIndex (Results 1 – 25 of 82) sorted by relevance

1234

/external/angle/src/compiler/translator/
DResourcesHLSL.cpp722 for (unsigned int arrayIndex = 0; arrayIndex < instanceArraySize; arrayIndex++) in uniformBlocksHeader() local
725 interfaceBlock, instanceVariable, structuredBufferRegister + arrayIndex, in uniformBlocksHeader()
726 arrayIndex); in uniformBlocksHeader()
747 for (unsigned int arrayIndex = 0; arrayIndex < instanceArraySize; arrayIndex++) in uniformBlocksHeader() local
750 activeRegister + arrayIndex, arrayIndex); in uniformBlocksHeader()
781 for (unsigned int arrayIndex = 0; arrayIndex < instanceArraySize; arrayIndex++) in shaderStorageBlocksHeader() local
784 interfaceBlock, instanceVariable, activeRegister + arrayIndex, arrayIndex); in shaderStorageBlocksHeader()
802 unsigned int arrayIndex) in uniformBlockString() argument
804 const TString &arrayIndexString = (arrayIndex != GL_INVALID_INDEX ? str(arrayIndex) : ""); in uniformBlockString()
815 InterfaceBlockInstanceString(instanceVariable->name(), arrayIndex) + ";\n"; in uniformBlockString()
[all …]
DResourcesHLSL.h48 unsigned int arrayIndex);
77 unsigned int arrayIndex);
81 unsigned int arrayIndex);
86 unsigned int arrayIndex);
DTypes.cpp758 for (unsigned int arrayIndex = 0u; arrayIndex < getOutermostArraySize(); ++arrayIndex) in createSamplerSymbols() local
761 elementName << namePrefix << "_" << arrayIndex; in createSamplerSymbols()
763 elementApiName << apiNamePrefix << "[" << arrayIndex << "]"; in createSamplerSymbols()
/external/angle/src/tests/perf_tests/
DDrawCallPerf.cpp304 for (int arrayIndex = 0; arrayIndex < kArrayBufferCount; ++arrayIndex) in ChangeVertexAttribThenDraw() local
306 glVertexAttribPointer(arrayIndex, 2, GL_FLOAT, GL_FALSE, 0, 0); in ChangeVertexAttribThenDraw()
310 for (int arrayIndex = 0; arrayIndex < kArrayBufferCount; ++arrayIndex) in ChangeVertexAttribThenDraw() local
312 glVertexAttribPointer(arrayIndex, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, 0); in ChangeVertexAttribThenDraw()
326 for (int arrayIndex = 0; arrayIndex < kArrayBufferCount; ++arrayIndex) in ChangeArrayBuffersThenDraw() local
328 glVertexAttribPointer(arrayIndex, 2, GL_FLOAT, GL_FALSE, 0, 0); in ChangeArrayBuffersThenDraw()
333 for (int arrayIndex = 0; arrayIndex < kArrayBufferCount; ++arrayIndex) in ChangeArrayBuffersThenDraw() local
335 glVertexAttribPointer(arrayIndex, 2, GL_FLOAT, GL_FALSE, 0, 0); in ChangeArrayBuffersThenDraw()
/external/smali/dexlib2/src/main/java/org/jf/util/
DStringWrapper.java143 int arrayIndex = 0;
149 output = addString(output, str.substring(lineStart, i), arrayIndex++);
152 output = addString(output, str.substring(lineStart, i), arrayIndex++);
157 output = addString(output, str.substring(lineStart), arrayIndex++, output.length+1);
160 if (arrayIndex < output.length) {
161 output[arrayIndex] = null;
/external/protobuf/csharp/src/Google.Protobuf/
DExtensionRegistry.cs119 void ICollection<Extension>.CopyTo(Extension[] array, int arrayIndex) in CopyTo() argument
122 if (arrayIndex < 0 || arrayIndex >= array.Length) in CopyTo()
123 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); in CopyTo()
124 if (array.Length - arrayIndex < Count) in CopyTo()
/external/skqp/gm/
Dpolygonoffset.cpp450 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gConvexPoints); in GetConvexPolygon() local
451 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetConvexPolygon()
452 *numPts = numPtsArray[arrayIndex]; in GetConvexPolygon()
453 if (arrayIndex == 3 || arrayIndex == 6) { in GetConvexPolygon()
485 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints); in GetSimplePolygon() local
486 arrayIndex = SkTMin(arrayIndex, SK_ARRAY_COUNT(numPtsArray) - 1); in GetSimplePolygon()
487 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetSimplePolygon()
488 *numPts = numPtsArray[arrayIndex]; in GetSimplePolygon()
/external/skia/gm/
Dpolygonoffset.cpp462 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gConvexPoints); in GetConvexPolygon() local
463 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetConvexPolygon()
464 *numPts = numPtsArray[arrayIndex]; in GetConvexPolygon()
465 if (arrayIndex == 3 || arrayIndex == 6) { in GetConvexPolygon()
497 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints); in GetSimplePolygon() local
498 arrayIndex = std::min(arrayIndex, SK_ARRAY_COUNT(numPtsArray) - 1); in GetSimplePolygon()
499 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetSimplePolygon()
500 *numPts = numPtsArray[arrayIndex]; in GetSimplePolygon()
/external/angle/src/libANGLE/
DVaryingPacking.cpp70 if (x.arrayIndex != y.arrayIndex) in ComparePackedVarying()
72 return x.arrayIndex < y.arrayIndex; in ComparePackedVarying()
232 arrayIndex(arrayIndexIn), in PackedVarying()
244 arrayIndex(other.arrayIndex), in PackedVarying()
255 std::swap(arrayIndex, other.arrayIndex); in operator =()
425 for (unsigned int arrayIndex = 0; arrayIndex < varyingRows; ++arrayIndex) in packVaryingIntoRegisterMap() local
430 registerInfo.registerRow = row + arrayIndex; in packVaryingIntoRegisterMap()
433 (packedVarying.isTransformFeedbackArrayElement() ? packedVarying.arrayIndex in packVaryingIntoRegisterMap()
434 : arrayIndex); in packVaryingIntoRegisterMap()
442 mRegisterMap[row + arrayIndex][bestColumn] = true; in packVaryingIntoRegisterMap()
[all …]
DVaryingPacking.h88 return isTransformFeedback && arrayIndex != GL_INVALID_INDEX; in isTransformFeedbackArrayElement()
117 if (arrayIndex != GL_INVALID_INDEX) in fullName()
119 fullNameStr << "[" << arrayIndex << "]"; in fullName()
141 GLuint arrayIndex; member
276 GLuint arrayIndex,
DProgramExecutable.h66 : sh::ShaderVariable(varyingIn), arrayIndex(arrayIndexIn) in TransformFeedbackVarying()
72 : arrayIndex(GL_INVALID_INDEX) in TransformFeedbackVarying()
92 if (arrayIndex != GL_INVALID_INDEX) in nameWithArrayIndex()
94 fullNameStr << "[" << arrayIndex << "]"; in nameWithArrayIndex()
100 return (isArray() && arrayIndex == GL_INVALID_INDEX ? getOutermostArraySize() : 1); in size()
103 GLuint arrayIndex; member
DProgram.cpp135 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation() local
149 if ((variable.name == name) && (variableLocation.arrayIndex == 0)) in GetVariableLocation()
153 if (variable.isArray() && variableLocation.arrayIndex == arrayIndex && in GetVariableLocation()
168 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation() local
183 if (angle::BeginsWith(variable.name, name) && (variableLocation.arrayIndex == 0)) in GetVariableLocation()
201 if (variable.isArray() && variableLocation.arrayIndex == arrayIndex && in GetVariableLocation()
1004 VariableLocation::VariableLocation() : arrayIndex(0), index(kUnused), ignored(false) {} in VariableLocation()
1006 VariableLocation::VariableLocation(unsigned int arrayIndex, unsigned int index) in VariableLocation() argument
1007 : arrayIndex(arrayIndex), index(index), ignored(false) in VariableLocation()
1009 ASSERT(arrayIndex != GL_INVALID_INDEX); in VariableLocation()
[all …]
/external/proguard/src/proguard/evaluation/
DProcessor.java123 IntegerValue arrayIndex = stack.ipop(); in visitSimpleInstruction() local
125 stack.push(arrayReference.integerArrayLoad(arrayIndex, valueFactory)); in visitSimpleInstruction()
130 IntegerValue arrayIndex = stack.ipop(); in visitSimpleInstruction() local
132 stack.push(arrayReference.longArrayLoad(arrayIndex, valueFactory)); in visitSimpleInstruction()
137 IntegerValue arrayIndex = stack.ipop(); in visitSimpleInstruction() local
139 stack.push(arrayReference.floatArrayLoad(arrayIndex, valueFactory)); in visitSimpleInstruction()
144 IntegerValue arrayIndex = stack.ipop(); in visitSimpleInstruction() local
146 stack.push(arrayReference.doubleArrayLoad(arrayIndex, valueFactory)); in visitSimpleInstruction()
151 IntegerValue arrayIndex = stack.ipop(); in visitSimpleInstruction() local
153 stack.push(arrayReference.referenceArrayLoad(arrayIndex, valueFactory)); in visitSimpleInstruction()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttSubtitle.java44 int arrayIndex = cueIndex * 2; in WebvttSubtitle() local
45 cueTimesUs[arrayIndex] = cueInfo.startTimeUs; in WebvttSubtitle()
46 cueTimesUs[arrayIndex + 1] = cueInfo.endTimeUs; in WebvttSubtitle()
/external/angle/src/libANGLE/renderer/vulkan/
DProgramVk.cpp75 uint32_t arrayIndex, in UpdateDefaultUniformBlock() argument
86 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock()
94 int maxIndex = arrayIndex + count; in UpdateDefaultUniformBlock()
95 for (int writeIndex = arrayIndex, readIndex = 0; writeIndex < maxIndex; in UpdateDefaultUniformBlock()
109 uint32_t arrayIndex, in ReadFromDefaultUniformBlock() argument
121 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock()
127 const int arrayOffset = arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock()
443 UpdateDefaultUniformBlock(count, locationInfo.arrayIndex, componentCount, v, layoutInfo, in setUniformImpl()
466 locationInfo.arrayIndex * layoutInfo.arrayStride + layoutInfo.offset; in setUniformImpl()
505 (locationInfo.arrayIndex * layoutInfo.arrayStride); in getUniformImpl()
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DSubList.cs356 public void CopyTo( T[] array, int arrayIndex ) in CopyTo() argument
361 if ( arrayIndex < 0 ) in CopyTo()
364 if ( arrayIndex + Count > array.Length ) in CopyTo()
369 array[arrayIndex + i] = this[i]; in CopyTo()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs304 … ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo() argument
306 list.CopyTo(array, arrayIndex); in CopyTo()
723 public void CopyTo(T[] array, int arrayIndex) in CopyTo() argument
725 if (arrayIndex < 0) in CopyTo()
727 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); in CopyTo()
729 if (arrayIndex + Count > array.Length) in CopyTo()
735 array[arrayIndex++] = item; in CopyTo()
DReadOnlyDictionary.cs102 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo() argument
104 wrapped.CopyTo(array, arrayIndex); in CopyTo()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DStoreTile.h963 …pDstSurface->arrayIndex + renderTargetArrayIndex, pDstSurface->arrayIndex + renderTargetArrayIndex,
1020 …pResolveSurface->arrayIndex + renderTargetArrayIndex, pResolveSurface->arrayIndex + renderTargetAr…
1065 …uint8_t *pDst = (uint8_t*)ComputeSurfaceAddress<false, false>(x, y, pDstSurface->arrayIndex + rend…
1066 … pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
1130 …uint8_t *pDst = (uint8_t*)ComputeSurfaceAddress<false, false>(x, y, pDstSurface->arrayIndex + rend…
1131 … pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
1195 …uint8_t *pDst = (uint8_t*)ComputeSurfaceAddress<false, false>(x, y, pDstSurface->arrayIndex + rend…
1196 … pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
1261 …uint8_t *pDst = (uint8_t*)ComputeSurfaceAddress<false, false>(x, y, pDstSurface->arrayIndex + rend…
1262 … pDstSurface->arrayIndex + renderTargetArrayIndex, sampleNum, pDstSurface->lod, pDstSurface);
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexUtil.cpp1076 int arrayIndex = 0; in createQuadMosaic() local
1085 Vec4(0.0f, 0.0f, (float)arrayIndex, 0.0f) in createQuadMosaic()
1090 Vec4(0.0f, 1.0f, (float)arrayIndex, 0.0f) in createQuadMosaic()
1095 Vec4(1.0f, 0.0f, (float)arrayIndex, 0.0f) in createQuadMosaic()
1100 Vec4(1.0f, 1.0f, (float)arrayIndex, 0.0f) in createQuadMosaic()
1110 arrayIndex++; in createQuadMosaic()
/external/caliper/caliper/src/main/java/com/google/caliper/memory/
DChain.java55 ArrayIndexChain appendArrayIndex(int arrayIndex, Object value) {
56 return new ArrayIndexChain(this, arrayIndex, value);
/external/grpc-grpc/src/csharp/Grpc.Core/
DMetadata.cs173 public void CopyTo(Metadata.Entry[] array, int arrayIndex) in CopyTo() argument
175 entries.CopyTo(array, arrayIndex); in CopyTo()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_glslang_mtl_utils.mm250 const size_t arrayIndexStart = varying.arrayIndex == GL_INVALID_INDEX ? 0 : varying.arrayIndex;
253 for (size_t arrayIndex = arrayIndexStart; arrayIndex < arrayIndexEnd; ++arrayIndex)
272 result << "[" << arrayIndex << "]";
/external/angle/src/common/
Dbitset_utils.h1008 for (size_t arrayIndex = 0; arrayIndex < kArraySize; ++arrayIndex)
1010 const BaseBitSet &baseBitSet = mBaseBitSetArray[arrayIndex];
1013 return baseBitSet.first() + arrayIndex * priv::kDefaultBitSetSize;
1024 for (size_t arrayIndex = kArraySize; arrayIndex > 0; --arrayIndex)
1026 const BaseBitSet &baseBitSet = mBaseBitSetArray[arrayIndex - 1];
1029 return baseBitSet.last() + (arrayIndex - 1) * priv::kDefaultBitSetSize;
/external/angle/src/libANGLE/capture/
Dtrace_fixture.cpp141 void UpdateClientArrayPointer(int arrayIndex, const void *data, uint64_t size) in UpdateClientArrayPointer() argument
143 memcpy(gClientArrays[arrayIndex], data, static_cast<size_t>(size)); in UpdateClientArrayPointer()

1234