Home
last modified time | relevance | path

Searched refs:rawValue (Results 1 – 25 of 29) 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/guava/guava/src/com/google/common/primitives/
DParseRequest.java24 final String rawValue; field in ParseRequest
27 private ParseRequest(String rawValue, int radix) { in ParseRequest() argument
28 this.rawValue = rawValue; in ParseRequest()
38 String rawValue; in fromString() local
42 rawValue = stringValue.substring(2); in fromString()
45 rawValue = stringValue.substring(1); in fromString()
48 rawValue = stringValue.substring(1); in fromString()
51 rawValue = stringValue; in fromString()
55 return new ParseRequest(rawValue, radix); in fromString()
DUnsignedInts.java215 return parseUnsignedInt(request.rawValue, request.radix); in decode()
DUnsignedLongs.java273 return parseUnsignedLong(request.rawValue, request.radix); in decode()
/external/robolectric/v1/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/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/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/parameter-framework/upstream/xmlserializer/
DXmlElement.cpp103 std::string rawValue; in getAttribute() local
104 if (!getAttribute(name, rawValue)) { in getAttribute()
109 if (!convertTo<T>(rawValue, value)) { in getAttribute()
/external/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessageLite.java548 int rawValue = input.readEnum(); in parseUnknownField() local
550 extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseUnknownField()
596 int rawValue = input.readEnum(); in parseUnknownField() local
598 .findValueByNumber(rawValue); in parseUnknownField()
603 unknownFieldsCodedOutput.writeUInt32NoTag(rawValue); in parseUnknownField()
DMessageReflection.java754 final int rawValue = input.readEnum(); in mergeFieldFrom() local
755 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
785 final int rawValue = input.readEnum(); in mergeFieldFrom() local
786 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
790 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
/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()
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/
Drobolectric-resources-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/robolectric/ org/ ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12