Home
last modified time | relevance | path

Searched refs:template (Results 1 – 25 of 860) sorted by relevance

12345678910>>...35

/expo/tools/src/generate-module/
H A DfetchTemplate.ts14 export default async function fetchTemplate(destinationPath: string, template?: string) {
15 if (template && fs.existsSync(path.resolve(template))) {
17 Logger.global.info(`Using local template: ${chalk.bold(path.resolve(template))}.`);
18 await fs.copy(path.resolve(template), destinationPath);
19 } else if (template && isNpmPackage(template)) {
21 Logger.global.info(`Using NPM package as template: ${chalk.bold(template)}`);
22 await pacote.extract(template, destinationPath);
37 function isNpmPackage(template: string) {
39 !template.match(/^\./) && // don't start with .
40 !template.match(/^_/) && // don't start with _
[all …]
/expo/android/vendored/unversioned/react-native-svg/android/src/main/java/com/horcrux/svg/
H A DUseView.java102 if (template == null) { in draw()
112 template.clearCache(); in draw()
114 if (template instanceof RenderableView) { in draw()
121 if (template instanceof SymbolView) { in draw()
122 SymbolView symbol = (SymbolView) template; in draw()
131 template.restoreCanvas(canvas, count); in draw()
132 if (template instanceof RenderableView) { in draw()
148 if (template == null) { in hitTest()
158 int hitChild = template.hitTest(dst); in hitTest()
160 return (template.isResponsible() || hitChild != template.getId()) ? hitChild : getId(); in hitTest()
[all …]
/expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/private/base/
H A DSkTo.h16 template <typename D, typename S> constexpr D SkTo(S s) { in SkTo()
21 template <typename S> constexpr int8_t SkToS8(S x) { return SkTo<int8_t>(x); } in SkToS8()
22 template <typename S> constexpr uint8_t SkToU8(S x) { return SkTo<uint8_t>(x); } in SkToU8()
23 template <typename S> constexpr int16_t SkToS16(S x) { return SkTo<int16_t>(x); } in SkToS16()
24 template <typename S> constexpr uint16_t SkToU16(S x) { return SkTo<uint16_t>(x); } in SkToU16()
25 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32()
26 template <typename S> constexpr uint32_t SkToU32(S x) { return SkTo<uint32_t>(x); } in SkToU32()
27 template <typename S> constexpr int64_t SkToS64(S x) { return SkTo<int64_t>(x); } in SkToS64()
28 template <typename S> constexpr uint64_t SkToU64(S x) { return SkTo<uint64_t>(x); } in SkToU64()
29 template <typename S> constexpr int SkToInt(S x) { return SkTo<int>(x); } in SkToInt()
[all …]
H A DSkTLogic.h26 template <typename D, typename S> struct copy_const {
29 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
31 template <typename D, typename S> struct copy_volatile {
34 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
36 template <typename D, typename S> struct copy_cv {
39 template <typename D, typename S> using copy_cv_t = typename copy_cv<D, S>::type;
44 template <typename D, typename S> using same_const = copy_const<std::remove_const_t<D>, S>;
45 template <typename D, typename S> using same_const_t = typename same_const<D, S>::type;
48 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
49 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
[all …]
H A DSkAlign.h15 template <typename T> static constexpr T SkAlign2(T x) { return (x + 1) >> 1 << 1; } in SkAlign2()
16 template <typename T> static constexpr T SkAlign4(T x) { return (x + 3) >> 2 << 2; } in SkAlign4()
17 template <typename T> static constexpr T SkAlign8(T x) { return (x + 7) >> 3 << 3; } in SkAlign8()
19 template <typename T> static constexpr bool SkIsAlign2(T x) { return 0 == (x & 1); } in SkIsAlign2()
20 template <typename T> static constexpr bool SkIsAlign4(T x) { return 0 == (x & 3); } in SkIsAlign4()
21 template <typename T> static constexpr bool SkIsAlign8(T x) { return 0 == (x & 7); } in SkIsAlign8()
23 template <typename T> static constexpr T SkAlignPtr(T x) { in SkAlignPtr()
26 template <typename T> static constexpr bool SkIsAlignPtr(T x) { in SkIsAlignPtr()
/expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/private/base/
H A DSkTo.h16 template <typename D, typename S> constexpr D SkTo(S s) { in SkTo()
21 template <typename S> constexpr int8_t SkToS8(S x) { return SkTo<int8_t>(x); } in SkToS8()
22 template <typename S> constexpr uint8_t SkToU8(S x) { return SkTo<uint8_t>(x); } in SkToU8()
23 template <typename S> constexpr int16_t SkToS16(S x) { return SkTo<int16_t>(x); } in SkToS16()
24 template <typename S> constexpr uint16_t SkToU16(S x) { return SkTo<uint16_t>(x); } in SkToU16()
25 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32()
26 template <typename S> constexpr uint32_t SkToU32(S x) { return SkTo<uint32_t>(x); } in SkToU32()
27 template <typename S> constexpr int64_t SkToS64(S x) { return SkTo<int64_t>(x); } in SkToS64()
28 template <typename S> constexpr uint64_t SkToU64(S x) { return SkTo<uint64_t>(x); } in SkToU64()
29 template <typename S> constexpr int SkToInt(S x) { return SkTo<int>(x); } in SkToInt()
[all …]
H A DSkTLogic.h26 template <typename D, typename S> struct copy_const {
29 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
31 template <typename D, typename S> struct copy_volatile {
34 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
36 template <typename D, typename S> struct copy_cv {
39 template <typename D, typename S> using copy_cv_t = typename copy_cv<D, S>::type;
44 template <typename D, typename S> using same_const = copy_const<std::remove_const_t<D>, S>;
45 template <typename D, typename S> using same_const_t = typename same_const<D, S>::type;
48 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
49 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
[all …]
H A DSkAlign.h15 template <typename T> static constexpr T SkAlign2(T x) { return (x + 1) >> 1 << 1; } in SkAlign2()
16 template <typename T> static constexpr T SkAlign4(T x) { return (x + 3) >> 2 << 2; } in SkAlign4()
17 template <typename T> static constexpr T SkAlign8(T x) { return (x + 7) >> 3 << 3; } in SkAlign8()
19 template <typename T> static constexpr bool SkIsAlign2(T x) { return 0 == (x & 1); } in SkIsAlign2()
20 template <typename T> static constexpr bool SkIsAlign4(T x) { return 0 == (x & 3); } in SkIsAlign4()
21 template <typename T> static constexpr bool SkIsAlign8(T x) { return 0 == (x & 7); } in SkIsAlign8()
23 template <typename T> static constexpr T SkAlignPtr(T x) { in SkAlignPtr()
26 template <typename T> static constexpr bool SkIsAlignPtr(T x) { in SkIsAlignPtr()
/expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/private/base/
H A DSkTo.h16 template <typename D, typename S> constexpr D SkTo(S s) { in SkTo()
21 template <typename S> constexpr int8_t SkToS8(S x) { return SkTo<int8_t>(x); } in SkToS8()
22 template <typename S> constexpr uint8_t SkToU8(S x) { return SkTo<uint8_t>(x); } in SkToU8()
23 template <typename S> constexpr int16_t SkToS16(S x) { return SkTo<int16_t>(x); } in SkToS16()
24 template <typename S> constexpr uint16_t SkToU16(S x) { return SkTo<uint16_t>(x); } in SkToU16()
25 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32()
26 template <typename S> constexpr uint32_t SkToU32(S x) { return SkTo<uint32_t>(x); } in SkToU32()
27 template <typename S> constexpr int64_t SkToS64(S x) { return SkTo<int64_t>(x); } in SkToS64()
28 template <typename S> constexpr uint64_t SkToU64(S x) { return SkTo<uint64_t>(x); } in SkToU64()
29 template <typename S> constexpr int SkToInt(S x) { return SkTo<int>(x); } in SkToInt()
[all …]
H A DSkTLogic.h26 template <typename D, typename S> struct copy_const {
29 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
31 template <typename D, typename S> struct copy_volatile {
34 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
36 template <typename D, typename S> struct copy_cv {
39 template <typename D, typename S> using copy_cv_t = typename copy_cv<D, S>::type;
44 template <typename D, typename S> using same_const = copy_const<std::remove_const_t<D>, S>;
45 template <typename D, typename S> using same_const_t = typename same_const<D, S>::type;
48 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
49 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
[all …]
/expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/private/base/
H A DSkTo.h16 template <typename D, typename S> constexpr D SkTo(S s) { in SkTo()
21 template <typename S> constexpr int8_t SkToS8(S x) { return SkTo<int8_t>(x); } in SkToS8()
22 template <typename S> constexpr uint8_t SkToU8(S x) { return SkTo<uint8_t>(x); } in SkToU8()
23 template <typename S> constexpr int16_t SkToS16(S x) { return SkTo<int16_t>(x); } in SkToS16()
24 template <typename S> constexpr uint16_t SkToU16(S x) { return SkTo<uint16_t>(x); } in SkToU16()
25 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32()
26 template <typename S> constexpr uint32_t SkToU32(S x) { return SkTo<uint32_t>(x); } in SkToU32()
27 template <typename S> constexpr int64_t SkToS64(S x) { return SkTo<int64_t>(x); } in SkToS64()
28 template <typename S> constexpr uint64_t SkToU64(S x) { return SkTo<uint64_t>(x); } in SkToU64()
29 template <typename S> constexpr int SkToInt(S x) { return SkTo<int>(x); } in SkToInt()
[all …]
H A DSkTLogic.h26 template <typename D, typename S> struct copy_const {
29 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
31 template <typename D, typename S> struct copy_volatile {
34 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
36 template <typename D, typename S> struct copy_cv {
39 template <typename D, typename S> using copy_cv_t = typename copy_cv<D, S>::type;
44 template <typename D, typename S> using same_const = copy_const<std::remove_const_t<D>, S>;
45 template <typename D, typename S> using same_const_t = typename same_const<D, S>::type;
48 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
49 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
[all …]
H A DSkAlign.h15 template <typename T> static constexpr T SkAlign2(T x) { return (x + 1) >> 1 << 1; } in SkAlign2()
16 template <typename T> static constexpr T SkAlign4(T x) { return (x + 3) >> 2 << 2; } in SkAlign4()
17 template <typename T> static constexpr T SkAlign8(T x) { return (x + 7) >> 3 << 3; } in SkAlign8()
19 template <typename T> static constexpr bool SkIsAlign2(T x) { return 0 == (x & 1); } in SkIsAlign2()
20 template <typename T> static constexpr bool SkIsAlign4(T x) { return 0 == (x & 3); } in SkIsAlign4()
21 template <typename T> static constexpr bool SkIsAlign8(T x) { return 0 == (x & 7); } in SkIsAlign8()
23 template <typename T> static constexpr T SkAlignPtr(T x) { in SkAlignPtr()
26 template <typename T> static constexpr bool SkIsAlignPtr(T x) { in SkIsAlignPtr()
/expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/private/base/
H A DSkTo.h16 template <typename D, typename S> constexpr D SkTo(S s) { in SkTo()
21 template <typename S> constexpr int8_t SkToS8(S x) { return SkTo<int8_t>(x); } in SkToS8()
22 template <typename S> constexpr uint8_t SkToU8(S x) { return SkTo<uint8_t>(x); } in SkToU8()
23 template <typename S> constexpr int16_t SkToS16(S x) { return SkTo<int16_t>(x); } in SkToS16()
24 template <typename S> constexpr uint16_t SkToU16(S x) { return SkTo<uint16_t>(x); } in SkToU16()
25 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32()
26 template <typename S> constexpr uint32_t SkToU32(S x) { return SkTo<uint32_t>(x); } in SkToU32()
27 template <typename S> constexpr int64_t SkToS64(S x) { return SkTo<int64_t>(x); } in SkToS64()
28 template <typename S> constexpr uint64_t SkToU64(S x) { return SkTo<uint64_t>(x); } in SkToU64()
29 template <typename S> constexpr int SkToInt(S x) { return SkTo<int>(x); } in SkToInt()
[all …]
H A DSkTLogic.h26 template <typename D, typename S> struct copy_const {
29 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
31 template <typename D, typename S> struct copy_volatile {
34 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
36 template <typename D, typename S> struct copy_cv {
39 template <typename D, typename S> using copy_cv_t = typename copy_cv<D, S>::type;
44 template <typename D, typename S> using same_const = copy_const<std::remove_const_t<D>, S>;
45 template <typename D, typename S> using same_const_t = typename same_const<D, S>::type;
48 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
49 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
[all …]
/expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/private/base/
H A DSkTo.h16 template <typename D, typename S> constexpr D SkTo(S s) { in SkTo()
21 template <typename S> constexpr int8_t SkToS8(S x) { return SkTo<int8_t>(x); } in SkToS8()
22 template <typename S> constexpr uint8_t SkToU8(S x) { return SkTo<uint8_t>(x); } in SkToU8()
23 template <typename S> constexpr int16_t SkToS16(S x) { return SkTo<int16_t>(x); } in SkToS16()
24 template <typename S> constexpr uint16_t SkToU16(S x) { return SkTo<uint16_t>(x); } in SkToU16()
25 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32()
26 template <typename S> constexpr uint32_t SkToU32(S x) { return SkTo<uint32_t>(x); } in SkToU32()
27 template <typename S> constexpr int64_t SkToS64(S x) { return SkTo<int64_t>(x); } in SkToS64()
28 template <typename S> constexpr uint64_t SkToU64(S x) { return SkTo<uint64_t>(x); } in SkToU64()
29 template <typename S> constexpr int SkToInt(S x) { return SkTo<int>(x); } in SkToInt()
[all …]
H A DSkTLogic.h26 template <typename D, typename S> struct copy_const {
29 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
31 template <typename D, typename S> struct copy_volatile {
34 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
36 template <typename D, typename S> struct copy_cv {
39 template <typename D, typename S> using copy_cv_t = typename copy_cv<D, S>::type;
44 template <typename D, typename S> using same_const = copy_const<std::remove_const_t<D>, S>;
45 template <typename D, typename S> using same_const_t = typename same_const<D, S>::type;
48 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
49 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
[all …]
/expo/android/vendored/sdk49/react-native-svg/android/src/main/java/abi49_0_0/com/horcrux/svg/
H A DUseView.java102 if (template == null) { in draw()
112 template.clearCache(); in draw()
114 if (template instanceof RenderableView) { in draw()
121 if (template instanceof SymbolView) { in draw()
122 SymbolView symbol = (SymbolView) template; in draw()
131 template.restoreCanvas(canvas, count); in draw()
132 if (template instanceof RenderableView) { in draw()
148 if (template == null) { in hitTest()
158 int hitChild = template.hitTest(dst); in hitTest()
160 return (template.isResponsible() || hitChild != template.getId()) ? hitChild : getId(); in hitTest()
[all …]
/expo/android/vendored/sdk48/react-native-svg/android/src/main/java/abi48_0_0/com/horcrux/svg/
H A DUseView.java102 if (template == null) { in draw()
112 template.clearCache(); in draw()
114 if (template instanceof RenderableView) { in draw()
121 if (template instanceof SymbolView) { in draw()
122 SymbolView symbol = (SymbolView) template; in draw()
131 template.restoreCanvas(canvas, count); in draw()
132 if (template instanceof RenderableView) { in draw()
148 if (template == null) { in hitTest()
158 int hitChild = template.hitTest(dst); in hitTest()
160 return (template.isResponsible() || hitChild != template.getId()) ? hitChild : getId(); in hitTest()
[all …]
/expo/android/vendored/sdk47/react-native-svg/android/src/main/java/abi47_0_0/com/horcrux/svg/
H A DUseView.java102 if (template == null) { in draw()
112 template.clearCache(); in draw()
114 if (template instanceof RenderableView) { in draw()
121 if (template instanceof SymbolView) { in draw()
122 SymbolView symbol = (SymbolView) template; in draw()
131 template.restoreCanvas(canvas, count); in draw()
132 if (template instanceof RenderableView) { in draw()
148 if (template == null) { in hitTest()
158 int hitChild = template.hitTest(dst); in hitTest()
160 return (template.isResponsible() || hitChild != template.getId()) ? hitChild : getId(); in hitTest()
[all …]
/expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkTLogic.h26 template <typename D, typename S> struct copy_const {
29 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
31 template <typename D, typename S> struct copy_volatile {
34 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
36 template <typename D, typename S> struct copy_cv {
39 template <typename D, typename S> using copy_cv_t = typename copy_cv<D, S>::type;
44 template <typename D, typename S> using same_const = copy_const<std::remove_const_t<D>, S>;
45 template <typename D, typename S> using same_const_t = typename same_const<D, S>::type;
48 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
49 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
[all …]
H A DSkTo.h13 template <typename D, typename S> constexpr D SkTo(S s) { in SkTo()
18 template <typename S> constexpr int8_t SkToS8(S x) { return SkTo<int8_t>(x); } in SkToS8()
19 template <typename S> constexpr uint8_t SkToU8(S x) { return SkTo<uint8_t>(x); } in SkToU8()
20 template <typename S> constexpr int16_t SkToS16(S x) { return SkTo<int16_t>(x); } in SkToS16()
21 template <typename S> constexpr uint16_t SkToU16(S x) { return SkTo<uint16_t>(x); } in SkToU16()
22 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32()
23 template <typename S> constexpr uint32_t SkToU32(S x) { return SkTo<uint32_t>(x); } in SkToU32()
24 template <typename S> constexpr int SkToInt(S x) { return SkTo<int>(x); } in SkToInt()
25 template <typename S> constexpr unsigned SkToUInt(S x) { return SkTo<unsigned>(x); } in SkToUInt()
26 template <typename S> constexpr size_t SkToSizeT(S x) { return SkTo<size_t>(x); } in SkToSizeT()
/expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkTLogic.h26 template <typename D, typename S> struct copy_const {
29 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
31 template <typename D, typename S> struct copy_volatile {
34 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
36 template <typename D, typename S> struct copy_cv {
39 template <typename D, typename S> using copy_cv_t = typename copy_cv<D, S>::type;
44 template <typename D, typename S> using same_const = copy_const<std::remove_const_t<D>, S>;
45 template <typename D, typename S> using same_const_t = typename same_const<D, S>::type;
48 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
49 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
[all …]
H A DSkTo.h13 template <typename D, typename S> constexpr D SkTo(S s) { in SkTo()
18 template <typename S> constexpr int8_t SkToS8(S x) { return SkTo<int8_t>(x); } in SkToS8()
19 template <typename S> constexpr uint8_t SkToU8(S x) { return SkTo<uint8_t>(x); } in SkToU8()
20 template <typename S> constexpr int16_t SkToS16(S x) { return SkTo<int16_t>(x); } in SkToS16()
21 template <typename S> constexpr uint16_t SkToU16(S x) { return SkTo<uint16_t>(x); } in SkToU16()
22 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32()
23 template <typename S> constexpr uint32_t SkToU32(S x) { return SkTo<uint32_t>(x); } in SkToU32()
24 template <typename S> constexpr int SkToInt(S x) { return SkTo<int>(x); } in SkToInt()
25 template <typename S> constexpr unsigned SkToUInt(S x) { return SkTo<unsigned>(x); } in SkToUInt()
26 template <typename S> constexpr size_t SkToSizeT(S x) { return SkTo<size_t>(x); } in SkToSizeT()
/expo/packages/@expo/cli/src/customize/
H A Dgenerate.ts24 (file) => !!TEMPLATES.find((template) => template.destination(props) === file)
29 (file) => !TEMPLATES.find((template) => template.destination(props) === file)
32 `Invalid files: ${diff.join(', ')}. Allowed: ${TEMPLATES.map((template) =>
33 template.destination(props)
44 TEMPLATES.findIndex((template) => template.destination(props) === file)
92 const template = TEMPLATES[file]; constant
94 if (template.id === 'tsconfig.json') {
99 const projectFilePath = path.resolve(projectRoot, template.destination(props));
101 return copyAsync(template.file(projectRoot), projectFilePath, {

12345678910>>...35