Home
last modified time | relevance | path

Searched refs:RawValue (Results 1 – 25 of 46) sorted by relevance

12

/external/rust/crates/serde_json/src/
Draw.rs112 pub struct RawValue { struct
116 impl RawValue { impl
118 unsafe { mem::transmute::<&str, &RawValue>(json) } in from_borrowed()
122 unsafe { mem::transmute::<Box<str>, Box<RawValue>>(json) } in from_owned()
126 impl Clone for Box<RawValue> {
132 impl ToOwned for RawValue { implementation
133 type Owned = Box<RawValue>;
136 RawValue::from_owned(self.json.to_owned().into_boxed_str()) in to_owned()
140 impl Default for Box<RawValue> {
142 RawValue::from_borrowed("null").to_owned() in default()
[all …]
Dser.rs419 crate::raw::TOKEN => Ok(Compound::RawValue { ser: self }), in serialize_struct()
525 RawValue { ser: &'a mut Serializer<W, F> }, enumerator
561 Compound::RawValue { .. } => unreachable!(), in serialize_element()
578 Compound::RawValue { .. } => unreachable!(), in end()
661 Compound::RawValue { .. } => unreachable!(), in end()
701 Compound::RawValue { .. } => unreachable!(), in serialize_key()
726 Compound::RawValue { .. } => unreachable!(), in serialize_value()
743 Compound::RawValue { .. } => unreachable!(), in end()
773 Compound::RawValue { ref mut ser, .. } => { in serialize_field()
791 Compound::RawValue { .. } => Ok(()), in end()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DRawValueTest.java10 RawValue raw1 = new RawValue("foo"); in testEquality()
11 RawValue raw1b = new RawValue("foo"); in testEquality()
12 RawValue raw2 = new RawValue("bar"); in testEquality()
20 assertFalse(new RawValue((JsonSerializable) null).equals(raw1)); in testEquality()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DRawValue.java20 public class RawValue class
29 public RawValue(String v) { in RawValue() method in RawValue
33 public RawValue(SerializableString v) { in RawValue() method in RawValue
37 public RawValue(JsonSerializable v) { in RawValue() method in RawValue
48 protected RawValue(Object value, boolean bogus) { in RawValue() method in RawValue
106 if (!(o instanceof RawValue)) return false; in equals()
107 RawValue other = (RawValue) o; in equals()
DTokenBuffer.java459 if (value instanceof RawValue) { in serialize()
460 ((RawValue) value).serialize(gen); in serialize()
830 _appendValue(JsonToken.VALUE_EMBEDDED_OBJECT, new RawValue(text)); in writeRawValue()
838 _appendValue(JsonToken.VALUE_EMBEDDED_OBJECT, new RawValue(text)); in writeRawValue()
927 if (raw == byte[].class || (value instanceof RawValue)) { in writeObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DTarget.cpp41 unsigned long long RawValue; in create() local
42 if (!PlatformStr.getAsInteger(10, RawValue)) in create()
43 Platform = (PlatformKind)RawValue; in create()
/external/llvm-project/llvm/lib/TextAPI/MachO/
DTarget.cpp42 unsigned long long RawValue; in create() local
43 if (!PlatformStr.getAsInteger(10, RawValue)) in create()
44 Platform = (PlatformKind)RawValue; in create()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DRawValueTest.java9 import com.fasterxml.jackson.databind.util.RawValue;
91 RawValue myType = new RawValue("Jackson"); in testRawFromMapToTree()
/external/python/cpython2/Lib/multiprocessing/
D__init__.py234 def RawValue(typecode_or_type, *args): function
238 from multiprocessing.sharedctypes import RawValue
239 return RawValue(typecode_or_type, *args)
Dsharedctypes.py71 def RawValue(typecode_or_type, *args): function
104 obj = RawValue(typecode_or_type, *args)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DJsonNodeCreator.java6 import com.fasterxml.jackson.databind.util.RawValue;
63 public ValueNode rawValueNode(RawValue value); in rawValueNode()
DContainerNode.java8 import com.fasterxml.jackson.databind.util.RawValue;
148 public final ValueNode rawValueNode(RawValue value) { return _nodeFactory.rawValueNode(value); } in rawValueNode()
DJsonNodeFactory.java7 import com.fasterxml.jackson.databind.util.RawValue;
350 public ValueNode rawValueNode(RawValue value) { in rawValueNode()
DArrayNode.java8 import com.fasterxml.jackson.databind.util.RawValue;
424 public ArrayNode addRawValue(RawValue raw) { in addRawValue()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAPSIntType.h70 llvm::APSInt getValue(uint64_t RawValue) const LLVM_READONLY { in getValue() argument
71 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); in getValue()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DAPSIntType.h69 llvm::APSInt getValue(uint64_t RawValue) const LLVM_READONLY { in getValue() argument
70 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); in getValue()
/external/python/cpython3/Lib/multiprocessing/
Dcontext.py122 def RawValue(self, typecode_or_type, *args): member in BaseContext
124 from .sharedctypes import RawValue
125 return RawValue(typecode_or_type, *args)
Dsharedctypes.py44 def RawValue(typecode_or_type, *args): function
74 obj = RawValue(typecode_or_type, *args)
/external/rust/crates/serde_json/src/value/
Dser.rs254 crate::raw::TOKEN => Ok(SerializeMap::RawValue { out_value: None }), in serialize_struct()
297 RawValue { out_value: Option<Value> }, enumerator
393 SerializeMap::RawValue { .. } => unreachable!(), in serialize_key()
416 SerializeMap::RawValue { .. } => unreachable!(), in serialize_value()
426 SerializeMap::RawValue { .. } => unreachable!(), in end()
633 SerializeMap::RawValue { ref mut out_value } => { in serialize_field()
652 SerializeMap::RawValue { out_value, .. } => { in end()
/external/skia/src/utils/
DSkJSON.cpp496 class RawValue final : public Value { class in skjson::__anon1ee7b4cf0211::DOMParser
498 explicit RawValue(T v) { in RawValue() function in skjson::__anon1ee7b4cf0211::DOMParser::RawValue
525 fScopeIndex = *static_cast<RawValue<intptr_t>&>(placeholder); in popScopeAsVec()
534 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushObjectScope()
555 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushArrayScope()
/external/skqp/src/utils/
DSkJSON.cpp488 class RawValue final : public Value { class in skjson::__anon18ad0a460211::DOMParser
490 explicit RawValue(T v) { in RawValue() function in skjson::__anon18ad0a460211::DOMParser::RawValue
517 fScopeIndex = *static_cast<RawValue<intptr_t>&>(placeholder); in popScopeAsVec()
526 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushObjectScope()
547 fValueStack.push_back(RawValue<intptr_t>(fScopeIndex)); in pushArrayScope()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestJsonNode.java9 import com.fasterxml.jackson.databind.util.RawValue;
102 root.putRawValue("a", new RawValue(new SerializedString("[1, 2, 3]"))); in testRawValue()
/external/llvm-project/llvm/include/llvm/DebugInfo/
DDIContext.h147 RawValue, enumerator
158 DILineInfoSpecifier(FileLineInfoKind FLIKind = FileLineInfoKind::RawValue,
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonNodeDeserializer.java10 import com.fasterxml.jackson.databind.util.RawValue;
633 if (ob instanceof RawValue) { in _fromEmbedded()
634 return nodeFactory.rawValueNode((RawValue) ob); in _fromEmbedded()
/external/boringssl/src/crypto/x509/test/
Dmake_many_constraints.go163 Value: asn1.RawValue{

12