Home
last modified time | relevance | path

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

123

/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.java22 final String rawValue; field in ParseRequest
25 private ParseRequest(String rawValue, int radix) { in ParseRequest() argument
26 this.rawValue = rawValue; in ParseRequest()
36 String rawValue; in fromString() local
40 rawValue = stringValue.substring(2); in fromString()
43 rawValue = stringValue.substring(1); in fromString()
46 rawValue = stringValue.substring(1); in fromString()
49 rawValue = stringValue; in fromString()
53 return new ParseRequest(rawValue, radix); in fromString()
/external/guava/android/guava/src/com/google/common/primitives/
DParseRequest.java22 final String rawValue; field in ParseRequest
25 private ParseRequest(String rawValue, int radix) { in ParseRequest() argument
26 this.rawValue = rawValue; in ParseRequest()
36 String rawValue; in fromString() local
40 rawValue = stringValue.substring(2); in fromString()
43 rawValue = stringValue.substring(1); in fromString()
46 rawValue = stringValue.substring(1); in fromString()
49 rawValue = stringValue; in fromString()
53 return new ParseRequest(rawValue, radix); in fromString()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/
DObservableProperty.java201 Object rawValue = getRawValue(node); in getValueAsSingleReference() local
203 if (rawValue instanceof Node) { in getValueAsSingleReference()
204 return (Node) rawValue; in getValueAsSingleReference()
205 } else if (rawValue instanceof Optional) { in getValueAsSingleReference()
206 Optional<Node> opt = (Optional<Node>) rawValue; in getValueAsSingleReference()
213 …on(String.format("Property %s returned %s (%s)", this.name(), rawValue.toString(), rawValue.getCla… in getValueAsSingleReference()
230 Object rawValue = getRawValue(node); in getValueAsMultipleReference() local
232 if (rawValue == null) { in getValueAsMultipleReference()
235 if (rawValue instanceof NodeList) { in getValueAsMultipleReference()
236 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.java162 Object rawValue = change.getValue(csmList.getProperty(), node); in calculatedSyntaxModelForNode() local
164 if (rawValue instanceof Optional) { in calculatedSyntaxModelForNode()
165 Optional optional = (Optional)rawValue; in calculatedSyntaxModelForNode()
175 if (!(rawValue instanceof NodeList)) { in calculatedSyntaxModelForNode()
176 …throw new IllegalStateException("Expected NodeList, found " + rawValue.getClass().getCanonicalName… in calculatedSyntaxModelForNode()
178 nodeList = (NodeList) rawValue; in calculatedSyntaxModelForNode()
308 Object rawValue = observableProperty.getRawValue(container); in calculatedSyntaxModelAfterListAddition() local
309 if (!(rawValue instanceof NodeList)) { in calculatedSyntaxModelAfterListAddition()
310 …throw new IllegalStateException("Expected NodeList, found " + rawValue.getClass().getCanonicalName… in calculatedSyntaxModelAfterListAddition()
312 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.setEnum(Message2_Enum.bar.rawValue, forKey:600) in testProto2Basics()
61 msg.mapInt32Enum.setEnum(Message2_Enum.baz.rawValue, forKey:601) in testProto2Basics()
89 XCTAssertEqual(msg.repeatedEnumArray.value(at: 0), Message2_Enum.bar.rawValue) in testProto2Basics()
90 XCTAssertEqual(msg.repeatedEnumArray.value(at: 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.setEnum(Message2_Enum.bar.rawValue, forKey:600) in testProto3Basics()
[all …]
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.kt193 release(interpretCPointer<mutex_node_t>(mutexes.rawValue.plus(i * mutex_node_t.size))!!) in i()
205 if (top.compareAndSet(oldTop.rawValue, mutexNode.rawValue)) in allocate()
213 if (oldTop.rawValue === NativePtr.NULL) in pop()
216 if (top.compareAndSet(oldTop.rawValue, newHead.rawValue)) in pop()
/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersUnionTests.swift113 var value: Int32 { return self.rawValue }
127 …cessor.offset(4); return o == 0 ? ColorsNameSpace.RGB(rawValue: 0)! : ColorsNameSpace.RGB(rawValue in colors()
156 builder.add(element: color.rawValue, def: Color3.green.rawValue, at: 6)
158 builder.add(element: equipment.rawValue, def: Equipment.none.rawValue, at: 8)
189 builder.add(element: equipment.rawValue, def: Equipment.none.rawValue, at: 1)
DFlatBuffersStructsTests.swift124 …static func addColor(b: FlatBufferBuilder, color: Color) { b.add(element: color.rawValue, def: 1, … in addColor()
156 var c: Color2 { return Color2(rawValue: __p.readBuffer(of: Int32.self, at: 12)) ?? .red }
171 …var UType: Test? { let o = __t.offset(6); return o == 0 ? Test.none : Test(rawValue: __t.readBuffe…
183 b.add(element: type.rawValue, def: Test.none.rawValue, at: 1) in createVPointer()
Dmonster_test_generated.swift12 public var value: UInt8 { return self.rawValue }
28 public var value: Int8 { return self.rawValue }
42 public var value: UInt8 { return self.rawValue }
56 public var value: UInt8 { return self.rawValue }
70 public var value: UInt8 { return self.rawValue }
115 …public var test2: MyGame.Example.Color { return MyGame.Example.Color(rawValue: _accessor.readBuffe…
150 memory.storeBytes(of: test2.rawValue, toByteOffset: 24, as: UInt8.self) in createVec3()
231 … o = _accessor.offset(4); return o == 0 ? .green : MyGame.Example.Color(rawValue: _accessor.readBu…
232 …e.Color) -> Bool {let o = _accessor.offset(4); return _accessor.mutate(color.rawValue, index: o) } in mutate()
234 …MyGame.Example.Color, _ fbb: FlatBufferBuilder) { fbb.add(element: color.rawValue, def: 2, at: 0) } in add()
[all …]
Dunion_vector_generated.swift8 public var value: UInt8 { return self.rawValue }
101 …racter { let o = _accessor.offset(4); return o == 0 ? .none : Character(rawValue: _accessor.readBu…
104 …let o = _accessor.offset(8); return o == 0 ? Character.none : Character(rawValue: _accessor.direct… in charactersType()
108 …haracter, _ fbb: FlatBufferBuilder) { fbb.add(element: mainCharacterType.rawValue, def: 0, at: 0) } in add()
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dast.js55 if (op.rawValue() !== undefined && op.type() === "result_id") {
56 this.next_id_ = Math.max(this.next_id_, op.rawValue() + 1);
122 rawValue() { return this.value_; } method in Operand
/external/deqp-deps/SPIRV-Tools/tools/sva/src/
Dast.js55 if (op.rawValue() !== undefined && op.type() === "result_id") {
56 this.next_id_ = Math.max(this.next_id_, op.rawValue() + 1);
122 rawValue() { return this.value_; } method in Operand
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/sva/src/
Dast.js55 if (op.rawValue() !== undefined && op.type() === "result_id") {
56 this.next_id_ = Math.max(this.next_id_, op.rawValue() + 1);
122 rawValue() { return this.value_; } method in Operand
/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/pdfium/testing/resources/javascript/xfa_specific/
Dbug_976753.in14 Field0.rawValue = "dog"
28 Field0.rawValue="m9";
/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.java801 final int rawValue = input.readEnum(); in mergeFieldFrom() local
804 field, field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue)); in mergeFieldFrom()
806 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
811 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
841 final int rawValue = input.readEnum(); in mergeFieldFrom() local
843 value = field.getEnumType().findValueByNumberCreatingIfUnknown(rawValue); in mergeFieldFrom()
845 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
850 unknownFields.mergeVarintField(fieldNumber, rawValue); in mergeFieldFrom()
/external/protobuf/objectivec/
DGPBDictionary.h811 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(uint32_t)key;
825 (void (NS_NOESCAPE ^)(uint32_t key, int32_t rawValue, BOOL *stop))block;
860 - (void)setRawValue:(int32_t)rawValue forKey:(uint32_t)key;
1732 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(int32_t)key;
1746 (void (NS_NOESCAPE ^)(int32_t key, int32_t rawValue, BOOL *stop))block;
1781 - (void)setRawValue:(int32_t)rawValue forKey:(int32_t)key;
2653 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(uint64_t)key;
2667 (void (NS_NOESCAPE ^)(uint64_t key, int32_t rawValue, BOOL *stop))block;
2702 - (void)setRawValue:(int32_t)rawValue forKey:(uint64_t)key;
3574 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(int64_t)key;
[all …]
/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.h24 JSE_PROP(rawValue);
/external/pdfium/xfa/fxfa/parser/
Dxfa_utils.cpp210 Optional<WideString> rawValue = pRawValueNode->JSObject()->TryAttribute( in RegenerateFormFile_Changed() local
212 if (!rawValue || rawValue->IsEmpty()) in RegenerateFormFile_Changed()
216 fxcrt::Split(rawValue.value(), L'\n'); in RegenerateFormFile_Changed()

123