/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
D | XMPUtils.java | 311 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/ |
D | ParseRequest.java | 24 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()
|
D | UnsignedInts.java | 215 return parseUnsignedInt(request.rawValue, request.radix); in decode()
|
D | UnsignedLongs.java | 273 return parseUnsignedLong(request.rawValue, request.radix); in decode()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | ResourceReferenceResolver.java | 27 …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()
|
D | ColorResourceLoader.java | 47 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()
|
D | DimenResourceLoader.java | 29 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()
|
D | IntegerResourceLoader.java | 36 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()
|
D | StringResourceLoader.java | 24 @Override public Object convertRawValue(String rawValue) { in convertRawValue() argument 25 return rawValue; in convertRawValue()
|
D | PluralResourceLoader.java | 54 @Override public Object convertRawValue(String rawValue) { in convertRawValue() argument 55 return rawValue; in convertRawValue()
|
D | ResourceValueConverter.java | 4 Object convertRawValue(String rawValue); in convertRawValue() argument
|
/external/mdnsresponder/mDNSWindows/DLLX/ |
D | TXTRecord.cpp | 190 const void * rawValue; in GetValueForKey() local 214 …rawValue = TXTRecordGetValuePtr( ( uint16_t ) m_byteArray.size(), &m_byteArray[ 0 ], keyUTF8.c_str… in GetValueForKey() 218 if ( rawValue ) in GetValueForKey() 222 ok = ByteArrayToVariant( rawValue, rawValueLen, value ); in GetValueForKey() 274 const void * rawValue; in GetKeyAtIndex() local 286 …size(), &m_byteArray[ 0 ], ( uint16_t ) index, sizeof( keyBuf ), keyBuf, &rawValueLen, &rawValue ); in GetKeyAtIndex() 320 const void * rawValue; in GetValueAtIndex() local 332 …size(), &m_byteArray[ 0 ], ( uint16_t ) index, sizeof( keyBuf ), keyBuf, &rawValueLen, &rawValue ); in GetValueAtIndex() 338 ok = ByteArrayToVariant( rawValue, rawValueLen, retval ); in GetValueAtIndex()
|
/external/protobuf/objectivec/Tests/ |
D | GPBSwiftTests.swift | 54 msg.repeatedEnumArray.addValue(Message2_Enum.Bar.rawValue) in testProto2Basics() 55 msg.repeatedEnumArray.addValue(Message2_Enum.Baz.rawValue) in testProto2Basics() 60 msg.mapInt32Enum.setValue(Message2_Enum.Bar.rawValue, forKey:600) in testProto2Basics() 61 msg.mapInt32Enum.setValue(Message2_Enum.Baz.rawValue, forKey:601) in testProto2Basics() 89 XCTAssertEqual(msg.repeatedEnumArray.valueAtIndex(0), Message2_Enum.Bar.rawValue) in testProto2Basics() 90 XCTAssertEqual(msg.repeatedEnumArray.valueAtIndex(1), Message2_Enum.Baz.rawValue) in testProto2Basics() 103 XCTAssertEqual(intValue, Message2_Enum.Bar.rawValue) in testProto2Basics() 105 XCTAssertEqual(intValue, Message2_Enum.Baz.rawValue) in testProto2Basics() 151 msg.repeatedEnumArray.addValue(Message3_Enum.Bar.rawValue) in testProto3Basics() 158 msg.mapInt32Enum.setValue(Message2_Enum.Bar.rawValue, forKey:600) in testProto3Basics() [all …]
|
D | GPBDictionaryTests+Int32.m | 2961 XCTAssertTrue([dict valueForKey:11 rawValue:NULL]); 2962 XCTAssertTrue([dict valueForKey:11 rawValue:&value]); 2967 XCTAssertTrue([dict valueForKey:12 rawValue:NULL]); 2968 XCTAssertTrue([dict valueForKey:12 rawValue:&value]); 2970 XCTAssertTrue([dict valueForKey:13 rawValue:NULL]); 2971 XCTAssertTrue([dict valueForKey:13 rawValue:&value]); 2973 XCTAssertFalse([dict valueForKey:14 rawValue:NULL]); 3162 XCTAssertTrue([dict valueForKey:12 rawValue:NULL]); 3163 XCTAssertTrue([dict valueForKey:12 rawValue:&value]); 3171 XCTAssertTrue([dict valueForKey:14 rawValue:NULL]); [all …]
|
D | GPBDictionaryTests+String.m | 2961 XCTAssertTrue([dict valueForKey:@"foo" rawValue:NULL]); 2962 XCTAssertTrue([dict valueForKey:@"foo" rawValue:&value]); 2967 XCTAssertTrue([dict valueForKey:@"bar" rawValue:NULL]); 2968 XCTAssertTrue([dict valueForKey:@"bar" rawValue:&value]); 2970 XCTAssertTrue([dict valueForKey:@"baz" rawValue:NULL]); 2971 XCTAssertTrue([dict valueForKey:@"baz" rawValue:&value]); 2973 XCTAssertFalse([dict valueForKey:@"mumble" rawValue:NULL]); 3162 XCTAssertTrue([dict valueForKey:@"bar" rawValue:NULL]); 3163 XCTAssertTrue([dict valueForKey:@"bar" rawValue:&value]); 3171 XCTAssertTrue([dict valueForKey:@"mumble" rawValue:NULL]); [all …]
|
D | GPBDictionaryTests+UInt32.m | 2961 XCTAssertTrue([dict valueForKey:1U rawValue:NULL]); 2962 XCTAssertTrue([dict valueForKey:1U rawValue:&value]); 2967 XCTAssertTrue([dict valueForKey:2U rawValue:NULL]); 2968 XCTAssertTrue([dict valueForKey:2U rawValue:&value]); 2970 XCTAssertTrue([dict valueForKey:3U rawValue:NULL]); 2971 XCTAssertTrue([dict valueForKey:3U rawValue:&value]); 2973 XCTAssertFalse([dict valueForKey:4U rawValue:NULL]); 3162 XCTAssertTrue([dict valueForKey:2U rawValue:NULL]); 3163 XCTAssertTrue([dict valueForKey:2U rawValue:&value]); 3171 XCTAssertTrue([dict valueForKey:4U rawValue:NULL]); [all …]
|
D | GPBDictionaryTests+Int64.m | 2961 XCTAssertTrue([dict valueForKey:21LL rawValue:NULL]); 2962 XCTAssertTrue([dict valueForKey:21LL rawValue:&value]); 2967 XCTAssertTrue([dict valueForKey:22LL rawValue:NULL]); 2968 XCTAssertTrue([dict valueForKey:22LL rawValue:&value]); 2970 XCTAssertTrue([dict valueForKey:23LL rawValue:NULL]); 2971 XCTAssertTrue([dict valueForKey:23LL rawValue:&value]); 2973 XCTAssertFalse([dict valueForKey:24LL rawValue:NULL]); 3162 XCTAssertTrue([dict valueForKey:22LL rawValue:NULL]); 3163 XCTAssertTrue([dict valueForKey:22LL rawValue:&value]); 3171 XCTAssertTrue([dict valueForKey:24LL rawValue:NULL]); [all …]
|
D | GPBDictionaryTests+UInt64.m | 2961 XCTAssertTrue([dict valueForKey:31ULL rawValue:NULL]); 2962 XCTAssertTrue([dict valueForKey:31ULL rawValue:&value]); 2967 XCTAssertTrue([dict valueForKey:32ULL rawValue:NULL]); 2968 XCTAssertTrue([dict valueForKey:32ULL rawValue:&value]); 2970 XCTAssertTrue([dict valueForKey:33ULL rawValue:NULL]); 2971 XCTAssertTrue([dict valueForKey:33ULL rawValue:&value]); 2973 XCTAssertFalse([dict valueForKey:34ULL rawValue:NULL]); 3162 XCTAssertTrue([dict valueForKey:32ULL rawValue:NULL]); 3163 XCTAssertTrue([dict valueForKey:32ULL rawValue:&value]); 3171 XCTAssertTrue([dict valueForKey:34ULL rawValue:NULL]); [all …]
|
D | GPBMessageTests+Merge.m | 202 rawValue:UnknownEnumsMyEnum_Bar]; 205 rawValue:UnknownEnumsMyEnum_Bar]; 225 rawValue:kUnknownValue]; 228 rawValue:kUnknownValue];
|
/external/protobuf/objectivec/ |
D | GPBDictionary.h | 300 rawValue:(int32_t)rawValue 331 - (BOOL)valueForKey:(uint32_t)key rawValue:(nullable int32_t *)rawValue; 334 (void (^)(uint32_t key, int32_t rawValue, BOOL *stop))block; 347 - (void)setRawValue:(int32_t)rawValue forKey:(uint32_t)key; 646 rawValue:(int32_t)rawValue 677 - (BOOL)valueForKey:(int32_t)key rawValue:(nullable int32_t *)rawValue; 680 (void (^)(int32_t key, int32_t rawValue, BOOL *stop))block; 693 - (void)setRawValue:(int32_t)rawValue forKey:(int32_t)key; 992 rawValue:(int32_t)rawValue 1023 - (BOOL)valueForKey:(uint64_t)key rawValue:(nullable int32_t *)rawValue; [all …]
|
D | GPBDictionary.m | 688 //% rawValue:(VALUE_TYPE)rawValue 693 …% KEY_NAME$S VALUE_NAME$S rawValues:&rawValue 779 //%- (BOOL)valueForKey:(KEY_TYPE##KisP$S##KisP)key rawValue:(VALUE_TYPE *)rawValue { 781 //% if (wrapped && rawValue) { 782 //% *rawValue = UNWRAP##VALUE_NAME(wrapped); 2978 rawValue:(int32_t)rawValue 2983 rawValues:&rawValue 3177 - (BOOL)valueForKey:(uint32_t)key rawValue:(int32_t *)rawValue { 3179 if (wrapped && rawValue) { 3180 *rawValue = [wrapped intValue]; [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPMetaImpl.java | 1388 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/ |
D | XmlElement.cpp | 103 std::string rawValue; in getAttribute() local 104 if (!getAttribute(name, rawValue)) { in getAttribute() 109 if (!convertTo<T>(rawValue, value)) { in getAttribute()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MessageReflection.java | 806 final int rawValue = input.readEnum(); in mergeFieldFrom() local 809 field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue)); in mergeFieldFrom() 811 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom() 842 final int rawValue = input.readEnum(); in mergeFieldFrom() local 844 value = field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue); in mergeFieldFrom() 846 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom() 850 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
|
D | GeneratedMessageLite.java | 517 int rawValue = input.readEnum(); in parseUnknownField() local 519 extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseUnknownField() 565 int rawValue = input.readEnum(); in parseUnknownField() local 567 .findValueByNumber(rawValue); in parseUnknownField() 571 mergeVarintField(fieldNumber, rawValue); in parseUnknownField()
|