Home
last modified time | relevance | path

Searched refs:rawValue (Results 1 – 25 of 50) 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()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/
DObservableProperty.java199 Object rawValue = getRawValue(node); in getValueAsSingleReference() local
201 if (rawValue instanceof Node) { in getValueAsSingleReference()
202 return (Node) rawValue; in getValueAsSingleReference()
203 } else if (rawValue instanceof Optional) { in getValueAsSingleReference()
204 Optional<Node> opt = (Optional<Node>) rawValue; in getValueAsSingleReference()
211 …on(String.format("Property %s returned %s (%s)", this.name(), rawValue.toString(), rawValue.getCla… in getValueAsSingleReference()
228 Object rawValue = getRawValue(node); in getValueAsMultipleReference() local
230 if (rawValue == null) { in getValueAsMultipleReference()
233 if (rawValue instanceof NodeList) { in getValueAsMultipleReference()
234 return (NodeList) rawValue; in getValueAsMultipleReference()
[all …]
/external/mdnsresponder/mDNSWindows/DLLX/
DTXTRecord.cpp190 const void * rawValue; in GetValueForKey() local
214rawValue = 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/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalDifferenceCalculator.java161 Object rawValue = change.getValue(csmList.getProperty(), node); in calculatedSyntaxModelForNode() local
163 if (rawValue instanceof Optional) { in calculatedSyntaxModelForNode()
164 Optional optional = (Optional)rawValue; in calculatedSyntaxModelForNode()
174 if (!(rawValue instanceof NodeList)) { in calculatedSyntaxModelForNode()
175 …throw new IllegalStateException("Expected NodeList, found " + rawValue.getClass().getCanonicalName… in calculatedSyntaxModelForNode()
177 nodeList = (NodeList) rawValue; in calculatedSyntaxModelForNode()
305 Object rawValue = observableProperty.getRawValue(container); in calculatedSyntaxModelAfterListAddition() local
306 if (!(rawValue instanceof NodeList)) { in calculatedSyntaxModelAfterListAddition()
307 …throw new IllegalStateException("Expected NodeList, found " + rawValue.getClass().getCanonicalName… in calculatedSyntaxModelAfterListAddition()
309 NodeList nodeList = (NodeList)rawValue; in calculatedSyntaxModelAfterListAddition()
[all …]
/external/protobuf/objectivec/Tests/
DGPBSwiftTests.swift54 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 …]
DGPBDictionaryTests+Int32.m2961 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 …]
DGPBDictionaryTests+String.m2961 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 …]
DGPBDictionaryTests+Int64.m2961 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 …]
DGPBDictionaryTests+UInt32.m2961 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 …]
DGPBDictionaryTests+UInt64.m2961 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 …]
/external/protobuf/objectivec/
DGPBDictionary.h300 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 …]
/external/pdfium/xfa/fxfa/parser/
Dxfa_utils.cpp231 Optional<WideString> rawValue = pRawValueNode->JSObject()->TryAttribute( in RegenerateFormFile_Changed() local
233 if (!rawValue || rawValue->IsEmpty()) in RegenerateFormFile_Changed()
238 auto iEnd = rawValue->Find(L'\n', iStart); in RegenerateFormFile_Changed()
239 iEnd = !iEnd.has_value() ? rawValue->GetLength() : iEnd; in RegenerateFormFile_Changed()
242 rawValue->Mid(iStart, iEnd.value() - iStart)); in RegenerateFormFile_Changed()
244 if (iStart >= rawValue->GetLength()) in RegenerateFormFile_Changed()
246 iEnd = rawValue->Find(L'\n', iStart); in RegenerateFormFile_Changed()
/external/parameter-framework/upstream/xmlserializer/
DXmlElement.cpp101 std::string rawValue; in getAttribute() local
102 if (!getAttribute(name, rawValue)) { in getAttribute()
107 if (!convertTo<T>(rawValue, value)) { in getAttribute()
109 throw PfError("\'" + rawValue + "\' could not be parsed as the requested type."); in getAttribute()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DConverter2.java132 private static int convertInt(String rawValue) { in convertInt() argument
138 return (int) Long.parseLong(rawValue); in convertInt()
141 return Long.decode(rawValue).intValue(); in convertInt()
DConverter.java248 private static int convertInt(String rawValue) { in convertInt() argument
254 return (int) Long.parseLong(rawValue); in convertInt()
257 return Long.decode(rawValue).intValue(); in convertInt()
/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/core/src/main/java/com/google/protobuf/
DMessageReflection.java806 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()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceValueConverter.java4 Object convertRawValue(String rawValue); in convertRawValue() argument
/external/pdfium/fxjs/xfa/
Dcjx_draw.h30 JS_PROP(rawValue);
Dcjx_exclgroup.h44 JS_PROP(rawValue);
Dcjx_field.h56 JS_PROP(rawValue);
Dcjx_draw.cpp101 void CJX_Draw::rawValue(CFXJSE_Value* pValue, in rawValue() function in CJX_Draw
/external/tensorflow/tensorflow/lite/experimental/swift/TestApps/TensorFlowLiteApp/TensorFlowLiteApp/
DViewController.swift19 guard let currentModel = Model(rawValue: modelControl.selectedSegmentIndex) else {

12