unit 570 Source/core/css/CSSCalculationValue.cpp if (value->unit != CSSParserValue::Operator) unit 579 Source/core/css/CSSCalculationValue.cpp if (parserValue->unit == CSSParserValue::Operator) unit 137 Source/core/css/CSSGrammar.y v.unit = CSSParserValue::Operator; unit 146 Source/core/css/CSSGrammar.y v.unit = CSSPrimitiveValue::CSS_IDENT; unit 1602 Source/core/css/CSSGrammar.y | STRING maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_STRING; } unit 1605 Source/core/css/CSSGrammar.y | DIMEN maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_DIMENSION; } unit 1606 Source/core/css/CSSGrammar.y | unary_operator DIMEN maybe_space { $$.id = CSSValueInvalid; $$.string = $2; $$.unit = CSSPrimitiveValue::CSS_DIMENSION; } unit 1607 Source/core/css/CSSGrammar.y | URI maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_URI; } unit 1608 Source/core/css/CSSGrammar.y | UNICODERANGE maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_UNICODE_RANGE; } unit 1609 Source/core/css/CSSGrammar.y | HEX maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_PARSER_HEXCOLOR; } unit 1610 Source/core/css/CSSGrammar.y | '#' maybe_space { $$.id = CSSValueInvalid; $$.string = CSSParserString(); $$.unit = CSSPrimitiveValue::CSS_PARSER_HEXCOLOR; } /* Handle error case: "color: #;" */ unit 1616 Source/core/css/CSSGrammar.y $$.id = CSSValueInvalid; $$.unit = 0; unit 125 Source/core/css/CSSKeyframeRule.cpp ASSERT(keys->valueAt(i)->unit == WebCore::CSSPrimitiveValue::CSS_NUMBER); unit 56 Source/core/css/CSSParserValues.cpp if (m_values[i].unit == CSSParserValue::Function) unit 58 Source/core/css/CSSParserValues.cpp else if (m_values[i].unit == CSSParserValue::ValueList) unit 90 Source/core/css/CSSParserValues.cpp if (unit == CSSParserValue::Operator) unit 92 Source/core/css/CSSParserValues.cpp if (unit == CSSParserValue::Function) unit 94 Source/core/css/CSSParserValues.cpp if (unit == CSSParserValue::ValueList) unit 96 Source/core/css/CSSParserValues.cpp if (unit >= CSSParserValue::Q_EMS) unit 99 Source/core/css/CSSParserValues.cpp CSSPrimitiveValue::UnitTypes primitiveUnit = static_cast<CSSPrimitiveValue::UnitTypes>(unit); unit 160 Source/core/css/CSSParserValues.h int unit; unit 162 Source/core/css/CSSParserValues.h inline void setFromNumber(double value, int unit = CSSPrimitiveValue::CSS_NUMBER); unit 265 Source/core/css/CSSParserValues.h inline void CSSParserValue::setFromNumber(double value, int unit) unit 273 Source/core/css/CSSParserValues.h this->unit = unit; unit 280 Source/core/css/CSSParserValues.h unit = Function; unit 287 Source/core/css/CSSParserValues.h unit = ValueList; unit 143 Source/core/css/CSSPrimitiveValue.cpp CSSPrimitiveValue::UnitTypes CSSPrimitiveValue::fromName(const String& unit) unit 146 Source/core/css/CSSPrimitiveValue.cpp return unitTable.get(unit.lower()); unit 157 Source/core/css/CSSPrimitiveValue.h static UnitTypes fromName(const String& unit); unit 85 Source/core/css/MediaQueryExp.cpp if (!(((value->unit >= CSSPrimitiveValue::CSS_EMS && value->unit <= CSSPrimitiveValue::CSS_PC) || value->unit == CSSPrimitiveValue::CSS_REMS) || (value->unit == CSSPrimitiveValue::CSS_NUMBER && !(value->fValue))) || value->fValue < 0) unit 105 Source/core/css/MediaQueryExp.cpp if ((value->unit != CSSPrimitiveValue::CSS_DPPX && value->unit != CSSPrimitiveValue::CSS_DPI && value->unit != CSSPrimitiveValue::CSS_DPCM) || value->fValue <= 0) unit 131 Source/core/css/MediaQueryExp.cpp if (value->unit != CSSPrimitiveValue::CSS_NUMBER || value->fValue < 0) unit 235 Source/core/css/MediaQueryExp.cpp cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); unit 238 Source/core/css/MediaQueryExp.cpp cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); unit 262 Source/core/css/MediaQueryExp.cpp if (i != 1 && value->unit == CSSPrimitiveValue::CSS_NUMBER && value->fValue > 0 && value->isInt) { unit 267 Source/core/css/MediaQueryExp.cpp } else if (i == 1 && value->unit == CSSParserValue::Operator && value->iValue == '/') { unit 311 Source/core/css/parser/BisonCSSParser-in.cpp static inline bool parseSimpleLength(const CharacterType* characters, unsigned length, CSSPrimitiveValue::UnitTypes& unit, double& number) unit 315 Source/core/css/parser/BisonCSSParser-in.cpp unit = CSSPrimitiveValue::CSS_PX; unit 318 Source/core/css/parser/BisonCSSParser-in.cpp unit = CSSPrimitiveValue::CSS_PERCENTAGE; unit 340 Source/core/css/parser/BisonCSSParser-in.cpp CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER; unit 343 Source/core/css/parser/BisonCSSParser-in.cpp if (!parseSimpleLength(string.characters8(), length, unit, number)) unit 346 Source/core/css/parser/BisonCSSParser-in.cpp if (!parseSimpleLength(string.characters16(), length, unit, number)) unit 350 Source/core/css/parser/BisonCSSParser-in.cpp if (unit == CSSPrimitiveValue::CSS_NUMBER) { unit 354 Source/core/css/parser/BisonCSSParser-in.cpp unit = CSSPrimitiveValue::CSS_PX; unit 359 Source/core/css/parser/BisonCSSParser-in.cpp RefPtrWillBeRawPtr<CSSValue> value = cssValuePool().createValue(number, unit); unit 889 Source/core/css/parser/BisonCSSParser-in.cpp CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER; unit 891 Source/core/css/parser/BisonCSSParser-in.cpp if (!parseSimpleLength(pos, argumentLength, unit, number)) unit 893 Source/core/css/parser/BisonCSSParser-in.cpp if (unit != CSSPrimitiveValue::CSS_PX && (number || unit != CSSPrimitiveValue::CSS_NUMBER)) unit 1438 Source/core/css/parser/BisonCSSParser-in.cpp if (value->unit != CSSParserValue::Function || !value->function) unit 1464 Source/core/css/parser/BisonCSSParser-in.cpp CSSPropertyParser::Units unit = info.unit(); unit 1483 Source/core/css/parser/BisonCSSParser-in.cpp } else if (!validUnit(a, unit, HTMLStandardMode)) { unit 1493 Source/core/css/parser/BisonCSSParser-in.cpp if (a->unit != CSSParserValue::Operator || a->iValue != ',') unit 1594 Source/core/css/parser/BisonCSSParser-in.cpp if (value.unit == CSSParserValue::Function) { unit 116 Source/core/css/parser/CSSPropertyParser.cpp ASSERT(value->unit == CSSPrimitiveValue::CSS_IDENT || value->unit == CSSPrimitiveValue::CSS_STRING); unit 287 Source/core/css/parser/CSSPropertyParser.cpp switch (value->unit) { unit 291 Source/core/css/parser/CSSPropertyParser.cpp value->unit = (unitflags & FLength) ? CSSPrimitiveValue::CSS_PX : unit 353 Source/core/css/parser/CSSPropertyParser.cpp ASSERT((value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ) unit 354 Source/core/css/parser/CSSPropertyParser.cpp || (value->unit >= CSSPrimitiveValue::CSS_TURN && value->unit <= CSSPrimitiveValue::CSS_CHS) unit 355 Source/core/css/parser/CSSPropertyParser.cpp || (value->unit >= CSSPrimitiveValue::CSS_VW && value->unit <= CSSPrimitiveValue::CSS_VMAX) unit 356 Source/core/css/parser/CSSPropertyParser.cpp || (value->unit >= CSSPrimitiveValue::CSS_DPPX && value->unit <= CSSPrimitiveValue::CSS_DPCM)); unit 357 Source/core/css/parser/CSSPropertyParser.cpp return cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(value->unit)); unit 362 Source/core/css/parser/CSSPropertyParser.cpp ASSERT(value->unit == CSSPrimitiveValue::CSS_STRING || value->unit == CSSPrimitiveValue::CSS_IDENT); unit 368 Source/core/css/parser/CSSPropertyParser.cpp return value && value->unit == CSSParserValue::Operator && value->iValue == ','; unit 374 Source/core/css/parser/CSSPropertyParser.cpp return value->unit == CSSParserValue::Operator && value->iValue == '/'; unit 379 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit != CSSParserValue::Function) unit 407 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_STRING) unit 409 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ) unit 411 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit >= CSSPrimitiveValue::CSS_TURN && value->unit <= CSSPrimitiveValue::CSS_CHS) unit 413 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit >= CSSPrimitiveValue::CSS_VW && value->unit <= CSSPrimitiveValue::CSS_VMAX) unit 415 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit >= CSSPrimitiveValue::CSS_DPPX && value->unit <= CSSPrimitiveValue::CSS_DPCM) unit 417 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit >= CSSParserValue::Q_EMS) unit 526 Source/core/css/parser/CSSPropertyParser.cpp else if (value->unit == CSSParserValue::Function) unit 556 Source/core/css/parser/CSSPropertyParser.cpp || value->unit == CSSPrimitiveValue::CSS_STRING) unit 636 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_URI) { unit 640 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSParserValue::Function && equalIgnoringCase(value->function->name, "-webkit-image-set(")) { unit 649 Source/core/css/parser/CSSPropertyParser.cpp while (value && value->unit == CSSPrimitiveValue::CSS_NUMBER) { unit 669 Source/core/css/parser/CSSPropertyParser.cpp if (!value || !(value->unit == CSSParserValue::Operator && value->iValue == ',')) unit 757 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSPrimitiveValue::CSS_URI) { unit 766 Source/core/css/parser/CSSPropertyParser.cpp else if (value->unit == CSSParserValue::Function && equalIgnoringCase(value->function->name, "-webkit-image-set(")) { unit 1335 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && (value->unit == CSSPrimitiveValue::CSS_PERCENTAGE || value->fValue) && validUnit(value, FInteger | FPercent | FNonNeg, HTMLQuirksMode)); unit 1343 Source/core/css/parser/CSSPropertyParser.cpp if (id == CSSValueNone || value->unit == CSSPrimitiveValue::CSS_STRING) unit 1348 Source/core/css/parser/CSSPropertyParser.cpp if (id == CSSValueAuto || value->unit == CSSPrimitiveValue::CSS_STRING) unit 1353 Source/core/css/parser/CSSPropertyParser.cpp if (id == CSSValueAuto || value->unit == CSSPrimitiveValue::CSS_STRING) unit 1505 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSParserValue::Function) { unit 1507 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSPrimitiveValue::CSS_URI) { unit 1712 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit == CSSParserValue::Operator && val->iValue == ',') { unit 1883 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit == CSSParserValue::Operator && val->iValue == ',') { unit 1947 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit == CSSParserValue::Operator && val->iValue == ',') { unit 2195 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->id == 0 && value->unit == CSSPrimitiveValue::CSS_IDENT) { unit 2282 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit == CSSPrimitiveValue::CSS_STRING) unit 2306 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit == CSSPrimitiveValue::CSS_URI) { unit 2309 Source/core/css/parser/CSSPropertyParser.cpp } else if (val->unit == CSSParserValue::Function) { unit 2335 Source/core/css/parser/CSSPropertyParser.cpp } else if (val->unit == CSSPrimitiveValue::CSS_IDENT) { unit 2355 Source/core/css/parser/CSSPropertyParser.cpp } else if (val->unit == CSSPrimitiveValue::CSS_STRING) { unit 2380 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit != CSSPrimitiveValue::CSS_IDENT) unit 2411 Source/core/css/parser/CSSPropertyParser.cpp if (valueList->current()->unit == CSSPrimitiveValue::CSS_URI) { unit 2419 Source/core/css/parser/CSSPropertyParser.cpp if (valueList->current()->unit == CSSParserValue::Function && equalIgnoringCase(valueList->current()->function->name, "-webkit-image-set(")) { unit 2835 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSParserValue::Operator && value->iValue == ',') unit 3092 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_STRING || value->unit == CSSPrimitiveValue::CSS_IDENT) { unit 3093 Source/core/css/parser/CSSPropertyParser.cpp if (value->id == CSSValueNone || (value->unit == CSSPrimitiveValue::CSS_STRING && equalIgnoringCase(value, "none"))) { unit 3113 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit != CSSPrimitiveValue::CSS_IDENT) unit 3172 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit != CSSParserValue::Function) unit 3372 Source/core/css/parser/CSSPropertyParser.cpp if (value && value->unit == CSSPrimitiveValue::CSS_STRING) { unit 3379 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_STRING) { unit 3402 Source/core/css/parser/CSSPropertyParser.cpp if (value->id != CSSValueSpan && value->unit == CSSPrimitiveValue::CSS_IDENT) { unit 3499 Source/core/css/parser/CSSPropertyParser.cpp if (m_valueList->current()->unit == CSSParserValue::ValueList) { unit 3514 Source/core/css/parser/CSSPropertyParser.cpp if (m_valueList->current() && m_valueList->current()->unit != CSSParserValue::ValueList && m_valueList->current()->unit != CSSPrimitiveValue::CSS_STRING) { unit 3525 Source/core/css/parser/CSSPropertyParser.cpp if (m_valueList->current() && m_valueList->current()->unit == CSSParserValue::ValueList) { unit 3658 Source/core/css/parser/CSSPropertyParser.cpp ASSERT(inputList.current() && inputList.current()->unit == CSSParserValue::ValueList); unit 3673 Source/core/css/parser/CSSPropertyParser.cpp ASSERT(identValue->unit == CSSPrimitiveValue::CSS_IDENT); unit 3697 Source/core/css/parser/CSSPropertyParser.cpp if (value && value->unit == CSSParserValue::ValueList) unit 3704 Source/core/css/parser/CSSPropertyParser.cpp if (currentValue->unit == CSSParserValue::Function && equalIgnoringCase(currentValue->function->name, "repeat(")) { unit 3717 Source/core/css/parser/CSSPropertyParser.cpp if (value && value->unit == CSSParserValue::ValueList) unit 3742 Source/core/css/parser/CSSPropertyParser.cpp if (currentValue && currentValue->unit == CSSParserValue::ValueList) unit 3754 Source/core/css/parser/CSSPropertyParser.cpp if (currentValue && currentValue->unit == CSSParserValue::ValueList) unit 3779 Source/core/css/parser/CSSPropertyParser.cpp if (currentValue->unit == CSSParserValue::Function && equalIgnoringCase(currentValue->function->name, "minmax(")) { unit 3807 Source/core/css/parser/CSSPropertyParser.cpp if (currentValue->unit == CSSPrimitiveValue::CSS_FR) { unit 3826 Source/core/css/parser/CSSPropertyParser.cpp if (!currentValue || currentValue->unit != CSSPrimitiveValue::CSS_STRING) unit 3913 Source/core/css/parser/CSSPropertyParser.cpp if (i->unit != CSSPrimitiveValue::CSS_IDENT) unit 3922 Source/core/css/parser/CSSPropertyParser.cpp if (i->unit != CSSParserValue::Operator || i->iValue != ',') unit 3926 Source/core/css/parser/CSSPropertyParser.cpp if (i->unit != CSSPrimitiveValue::CSS_STRING) unit 3937 Source/core/css/parser/CSSPropertyParser.cpp if (i->unit != CSSParserValue::Operator || i->iValue != ',') unit 3941 Source/core/css/parser/CSSPropertyParser.cpp if (i->unit != CSSPrimitiveValue::CSS_IDENT) unit 3988 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit == CSSParserValue::Operator && a->iValue == ',') { unit 4046 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSParserValue::Operator) { unit 4098 Source/core/css/parser/CSSPropertyParser.cpp if (argument->unit == CSSPrimitiveValue::CSS_IDENT && equalIgnoringCase(argument->string, "round")) { unit 4403 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSParserValue::Function && !shapeFound) { unit 4429 Source/core/css/parser/CSSPropertyParser.cpp ASSERT(value->unit == CSSParserValue::Function); unit 4573 Source/core/css/parser/CSSPropertyParser.cpp (nextValue->unit == CSSParserValue::Operator && nextValue->iValue == ','); unit 4576 Source/core/css/parser/CSSPropertyParser.cpp (nextValue->unit == CSSPrimitiveValue::CSS_STRING || nextValue->unit == CSSPrimitiveValue::CSS_IDENT)); unit 4597 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSPrimitiveValue::CSS_STRING) { unit 4602 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSPrimitiveValue::CSS_IDENT) { unit 4685 Source/core/css/parser/CSSPropertyParser.cpp } else if (val->unit == CSSParserValue::Operator && val->iValue == ',') { unit 4739 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSParserValue::Operator && value->iValue == ',') { unit 4745 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit != CSSParserValue::Function || !equalIgnoringCase(value->function->name, "format(")) unit 4751 Source/core/css/parser/CSSPropertyParser.cpp if (!args || args->size() != 1 || (args->current()->unit != CSSPrimitiveValue::CSS_STRING && args->current()->unit != CSSPrimitiveValue::CSS_IDENT)) unit 4756 Source/core/css/parser/CSSPropertyParser.cpp if (value && value->unit == CSSParserValue::Operator && value->iValue == ',') unit 4767 Source/core/css/parser/CSSPropertyParser.cpp if (args->size() == 1 && args->current()->unit == CSSPrimitiveValue::CSS_STRING) unit 4769 Source/core/css/parser/CSSPropertyParser.cpp else if (args->current()->unit == CSSPrimitiveValue::CSS_IDENT) { unit 4772 Source/core/css/parser/CSSPropertyParser.cpp if (localValue->unit != CSSPrimitiveValue::CSS_IDENT) unit 4783 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSParserValue::Operator && value->iValue == ',') unit 4794 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_URI) { unit 4797 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSParserValue::Function && equalIgnoringCase(value->function->name, "local(")) { unit 4818 Source/core/css/parser/CSSPropertyParser.cpp if (m_valueList->current()->unit == CSSParserValue::Operator && m_valueList->current()->iValue == ',') unit 4823 Source/core/css/parser/CSSPropertyParser.cpp if (m_valueList->current()->unit != CSSPrimitiveValue::CSS_UNICODE_RANGE) { unit 5226 Source/core/css/parser/CSSPropertyParser.cpp return (value->unit == CSSParserValue::Function) unit 5240 Source/core/css/parser/CSSPropertyParser.cpp isPercent = v->unit == CSSPrimitiveValue::CSS_PERCENTAGE; unit 5275 Source/core/css/parser/CSSPropertyParser.cpp if (v->unit != CSSParserValue::Operator && v->iValue != ',') unit 5284 Source/core/css/parser/CSSPropertyParser.cpp if (v->unit != CSSParserValue::Operator && v->iValue != ',') unit 5313 Source/core/css/parser/CSSPropertyParser.cpp if (v->unit != CSSParserValue::Operator && v->iValue != ',') unit 5322 Source/core/css/parser/CSSPropertyParser.cpp if (v->unit != CSSParserValue::Operator && v->iValue != ',') unit 5342 Source/core/css/parser/CSSPropertyParser.cpp if (inQuirksMode() && value->unit == CSSPrimitiveValue::CSS_NUMBER unit 5348 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSPrimitiveValue::CSS_PARSER_HEXCOLOR || unit 5349 Source/core/css/parser/CSSPropertyParser.cpp value->unit == CSSPrimitiveValue::CSS_IDENT || unit 5350 Source/core/css/parser/CSSPropertyParser.cpp (inQuirksMode() && value->unit == CSSPrimitiveValue::CSS_DIMENSION)) { unit 5351 Source/core/css/parser/CSSPropertyParser.cpp if (!fastParseColor(c, value->string, !inQuirksMode() && value->unit == CSSPrimitiveValue::CSS_IDENT)) unit 5353 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSParserValue::Function && unit 5362 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSParserValue::Function && unit 5370 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSParserValue::Function && unit 5378 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSParserValue::Function && unit 5522 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit == CSSParserValue::Operator) { unit 5829 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit == CSSPrimitiveValue::CSS_URI) { unit 5837 Source/core/css/parser/CSSPropertyParser.cpp } else if (val->unit == CSSParserValue::Function && equalIgnoringCase(val->function->name, "-webkit-image-set(")) { unit 6190 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSParserValue::Operator) { unit 6277 Source/core/css/parser/CSSPropertyParser.cpp if (val && val->unit == CSSPrimitiveValue::CSS_IDENT) { unit 6286 Source/core/css/parser/CSSPropertyParser.cpp if (val && val->unit == CSSPrimitiveValue::CSS_NUMBER) { unit 6312 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit == CSSPrimitiveValue::CSS_IDENT) { unit 6321 Source/core/css/parser/CSSPropertyParser.cpp } else if (a->unit == CSSPrimitiveValue::CSS_NUMBER || a->unit == CSSPrimitiveValue::CSS_PERCENTAGE) unit 6322 Source/core/css/parser/CSSPropertyParser.cpp result = cssValuePool().createValue(a->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(a->unit)); unit 6328 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit != CSSParserValue::Function) unit 6366 Source/core/css/parser/CSSPropertyParser.cpp if (stopArg->unit == CSSPrimitiveValue::CSS_PERCENTAGE) unit 6368 Source/core/css/parser/CSSPropertyParser.cpp else if (stopArg->unit == CSSPrimitiveValue::CSS_NUMBER) unit 6374 Source/core/css/parser/CSSPropertyParser.cpp if (stopArg->unit != CSSParserValue::Operator || stopArg->iValue != ',') unit 6400 Source/core/css/parser/CSSPropertyParser.cpp if (!a || a->unit != CSSPrimitiveValue::CSS_IDENT) unit 6455 Source/core/css/parser/CSSPropertyParser.cpp if (!a || a->unit != CSSPrimitiveValue::CSS_NUMBER) unit 6492 Source/core/css/parser/CSSPropertyParser.cpp if (!a || a->unit != CSSPrimitiveValue::CSS_NUMBER) unit 6525 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit != CSSPrimitiveValue::CSS_IDENT) unit 6666 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit != CSSPrimitiveValue::CSS_IDENT) unit 6758 Source/core/css/parser/CSSPropertyParser.cpp } else if (a->unit == CSSPrimitiveValue::CSS_IDENT && equalIgnoringCase(a, "to")) { unit 6836 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit == CSSPrimitiveValue::CSS_IDENT) { unit 6906 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit == CSSPrimitiveValue::CSS_IDENT && equalIgnoringCase(a, "at")) { unit 6977 Source/core/css/parser/CSSPropertyParser.cpp if (val->unit != CSSParserValue::Function) unit 7070 Source/core/css/parser/CSSPropertyParser.cpp if (a->unit == CSSPrimitiveValue::CSS_PERCENTAGE) unit 7072 Source/core/css/parser/CSSPropertyParser.cpp else if (a->unit == CSSPrimitiveValue::CSS_NUMBER) unit 7094 Source/core/css/parser/CSSPropertyParser.cpp if (!value || value->unit != CSSPrimitiveValue::CSS_IDENT) unit 7105 Source/core/css/parser/CSSPropertyParser.cpp if (function->unit != CSSParserValue::Function) unit 7116 Source/core/css/parser/CSSPropertyParser.cpp if (arg->unit != CSSPrimitiveValue::CSS_URI) unit 7123 Source/core/css/parser/CSSPropertyParser.cpp if (!arg || arg->unit != CSSPrimitiveValue::CSS_DIMENSION) unit 7182 Source/core/css/parser/CSSPropertyParser.cpp if (currentValue->unit != CSSPrimitiveValue::CSS_IDENT) unit 7280 Source/core/css/parser/CSSPropertyParser.cpp double maxAllowed = value->unit == CSSPrimitiveValue::CSS_PERCENTAGE ? 100.0 : 1.0; unit 7285 Source/core/css/parser/CSSPropertyParser.cpp filterValue->append(cssValuePool().createValue(amount, static_cast<CSSPrimitiveValue::UnitTypes>(value->unit))); unit 7299 Source/core/css/parser/CSSPropertyParser.cpp filterValue->append(cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(value->unit))); unit 7354 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit != CSSPrimitiveValue::CSS_URI && (value->unit != CSSParserValue::Function || !value->function)) unit 7360 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_URI) { unit 7651 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_STRING) { unit 7792 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit != CSSPrimitiveValue::CSS_STRING) unit 7808 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_NUMBER && value->isInt && value->fValue >= 0) { unit 7857 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit != CSSPrimitiveValue::CSS_IDENT) unit 8138 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSPrimitiveValue::CSS_URI) { unit 8218 Source/core/css/parser/CSSPropertyParser.cpp if (value->unit == CSSPrimitiveValue::CSS_DEG || value->unit == CSSPrimitiveValue::CSS_NUMBER) { unit 8235 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSPrimitiveValue::CSS_URI) { unit 8321 Source/core/css/parser/CSSPropertyParser.cpp } else if (value->unit == CSSPrimitiveValue::CSS_URI) { unit 8322 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit); unit 8357 Source/core/css/parser/CSSPropertyParser.cpp else if (value->unit == CSSPrimitiveValue::CSS_STRING) unit 8358 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit); unit 8359 Source/core/css/parser/CSSPropertyParser.cpp else if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ) unit 8360 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); unit 8361 Source/core/css/parser/CSSPropertyParser.cpp else if (value->unit >= CSSParserValue::Q_EMS) unit 8389 Source/core/css/parser/CSSPropertyParser.cpp else if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ) unit 8390 Source/core/css/parser/CSSPropertyParser.cpp ret->append(CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit)); unit 8392 Source/core/css/parser/CSSPropertyParser.cpp if (value && value->unit == CSSParserValue::Operator && value->iValue == ',') unit 262 Source/core/css/parser/MediaQueryParser.cpp value.unit = CSSParserValue::Operator; unit 52 Source/core/css/parser/MediaQueryToken.cpp void MediaQueryToken::convertToDimensionWithUnit(String unit) unit 56 Source/core/css/parser/MediaQueryToken.cpp m_unit = CSSPrimitiveValue::fromName(unit); unit 3253 Source/core/dom/Element.cpp bool Element::setInlineStyleProperty(CSSPropertyID propertyID, double value, CSSPrimitiveValue::UnitTypes unit, bool important) unit 3256 Source/core/dom/Element.cpp ensureMutableInlineStyle().setProperty(propertyID, cssValuePool().createValue(value, unit), important); unit 3304 Source/core/dom/Element.cpp void Element::addPropertyToPresentationAttributeStyle(MutableStylePropertySet* style, CSSPropertyID propertyID, double value, CSSPrimitiveValue::UnitTypes unit) unit 3307 Source/core/dom/Element.cpp style->setProperty(propertyID, cssValuePool().createValue(value, unit)); unit 1789 Source/core/dom/Range.cpp void Range::expand(const String& unit, ExceptionState& exceptionState) unit 1793 Source/core/dom/Range.cpp if (unit == "word") { unit 1796 Source/core/dom/Range.cpp } else if (unit == "sentence") { unit 1799 Source/core/dom/Range.cpp } else if (unit == "block") { unit 1802 Source/core/dom/Range.cpp } else if (unit == "document") { unit 71 Source/wtf/dtoa/fast-dtoa.cc uint64_t unit) { unit 72 Source/wtf/dtoa/fast-dtoa.cc uint64_t small_distance = distance_too_high_w - unit; unit 73 Source/wtf/dtoa/fast-dtoa.cc uint64_t big_distance = distance_too_high_w + unit; unit 169 Source/wtf/dtoa/fast-dtoa.cc return (2 * unit <= rest) && (rest <= unsafe_interval - 4 * unit); unit 189 Source/wtf/dtoa/fast-dtoa.cc uint64_t unit, unit 198 Source/wtf/dtoa/fast-dtoa.cc if (unit >= ten_kappa) return false; unit 202 Source/wtf/dtoa/fast-dtoa.cc if (ten_kappa - unit <= unit) return false; unit 204 Source/wtf/dtoa/fast-dtoa.cc if ((ten_kappa - rest > rest) && (ten_kappa - 2 * rest >= 2 * unit)) { unit 208 Source/wtf/dtoa/fast-dtoa.cc if ((rest > unit) && (ten_kappa - (rest - unit) <= (rest - unit))) { unit 406 Source/wtf/dtoa/fast-dtoa.cc uint64_t unit = 1; unit 407 Source/wtf/dtoa/fast-dtoa.cc DiyFp too_low = DiyFp(low.f() - unit, low.e()); unit 408 Source/wtf/dtoa/fast-dtoa.cc DiyFp too_high = DiyFp(high.f() + unit, high.e()); unit 451 Source/wtf/dtoa/fast-dtoa.cc static_cast<uint64_t>(divisor) << -one.e(), unit); unit 467 Source/wtf/dtoa/fast-dtoa.cc unit *= 10; unit 476 Source/wtf/dtoa/fast-dtoa.cc return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f() * unit, unit 477 Source/wtf/dtoa/fast-dtoa.cc unsafe_interval.f(), fractionals, one.f(), unit);