Home
last modified time | relevance | path

Searched refs:split_at (Results 1 – 25 of 96) sorted by relevance

1234

/external/rust/crates/ahash/src/
Dconvert.rs110 let (value, rest) = self.split_at(2); in read_u16()
116 let (value, rest) = self.split_at(4); in read_u32()
122 let (value, rest) = self.split_at(8); in read_u64()
128 let (value, rest) = self.split_at(16); in read_u128()
134 let (value, rest) = self.split_at(32);
140 let (value, rest) = self.split_at(64);
146 let (_, value) = self.split_at(self.len() - 2); in read_last_u16()
152 let (_, value) = self.split_at(self.len() - 4); in read_last_u32()
158 let (_, value) = self.split_at(self.len() - 8); in read_last_u64()
164 let (_, value) = self.split_at(self.len() - 16); in read_last_u128()
[all …]
/external/rust/crates/rayon/src/iter/collect/
Dtest.rs54 let (left_consumer, right_consumer, _) = consumer.split_at(2); in left_produces_items_with_no_complete()
71 let (left_consumer, right_consumer, _) = consumer.split_at(2); in right_produces_items_with_no_complete()
107 let (left_consumer, right_consumer, _) = consumer.split_at(2); in left_produces_too_many_items()
125 let (left_consumer, right_consumer, _) = consumer.split_at(2); in right_produces_too_many_items()
144 let (left_consumer, right_consumer, _) = consumer.split_at(2); in left_produces_fewer_items()
163 let (left_consumer, right_consumer, _) = consumer.split_at(2); in only_left_result()
182 let (left_consumer, right_consumer, _) = consumer.split_at(2); in only_right_result()
201 let (left_consumer, right_consumer, _) = consumer.split_at(2); in reducer_does_not_preserve_order()
221 let (left_consumer, right_consumer, _) = consumer.split_at(2); in right_produces_fewer_items()
241 let (left_consumer, right_consumer, _) = consumer.split_at(2); in left_panics()
[all …]
/external/rust/crates/rayon/src/iter/
Dchain.rs52 consumer.split_at(len) in drive_unindexed()
77 let (left, right, reducer) = consumer.split_at(a.len()); in drive()
188 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
191 let (a_left, a_right) = self.a.split_at(index); in split_at()
192 let (b_left, b_right) = self.b.split_at(0); in split_at()
198 let (a_left, a_right) = self.a.split_at(self.a_len); in split_at()
199 let (b_left, b_right) = self.b.split_at(index - self.a_len); in split_at()
Dchunks.rs127 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
129 let (left, right) = self.base.split_at(elem_index); in split_at()
168 let (left, right) = producer.split_at(self.chunk_size); in next()
206 let (left, right) = producer.split_at(self.len - size); in next_back()
Dcopied.rs119 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
120 let (left, right) = self.base.split_at(index); in split_at()
157 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
158 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dlen.rs117 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
118 let (left, right) = self.base.split_at(index); in split_at()
251 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
252 let (left, right) = self.base.split_at(index); in split_at()
Dcloned.rs119 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
120 let (left, right) = self.base.split_at(index); in split_at()
157 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
158 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dzip.rs145 fn split_at(self, index: usize) -> (Self, Self) { in split_at() method
146 let (a_left, a_right) = self.a.split_at(index); in split_at()
147 let (b_left, b_right) = self.b.split_at(index); in split_at()
Dinspect.rs136 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
137 let (left, right) = self.base.split_at(index); in split_at()
185 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
186 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dmap.rs138 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
139 let (left, right) = self.base.split_at(index); in split_at()
188 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
189 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dmap_with.rs153 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
154 let (left, right) = self.base.split_at(index); in split_at()
252 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
253 let (left, right, reducer) = self.base.split_at(index); in split_at()
482 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
483 let (left, right) = self.base.split_at(index); in split_at()
537 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
538 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dpanic_fuse.rs152 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
153 let (left, right) = self.base.split_at(index); in split_at()
240 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
241 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dupdate.rs137 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
138 let (left, right) = self.base.split_at(index); in split_at()
186 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
187 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dfold.rs80 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
81 let (left, right, reducer) = self.base.split_at(index); in split_at()
256 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
257 let (left, right, reducer) = self.base.split_at(index); in split_at()
Denumerate.rs120 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
121 let (left, right) = self.base.split_at(index); in split_at()
Drev.rs110 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
111 let (left, right) = self.base.split_at(self.len - index); in split_at()
Dintersperse.rs165 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
173 let (left_base, right_base) = self.base.split_at(base_index); in split_at()
307 fn split_at(mut self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
311 let (left, right, reducer) = self.base.split_at(base_index); in split_at()
Dtry_fold.rs86 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
87 let (left, right, reducer) = self.base.split_at(index); in split_at()
247 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer) { in split_at() function
248 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dflatten.rs64 fn split_at(self, index: usize) -> (Self, Self, C::Reducer) { in split_at() function
65 let (left, right, reducer) = self.base.split_at(index); in split_at()
Dstep_by.rs119 fn split_at(self, index: usize) -> (Self, Self) { in split_at() function
122 let (left, right) = self.base.split_at(elem_index); in split_at()
Dflatten_iter.rs66 fn split_at(self, index: usize) -> (Self, Self, C::Reducer) { in split_at() function
67 let (left, right, reducer) = self.base.split_at(index); in split_at()
/external/rust/crates/rayon/src/slice/
Dmod.rs111 let (fst, snd) = slice.split_at(len); in par_chunks_exact()
559 fn split_at(self, index: usize) -> (Self, Self) { in split_at() method
560 let (left, right) = self.slice.split_at(index); in split_at()
629 fn split_at(self, index: usize) -> (Self, Self) { in split_at() method
631 let (left, right) = self.slice.split_at(elem_index); in split_at()
719 fn split_at(self, index: usize) -> (Self, Self) { in split_at() method
721 let (left, right) = self.slice.split_at(elem_index); in split_at()
800 fn split_at(self, index: usize) -> (Self, Self) { in split_at() method
870 fn split_at(self, index: usize) -> (Self, Self) { in split_at() method
937 fn split_at(self, index: usize) -> (Self, Self) { in split_at() method
[all …]
/external/rust/crates/rayon/src/iter/plumbing/
Dmod.rs100 fn split_at(self, index: usize) -> (Self, Self); in split_at() method
142 fn split_at(self, index: usize) -> (Self, Self, Self::Reducer); in split_at() method
414 let (left_producer, right_producer) = producer.split_at(mid); in bridge_producer_consumer()
415 let (left_consumer, right_consumer, reducer) = consumer.split_at(mid); in bridge_producer_consumer()
/external/rust/crates/arbitrary/src/
Dunstructured.rs241 let (rest, for_size) = self.data.split_at(max_size); in arbitrary_byte_size()
247 let (rest, for_size) = self.data.split_at(max_size); in arbitrary_byte_size()
253 let (rest, for_size) = self.data.split_at(max_size); in arbitrary_byte_size()
259 let (rest, for_size) = self.data.split_at(max_size); in arbitrary_byte_size()
440 let (for_buf, rest) = self.data.split_at(size); in bytes()
/external/rust/crates/tinytemplate/src/
Dcompiler.rs282 let (text, remaining) = self.remaining_text.split_at(position); in consume_text()
302 let (path_str, name_str) = tag.split_at(index); in consume_value()
347 let (tag, remaining) = self.remaining_text.split_at(pos + expected_close.len()); in consume_tag()
373 let (path_str, name_str) = with_text.split_at(index); in parse_with()
391 let (name_str, path_str) = for_text.split_at(index); in parse_for()
406 let (name_str, path_str) = call_text.split_at(index); in parse_call()

1234