Home
last modified time | relevance | path

Searched refs:baseKey (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/skia/src/effects/gradients/
DSkGradientShaderPriv.h418 void emitUniforms(GrGLProgramBuilder* builder, uint32_t baseKey);
426 uint32_t baseKey,
448 static SkGradientShaderBase::GpuColorType ColorTypeFromKey(uint32_t baseKey){ in ColorTypeFromKey() argument
449 if (kTwoColorKey == (baseKey & kColorKeyMask)) { in ColorTypeFromKey()
451 } else if (kThreeColorKey == (baseKey & kColorKeyMask)) { in ColorTypeFromKey()
456 static GrGradientEffect::PremulType PremulTypeFromKey(uint32_t baseKey){ in PremulTypeFromKey() argument
457 if (kPremulBeforeInterpKey == (baseKey & kPremulTypeMask)) { in PremulTypeFromKey()
DSkTwoPointConicalGradient_gpu.cpp233 uint32_t baseKey = key.get32(0); in emitCode() local
234 this->emitUniforms(builder, baseKey); in emitCode()
280 this->emitColor(builder, tName.c_str(), baseKey, outputColor, inputColor, samplers); in emitCode()
514 uint32_t baseKey = key.get32(0); in emitCode() local
515 this->emitUniforms(builder, baseKey); in emitCode()
552 this->emitColor(builder, tName.c_str(), baseKey, outputColor, inputColor, samplers); in emitCode()
720 uint32_t baseKey = key.get32(0); in emitCode() local
721 this->emitUniforms(builder, baseKey); in emitCode()
739 this->emitColor(builder, tName.c_str(), baseKey, outputColor, inputColor, samplers); in emitCode()
973 uint32_t baseKey = key.get32(0); in emitCode() local
[all …]
DSkSweepGradient.cpp276 uint32_t baseKey = key.get32(0); in emitCode() local
277 this->emitUniforms(builder, baseKey); in emitCode()
291 this->emitColor(builder, t.c_str(), baseKey, outputColor, inputColor, samplers); in emitCode()
DSkGradientShader.cpp959 void GrGLGradientEffect::emitUniforms(GrGLProgramBuilder* builder, uint32_t baseKey) { in emitUniforms() argument
961 if (SkGradientShaderBase::kTwo_GpuColorType == ColorTypeFromKey(baseKey)) { // 2 Color case in emitUniforms()
967 …} else if (SkGradientShaderBase::kThree_GpuColorType == ColorTypeFromKey(baseKey)){ // 3 Color Case in emitUniforms()
1061 uint32_t baseKey, in emitColor() argument
1066 if (SkGradientShaderBase::kTwo_GpuColorType == ColorTypeFromKey(baseKey)){ in emitColor()
1076 if (GrGradientEffect::kAfterInterp_PremulType == PremulTypeFromKey(baseKey)) { in emitColor()
1082 } else if (SkGradientShaderBase::kThree_GpuColorType == ColorTypeFromKey(baseKey)){ in emitColor()
1100 if (GrGradientEffect::kAfterInterp_PremulType == PremulTypeFromKey(baseKey)) { in emitColor()
DSkLinearGradient.cpp560 uint32_t baseKey = key.get32(0); in emitCode() local
561 this->emitUniforms(builder, baseKey); in emitCode()
564 this->emitColor(builder, t.c_str(), baseKey, outputColor, inputColor, samplers); in emitCode()
DSkRadialGradient.cpp569 uint32_t baseKey = key.get32(0); in emitCode() local
570 this->emitUniforms(builder, baseKey); in emitCode()
574 this->emitColor(builder, t.c_str(), baseKey, outputColor, inputColor, samplers); in emitCode()
DSkTwoPointRadialGradient.cpp577 uint32_t baseKey = key.get32(0); in emitCode() local
578 this->emitUniforms(builder, baseKey); in emitCode()
641 this->emitColor(builder, t.c_str(), baseKey, outputColor, inputColor, samplers); in emitCode()
/external/lzma/CPP/7zip/UI/Common/
DLoadCodecs.cpp55 static bool ReadPathFromRegistry(HKEY baseKey, CSysString &path) in ReadPathFromRegistry() argument
58 if(key.Open(baseKey, kRegistryPath, KEY_READ) == ERROR_SUCCESS) in ReadPathFromRegistry()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c4539 uint8_t baseKey[256]; in TestBeforeRuleWithScriptReordering() local
4575 baseKeyLength = ucol_getSortKey(myCollation, base, baseLen, baseKey, 256); in TestBeforeRuleWithScriptReordering()
4577 if (baseKey[0] != beforeKey[0]) { in TestBeforeRuleWithScriptReordering()
4578 …. base character lead byte = %02x, before character lead byte = %02x\n", baseKey[0], beforeKey[0]); in TestBeforeRuleWithScriptReordering()
4595 ucol_getSortKey(myCollation, base, baseLen, baseKey, 256); in TestBeforeRuleWithScriptReordering()
4597 if (baseKey[0] != beforeKey[0]) { in TestBeforeRuleWithScriptReordering()
4598 …. base character lead byte = %02x, before character lead byte = %02x\n", baseKey[0], beforeKey[0]); in TestBeforeRuleWithScriptReordering()
4613 uint8_t baseKey[256]; in TestNonLeadBytesDuringCollationReordering() local
4632 baseKeyLength = ucol_getSortKey(myCollation, testString, LEN(testString), baseKey, 256); in TestNonLeadBytesDuringCollationReordering()
4647 if (baseKey[i] != reorderKey[i]) { in TestNonLeadBytesDuringCollationReordering()
[all …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcmsccoll.c5889 uint8_t baseKey[256]; in TestBeforeRuleWithScriptReordering() local
5925 baseKeyLength = ucol_getSortKey(myCollation, base, baseLen, baseKey, 256); in TestBeforeRuleWithScriptReordering()
5927 if (baseKey[0] != beforeKey[0]) { in TestBeforeRuleWithScriptReordering()
5928 …. base character lead byte = %02x, before character lead byte = %02x\n", baseKey[0], beforeKey[0]); in TestBeforeRuleWithScriptReordering()
5945 ucol_getSortKey(myCollation, base, baseLen, baseKey, 256); in TestBeforeRuleWithScriptReordering()
5947 if (baseKey[0] != beforeKey[0]) { in TestBeforeRuleWithScriptReordering()
5948 …. base character lead byte = %02x, before character lead byte = %02x\n", baseKey[0], beforeKey[0]); in TestBeforeRuleWithScriptReordering()
5963 uint8_t baseKey[256]; in TestNonLeadBytesDuringCollationReordering() local
5982 baseKeyLength = ucol_getSortKey(myCollation, testString, LEN(testString), baseKey, 256); in TestNonLeadBytesDuringCollationReordering()
5997 if (baseKey[i] != reorderKey[i]) { in TestNonLeadBytesDuringCollationReordering()
[all …]