Home
last modified time | relevance | path

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

/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/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/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/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/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/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/icu/icu4c/source/test/intltest/
Ddtptngts.cpp700 int32_t dataIndex=0; in testAPI() local
710 while (patternData[dataIndex].length() > 0) { in testAPI()
711 log(patternData[dataIndex]); in testAPI()
712 bestPattern = patGen->getBestPattern(patternData[dataIndex++], status); in testAPI()
720 …errln(UnicodeString("\nERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], locale… in testAPI()
740 int32_t dataIndex=0; in testAPI() local
757 while (patternTests2[dataIndex].length() > 0) { in testAPI()
758 logln(patternTests2[dataIndex]); in testAPI()
759 bestPattern = patGen->getBestPattern(patternTests2[dataIndex], status); in testAPI()
765 errln(UnicodeString("\nERROR: Test various skeletons[") + dataIndex in testAPI()
[all …]
/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/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp121 CNum dataIndex = archive->ReadNum(); in Set() local
122 if (dataIndex >= dataVector->Size()) in Set()
124 Set(archive, (*dataVector)[dataIndex]); in Set()
/third_party/icu/icu4c/source/i18n/
Dregexcmp.cpp2085 int32_t dataIndex = fRXPat->fDataSize; in allocateData() local
2090 return dataIndex; in allocateData()
2112 int32_t dataIndex = fRXPat->fFrameSize; in allocateStackData() local
2117 return dataIndex; in allocateStackData()
2651 int32_t dataIndex = RECaseFixStringOffsets[i]; in findCaseInsensitiveStarters() local
2655 U16_NEXT_UNSAFE(RECaseFixData, dataIndex, cpToAdd); in findCaseInsensitiveStarters()
/third_party/skia/third_party/externals/icu/source/i18n/
Dregexcmp.cpp2087 int32_t dataIndex = fRXPat->fDataSize; in allocateData() local
2092 return dataIndex; in allocateData()
2114 int32_t dataIndex = fRXPat->fFrameSize; in allocateStackData() local
2119 return dataIndex; in allocateStackData()
2648 int32_t dataIndex = RECaseFixStringOffsets[i]; in findCaseInsensitiveStarters() local
2652 U16_NEXT_UNSAFE(RECaseFixData, dataIndex, cpToAdd); in findCaseInsensitiveStarters()
/third_party/node/deps/icu-small/source/i18n/
Dregexcmp.cpp2085 int32_t dataIndex = fRXPat->fDataSize; in allocateData() local
2090 return dataIndex; in allocateData()
2112 int32_t dataIndex = fRXPat->fFrameSize; in allocateStackData() local
2117 return dataIndex; in allocateStackData()
2651 int32_t dataIndex = RECaseFixStringOffsets[i]; in findCaseInsensitiveStarters() local
2655 U16_NEXT_UNSAFE(RECaseFixData, dataIndex, cpToAdd); in findCaseInsensitiveStarters()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
DFrameCapture.cpp394 for (size_t dataIndex = 1; dataIndex < count; ++dataIndex) in WriteInlineData() local
396 out << ", " << static_cast<CastT>(data[dataIndex]); in WriteInlineData()
413 for (size_t dataIndex = 0; dataIndex < count; ++dataIndex) in WriteInlineData() local
415 if (data[dataIndex] == '\0') in WriteInlineData()
418 out << static_cast<GLchar>(data[dataIndex]); in WriteInlineData()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp3384 size_t dataIndex = 0; in createImageTextureBuiltIn() local
3653 dataIndex = 3; in createImageTextureBuiltIn()
3658 dataIndex = 2; in createImageTextureBuiltIn()
3815 if (dataIndex > 0) in createImageTextureBuiltIn()
3817 dataId = parameters[dataIndex]; in createImageTextureBuiltIn()