Home
last modified time | relevance | path

Searched refs:rawValue (Results 1 – 25 of 26) sorted by relevance

12

/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPUtils.java311 public static int convertToInteger(String rawValue) throws XMPException in convertToInteger() argument
315 if (rawValue == null || rawValue.length() == 0) in convertToInteger()
319 if (rawValue.startsWith("0x")) in convertToInteger()
321 return Integer.parseInt(rawValue.substring(2), 16); in convertToInteger()
325 return Integer.parseInt(rawValue); in convertToInteger()
358 public static long convertToLong(String rawValue) throws XMPException in convertToLong() argument
362 if (rawValue == null || rawValue.length() == 0) in convertToLong()
366 if (rawValue.startsWith("0x")) in convertToLong()
368 return Long.parseLong(rawValue.substring(2), 16); in convertToLong()
372 return Long.parseLong(rawValue); in convertToLong()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/
DLayoutUnit.h120 inline int rawValue() const { return m_value; } in rawValue() function
149 … return saturatedAddition(rawValue(), kFixedPointDenominator / 2) >> kLayoutUnitFractionalBits; in round()
165 fraction.setRawValue(rawValue() % kFixedPointDenominator); in fraction()
171 return rawValue() == std::numeric_limits<int>::max() in mightBeSaturated()
172 || rawValue() == std::numeric_limits<int>::min(); in mightBeSaturated()
245 return a.rawValue() <= b.rawValue();
270 return a.rawValue() >= b.rawValue();
295 return a.rawValue() < b.rawValue();
325 return a.rawValue() > b.rawValue();
360 return a.rawValue() != b.rawValue();
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DResourceReferenceResolver.java27 …public void processResource(String name, String rawValue, ResourceValueConverter loader, boolean i… in processResource() argument
32 if (rawValue.startsWith("@") in processResource()
33 && rawValue.contains(allowedReferenceTypesForRawValue + "/")) { in processResource()
40 addAttributeReference(rawValue, valuePointer); in processResource()
45 addAttribute(valuePointer, (T) loader.convertRawValue(rawValue)); in processResource()
73 private void addAttributeReference(String rawValue, String valuePointer) { in addAttributeReference() argument
74 String attributeName = rawValue.substring(1); in addAttributeReference()
DColorResourceLoader.java47 public Integer convertRawValue(String rawValue) { in convertRawValue() argument
48 if (rawValue.startsWith("#")) { in convertRawValue()
49 long color = Long.parseLong(rawValue.substring(1), 16); in convertRawValue()
51 } else if (androidColors.containsKey(rawValue)) { in convertRawValue()
52 return androidColors.get(rawValue); in convertRawValue()
DDimenResourceLoader.java29 public Object convertRawValue(String rawValue) { in convertRawValue() argument
30 int end = rawValue.length(); in convertRawValue()
32 int index = rawValue.indexOf(UNITS[i]); in convertRawValue()
38 return Float.parseFloat(rawValue.substring(0, end)); in convertRawValue()
DIntegerResourceLoader.java36 public Object convertRawValue( String rawValue ) { in convertRawValue() argument
41 return (int) Long.decode(rawValue).longValue(); in convertRawValue()
43 throw new RuntimeException( rawValue + " is not an integer." , nfe ); in convertRawValue()
DStringResourceLoader.java24 @Override public Object convertRawValue(String rawValue) { in convertRawValue() argument
25 return rawValue; in convertRawValue()
DPluralResourceLoader.java54 @Override public Object convertRawValue(String rawValue) { in convertRawValue() argument
55 return rawValue; in convertRawValue()
DResourceValueConverter.java4 Object convertRawValue(String rawValue); in convertRawValue() argument
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSImageValue.h44 …static PassRefPtrWillBeRawPtr<CSSImageValue> create(const String& rawValue, const KURL& url, Style…
46 return adoptRefWillBeNoop(new CSSImageValue(rawValue, url, image));
78 CSSImageValue(const String& rawValue, const KURL&, StyleImage*);
DCSSImageValue.cpp36 CSSImageValue::CSSImageValue(const String& rawValue, const KURL& url, StyleImage* image) in CSSImageValue() argument
38 , m_relativeURL(rawValue) in CSSImageValue()
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutRect.cpp126 … units): [x=%d y=%d maxX=%d maxY=%d]\n", x().rawValue(), y().rawValue(), maxX().rawValue(), maxY()… in show()
DLayoutSize.h61 bool isEmpty() const { return m_width.rawValue() <= 0 || m_height.rawValue() <= 0; } in isEmpty()
/external/chromium_org/ui/file_manager/file_manager/audio_player/elements/
Dvolume_controller.js62 rawValue: 0, property
85 this.rawValue = 100 - newValue;
/external/chromium_org/third_party/skia/src/animator/
DSkMemberInfo.cpp185 const char rawValue[], size_t rawValueLen) const in setValue() argument
187 SkString valueStr(rawValue, rawValueLen); in setValue()
232 if (strncmp(rawValue, "#string:", sizeof("#string:") - 1) == 0) { in setValue()
236 rawValue = valueStr.c_str(); in setValue()
240 if (strncmp(rawValue, "#script:", sizeof("#script:") - 1) != 0) in setValue()
312 SkString string(rawValue, rawValueLen); in setValue()
319 string->set(rawValue, rawValueLen); in setValue()
322 arrayStorage->begin()->fString->set(rawValue, rawValueLen); in setValue()
327 base64.decode(rawValue, rawValueLen); in setValue()
/external/skia/src/animator/
DSkMemberInfo.cpp185 const char rawValue[], size_t rawValueLen) const in setValue() argument
187 SkString valueStr(rawValue, rawValueLen); in setValue()
232 if (strncmp(rawValue, "#string:", sizeof("#string:") - 1) == 0) { in setValue()
236 rawValue = valueStr.c_str(); in setValue()
240 if (strncmp(rawValue, "#script:", sizeof("#script:") - 1) != 0) in setValue()
312 SkString string(rawValue, rawValueLen); in setValue()
319 string->set(rawValue, rawValueLen); in setValue()
322 arrayStorage->begin()->fString->set(rawValue, rawValueLen); in setValue()
327 base64.decode(rawValue, rawValueLen); in setValue()
/external/chromium_org/content/browser/resources/media/
Dstats_graph_helper.js125 var rawValue = getNumberFromValue(rawLabel, stats.values[i + 1]);
126 if (isNaN(rawValue)) {
139 var finalValue = rawValue;
147 [rawValue]);
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPMetaImpl.java1388 String rawValue = propNode.getValue();
1392 value = new Boolean(XMPUtils.convertToBoolean(rawValue));
1395 value = new Integer(XMPUtils.convertToInteger(rawValue));
1398 value = new Long(XMPUtils.convertToLong(rawValue));
1401 value = new Double(XMPUtils.convertToDouble(rawValue));
1404 value = XMPUtils.convertToDate(rawValue);
1407 XMPDateTime dt = XMPUtils.convertToDate(rawValue);
1411 value = XMPUtils.decodeBase64(rawValue);
1419 value = rawValue != null || propNode.getOptions().isCompositeProperty() ? rawValue : "";
/external/protobuf/java/src/main/java/com/google/protobuf/
DAbstractMessage.java354 final int rawValue = input.readEnum(); in mergeFieldFrom() local
355 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
403 final int rawValue = input.readEnum(); in mergeFieldFrom() local
404 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
408 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
DGeneratedMessageLite.java342 final int rawValue = input.readEnum(); in parseUnknownField() local
344 extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseUnknownField()
387 final int rawValue = input.readEnum(); in parseUnknownField() local
389 .findValueByNumber(rawValue); in parseUnknownField()
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessageLite.java516 int rawValue = input.readEnum(); in parseUnknownField() local
518 extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseUnknownField()
561 int rawValue = input.readEnum(); in parseUnknownField() local
563 .findValueByNumber(rawValue); in parseUnknownField()
DAbstractMessage.java516 final int rawValue = input.readEnum(); in mergeFieldFrom() local
517 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
565 final int rawValue = input.readEnum(); in mergeFieldFrom() local
566 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
570 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DSerializedScriptValue.cpp1958 uint32_t rawValue; in readInt32() local
1959 if (!doReadUint32(&rawValue)) in readInt32()
1961 *value = v8::Integer::New(isolate(), static_cast<int32_t>(ZigZag::decode(rawValue))); in readInt32()
1967 uint32_t rawValue; in readUint32() local
1968 if (!doReadUint32(&rawValue)) in readUint32()
1970 *value = v8::Integer::NewFromUnsigned(isolate(), rawValue); in readUint32()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DCSSPropertyParser.h272 …PassRefPtrWillBeRawPtr<CSSValue> createCSSImageValueWithReferrer(const String& rawValue, const KUR…
/external/deqp/modules/gles31/functional/
Des31fTextureMultisampleTests.cpp1221 const float rawValue = rnd.getFloat(minValue, maxValue); in iterate() local
1222 … preparedValue = (m_isSignedFormat || m_isUnsignedFormat) ? (deFloatFloor(rawValue)) : (rawValue); in iterate()

12