Home
last modified time | relevance | path

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

1234

/external/angle/src/compiler/translator/hlsl/
DResourcesHLSL.cpp708 for (unsigned int arrayIndex = 0; arrayIndex < instanceArraySize; arrayIndex++) in uniformBlocksHeader() local
711 interfaceBlock, instanceVariable, structuredBufferRegister + arrayIndex, in uniformBlocksHeader()
712 arrayIndex); in uniformBlocksHeader()
733 for (unsigned int arrayIndex = 0; arrayIndex < instanceArraySize; arrayIndex++) in uniformBlocksHeader() local
736 activeRegister + arrayIndex, arrayIndex); in uniformBlocksHeader()
787 for (unsigned int arrayIndex = 0; arrayIndex < instanceArraySize; arrayIndex++) in shaderStorageBlocksHeader() local
790 interfaceBlock, instanceVariable, activeRegister + arrayIndex, arrayIndex); in shaderStorageBlocksHeader()
806 unsigned int arrayIndex) in uniformBlockString() argument
808 const TString &arrayIndexString = (arrayIndex != GL_INVALID_INDEX ? str(arrayIndex) : ""); in uniformBlockString()
819 InterfaceBlockInstanceString(instanceVariable->name(), arrayIndex) + ";\n"; in uniformBlockString()
[all …]
DResourcesHLSL.h50 unsigned int arrayIndex);
80 unsigned int arrayIndex);
84 unsigned int arrayIndex);
89 unsigned int arrayIndex);
/external/setfilters/java/com/google/setfilters/cuckoofilter/
DUncompressedCuckooFilterTable.java68 long arrayIndex = toArrayIndex(bucketIndex, slotIndex); in insertWithReplacement() local
69 if (cuckooFilterArray.getAsLong(arrayIndex) == CuckooFilterTable.EMPTY_SLOT) { in insertWithReplacement()
70 cuckooFilterArray.set(arrayIndex, fingerprint); in insertWithReplacement()
84 long arrayIndex = toArrayIndex(bucketIndex, slotIndex); in contains() local
85 if (cuckooFilterArray.getAsLong(arrayIndex) == fingerprint) { in contains()
95 long arrayIndex = toArrayIndex(bucketIndex, slotIndex); in delete() local
96 if (cuckooFilterArray.getAsLong(arrayIndex) == fingerprint) { in delete()
97 cuckooFilterArray.set(arrayIndex, CuckooFilterTable.EMPTY_SLOT); in delete()
DSemiSortedCuckooFilterTable.java181 long arrayIndex = toArrayIndex(bucketIndex, i); in decodeBucket() local
182 long n = cuckooFilterArray.getAsLong(arrayIndex); in decodeBucket()
229 long arrayIndex = toArrayIndex(bucketIndex, i); in encodeAndPut() local
231 arrayIndex, in encodeAndPut()
/external/angle/src/tests/perf_tests/
DDrawCallPerf.cpp379 for (int arrayIndex = 0; arrayIndex < kArrayBufferCount; ++arrayIndex) in ChangeVertexAttribThenDraw() local
381 glVertexAttribPointer(arrayIndex, 2, GL_FLOAT, GL_FALSE, 0, 0); in ChangeVertexAttribThenDraw()
385 for (int arrayIndex = 0; arrayIndex < kArrayBufferCount; ++arrayIndex) in ChangeVertexAttribThenDraw() local
387 glVertexAttribPointer(arrayIndex, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, 0); in ChangeVertexAttribThenDraw()
401 for (int arrayIndex = 0; arrayIndex < kArrayBufferCount; ++arrayIndex) in ChangeArrayBuffersThenDraw() local
403 glVertexAttribPointer(arrayIndex, 2, GL_FLOAT, GL_FALSE, 0, 0); in ChangeArrayBuffersThenDraw()
408 for (int arrayIndex = 0; arrayIndex < kArrayBufferCount; ++arrayIndex) in ChangeArrayBuffersThenDraw() local
410 glVertexAttribPointer(arrayIndex, 2, GL_FLOAT, GL_FALSE, 0, 0); in ChangeArrayBuffersThenDraw()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/util/
DStringWrapper.java142 int arrayIndex = 0;
148 output = addString(output, str.substring(lineStart, i), arrayIndex++);
151 output = addString(output, str.substring(lineStart, i), arrayIndex++);
156 output = addString(output, str.substring(lineStart), arrayIndex++, output.length+1);
159 if (arrayIndex < output.length) {
160 output[arrayIndex] = null;
/external/angle/src/libANGLE/
DVaryingPacking.cpp70 if (x.arrayIndex != y.arrayIndex) in ComparePackedVarying()
72 return x.arrayIndex < y.arrayIndex; in ComparePackedVarying()
279 arrayIndex(arrayIndexIn), in PackedVarying()
291 arrayIndex(other.arrayIndex), in PackedVarying()
302 std::swap(arrayIndex, other.arrayIndex); in operator =()
470 for (unsigned int arrayIndex = 0; arrayIndex < varyingRows; ++arrayIndex) in packVaryingIntoRegisterMap() local
475 registerInfo.registerRow = row + arrayIndex; in packVaryingIntoRegisterMap()
478 (packedVarying.isTransformFeedbackArrayElement() ? packedVarying.arrayIndex in packVaryingIntoRegisterMap()
479 : arrayIndex); in packVaryingIntoRegisterMap()
487 mRegisterMap[row + arrayIndex][bestColumn] = true; in packVaryingIntoRegisterMap()
[all …]
DVaryingPacking.h87 return isTransformFeedback && arrayIndex != GL_INVALID_INDEX; in isTransformFeedbackArrayElement()
116 if (arrayIndex != GL_INVALID_INDEX) in fullName()
118 fullNameStr << "[" << arrayIndex << "]"; in fullName()
140 GLuint arrayIndex; member
296 GLuint arrayIndex,
DProgramExecutable.cpp396 size_t arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndexOut); in GetResourceLocation() local
398 if (arrayIndex != GL_INVALID_INDEX) in GetResourceLocation()
400 location += arrayIndex; in GetResourceLocation()
425 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetVariableLocation() local
439 if ((variable.name == name) && (variableLocation.arrayIndex == 0)) in GetVariableLocation()
443 if (variable.isArray() && variableLocation.arrayIndex == arrayIndex && in GetVariableLocation()
492 unsigned int arrayIndex = ParseArrayIndex(name, &nameLengthWithoutArrayIndex); in GetUniformLocation() local
508 if (angle::BeginsWith(uniformName, name) && (variableLocation.arrayIndex == 0)) in GetUniformLocation()
526 if (variable.isArray() && variableLocation.arrayIndex == arrayIndex && in GetUniformLocation()
920 varying.arrayIndex = stream->readInt<GLuint>(); in load()
[all …]
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf/
DExtensionRegistry.cs134 void ICollection<Extension>.CopyTo(Extension[] array, int arrayIndex) in CopyTo() argument
137 if (arrayIndex < 0 || arrayIndex >= array.Length) in CopyTo()
139 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); in CopyTo()
141 if (array.Length - arrayIndex < Count) in CopyTo()
/external/protobuf/csharp/src/Google.Protobuf/
DExtensionRegistry.cs134 void ICollection<Extension>.CopyTo(Extension[] array, int arrayIndex) in CopyTo() argument
137 if (arrayIndex < 0 || arrayIndex >= array.Length) in CopyTo()
139 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); in CopyTo()
141 if (array.Length - arrayIndex < Count) in CopyTo()
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf/
DExtensionRegistry.cs134 void ICollection<Extension>.CopyTo(Extension[] array, int arrayIndex) in CopyTo() argument
137 if (arrayIndex < 0 || arrayIndex >= array.Length) in CopyTo()
139 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); in CopyTo()
141 if (array.Length - arrayIndex < Count) in CopyTo()
/external/skia/gm/
Dpolygonoffset.cpp463 size_t arrayIndex = index - std::size(PolygonOffsetData::gConvexPoints); in GetConvexPolygon() local
464 SkASSERT(arrayIndex < std::size(numPtsArray)); in GetConvexPolygon()
465 *numPts = numPtsArray[arrayIndex]; in GetConvexPolygon()
466 if (arrayIndex == 3 || arrayIndex == 6) { in GetConvexPolygon()
498 size_t arrayIndex = index - std::size(PolygonOffsetData::gSimplePoints); in GetSimplePolygon() local
499 arrayIndex = std::min(arrayIndex, std::size(numPtsArray) - 1); in GetSimplePolygon()
500 SkASSERT(arrayIndex < std::size(numPtsArray)); in GetSimplePolygon()
501 *numPts = numPtsArray[arrayIndex]; in GetSimplePolygon()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttSubtitle.java41 int arrayIndex = cueIndex * 2; in WebvttSubtitle() local
42 cueTimesUs[arrayIndex] = cueInfo.startTimeUs; in WebvttSubtitle()
43 cueTimesUs[arrayIndex + 1] = cueInfo.endTimeUs; in WebvttSubtitle()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttSubtitle.java41 int arrayIndex = cueIndex * 2; in WebvttSubtitle() local
42 cueTimesUs[arrayIndex] = cueInfo.startTimeUs; in WebvttSubtitle()
43 cueTimesUs[arrayIndex + 1] = cueInfo.endTimeUs; in WebvttSubtitle()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorBufferTests.cpp799 uint32_t packBindingArgs(uint32_t set, uint32_t binding, uint32_t arrayIndex) in packBindingArgs() argument
803 DE_ASSERT(arrayIndex < 0x80); in packBindingArgs()
805 return (arrayIndex << 12) | ((set & 0x3Fu) << 6) | (binding & 0x3Fu); in packBindingArgs()
826 uint32_t getExpectedData(uint32_t hash, uint32_t set, uint32_t binding, uint32_t arrayIndex = 0) in getExpectedData() argument
828 return hash ^ packBindingArgs(set, binding, arrayIndex); in getExpectedData()
832 …ec2 getExpectedData_G8_B8R8(uint32_t hash, uint32_t set, uint32_t binding, uint32_t arrayIndex = 0) in getExpectedData_G8_B8R8() argument
835 const uint32_t data = deUint32Hash(getExpectedData(hash, set, binding, arrayIndex)); in getExpectedData_G8_B8R8()
1139 for (uint32_t arrayIndex = 0; arrayIndex < sb.count; ++arrayIndex) in glslOutputVerification() local
1145 … sb.inputAttachmentIndex + arrayIndex)); in glslOutputVerification()
1150 … glslFormat(packBindingArgs(sb.set, sb.binding, sb.inputAttachmentIndex + arrayIndex)); in glslOutputVerification()
[all …]
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs306 … ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo() argument
308 list.CopyTo(array, arrayIndex); in CopyTo()
714 public void CopyTo(T[] array, int arrayIndex) in CopyTo() argument
716 if (arrayIndex < 0) in CopyTo()
718 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); in CopyTo()
720 if (arrayIndex + Count > array.Length) in CopyTo()
726 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/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs306 … ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo() argument
308 list.CopyTo(array, arrayIndex); in CopyTo()
714 public void CopyTo(T[] array, int arrayIndex) in CopyTo() argument
716 if (arrayIndex < 0) in CopyTo()
718 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); in CopyTo()
720 if (arrayIndex + Count > array.Length) in CopyTo()
726 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/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs306 … ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) in CopyTo() argument
308 list.CopyTo(array, arrayIndex); in CopyTo()
714 public void CopyTo(T[] array, int arrayIndex) in CopyTo() argument
716 if (arrayIndex < 0) in CopyTo()
718 throw new ArgumentOutOfRangeException(nameof(arrayIndex)); in CopyTo()
720 if (arrayIndex + Count > array.Length) in CopyTo()
726 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/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DWorkQueue.kt179 val arrayIndex = index and MASK in tryExtractFromTheMiddle() constant
180 val value = buffer[arrayIndex] in tryExtractFromTheMiddle()
181 …if (value != null && value.isBlocking == onlyBlocking && buffer.compareAndSet(arrayIndex, value, n… in tryExtractFromTheMiddle()
/external/angle/src/common/
Dbitset_utils.h1056 for (size_t arrayIndex = 0; arrayIndex < kArraySize; ++arrayIndex)
1058 const BaseBitSet &baseBitSet = mBaseBitSetArray[arrayIndex];
1061 return baseBitSet.first() + arrayIndex * priv::kDefaultBitSetSize;
1072 for (size_t arrayIndex = kArraySize; arrayIndex > 0; --arrayIndex)
1074 const BaseBitSet &baseBitSet = mBaseBitSetArray[arrayIndex - 1];
1077 return baseBitSet.last() + (arrayIndex - 1) * priv::kDefaultBitSetSize;
1095 for (size_t arrayIndex = 0; arrayIndex < kArraySize; ++arrayIndex)
1097 const size_t bitOffset = arrayIndex * priv::kDefaultBitSetSize;
1103 result.mBaseBitSetArray[arrayIndex] = BaseBitSet::Mask(bitsInThisIndex);
/external/angle/util/capture/
Dframe_capture_test_utils.cpp142 for (rapidjson::SizeType arrayIndex = 0; arrayIndex < traceArray.Size(); ++arrayIndex) in LoadTraceNamesFromJSON() local
144 const rapidjson::Document::ValueType &arrayElement = traceArray[arrayIndex]; in LoadTraceNamesFromJSON()

1234