Home
last modified time | relevance | path

Searched refs:ValueType (Results 1 – 25 of 90) sorted by relevance

1234

/expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/jsi/
H A DJsiSimpleValueWrapper.h18 enum ValueType { enum
29 _type(ValueType::NonInitialized), in JsiSimpleValueWrapper()
39 case ValueType::Undefined: in getCurrent()
41 case ValueType::Null: in getCurrent()
43 case ValueType::Bool: in getCurrent()
45 case ValueType::Number: in getCurrent()
47 case ValueType::JsiValue: in getCurrent()
58 _type = ValueType::Number; in setCurrent()
61 _type = ValueType::Bool; in setCurrent()
66 _type = ValueType::Null; in setCurrent()
[all …]
/expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/jsi/
H A DJsiSimpleValueWrapper.h18 enum ValueType { enum
39 case ValueType::Undefined: in getCurrent()
41 case ValueType::Null: in getCurrent()
43 case ValueType::Bool: in getCurrent()
45 case ValueType::Number: in getCurrent()
47 case ValueType::JsiValue: in getCurrent()
58 _type = ValueType::Number; in setCurrent()
61 _type = ValueType::Bool; in setCurrent()
66 _type = ValueType::Null; in setCurrent()
68 _type = ValueType::JsiValue; in setCurrent()
[all …]
/expo/packages/expo-branch/android/src/main/java/io/branch/rnbranch/
H A DAgingHash.java10 public class AgingHash<KeyType, ValueType> {
12 private HashMap<KeyType, AgingItem<ValueType>> mHash = new HashMap<>();
22 public void put(KeyType key, ValueType value) { in put()
25 AgingItem<ValueType> item = new AgingItem<>(value); in put()
29 public ValueType get(KeyType key) { in get()
30 AgingItem<ValueType> item = mHash.get(key); in get()
46 AgingItem<ValueType> item = (AgingItem<ValueType>) pair.getValue(); in ageItems()
H A DAgingItem.java7 public class AgingItem<ValueType> {
9 private ValueType mItem = null;
11 public AgingItem(ValueType item) { in AgingItem()
15 public ValueType get() { in get()
/expo/android/vendored/sdk48/react-native-reanimated/Common/cpp/SharedItems/
H A DValueWrapper.h22 explicit ValueWrapper(ValueType _type) : type(_type) {} in ValueWrapper()
23 ValueType getType() const { in getType()
50 ValueType type;
56 : ValueWrapper(ValueType::BoolType), value(_value) {} in BooleanValueWrapper()
63 : ValueWrapper(ValueType::NumberType), value(_value) {} in NumberValueWrapper()
70 : ValueWrapper(ValueType::StringType), value(_value) {} in StringValueWrapper()
78 : ValueWrapper(ValueType::HostFunctionType), value(_value) {} in HostFunctionWrapper()
85 : ValueWrapper(ValueType::FrozenObjectType), value(_value) {} in FrozenObjectWrapper()
92 : ValueWrapper(ValueType::RemoteObjectType), value(_value) {} in RemoteObjectWrapper()
101 : ValueWrapper(ValueType::FrozenArrayType), value(_value) {} in FrozenArrayWrapper()
[all …]
H A DShareableValue.cpp62 ValueType objectType) { in adapt()
91 type = ValueType::NullType; in adapt()
93 type = ValueType::BoolType; in adapt()
96 type = ValueType::NumberType; in adapt()
99 type = ValueType::StringType; in adapt()
182 type = ValueType::StringType; in adapt()
194 ValueType valueType) { in adapt()
251 case ValueType::NullType: in toJSValue()
253 case ValueType::BoolType: in toJSValue()
255 case ValueType::NumberType: in toJSValue()
[all …]
H A DShareableValue.h49 void adapt(jsi::Runtime &rt, const jsi::Value &value, ValueType objectType);
54 ValueType type = ValueType::UndefinedType;
59 ValueType objectType = ValueType::UndefinedType);
/expo/ios/vendored/sdk47/react-native-reanimated/Common/cpp/SharedItems/
H A DValueWrapper.h22 explicit ValueWrapper(ValueType _type) : type(_type) {} in ValueWrapper()
23 ValueType getType() const { in getType()
50 ValueType type;
56 : ValueWrapper(ValueType::BoolType), value(_value) {} in BooleanValueWrapper()
63 : ValueWrapper(ValueType::NumberType), value(_value) {} in NumberValueWrapper()
70 : ValueWrapper(ValueType::StringType), value(_value) {} in StringValueWrapper()
78 : ValueWrapper(ValueType::HostFunctionType), value(_value) {} in HostFunctionWrapper()
85 : ValueWrapper(ValueType::FrozenObjectType), value(_value) {} in FrozenObjectWrapper()
92 : ValueWrapper(ValueType::RemoteObjectType), value(_value) {} in RemoteObjectWrapper()
101 : ValueWrapper(ValueType::FrozenArrayType), value(_value) {} in FrozenArrayWrapper()
[all …]
H A DShareableValue.cpp62 ValueType objectType) { in adapt()
91 type = ValueType::NullType; in adapt()
93 type = ValueType::BoolType; in adapt()
96 type = ValueType::NumberType; in adapt()
99 type = ValueType::StringType; in adapt()
182 type = ValueType::StringType; in adapt()
194 ValueType valueType) { in adapt()
251 case ValueType::NullType: in toJSValue()
253 case ValueType::BoolType: in toJSValue()
255 case ValueType::NumberType: in toJSValue()
[all …]
H A DShareableValue.h49 void adapt(jsi::Runtime &rt, const jsi::Value &value, ValueType objectType);
54 ValueType type = ValueType::UndefinedType;
59 ValueType objectType = ValueType::UndefinedType);
/expo/android/vendored/sdk47/react-native-reanimated/Common/cpp/SharedItems/
H A DValueWrapper.h22 explicit ValueWrapper(ValueType _type) : type(_type) {} in ValueWrapper()
23 ValueType getType() const { in getType()
50 ValueType type;
56 : ValueWrapper(ValueType::BoolType), value(_value) {} in BooleanValueWrapper()
63 : ValueWrapper(ValueType::NumberType), value(_value) {} in NumberValueWrapper()
70 : ValueWrapper(ValueType::StringType), value(_value) {} in StringValueWrapper()
78 : ValueWrapper(ValueType::HostFunctionType), value(_value) {} in HostFunctionWrapper()
85 : ValueWrapper(ValueType::FrozenObjectType), value(_value) {} in FrozenObjectWrapper()
92 : ValueWrapper(ValueType::RemoteObjectType), value(_value) {} in RemoteObjectWrapper()
101 : ValueWrapper(ValueType::FrozenArrayType), value(_value) {} in FrozenArrayWrapper()
[all …]
H A DShareableValue.cpp62 ValueType objectType) { in adapt()
91 type = ValueType::NullType; in adapt()
93 type = ValueType::BoolType; in adapt()
96 type = ValueType::NumberType; in adapt()
99 type = ValueType::StringType; in adapt()
182 type = ValueType::StringType; in adapt()
194 ValueType valueType) { in adapt()
251 case ValueType::NullType: in toJSValue()
253 case ValueType::BoolType: in toJSValue()
255 case ValueType::NumberType: in toJSValue()
[all …]
H A DShareableValue.h49 void adapt(jsi::Runtime &rt, const jsi::Value &value, ValueType objectType);
54 ValueType type = ValueType::UndefinedType;
59 ValueType objectType = ValueType::UndefinedType);
/expo/ios/vendored/sdk48/react-native-reanimated/Common/cpp/SharedItems/
H A DValueWrapper.h22 explicit ValueWrapper(ValueType _type) : type(_type) {} in ValueWrapper()
23 ValueType getType() const { in getType()
50 ValueType type;
56 : ValueWrapper(ValueType::BoolType), value(_value) {} in BooleanValueWrapper()
63 : ValueWrapper(ValueType::NumberType), value(_value) {} in NumberValueWrapper()
70 : ValueWrapper(ValueType::StringType), value(_value) {} in StringValueWrapper()
78 : ValueWrapper(ValueType::HostFunctionType), value(_value) {} in HostFunctionWrapper()
85 : ValueWrapper(ValueType::FrozenObjectType), value(_value) {} in FrozenObjectWrapper()
92 : ValueWrapper(ValueType::RemoteObjectType), value(_value) {} in RemoteObjectWrapper()
101 : ValueWrapper(ValueType::FrozenArrayType), value(_value) {} in FrozenArrayWrapper()
[all …]
H A DShareableValue.cpp62 ValueType objectType) { in adapt()
91 type = ValueType::NullType; in adapt()
93 type = ValueType::BoolType; in adapt()
96 type = ValueType::NumberType; in adapt()
99 type = ValueType::StringType; in adapt()
182 type = ValueType::StringType; in adapt()
194 ValueType valueType) { in adapt()
251 case ValueType::NullType: in toJSValue()
253 case ValueType::BoolType: in toJSValue()
255 case ValueType::NumberType: in toJSValue()
[all …]
H A DShareableValue.h49 void adapt(jsi::Runtime &rt, const jsi::Value &value, ValueType objectType);
54 ValueType type = ValueType::UndefinedType;
59 ValueType objectType = ValueType::UndefinedType);
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Objects/
H A DPropertyComponent.swift94 public func set<ValueType>(_ setter: @escaping (_ newValue: ValueType) -> Void) -> Self { in buildDescriptor()
97 firstArgType: ValueType.self, in buildDescriptor()
98 dynamicArgumentTypes: [~ValueType.self], in buildDescriptor()
109 …public func set<ValueType>(_ setter: @escaping (_ this: OwnerType, _ newValue: ValueType) -> Void)… in buildDescriptor()
113 dynamicArgumentTypes: [~OwnerType.self, ~ValueType.self], in buildDescriptor()
122 …internal func getValue<ValueType>(owner: OwnerType? = nil, appContext: AppContext) throws -> Value… in buildDescriptor()
125 return value as? ValueType in buildDescriptor()
/expo/packages/expo-modules-core/ios/Swift/Objects/
H A DPropertyComponent.swift94 public func set<ValueType>(_ setter: @escaping (_ newValue: ValueType) -> Void) -> Self { in buildDescriptor()
97 firstArgType: ValueType.self, in buildDescriptor()
98 dynamicArgumentTypes: [~ValueType.self], in buildDescriptor()
109 …public func set<ValueType>(_ setter: @escaping (_ this: OwnerType, _ newValue: ValueType) -> Void)… in buildDescriptor()
113 dynamicArgumentTypes: [~OwnerType.self, ~ValueType.self], in buildDescriptor()
122 …internal func getValue<ValueType>(owner: OwnerType? = nil, appContext: AppContext) throws -> Value… in buildDescriptor()
125 return value as? ValueType in buildDescriptor()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Objects/
H A DPropertyComponent.swift94 public func set<ValueType>(_ setter: @escaping (_ newValue: ValueType) -> Void) -> Self { in buildDescriptor()
97 firstArgType: ValueType.self, in buildDescriptor()
98 dynamicArgumentTypes: [~ValueType.self], in buildDescriptor()
109 …public func set<ValueType>(_ setter: @escaping (_ this: OwnerType, _ newValue: ValueType) -> Void)… in buildDescriptor()
113 dynamicArgumentTypes: [~OwnerType.self, ~ValueType.self], in buildDescriptor()
122 internal func getValue<ValueType>(owner: OwnerType? = nil) throws -> ValueType? { in buildDescriptor()
125 return value as? ValueType in buildDescriptor()
/expo/packages/expo-modules-core/ios/Swift/DynamicTypes/
H A DAnyDynamicType.swift29 func cast<ValueType>(_ value: ValueType, appContext: AppContext) throws -> Any in wraps<InnerType>()
37 func cast<ValueType>(_ value: ValueType, appContext: AppContext) throws -> Any { in wraps<InnerType>()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/DynamicTypes/
H A DAnyDynamicType.swift29 func cast<ValueType>(_ value: ValueType, appContext: AppContext) throws -> Any in wraps<InnerType>()
37 func cast<ValueType>(_ value: ValueType, appContext: AppContext) throws -> Any { in wraps<InnerType>()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/
H A DConversions.swift53 …static func pickValues<ValueType>(from dict: [String: Any], byKeys keys: [String], as type: ValueT… in pickValues<ValueType>()
55 values: [ValueType](), in pickValues<ValueType>()
64 if let value = dict[key] as? ValueType { in pickValues<ValueType>()
71 throw MissingKeysException<ValueType>(result.missingKeys) in pickValues<ValueType>()
74 throw CastingValuesException<ValueType>(result.invalidKeys) in pickValues<ValueType>()
154 …static func convertFunctionResult<ValueType>(_ value: ValueType?, runtime: JavaScriptRuntime? = ni… in convertFunctionResult<ValueType>()
206 internal class CastingValuesException<ValueType>: GenericException<[String]> {
219 internal class MissingKeysException<ValueType>: GenericException<[String]> {
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/
H A DConversions.swift53 …static func pickValues<ValueType>(from dict: [String: Any], byKeys keys: [String], as type: ValueT… in pickValues<ValueType>()
55 values: [ValueType](), in pickValues<ValueType>()
64 if let value = dict[key] as? ValueType { in pickValues<ValueType>()
71 throw MissingKeysException<ValueType>(result.missingKeys) in pickValues<ValueType>()
74 throw CastingValuesException<ValueType>(result.invalidKeys) in pickValues<ValueType>()
154 static func convertFunctionResult<ValueType>(_ value: ValueType?) -> Any { in convertFunctionResult<ValueType>()
203 internal class CastingValuesException<ValueType>: GenericException<[String]> {
216 internal class MissingKeysException<ValueType>: GenericException<[String]> {
/expo/packages/expo-modules-core/ios/Swift/
H A DConversions.swift53 …static func pickValues<ValueType>(from dict: [String: Any], byKeys keys: [String], as type: ValueT… in pickValues<ValueType>()
55 values: [ValueType](), in pickValues<ValueType>()
64 if let value = dict[key] as? ValueType { in pickValues<ValueType>()
71 throw MissingKeysException<ValueType>(result.missingKeys) in pickValues<ValueType>()
74 throw CastingValuesException<ValueType>(result.invalidKeys) in pickValues<ValueType>()
154 static func convertFunctionResult<ValueType>(
155 _ value: ValueType?,
222 internal class CastingValuesException<ValueType>: GenericException<[String]> {
235 internal class MissingKeysException<ValueType>: GenericException<[String]> {
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/
H A DConversions.swift53 …static func pickValues<ValueType>(from dict: [String: Any], byKeys keys: [String], as type: ValueT… in pickValues<ValueType>()
55 values: [ValueType](), in pickValues<ValueType>()
64 if let value = dict[key] as? ValueType { in pickValues<ValueType>()
71 throw MissingKeysException<ValueType>(result.missingKeys) in pickValues<ValueType>()
74 throw CastingValuesException<ValueType>(result.invalidKeys) in pickValues<ValueType>()
154 static func convertFunctionResult<ValueType>(
155 _ value: ValueType?,
222 internal class CastingValuesException<ValueType>: GenericException<[String]> {
235 internal class MissingKeysException<ValueType>: GenericException<[String]> {

1234