Home
last modified time | relevance | path

Searched refs:dataIndex (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DBufferSubData.cpp106 for (GLsizeiptr dataIndex = 0; dataIndex < numElements; dataIndex++) in GetNormalizedData() local
108 GLfloat scaled = floatData[dataIndex] * 0.25f; in GetNormalizedData()
109 destPtr[dataIndex] = in GetNormalizedData()
124 for (GLsizeiptr dataIndex = 0; dataIndex < numElements; dataIndex++) in GetIntData() local
126 destPtr[dataIndex] = static_cast<T>(floatData[dataIndex]); in GetIntData()
DMapBufferRange.cpp117 for (GLsizeiptr dataIndex = 0; dataIndex < numElements; dataIndex++) in GetNormalizedData() local
119 GLfloat scaled = floatData[dataIndex] * 0.25f; in GetNormalizedData()
120 destPtr[dataIndex] = in GetNormalizedData()
135 for (GLsizeiptr dataIndex = 0; dataIndex < numElements; dataIndex++) in GetIntData() local
137 destPtr[dataIndex] = static_cast<T>(floatData[dataIndex]); in GetIntData()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DBufferSubData.cpp106 for (GLsizeiptr dataIndex = 0; dataIndex < numElements; dataIndex++) in GetNormalizedData() local
108 GLfloat scaled = floatData[dataIndex] * 0.25f; in GetNormalizedData()
109 destPtr[dataIndex] = in GetNormalizedData()
124 for (GLsizeiptr dataIndex = 0; dataIndex < numElements; dataIndex++) in GetIntData() local
126 destPtr[dataIndex] = static_cast<T>(floatData[dataIndex]); in GetIntData()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCodePointTrie.java832 int dataIndex; in next() local
834 dataIndex = fastIndex(c); in next()
841 dataIndex = smallIndex(Type.FAST, c); in next()
843 dataIndex = dataLength - ERROR_VALUE_NEG_DATA_OFFSET; in next()
846 value = data.getFromIndex(dataIndex); in next()
857 int dataIndex; in previous() local
859 dataIndex = fastIndex(c); in previous()
866 dataIndex = smallIndex(Type.FAST, c); in previous()
868 dataIndex = dataLength - ERROR_VALUE_NEG_DATA_OFFSET; in previous()
871 value = data.getFromIndex(dataIndex); in previous()
[all …]
DMutableCodePointTrie.java849 … private void addEntry(int[] data32, char[] data16, int blockStart, int hashCode, int dataIndex) { in addEntry() argument
850 assert(0 <= dataIndex && dataIndex < mask); in addEntry()
853 table[~entryIndex] = (hashCode << shift) | (dataIndex + 1); in addEntry()
867 int dataIndex = (entry & mask) - 1; in findEntry() local
869 equalBlocks(data32, dataIndex, blockData32, blockStart, blockLength) : in findEntry()
871 … equalBlocks(data16, dataIndex, blockData32, blockStart, blockLength) : in findEntry()
872 … equalBlocks(data16, dataIndex, blockData16, blockStart, blockLength)) { in findEntry()
889 int dataIndex = (entry & mask) - 1; in findEntry() local
890 if (allValuesSameAs(data, dataIndex, blockLength, blockValue)) { in findEntry()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCodePointTrie.java813 int dataIndex; in next() local
815 dataIndex = fastIndex(c); in next()
822 dataIndex = smallIndex(Type.FAST, c); in next()
824 dataIndex = dataLength - ERROR_VALUE_NEG_DATA_OFFSET; in next()
827 value = data.getFromIndex(dataIndex); in next()
838 int dataIndex; in previous() local
840 dataIndex = fastIndex(c); in previous()
847 dataIndex = smallIndex(Type.FAST, c); in previous()
849 dataIndex = dataLength - ERROR_VALUE_NEG_DATA_OFFSET; in previous()
852 value = data.getFromIndex(dataIndex); in previous()
[all …]
DMutableCodePointTrie.java841 … private void addEntry(int[] data32, char[] data16, int blockStart, int hashCode, int dataIndex) { in addEntry() argument
842 assert(0 <= dataIndex && dataIndex < mask); in addEntry()
845 table[~entryIndex] = (hashCode << shift) | (dataIndex + 1); in addEntry()
859 int dataIndex = (entry & mask) - 1; in findEntry() local
861 equalBlocks(data32, dataIndex, blockData32, blockStart, blockLength) : in findEntry()
863 … equalBlocks(data16, dataIndex, blockData32, blockStart, blockLength) : in findEntry()
864 … equalBlocks(data16, dataIndex, blockData16, blockStart, blockLength)) { in findEntry()
881 int dataIndex = (entry & mask) - 1; in findEntry() local
882 if (allValuesSameAs(data, dataIndex, blockLength, blockValue)) { in findEntry()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DTailoredSet.java100 int dataIndex = Collation.indexFromCE32(ce32); in compare() local
101 ce32 = data.getFinalCE32(data.getCE32FromContexts(dataIndex)); in compare()
105 comparePrefixes(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
107 addPrefixes(data, c, data.contexts, dataIndex + 2); in compare()
116 int dataIndex = Collation.indexFromCE32(ce32); in compare() local
120 ce32 = data.getFinalCE32(data.getCE32FromContexts(dataIndex)); in compare()
129 … compareContractions(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
131 addContractions(c, data.contexts, dataIndex + 2); in compare()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DTailoredSet.java102 int dataIndex = Collation.indexFromCE32(ce32); in compare() local
103 ce32 = data.getFinalCE32(data.getCE32FromContexts(dataIndex)); in compare()
107 comparePrefixes(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
109 addPrefixes(data, c, data.contexts, dataIndex + 2); in compare()
118 int dataIndex = Collation.indexFromCE32(ce32); in compare() local
122 ce32 = data.getFinalCE32(data.getCE32FromContexts(dataIndex)); in compare()
131 … compareContractions(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
133 addContractions(c, data.contexts, dataIndex + 2); in compare()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcSeparableProgramsTransformFeedbackTests.cpp295 for (GLuint dataIndex = 0; dataIndex < writtenPrimitives; ++dataIndex) in iterate() local
297 if (feedbackData[dataIndex] == m_expectedValue) in iterate()
/third_party/skia/third_party/externals/icu/source/common/
Ducptrie.cpp216 inline uint32_t getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) { in getValue() argument
219 return data.ptr16[dataIndex]; in getValue()
221 return data.ptr32[dataIndex]; in getValue()
223 return data.ptr8[dataIndex]; in getValue()
234 int32_t dataIndex; in ucptrie_get() local
237 dataIndex = c; in ucptrie_get()
240 dataIndex = _UCPTRIE_CP_INDEX(trie, fastMax, c); in ucptrie_get()
242 return getValue(trie->data, (UCPTrieValueWidth)trie->valueWidth, dataIndex); in ucptrie_get()
Dumutablecptrie.cpp863 void addEntry(const UInt *data, int32_t blockStart, uint32_t hashCode, int32_t dataIndex) { in addEntry() argument
864 U_ASSERT(0 <= dataIndex && dataIndex < (int32_t)mask); in addEntry()
867 table[~entryIndex] = (hashCode << shift) | (dataIndex + 1); in addEntry()
882 int32_t dataIndex = (entry & mask) - 1; in findEntry() local
883 if (equalBlocks(data + dataIndex, blockData + blockStart, blockLength)) { in findEntry()
900 int32_t dataIndex = (entry & mask) - 1; in findEntry() local
901 if (allValuesSameAs(data + dataIndex, blockLength, blockValue)) { in findEntry()
/third_party/node/deps/icu-small/source/common/
Ducptrie.cpp216 inline uint32_t getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) { in getValue() argument
219 return data.ptr16[dataIndex]; in getValue()
221 return data.ptr32[dataIndex]; in getValue()
223 return data.ptr8[dataIndex]; in getValue()
234 int32_t dataIndex; in ucptrie_get() local
237 dataIndex = c; in ucptrie_get()
240 dataIndex = _UCPTRIE_CP_INDEX(trie, fastMax, c); in ucptrie_get()
242 return getValue(trie->data, (UCPTrieValueWidth)trie->valueWidth, dataIndex); in ucptrie_get()
Dumutablecptrie.cpp863 void addEntry(const UInt *data, int32_t blockStart, uint32_t hashCode, int32_t dataIndex) { in addEntry() argument
864 U_ASSERT(0 <= dataIndex && dataIndex < (int32_t)mask); in addEntry()
867 table[~entryIndex] = (hashCode << shift) | (dataIndex + 1); in addEntry()
882 int32_t dataIndex = (entry & mask) - 1; in findEntry() local
883 if (equalBlocks(data + dataIndex, blockData + blockStart, blockLength)) { in findEntry()
900 int32_t dataIndex = (entry & mask) - 1; in findEntry() local
901 if (allValuesSameAs(data + dataIndex, blockLength, blockValue)) { in findEntry()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducptrie.cpp216 inline uint32_t getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) { in getValue() argument
219 return data.ptr16[dataIndex]; in getValue()
221 return data.ptr32[dataIndex]; in getValue()
223 return data.ptr8[dataIndex]; in getValue()
234 int32_t dataIndex; in ucptrie_get() local
237 dataIndex = c; in ucptrie_get()
240 dataIndex = _UCPTRIE_CP_INDEX(trie, fastMax, c); in ucptrie_get()
242 return getValue(trie->data, (UCPTrieValueWidth)trie->valueWidth, dataIndex); in ucptrie_get()
Dumutablecptrie.cpp858 void addEntry(const UInt *data, int32_t blockStart, uint32_t hashCode, int32_t dataIndex) { in addEntry() argument
859 U_ASSERT(0 <= dataIndex && dataIndex < (int32_t)mask); in addEntry()
862 table[~entryIndex] = (hashCode << shift) | (dataIndex + 1); in addEntry()
877 int32_t dataIndex = (entry & mask) - 1; in findEntry() local
878 if (equalBlocks(data + dataIndex, blockData + blockStart, blockLength)) { in findEntry()
895 int32_t dataIndex = (entry & mask) - 1; in findEntry() local
896 if (allValuesSameAs(data + dataIndex, blockLength, blockValue)) { in findEntry()
/third_party/icu/icu4c/source/common/
Ducptrie.cpp216 inline uint32_t getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) { in getValue() argument
219 return data.ptr16[dataIndex]; in getValue()
221 return data.ptr32[dataIndex]; in getValue()
223 return data.ptr8[dataIndex]; in getValue()
234 int32_t dataIndex; in ucptrie_get() local
237 dataIndex = c; in ucptrie_get()
240 dataIndex = _UCPTRIE_CP_INDEX(trie, fastMax, c); in ucptrie_get()
242 return getValue(trie->data, (UCPTrieValueWidth)trie->valueWidth, dataIndex); in ucptrie_get()
Dumutablecptrie.cpp863 void addEntry(const UInt *data, int32_t blockStart, uint32_t hashCode, int32_t dataIndex) { in addEntry() argument
864 U_ASSERT(0 <= dataIndex && dataIndex < (int32_t)mask); in addEntry()
867 table[~entryIndex] = (hashCode << shift) | (dataIndex + 1); in addEntry()
882 int32_t dataIndex = (entry & mask) - 1; in findEntry() local
883 if (equalBlocks(data + dataIndex, blockData + blockStart, blockLength)) { in findEntry()
900 int32_t dataIndex = (entry & mask) - 1; in findEntry() local
901 if (allValuesSameAs(data + dataIndex, blockLength, blockValue)) { in findEntry()
/third_party/icu/icu4c/source/test/intltest/
Ddtptngts.cpp697 int32_t dataIndex=0; in testAPI() local
707 while (patternData[dataIndex].length() > 0) { in testAPI()
708 log(patternData[dataIndex]); in testAPI()
709 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI()
717 …errln(UnicodeString("\nERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], locale… in testAPI()
737 int32_t dataIndex=0; in testAPI() local
754 while (patternTests2[dataIndex].length() > 0) { in testAPI()
755 logln(patternTests2[dataIndex]); in testAPI()
756 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); in testAPI()
762 errln(UnicodeString("\nERROR: Test various skeletons[") + dataIndex in testAPI()
[all …]
/third_party/flutter/skia/src/utils/
DSkPatchUtils.cpp312 int dataIndex = x * (lodY + 1) + y; in MakeVertices() local
329 pos[dataIndex] = s0 + s1 - s2; in MakeVertices()
336 .store(tmpColors[dataIndex].vec()); in MakeVertices()
340 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(), in MakeVertices()
/third_party/skia/src/utils/
DSkPatchUtils.cpp314 int dataIndex = x * (lodY + 1) + y; in MakeVertices() local
331 pos[dataIndex] = s0 + s1 - s2; in MakeVertices()
338 .store(tmpColors[dataIndex].vec()); in MakeVertices()
342 texs[dataIndex] = SkPoint::Make(bilerp(u, v, srcTexCoords[kTopLeft_Corner].x(), in MakeVertices()
/third_party/flutter/skia/third_party/externals/icu/patches/
Duniset_perf.patch233 + void addEntry(const UInt *data, int32_t blockStart, uint32_t hashCode, int32_t dataIndex) {
234 + U_ASSERT(0 <= dataIndex && dataIndex < (int32_t)mask);
237 + table[~entryIndex] = (hashCode << shift) | (dataIndex + 1);
252 + int32_t dataIndex = (entry & mask) - 1;
253 + if (equalBlocks(data + dataIndex, blockData + blockStart, blockLength)) {
270 + int32_t dataIndex = (entry & mask) - 1;
271 + if (allValuesSameAs(data + dataIndex, blockLength, blockValue)) {
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DFrameCapture.cpp55 for (size_t dataIndex = 1; dataIndex < count; ++dataIndex)
57 out << ", " << static_cast<CastT>(data[dataIndex]);
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVertexAttributeTest.cpp1854 for (size_t dataIndex = 0; dataIndex < kDataSize; dataIndex++) in TEST_P() local
1856 kColorTestData[dataIndex] = 1u; in TEST_P()
1925 for (size_t dataIndex = 0; dataIndex < kDataSize; dataIndex++) in TEST_P() local
1927 kColorTestData[dataIndex] = 1u; in TEST_P()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dregexcmp.cpp2077 int32_t dataIndex = fRXPat->fDataSize; in allocateData() local
2082 return dataIndex; in allocateData()
2104 int32_t dataIndex = fRXPat->fFrameSize; in allocateStackData() local
2109 return dataIndex; in allocateStackData()
2623 int32_t dataIndex = RECaseFixStringOffsets[i]; in findCaseInsensitiveStarters() local
2627 U16_NEXT_UNSAFE(RECaseFixData, dataIndex, cpToAdd); in findCaseInsensitiveStarters()

12