Home
last modified time | relevance | path

Searched refs:m_value (Results 1 – 25 of 118) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSPrimitiveValueMappings.h59 m_value.num = static_cast<double>(i); in CSSPrimitiveValue()
65 return clampTo<short>(m_value.num);
75 m_value.num = static_cast<double>(i); in CSSPrimitiveValue()
81 return clampTo<unsigned short>(m_value.num);
90 return clampTo<int>(m_value.num);
99 return clampTo<unsigned>(m_value.num);
110 m_value.num = static_cast<double>(i); in CSSPrimitiveValue()
116 return clampTo<float>(m_value.num);
126 m_value.num = static_cast<double>(i.value()); in CSSPrimitiveValue()
132 return LineClampValue(clampTo<int>(m_value.num), LineClampLineCount); in LineClampValue()
[all …]
DCSSPrimitiveValue.cpp186 switch (m_value.calc->category()) { in primitiveType()
235 m_value.valueID = valueID; in CSSPrimitiveValue()
242 m_value.propertyID = propertyID; in CSSPrimitiveValue()
249 m_value.parserOperator = parserOperator; in CSSPrimitiveValue()
257 m_value.num = num; in CSSPrimitiveValue()
264 if ((m_value.string = str.impl())) in CSSPrimitiveValue()
265 m_value.string->ref(); in CSSPrimitiveValue()
273 m_value.rgbcolor = color; in CSSPrimitiveValue()
297 m_value.num = length.value() / zoom; in CSSPrimitiveValue()
313 m_value.valueID = CSSValueAuto; in init()
[all …]
DMediaQueryExp.h49 CSSValue* value() const { return m_value.get(); } in value()
54 && ((!other.m_value && !m_value)
55 || (other.m_value && m_value && other.m_value->equals(*m_value)));
68 RefPtr<CSSValue> m_value; variable
DCSSLineBoxContainValue.cpp36 , m_value(value) in CSSLineBoxContainValue()
44 if (m_value & LineBoxContainBlock) in customCSSText()
46 if (m_value & LineBoxContainInline) { in customCSSText()
51 if (m_value & LineBoxContainFont) { in customCSSText()
56 if (m_value & LineBoxContainGlyphs) { in customCSSText()
61 if (m_value & LineBoxContainReplaced) { in customCSSText()
66 if (m_value & LineBoxContainInlineBox) { in customCSSText()
DCSSSelector.h278 StringImpl* m_value; // Plain pointer to keep things uniform with the union. member
291 DataUnion() : m_value(0) { } in DataUnion()
292 StringImpl* m_value; member
372 if (m_data.m_rareData->m_value) in setValue()
373 m_data.m_rareData->m_value->deref(); in setValue()
374 m_data.m_rareData->m_value = value.impl(); in setValue()
375 m_data.m_rareData->m_value->ref(); in setValue()
378 if (m_data.m_value) in setValue()
379 m_data.m_value->deref(); in setValue()
380 m_data.m_value = value.impl(); in setValue()
[all …]
DCSSVariableValue.h46 const String& value() const { return m_value; } in value()
48 …const CSSVariableValue& other) const { return m_name == other.m_name && m_value == other.m_value; } in equals()
54 , m_value(value) in CSSVariableValue()
59 const String m_value; variable
/external/chromium_org/third_party/WebKit/Source/wtf/
DEnumClass.h93 ALWAYS_INLINE EnumClass(Value value) : m_value(value) { }
95 ALWAYS_INLINE Value value() const { return m_value; }
97 ALWAYS_INLINE bool operator==(const EnumClass other) { return m_value == other.m_value; }
98 ALWAYS_INLINE bool operator!=(const EnumClass other) { return m_value != other.m_value; }
99 ALWAYS_INLINE bool operator<(const EnumClass other) { return m_value < other.m_value; }
100 ALWAYS_INLINE bool operator<=(const EnumClass other) { return m_value <= other.m_value; }
101 ALWAYS_INLINE bool operator>(const EnumClass other) { return m_value > other.m_value; }
102 ALWAYS_INLINE bool operator>=(const EnumClass other) { return m_value >= other.m_value; }
104 ALWAYS_INLINE bool operator==(const Value value) { return m_value == value; }
105 ALWAYS_INLINE bool operator!=(const Value value) { return m_value != value; }
[all …]
DCheckedArithmetic.h429 : m_value(0)
434 : m_value(0)
445 m_value = static_cast<T>(value);
449 : m_value(rhs.m_value)
458 if (!isInBounds<T>(rhs.m_value))
460 m_value = static_cast<T>(rhs.m_value);
467 if (!isInBounds<T>(rhs.m_value))
469 m_value = static_cast<T>(rhs.m_value);
477 m_value = static_cast<T>(rhs.m_value);
494 if (m_value == std::numeric_limits<T>::max())
[all …]
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathResult.cpp40 : m_value(value) in XPathResult()
45 switch (m_value.type()) { in XPathResult()
58 m_nodeSet = m_value.toNodeSet(); in XPathResult()
77 m_value = m_value.toNumber(); in convertTo()
81 m_value = m_value.toString(); in convertTo()
85 m_value = m_value.toBoolean(); in convertTo()
91 if (!m_value.isNodeSet()) { in convertTo()
98 if (!m_value.isNodeSet()) { in convertTo()
106 if (!m_value.isNodeSet()) { in convertTo()
110 m_value.toNodeSet().sort(); in convertTo()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DStylePendingImage.h46 virtual WrappedImagePtr data() const { return m_value; } in data()
48 virtual PassRefPtr<CSSValue> cssValue() const { return m_value; } in cssValue()
49 …CSSImageValue* cssImageValue() const { return m_value->isImageValue() ? toCSSImageValue(m_value) :… in cssImageValue()
50 …e* cssImageGeneratorValue() const { return m_value->isImageGeneratorValue() ? toCSSImageGeneratorV… in cssImageGeneratorValue()
51 …geValue* cssCursorImageValue() const { return m_value->isCursorImageValue() ? toCSSCursorImageValu… in cssCursorImageValue()
52 …ImageSetValue* cssImageSetValue() const { return m_value->isImageSetValue() ? toCSSImageSetValue(m… in cssImageSetValue()
71 : m_value(value) in StylePendingImage()
76 CSSValue* m_value; // Not retained; it owns us. variable
DLineClampValue.h36 , m_value(-1) in LineClampValue()
42 , m_value(value) in LineClampValue()
46 int value() const { return m_value; } in value()
50 bool isNone() const { return m_value == -1; } in isNone()
64 int m_value; variable
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioParam.cpp48 …melineValue = m_timeline.valueForContextTime(context(), narrowPrecisionToFloat(m_value), hasValue); in value()
51 m_value = timelineValue; in value()
54 return narrowPrecisionToFloat(m_value); in value()
62 m_value = value; in setValue()
76m_value = m_timeline.valueForContextTime(context(), narrowPrecisionToFloat(m_value), useTimelineVa… in smooth()
78 if (m_smoothedValue == m_value) { in smooth()
84 m_smoothedValue = m_value; in smooth()
87 m_smoothedValue += (m_value - m_smoothedValue) * m_smoothingConstant; in smooth()
90 …if (fabs(m_smoothedValue - m_value) < SnapThreshold) // FIXME: the threshold needs to be adjustabl… in smooth()
91 m_smoothedValue = m_value; in smooth()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGNumber.h42 : m_value(0) in SVGNumber()
47 : m_value(value) in SVGNumber()
53 m_value += rhs.value();
57 float value() const { return m_value; } in value()
58 float& valueRef() { return m_value; } in valueRef()
59 String valueAsString() const { return String::number(m_value); } in valueAsString()
60 void setValue(float value) { m_value = value; } in setValue()
63 float m_value;
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DScriptValue.h55 , m_value(value.IsEmpty() ? 0 : SharedPersistent<v8::Value>::create(value, isolate)) in ScriptValue()
61 , m_value(value.m_value) in ScriptValue()
91 m_value = value.m_value;
103 return *m_value == *value.m_value;
154 return !m_value.get() || m_value->isEmpty(); in hasNoValue()
159 m_value = 0; in clear()
164 return m_value.get() ? m_value->newLocal(m_isolate) : v8::Handle<v8::Value>(); in v8Value()
174 RefPtr<SharedPersistent<v8::Value> > m_value; variable
DUnsafePersistent.h49 UnsafePersistent() : m_value(0) { } in UnsafePersistent()
50 explicit UnsafePersistent(T* value) : m_value(value) { } in UnsafePersistent()
53 m_value = handle.ClearAndLeak(); in UnsafePersistent()
59 m_value = persistent.ClearAndLeak(); in UnsafePersistent()
64 return m_value; in value()
87 v8::Persistent<T>* handle = reinterpret_cast<v8::Persistent<T>*>(&m_value); in persistent()
99 m_value = 0; in dispose()
104 m_value = 0; in clear()
114 return !m_value; in isEmpty()
120 v8::Handle<T>* handle = reinterpret_cast<v8::Handle<T>*>(&m_value); in deprecatedHandle()
[all …]
DSharedPersistent.h52 return m_value.newLocal(isolate); in newLocal()
55 bool isEmpty() { return m_value.isEmpty(); } in isEmpty()
59 return m_value == other.m_value;
63 … explicit SharedPersistent(v8::Handle<T> value, v8::Isolate* isolate) : m_value(isolate, value) { } in SharedPersistent()
64 ScopedPersistent<T> m_value; variable
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableUnknown.h53 PassRefPtr<CSSValue> toCSSValue() const { return m_value; } in toCSSValue()
54 CSSValueID toCSSValueID() const { return toCSSPrimitiveValue(m_value.get())->getValueID(); } in toCSSValueID()
64 : m_value(value) in AnimatableUnknown()
66 ASSERT(m_value); in AnimatableUnknown()
71 const RefPtr<CSSValue> m_value; variable
79 return m_value == unknown->m_value || m_value->equals(*unknown->m_value); in equalTo()
/external/emma/ant/ant14/com/vladium/emma/ant/
DStringValue.java27 if (m_value == null) in appendValue()
29 m_value = new StringBuffer (value); in appendValue()
33 m_value.append (separator); in appendValue()
34 m_value.append (value); // no trailing separator kept in appendValue()
41 return m_value != null ? m_value.toString () : null; in getValue()
62 private StringBuffer m_value; field in StringValue
/external/chromium_org/third_party/WebKit/Source/core/platform/animation/
DAnimationValue.h67 , m_value(value) in AnimationValue()
72 float value() const { return m_value; } in value()
75 float m_value;
85 m_value = *value; in AnimationValue()
89 const TransformOperations* value() const { return &m_value; } in value()
92 TransformOperations m_value;
102 m_value = *value; in AnimationValue()
106 const FilterOperations* value() const { return &m_value; } in value()
109 FilterOperations m_value;
/external/chromium_org/third_party/WebKit/Source/platform/
DLayoutUnit.h64 LayoutUnit() : m_value(0) { } in LayoutUnit()
68 LayoutUnit(unsigned long value) { m_value = clampTo<int>(value * kFixedPointDenominator); } in LayoutUnit()
69 LayoutUnit(unsigned long long value) { m_value = clampTo<int>(value * kFixedPointDenominator); } in LayoutUnit()
70 …LayoutUnit(float value) { m_value = clampTo<float>(value * kFixedPointDenominator, static_cast<flo… in LayoutUnit()
71 …LayoutUnit(double value) { m_value = clampTo<double>(value * kFixedPointDenominator, static_cast<d… in LayoutUnit()
76 v.m_value = clampToInteger(ceilf(value * kFixedPointDenominator)); in fromFloatCeil()
83 v.m_value = clampToInteger(floorf(value * kFixedPointDenominator)); in fromFloatFloor()
94 int toInt() const { return m_value / kFixedPointDenominator; } in toInt()
95 float toFloat() const { return static_cast<float>(m_value) / kFixedPointDenominator; } in toFloat()
96 double toDouble() const { return static_cast<double>(m_value) / kFixedPointDenominator; } in toDouble()
[all …]
DCalculationValue.h86 return *(m_value.get()) == *(o.m_value.get());
90 const CalcExpressionNode* expression() const { return m_value.get(); } in expression()
94 : m_value(value) in CalculationValue()
99 OwnPtr<CalcExpressionNode> m_value; variable
106 : m_value(value) in CalcExpressionNumber()
113 return m_value == o.m_value;
123 return m_value; in evaluate()
126 float value() const { return m_value; } in value()
129 float m_value;
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLDimension.h49 , m_value(0) in HTMLDimension()
55 , m_value(value) in HTMLDimension()
65 double value() const { return m_value; } in value()
69 return m_type == other.m_type && m_value == other.m_value;
75 double m_value; variable
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/
DSVGPropertyTearOff.h56 PropertyType& propertyReference() { return *m_value; } in propertyReference()
63 delete m_value; in setValue() local
69 m_value = &value; in setValue()
107 m_value = new PropertyType(*m_value); in detachWrapper()
132 , m_value(&value) in SVGPropertyTearOff()
145 , m_value(new PropertyType(initialValue)) in SVGPropertyTearOff()
153 delete m_value; in ~SVGPropertyTearOff() local
183 PropertyType* m_value; variable
/external/emma/core/java12/com/vladium/jcd/cls/constant/
DCONSTANT_Integer_info.java34 public int m_value; field in CONSTANT_Integer_info
39 m_value = value; in CONSTANT_Integer_info()
56 return Integer.toString (m_value); in toString()
67 out.writeInt (m_value); in writeInClassFormat()
75 m_value = bytes.readInt (); in CONSTANT_Integer_info()
DCONSTANT_Long_info.java35 public long m_value; field in CONSTANT_Long_info
40 m_value = value; in CONSTANT_Long_info()
57 return Long.toString (m_value); in toString()
76 out.writeLong (m_value); in writeInClassFormat()
84 m_value = bytes.readLong (); in CONSTANT_Long_info()

12345