variant 80 Source/bindings/v8/V8NPUtils.cpp v8::Handle<v8::Value> convertNPVariantToV8Object(const NPVariant* variant, NPObject* owner, v8::Isolate* isolate) variant 82 Source/bindings/v8/V8NPUtils.cpp NPVariantType type = variant->type; variant 86 Source/bindings/v8/V8NPUtils.cpp return v8::Integer::New(isolate, NPVARIANT_TO_INT32(*variant)); variant 88 Source/bindings/v8/V8NPUtils.cpp return v8::Number::New(isolate, NPVARIANT_TO_DOUBLE(*variant)); variant 90 Source/bindings/v8/V8NPUtils.cpp return v8Boolean(NPVARIANT_TO_BOOLEAN(*variant), isolate); variant 96 Source/bindings/v8/V8NPUtils.cpp NPString src = NPVARIANT_TO_STRING(*variant); variant 100 Source/bindings/v8/V8NPUtils.cpp NPObject* object = NPVARIANT_TO_OBJECT(*variant); variant 250 Source/bindings/v8/npruntime.cpp void _NPN_ReleaseVariantValue(NPVariant* variant) variant 252 Source/bindings/v8/npruntime.cpp ASSERT(variant); variant 254 Source/bindings/v8/npruntime.cpp if (variant->type == NPVariantType_Object) { variant 255 Source/bindings/v8/npruntime.cpp _NPN_ReleaseObject(variant->value.objectValue); variant 256 Source/bindings/v8/npruntime.cpp variant->value.objectValue = 0; variant 257 Source/bindings/v8/npruntime.cpp } else if (variant->type == NPVariantType_String) { variant 258 Source/bindings/v8/npruntime.cpp free((void*)variant->value.stringValue.UTF8Characters); variant 259 Source/bindings/v8/npruntime.cpp variant->value.stringValue.UTF8Characters = 0; variant 260 Source/bindings/v8/npruntime.cpp variant->value.stringValue.UTF8Length = 0; variant 263 Source/bindings/v8/npruntime.cpp variant->type = NPVariantType_Void; variant 330 Source/bindings/v8/npruntime.cpp void _NPN_InitializeVariantWithStringCopy(NPVariant* variant, const NPString* value) variant 332 Source/bindings/v8/npruntime.cpp variant->type = NPVariantType_String; variant 333 Source/bindings/v8/npruntime.cpp variant->value.stringValue.UTF8Length = value->UTF8Length; variant 334 Source/bindings/v8/npruntime.cpp variant->value.stringValue.UTF8Characters = reinterpret_cast<NPUTF8*>(malloc(sizeof(NPUTF8) * value->UTF8Length)); variant 335 Source/bindings/v8/npruntime.cpp memcpy((void*)variant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * value->UTF8Length); variant 1406 Source/core/css/CSSComputedStyleDeclaration.cpp if (style.fontDescription().variant() == FontVariantSmallCaps) variant 1918 Source/core/css/CSSComputedStyleDeclaration.cpp computedFont->variant = valueForFontVariant(*style); variant 37 Source/core/css/CSSFontValue.cpp if (variant) { variant 40 Source/core/css/CSSFontValue.cpp result.append(variant->cssText()); variant 70 Source/core/css/CSSFontValue.cpp && compareCSSValuePtr(variant, other.variant) variant 81 Source/core/css/CSSFontValue.cpp visitor->trace(variant); variant 47 Source/core/css/CSSFontValue.h RefPtrWillBeMember<CSSPrimitiveValue> variant; variant 155 Source/core/css/CSSSegmentedFontFace.cpp if (faceFontData->isSVGFont() && desiredTraits.variant() == FontVariantSmallCaps && m_traits.variant() == FontVariantNormal) variant 504 Source/core/css/FontFace.cpp FontVariant variant = FontVariantNormal; variant 523 Source/core/css/FontFace.cpp variant = FontVariantNormal; variant 526 Source/core/css/FontFace.cpp variant = FontVariantSmallCaps; variant 534 Source/core/css/FontFace.cpp return FontTraits(style, variant, weight, FontStretchNormal); variant 70 Source/core/css/FontFace.h String variant() const; variant 122 Source/core/css/FontFaceCache.cpp bool firstHasDesiredVariant = firstTraits.variant() == desiredTraits.variant(); variant 123 Source/core/css/FontFaceCache.cpp bool secondHasDesiredVariant = secondTraits.variant() == desiredTraits.variant(); variant 129 Source/core/css/FontFaceCache.cpp if (desiredTraits.variant() == FontVariantSmallCaps) { variant 132 Source/core/css/FontFaceCache.cpp bool firstRequiresSmallCaps = firstTraits.variant() == FontVariantSmallCaps; variant 133 Source/core/css/FontFaceCache.cpp bool secondRequiresSmallCaps = secondTraits.variant() == FontVariantSmallCaps; variant 208 Source/core/css/FontFaceCache.cpp if (traits.variant() == FontVariantNormal && candidateTraits.variant() != FontVariantNormal) variant 1979 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (fontDescription.variant() == FontVariantSmallCaps) variant 733 Source/core/rendering/RenderText.cpp if (f.isFixedPitch() && !f.fontDescription().variant() && m_isAllASCII && (!glyphOverflow || !glyphOverflow->computeBounds)) { variant 373 Source/platform/fonts/Font.cpp std::pair<GlyphData, GlyphPage*> Font::glyphDataAndPageForCharacter(UChar32 c, bool mirror, FontDataVariant variant) const variant 377 Source/platform/fonts/Font.cpp if (variant == AutoVariant) { variant 378 Source/platform/fonts/Font.cpp if (m_fontDescription.variant() && !primaryFont()->isSVGFont()) { variant 382 Source/platform/fonts/Font.cpp variant = SmallCapsVariant; variant 384 Source/platform/fonts/Font.cpp variant = NormalVariant; variant 387 Source/platform/fonts/Font.cpp variant = NormalVariant; variant 406 Source/platform/fonts/Font.cpp if (variant == NormalVariant) { variant 420 Source/platform/fonts/Font.cpp variant = BrokenIdeographVariant; variant 442 Source/platform/fonts/Font.cpp if (variant != NormalVariant) { variant 450 Source/platform/fonts/Font.cpp RefPtr<SimpleFontData> variantFontData = data.fontData->variantFontData(m_fontDescription, variant); variant 496 Source/platform/fonts/Font.cpp variant = BrokenIdeographVariant; variant 497 Source/platform/fonts/Font.cpp if (variant != NormalVariant) variant 498 Source/platform/fonts/Font.cpp characterFontData = characterFontData->variantFontData(m_fontDescription, variant); variant 505 Source/platform/fonts/Font.cpp if (variant == NormalVariant) { variant 517 Source/platform/fonts/Font.cpp if (variant == NormalVariant) { variant 118 Source/platform/fonts/Font.h inline GlyphData glyphDataForCharacter(UChar32 c, bool mirror, FontDataVariant variant = AutoVariant) const variant 120 Source/platform/fonts/Font.h return glyphDataAndPageForCharacter(c, mirror, variant).first; variant 100 Source/platform/fonts/FontDescription.cpp return FontTraits(style(), variant(), weight(), stretch()); variant 106 Source/platform/fonts/FontDescription.cpp setVariant(traits.variant()); variant 96 Source/platform/fonts/FontDescription.h FontVariant variant() const { return static_cast<FontVariant>(m_variant); } variant 40 Source/platform/fonts/FontDescriptionTest.cpp EXPECT_EQ(source.variant(), target.variant()); variant 75 Source/platform/fonts/FontTraits.h FontTraits(FontStyle style, FontVariant variant, FontWeight weight, FontStretch stretch) variant 76 Source/platform/fonts/FontTraits.h : m_style(style), m_variant(variant), m_weight(weight), m_stretch(stretch), m_filler(0) variant 88 Source/platform/fonts/FontTraits.h FontVariant variant() const { return static_cast<FontVariant>(m_variant); } variant 84 Source/platform/fonts/SimpleFontData.h PassRefPtr<SimpleFontData> variantFontData(const FontDescription& description, FontDataVariant variant) const variant 86 Source/platform/fonts/SimpleFontData.h switch (variant) { variant 195 Source/platform/fonts/WidthIterator.cpp if (!m_font->fontDescription().variant() || character == toUpper(character)) variant 839 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp if (m_font->fontDescription().variant() && u_islower(m_normalizedBuffer[currentRun->startIndex()])) { variant 247 Source/platform/fonts/mac/ComplexTextController.cpp if (m_font.fontDescription().variant()) variant 268 Source/platform/fonts/mac/ComplexTextController.cpp bool nextIsSmallCaps = m_font.fontDescription().variant() && !(U_GET_GC_MASK(baseCharacter) & U_GC_M_MASK) && (uppercaseCharacter = u_toupper(baseCharacter)) != baseCharacter; variant 290 Source/platform/fonts/mac/ComplexTextController.cpp if (m_font.fontDescription().variant()) { variant 159 Source/platform/fonts/mac/FontComplexTextMac.cpp const SimpleFontData* Font::fontDataForCombiningCharacterSequence(const UChar* characters, size_t length, FontDataVariant variant) const variant 165 Source/platform/fonts/mac/FontComplexTextMac.cpp GlyphData baseCharacterGlyphData = glyphDataForCharacter(baseCharacter, false, variant); variant 178 Source/platform/fonts/mac/FontComplexTextMac.cpp if (variant == NormalVariant) { variant 181 Source/platform/fonts/mac/FontComplexTextMac.cpp variant = BrokenIdeographVariant; variant 196 Source/platform/fonts/mac/FontComplexTextMac.cpp if (const SimpleFontData* variantFontData = simpleFontData->variantFontData(m_fontDescription, variant).get()) variant 122 Source/web/WebBindings.cpp void WebBindings::initializeVariantWithStringCopy(NPVariant* variant, const NPString* value) variant 124 Source/web/WebBindings.cpp _NPN_InitializeVariantWithStringCopy(variant, value); variant 142 Source/web/WebBindings.cpp void WebBindings::releaseVariantValue(NPVariant* variant) variant 144 Source/web/WebBindings.cpp _NPN_ReleaseVariantValue(variant); variant 386 Source/web/WebBindings.cpp v8::Handle<v8::Value> WebBindings::toV8Value(const NPVariant* variant) variant 389 Source/web/WebBindings.cpp if (variant->type == NPVariantType_Object) { variant 390 Source/web/WebBindings.cpp NPObject* object = NPVARIANT_TO_OBJECT(*variant); variant 394 Source/web/WebBindings.cpp return convertNPVariantToV8Object(variant, v8Object->rootObject->frame()->script().windowScriptNPObject(), isolate); variant 398 Source/web/WebBindings.cpp return convertNPVariantToV8Object(variant, 0, isolate); variant 46 Source/web/WebFontDescription.cpp smallCaps = desc.variant() == FontVariantSmallCaps;