Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 1140) sorted by relevance

12345678910>>...46

/expo/packages/@expo/config-plugins/src/android/
H A DcodeMod.ts18 let start = isJava
21 if (start < 0) {
25 start += 1;
26 let end = findMatchingBracketPosition(contents, '(', start);
49 start,
51 code: contents.substring(start, end + 1),
68 const start = srcContents.search(new RegExp(`\\s*${declaration}.*?[\\(\\{]`)); constant
69 if (start < 0) {
72 const end = findMatchingBracketPosition(srcContents, '{', start);
/expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include/
H A DDartTypes.h93 SkRange() : start(), end() {} in SkRange()
94 SkRange(T s, T e) : start(s), end(e) {} in SkRange()
98 T start, end; member
101 return start == other.start && end == other.end;
104 T width() const { return end - start; } in width()
107 start += delta; in Shift()
112 return start <= other.start && end >= other.end; in contains()
116 return std::max(start, other.start) <= std::min(end, other.end); in intersects()
120 return SkRange<size_t>(std::max(start, other.start), std::min(end, other.end)); in intersection()
124 return start == EMPTY_INDEX && end == EMPTY_INDEX; in empty()
/expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include/
H A DDartTypes.h93 SkRange() : start(), end() {} in SkRange()
94 SkRange(T s, T e) : start(s), end(e) {} in SkRange()
98 T start, end; member
101 return start == other.start && end == other.end;
104 T width() const { return end - start; } in width()
107 start += delta; in Shift()
112 return start <= other.start && end >= other.end; in contains()
116 return std::max(start, other.start) <= std::min(end, other.end); in intersects()
120 return SkRange<size_t>(std::max(start, other.start), std::min(end, other.end)); in intersection()
124 return start == EMPTY_INDEX && end == EMPTY_INDEX; in empty()
/expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include/
H A DDartTypes.h93 SkRange() : start(), end() {} in SkRange()
94 SkRange(T s, T e) : start(s), end(e) {} in SkRange()
98 T start, end; member
101 return start == other.start && end == other.end;
104 T width() const { return end - start; } in width()
107 start += delta; in Shift()
112 return start <= other.start && end >= other.end; in contains()
116 return std::max(start, other.start) <= std::min(end, other.end); in intersects()
120 return SkRange<size_t>(std::max(start, other.start), std::min(end, other.end)); in intersection()
124 return start == EMPTY_INDEX && end == EMPTY_INDEX; in empty()
/expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include/
H A DDartTypes.h93 SkRange() : start(), end() {} in SkRange()
94 SkRange(T s, T e) : start(s), end(e) {} in SkRange()
98 T start, end; member
101 return start == other.start && end == other.end;
104 T width() const { return end - start; } in width()
107 start += delta; in Shift()
112 return start <= other.start && end >= other.end; in contains()
116 return std::max(start, other.start) <= std::min(end, other.end); in intersects()
120 return SkRange<size_t>(std::max(start, other.start), std::min(end, other.end)); in intersection()
124 return start == EMPTY_INDEX && end == EMPTY_INDEX; in empty()
/expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include/
H A DDartTypes.h93 SkRange() : start(), end() {} in SkRange()
94 SkRange(T s, T e) : start(s), end(e) {} in SkRange()
98 T start, end; member
101 return start == other.start && end == other.end;
104 T width() const { return end - start; } in width()
107 start += delta; in Shift()
112 return start <= other.start && end >= other.end; in contains()
116 return std::max(start, other.start) <= std::min(end, other.end); in intersects()
120 return SkRange<size_t>(std::max(start, other.start), std::min(end, other.end)); in intersection()
124 return start == EMPTY_INDEX && end == EMPTY_INDEX; in empty()
/expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include/
H A DDartTypes.h93 SkRange() : start(), end() {} in SkRange()
94 SkRange(T s, T e) : start(s), end(e) {} in SkRange()
98 T start, end; member
101 return start == other.start && end == other.end;
104 T width() const { return end - start; } in width()
107 start += delta; in Shift()
112 return start <= other.start && end >= other.end; in contains()
116 return std::max(start, other.start) <= std::min(end, other.end); in intersects()
120 return SkRange<size_t>(std::max(start, other.start), std::min(end, other.end)); in intersection()
124 return start == EMPTY_INDEX && end == EMPTY_INDEX; in empty()
/expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/skia/modules/skparagraph/include/
H A DDartTypes.h93 SkRange() : start(), end() {} in SkRange()
94 SkRange(T s, T e) : start(s), end(e) {} in SkRange()
98 T start, end; member
101 return start == other.start && end == other.end;
104 T width() const { return end - start; } in width()
107 start += delta; in Shift()
112 return start <= other.start && end >= other.end; in contains()
116 return std::max(start, other.start) <= std::min(end, other.end); in intersects()
120 return SkRange<size_t>(std::max(start, other.start), std::min(end, other.end)); in intersection()
124 return start == EMPTY_INDEX && end == EMPTY_INDEX; in empty()
/expo/packages/@expo/config-plugins/build/android/
H A DcodeMod.js33 …let start = isJava ? contents.indexOf(` new ${classDeclaration}(`) : contents.search(new RegExp(` …
34 if (start < 0) {
38 start += 1;
39 let end = (0, _matchBrackets().findMatchingBracketPosition)(contents, '(', start);
60 start,
62 code: contents.substring(start, end + 1)
75 const start = srcContents.search(new RegExp(`\\s*${declaration}.*?[\\(\\{]`));
76 if (start < 0) {
79 const end = (0, _matchBrackets().findMatchingBracketPosition)(srcContents, '{', start);
/expo/packages/@expo/config-plugins/src/ios/
H A DcodeMod.ts46 if (start < 0) {
50 let end = contents.indexOf('\n@end', start);
54 start,
56 code: contents.substring(start, end),
81 if (start < 0) {
84 start = contents.indexOf('{', start);
88 start,
90 code: contents.substring(start, end + 1),
188 start: codeBlockStart,
226 if (start < 0) {
[all …]
/expo/apps/native-component-list/src/screens/Image/
H A DresolveProps.ts12 start: number,
26 return round((end - start) * val + start);
31 outputRange: [start, end],
35 return round((end - start) * 0.5 + start);
65 range: (start: number, end: number) => range(start, end, animValue, flatten),
/expo/packages/@expo/config-plugins/build/ios/
H A DcodeMod.js56 if (start < 0) {
59 let end = contents.indexOf('\n@end', start);
63 start,
65 code: contents.substring(start, end)
89 let start = contents.search(new RegExp(pattern, 'm'));
90 if (start < 0) {
93 start = contents.indexOf('{', start);
96 start,
98 code: contents.substring(start, end + 1)
184 start: codeBlockStart,
[all …]
/expo/packages/@expo/config-plugins/src/utils/
H A DgenerateCode.ts11 ): { contents: string[]; start: number; end: number } {
13 const start = contents.findIndex((line) => line.includes(`@generated begin ${tag}`)); constant
16 return { contents, start, end };
102 const { contents, start, end } = getGeneratedSectionIndexes(src, tag); constant
103 if (start > -1 && end > -1 && start < end) {
104 contents.splice(start, end - start + 1);
/expo/packages/@expo/cli/src/utils/
H A DmergeGitIgnorePaths.ts56 start: number;
60 const start = contents.findIndex((line) => line.startsWith(generatedHeaderPrefix)); constant
63 return { contents, start, end };
73 const { contents, start, end } = getGeneratedSectionIndexes(gitIgnore); constant
74 if (start > -1 && end > -1 && start < end) {
75 contents.splice(start, end - start + 1);
134 contents = `${indexes.contents.slice(indexes.start + 3, indexes.end).join('\n')}\n${contents}`;
191 if (indexes.start === indexes.end - 3) {
/expo/packages/expo-build-properties/src/
H A DfileContentsUtils.ts30 const start = createSectionComment(sectionOptions.commentPrefix, sectionOptions.tag, true); constant
36 assert(src.indexOf(start) >= 0);
39 const sectionedContents = `${start}\n${contents}\n${end}`;
48 const start = createSectionComment(sectionOptions.commentPrefix, sectionOptions.tag, true); constant
51 const regex = new RegExp(`\\n${escapeRegExp(start)}\\n[\\s\\S]*\\n${escapeRegExp(end)}`, 'gm');
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Text/TextInput/
H A DABI49_0_0RCTTextSelection.m12 - (instancetype)initWithStart:(NSInteger)start end:(NSInteger)end
15 _start = start;
28 NSInteger start = [self NSInteger:json[@"start"]];
30 return [[ABI49_0_0RCTTextSelection alloc] initWithStart:start end:end];
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Text/TextInput/
H A DABI47_0_0RCTTextSelection.m12 - (instancetype)initWithStart:(NSInteger)start end:(NSInteger)end
15 _start = start;
28 NSInteger start = [self NSInteger:json[@"start"]];
30 return [[ABI47_0_0RCTTextSelection alloc] initWithStart:start end:end];
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Text/TextInput/
H A DABI48_0_0RCTTextSelection.m12 - (instancetype)initWithStart:(NSInteger)start end:(NSInteger)end
15 _start = start;
28 NSInteger start = [self NSInteger:json[@"start"]];
30 return [[ABI48_0_0RCTTextSelection alloc] initWithStart:start end:end];
/expo/android/vendored/sdk48/react-native-reanimated/android/src/main/java/abi48_0_0/com/swmansion/reanimated/nodes/
H A DBezierNode.java12 protected PointF start; field in BezierNode.CubicBezierInterpolator
18 public CubicBezierInterpolator(PointF start, PointF end) { in CubicBezierInterpolator() argument
19 this.start = start; in CubicBezierInterpolator()
32 c.y = 3 * start.y; in getBezierCoordinateY()
33 b.y = 3 * (end.y - start.y) - c.y; in getBezierCoordinateY()
56 c.x = 3 * start.x; in getBezierCoordinateX()
57 b.x = 3 * (end.x - start.x) - c.x; in getBezierCoordinateX()
/expo/android/vendored/sdk47/react-native-reanimated/android/src/main/java/abi47_0_0/com/swmansion/reanimated/nodes/
H A DBezierNode.java12 protected PointF start; field in BezierNode.CubicBezierInterpolator
18 public CubicBezierInterpolator(PointF start, PointF end) { in CubicBezierInterpolator() argument
19 this.start = start; in CubicBezierInterpolator()
32 c.y = 3 * start.y; in getBezierCoordinateY()
33 b.y = 3 * (end.y - start.y) - c.y; in getBezierCoordinateY()
56 c.x = 3 * start.x; in getBezierCoordinateX()
57 b.x = 3 * (end.x - start.x) - c.x; in getBezierCoordinateX()
/expo/packages/@expo/config-plugins/src/ios/__tests__/
H A DcodeMod-test.ts36 start: 35,
62 start: 0,
98 start: 85,
124 start: 24,
144 start: 42,
164 start: 71,
334 start: 203,
/expo/packages/@expo/config-plugins/build/utils/
H A DgenerateCode.js27 const start = contents.findIndex(line => line.includes(`@generated begin ${tag}`));
31 start,
106 start,
109 if (start > -1 && end > -1 && start < end) {
110 contents.splice(start, end - start + 1);
/expo/packages/expo-build-properties/build/
H A DfileContentsUtils.js18 const start = createSectionComment(sectionOptions.commentPrefix, sectionOptions.tag, true);
23 (0, assert_1.default)(src.indexOf(start) >= 0);
27 const sectionedContents = `${start}\n${contents}\n${end}`;
36 const start = createSectionComment(sectionOptions.commentPrefix, sectionOptions.tag, true);
38 const regex = new RegExp(`\\n${escapeRegExp(start)}\\n[\\s\\S]*\\n${escapeRegExp(end)}`, 'gm');
/expo/packages/@expo/config-plugins/src/android/__tests__/
H A DcodeMod-test.ts7 start: 21,
16 start: 15,
32 start: 26,
54 start: 15,
/expo/tools/
H A Dtaskfile.js23 await task.start('build', { dev: true });
29 await task.start('build', opts);
37 await task.clear('build').start('build');

12345678910>>...46