Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 207) sorted by relevance

123456789

/expo/packages/expo-modules-core/ios/JSI/
H A DJavaScriptValue.swift29 public var kind: JavaScriptValueKind { in convert() variable
54 throw JavaScriptValueConversionException((kind: kind, target: "Bool")) in convert()
61 throw JavaScriptValueConversionException((kind: kind, target: "Int")) in convert()
68 throw JavaScriptValueConversionException((kind: kind, target: "Double")) in convert()
75 throw JavaScriptValueConversionException((kind: kind, target: "String")) in convert()
82 throw JavaScriptValueConversionException((kind: kind, target: "Array")) in convert()
89 throw JavaScriptValueConversionException((kind: kind, target: "Dict")) in convert()
96 throw JavaScriptValueConversionException((kind: kind, target: "Object")) in convert()
103 throw JavaScriptValueConversionException((kind: kind, target: "Function")) in convert()
110 throw JavaScriptValueConversionException((kind: kind, target: "TypedArray")) in convert()
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/JSI/
H A DJavaScriptValue.swift29 public var kind: JavaScriptValueKind { in convert() variable
54 throw JavaScriptValueConversionException((kind: kind, target: "Bool")) in convert()
61 throw JavaScriptValueConversionException((kind: kind, target: "Int")) in convert()
68 throw JavaScriptValueConversionException((kind: kind, target: "Double")) in convert()
75 throw JavaScriptValueConversionException((kind: kind, target: "String")) in convert()
82 throw JavaScriptValueConversionException((kind: kind, target: "Array")) in convert()
89 throw JavaScriptValueConversionException((kind: kind, target: "Dict")) in convert()
96 throw JavaScriptValueConversionException((kind: kind, target: "Object")) in convert()
103 throw JavaScriptValueConversionException((kind: kind, target: "Function")) in convert()
110 throw JavaScriptValueConversionException((kind: kind, target: "TypedArray")) in convert()
[all …]
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/JSI/
H A DJavaScriptValue.swift19 var kind: JavaScriptValueKind { variable
44 throw JavaScriptValueConversionException((kind: kind, target: "Bool")) in asBool()
51 throw JavaScriptValueConversionException((kind: kind, target: "Int")) in asInt()
58 throw JavaScriptValueConversionException((kind: kind, target: "Double")) in asDouble()
65 throw JavaScriptValueConversionException((kind: kind, target: "String")) in asString()
72 throw JavaScriptValueConversionException((kind: kind, target: "Array")) in asArray()
79 throw JavaScriptValueConversionException((kind: kind, target: "Dict")) in asDict()
86 throw JavaScriptValueConversionException((kind: kind, target: "Object")) in asObject()
93 throw JavaScriptValueConversionException((kind: kind, target: "TypedArray")) in asTypedArray()
97 internal final class JavaScriptValueConversionException: GenericException<(kind: JavaScriptValueKin…
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/JSI/
H A DJavaScriptValue.swift19 var kind: JavaScriptValueKind { variable
44 throw JavaScriptValueConversionException((kind: kind, target: "Bool")) in asBool()
51 throw JavaScriptValueConversionException((kind: kind, target: "Int")) in asInt()
58 throw JavaScriptValueConversionException((kind: kind, target: "Double")) in asDouble()
65 throw JavaScriptValueConversionException((kind: kind, target: "String")) in asString()
72 throw JavaScriptValueConversionException((kind: kind, target: "Array")) in asArray()
79 throw JavaScriptValueConversionException((kind: kind, target: "Dict")) in asDict()
86 throw JavaScriptValueConversionException((kind: kind, target: "Object")) in asObject()
93 throw JavaScriptValueConversionException((kind: kind, target: "TypedArray")) in asTypedArray()
97 internal final class JavaScriptValueConversionException: GenericException<(kind: JavaScriptValueKin…
/expo/docs/components/plugins/api/
H A DAPIDataTypes.ts28 kind: string;
91 kind: TypeDocKind;
101 kind: TypeDocKind;
107 kind: TypeDocKind;
118 kind: TypeDocKind;
137 kind: TypeDocKind;
143 kind: TypeDocKind;
158 kind: TypeDocKind;
166 kind?: TypeDocKind;
180 kind: TypeDocKind;
[all …]
/expo/tools/src/packages-graph/
H A DPackagesGraphEdge.ts40 addKind(kind: DependencyKind) {
41 this.kinds.add(kind);
44 isOfKind(kind: DependencyKind): boolean {
45 return this.kinds.has(kind);
55 const dominant = kindsInImportanceOrder.find((kind) => this.kinds.has(kind));
H A DPackagesGraph.ts68 dependency.kind,
79 kind: DependencyKind = DependencyKind.Normal,
88 existingEdge.addKind(kind);
94 edge.addKind(kind);
108 if (DefaultDependencyKind.includes(kind)) {
110 chalk.red(`Detected a cycle in ${kind}! ${origin.name} -> ${destination.name}`)
H A DPackagesGraphUtils.ts13 kind: DependencyKind;
25 const { node, edges, kind, version, level, prefix, visited } = visitingData; constant
26 const name = formatNodeName(node.name, kind, level);
53 kind: edge.getDominantKind(),
69 kind: DependencyKind.Normal,
110 function formatNodeName(name: string, kind: DependencyKind, level: number): string {
114 switch (kind) {
/expo/packages/expo-modules-core/ios/Tests/
H A DJavaScriptRuntimeSpec.swift17 expect(undefined.kind) == .undefined in spec()
25 expect(null.kind) == .null in spec()
34 expect(boolTrue.kind) == .bool in spec()
35 expect(boolFalse.kind) == .bool in spec()
43 expect(number.kind) == .number in spec()
51 expect(string.kind) == .string in spec()
58 expect(array.kind) == .object in spec()
67 expect(dict1.kind) == .object in spec()
68 expect(dict2.kind) == .object in spec()
77 expect(function.kind) == .function in spec()
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DJavaScriptRuntimeSpec.swift17 expect(undefined.kind) == .undefined in spec()
25 expect(null.kind) == .null in spec()
34 expect(boolTrue.kind) == .bool in spec()
35 expect(boolFalse.kind) == .bool in spec()
43 expect(number.kind) == .number in spec()
51 expect(string.kind) == .string in spec()
58 expect(array.kind) == .object in spec()
67 expect(dict1.kind) == .object in spec()
68 expect(dict2.kind) == .object in spec()
77 expect(function.kind) == .function in spec()
[all …]
/expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkSLProgramElement.h35 ProgramElement(Position pos, Kind kind) in ProgramElement() argument
36 : INHERITED(pos, (int) kind) { in ProgramElement()
37 SkASSERT(kind >= Kind::kFirst && kind <= Kind::kLast); in ProgramElement()
40 Kind kind() const { in kind() function
50 return this->kind() == T::kProgramElementKind; in is()
H A DSkSLSymbol.h33 Symbol(Position pos, Kind kind, std::string_view name, const Type* type = nullptr)
34 : INHERITED(pos, (int) kind)
37 SkASSERT(kind >= Kind::kFirst && kind <= Kind::kLast);
47 Kind kind() const { in kind() function
61 return this->kind() == T::kSymbolKind; in is()
H A DSkSLStatement.h40 Statement(Position pos, Kind kind) in Statement() argument
41 : INHERITED(pos, (int) kind) { in Statement()
42 SkASSERT(kind >= Kind::kFirst && kind <= Kind::kLast); in Statement()
45 Kind kind() const { in kind() function
H A DSkSLSampleUsage.h38 SampleUsage(Kind kind, bool hasPerspective) : fKind(kind), fHasPerspective(hasPerspective) { in SampleUsage() argument
39 if (kind != Kind::kUniformMatrix) { in SampleUsage()
70 Kind kind() const { return fKind; } in kind() function
/expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkSLProgramElement.h35 ProgramElement(Position pos, Kind kind) in ProgramElement() argument
36 : INHERITED(pos, (int) kind) { in ProgramElement()
37 SkASSERT(kind >= Kind::kFirst && kind <= Kind::kLast); in ProgramElement()
40 Kind kind() const { in kind() function
50 return this->kind() == T::kProgramElementKind; in is()
H A DSkSLSymbol.h32 Symbol(Position pos, Kind kind, std::string_view name, const Type* type = nullptr)
33 : INHERITED(pos, (int) kind)
36 SkASSERT(kind >= Kind::kFirst && kind <= Kind::kLast);
46 Kind kind() const { in kind() function
67 return this->kind() == T::kSymbolKind; in is()
H A DSkSLStatement.h40 Statement(Position pos, Kind kind) in Statement() argument
41 : INHERITED(pos, (int) kind) { in Statement()
42 SkASSERT(kind >= Kind::kFirst && kind <= Kind::kLast); in Statement()
45 Kind kind() const { in kind() function
/expo/packages/expo-clipboard/android/src/main/java/expo/modules/clipboard/
H A DClipboardExceptions.kt11 internal class PasteFailureException(cause: Throwable?, kind: String = "item") :
12 CodedException("Failed to get $kind from clipboard", cause)
14 internal class CopyFailureException(cause: Throwable?, kind: String = "item") :
15 CodedException("Failed to save $kind into clipboard", cause)
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/clipboard/
H A DClipboardExceptions.kt11 internal class PasteFailureException(cause: Throwable?, kind: String = "item") :
12 CodedException("Failed to get $kind from clipboard", cause)
14 internal class CopyFailureException(cause: Throwable?, kind: String = "item") :
15 CodedException("Failed to save $kind into clipboard", cause)
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/clipboard/
H A DClipboardExceptions.kt11 internal class PasteFailureException(cause: Throwable?, kind: String = "item") :
12 CodedException("Failed to get $kind from clipboard", cause)
14 internal class CopyFailureException(cause: Throwable?, kind: String = "item") :
15 CodedException("Failed to save $kind into clipboard", cause)
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/clipboard/
H A DClipboardExceptions.kt11 internal class PasteFailureException(cause: Throwable?, kind: String = "item") :
12 CodedException("Failed to get $kind from clipboard", cause)
14 internal class CopyFailureException(cause: Throwable?, kind: String = "item") :
15 CodedException("Failed to save $kind into clipboard", cause)
/expo/packages/expo-modules-core/android/src/androidTest/java/expo/modules/kotlin/jni/
H A DJavaScriptRuntimeTest.kt38 Truth.assertThat(undefined.kind()).isEqualTo("undefined") in evaluate_returns_undefined()
46 Truth.assertThat(`null`.kind()).isEqualTo("null") in evaluate_returns_null()
55 Truth.assertThat(boolTrue.kind()).isEqualTo("boolean") in evaluate_returns_bool()
58 Truth.assertThat(boolTrue.kind()).isEqualTo("boolean") in evaluate_returns_bool()
68 Truth.assertThat(number.kind()).isEqualTo("number") in evaluate_returns_number()
76 Truth.assertThat(string.kind()).isEqualTo("string") in evaluate_returns_string()
85 Truth.assertThat(function.kind()).isEqualTo("function") in evaluate_returns_function()
/expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkSLSampleUsage.h36 SampleUsage(Kind kind, bool hasPerspective) : fKind(kind), fHasPerspective(hasPerspective) { in SampleUsage() argument
37 if (kind != Kind::kUniformMatrix) { in SampleUsage()
68 Kind kind() const { return fKind; } in kind() function
/expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkSLSampleUsage.h36 SampleUsage(Kind kind, bool hasPerspective) : fKind(kind), fHasPerspective(hasPerspective) { in SampleUsage() argument
37 if (kind != Kind::kUniformMatrix) { in SampleUsage()
68 Kind kind() const { return fKind; } in kind() function
/expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkSLSampleUsage.h36 SampleUsage(Kind kind, bool hasPerspective) : fKind(kind), fHasPerspective(hasPerspective) { in SampleUsage() argument
37 if (kind != Kind::kUniformMatrix) { in SampleUsage()
68 Kind kind() const { return fKind; } in kind() function

123456789