/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | EGLInitializePerf.cpp | 31 Captures *captures = static_cast<Captures *>(platformMethods->context); in CapturePlatform_currentTime() local 32 return captures->timer.getElapsedWallClockTime(); in CapturePlatform_currentTime() 42 Captures *captures = static_cast<Captures *>(platformMethods->context); in CapturePlatform_histogramCustomCounts() local 47 captures->loadDLLsMS += static_cast<size_t>(sample); in CapturePlatform_histogramCustomCounts() 52 captures->createDeviceMS += static_cast<size_t>(sample); in CapturePlatform_histogramCustomCounts() 56 captures->initResourcesMS += static_cast<size_t>(sample); in CapturePlatform_histogramCustomCounts()
|
/third_party/rust/crates/regex/regex-capi/include/ |
H A D | rure.h | 214 * in the captures pointer given. 237 size_t start, rure_captures *captures); 338 * stored in the captures pointer given. 359 rure_captures *captures); 376 * rure_captures_free frees the given captures. 380 void rure_captures_free(rure_captures *captures); 389 * rure_captures_len(captures).) 393 bool rure_captures_at(rure_captures *captures, size_t i, rure_match *match); 397 * captures. 399 size_t rure_captures_len(rure_captures *captures); [all...] |
/third_party/rust/crates/regex/regex-capi/src/ |
H A D | rure.rs | 196 captures: *mut Captures, in rure_find_captures() 200 let slots = unsafe { &mut (*captures).0 }; in rure_find_captures() 369 captures: *mut Captures, in rure_iter_next_captures() 373 let slots = unsafe { &mut (*captures).0 }; in rure_iter_next_captures() 390 return rure_iter_next_captures(it, haystack, len, captures); in rure_iter_next_captures() 403 let captures = Captures(re.locations()); in rure_captures_new() 404 Box::into_raw(Box::new(captures)) in rure_captures_new() 409 fn rure_captures_free(captures: *const Captures) { in rure_captures_free() 410 unsafe { drop(Box::from_raw(captures as *mut Captures)); } in rure_captures_free() 416 captures in rure_captures_at() [all...] |
/third_party/rust/crates/regex/tests/ |
H A D | api.rs | 95 let cap = re.captures(t!("abc")).unwrap(); in capture_index() 106 let cap = re.captures(t!("abc")).unwrap(); in capture_index_panic_usize() 115 let cap = re.captures(t!("abc")).unwrap(); in capture_index_panic_name() 125 let caps = re.captures(t!(s)).unwrap(); in capture_index_lifetime() 134 let cap = re.captures(t!("abc")).unwrap(); in capture_misc() 159 let cap = re.captures(t!("a5")).unwrap(); in sub_capture_matches()
|
H A D | consistent.rs | 171 let cap1 = self.re1.captures(input); in result() 172 let cap2 = self.re2.captures(input); in result() 179 "captures mismatch input={:?}", in result() 187 "captures mismatch input={:?}", in result()
|
H A D | api_str.rs | 30 let caps = re.captures("barfoobar").unwrap(); in match_as_str()
|
H A D | macros_str.rs | 26 let cap = re.captures(t!($text)).unwrap();
|
H A D | macros_bytes.rs | 32 let cap = re.captures(t!($text)).unwrap();
|
H A D | regression.rs | 46 let caps = re.captures(text!("abx")).unwrap(); in regression_captures_rep()
|
H A D | replace.rs | 97 |captures: &Captures<'_>| { 98 match_text!(captures.get(1).unwrap())[0..1].to_owned()
|
H A D | macros.rs | 29 let got: Vec<Option<_>> = match r.captures(text) {
|
/third_party/rust/crates/regex/src/ |
H A D | prog.rs | 27 pub captures: Vec<Option<String>>, 28 /// Pointers to all named capture groups into `captures`. 84 captures: vec![], in new() 153 + (self.captures.len() * mem::size_of::<Option<String>>()) in approximate_size()
|
H A D | re_bytes.rs | 196 /// You should only use `captures` if you need access to the location of 212 /// let caps = re.captures(text).unwrap(); 235 /// let caps = re.captures(text).unwrap(); 255 pub fn captures<'t>(&self, text: &'t [u8]) -> Option<Captures<'t>> { in captures() functions 391 /// captures corresponding to a match. This allows one to access capturing 519 // unwrap on 0 is OK because captures only reports matches 601 /// This is like `captures`, but uses in find_at() 665 /// Returns the number of captures. 812 /// An iterator over the names of all possible captures. 931 /// let caps = re.captures( [all...] |
H A D | re_unicode.rs | 252 /// You should only use `captures` if you need access to the location of 268 /// let caps = re.captures(text).unwrap(); 291 /// let caps = re.captures(text).unwrap(); 311 pub fn captures<'t>(&self, text: &'t str) -> Option<Captures<'t>> { in captures() functions 443 /// captures corresponding to a match. This allows one to access 545 // captures generally makes the regex engines faster. in replace() 577 // unwrap on 0 is OK because captures only reports matches 659 /// This is like `captures`, but uses in find_at() 677 /// Returns the same as captures, but starts the search at the given in find_at() 723 /// Returns the number of captures [all...] |
H A D | compile.rs | 151 self.compiled.captures = vec![None]; in compile_one() 366 if index as usize >= self.compiled.captures.len() { in c() 367 self.compiled.captures.push(None); in c() 372 if index as usize >= self.compiled.captures.len() { in c() 374 self.compiled.captures.push(Some(n.clone())); in c() 409 // because DFAs can't handle captures. in c_capture()
|
H A D | re_trait.rs | 56 /// `'c` is the lifetime of the captures. 157 /// matches with captures. 233 /// captures.
|
H A D | exec.rs | 142 /// are completely unsupported. (This means both `find` and `captures` 428 self.ro.nfa.captures.len() * 2 in slots_len() 492 // filling in captures[1], but a RegexSet has no captures. In other in is_match_at() 682 unreachable!("BUG: RegexSet cannot be used with captures") in captures_read_at() 910 /// performance characteristics, but regex sets don't have captures, which 993 /// Like find_nfa, but fills in captures. 995 /// `slots` should have length equal to `2 * nfa.captures.len()`. 1306 &self.ro.nfa.captures in capture_names()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | intel_dump_gpu.in | 8 Run COMMAND with ARGUMENTS and dump an AUB file that captures buffer
|
/third_party/rust/crates/once_cell/examples/ |
H A D | regex.rs | 21 let size = usize::from_str(re.captures(s).unwrap().get(7).unwrap().as_str()).unwrap(); in slow() 35 let size = usize::from_str(re.captures(s).unwrap().get(7).unwrap().as_str()).unwrap(); in fast()
|
/third_party/unity/auto/ |
H A D | unity_test_summary.rb | 92 status = status_match.captures[0]
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-regexp.cc | 30 // - captures 1070 base::Vector<Handle<Object>> captures, in VectorBackedMatch() 1075 captures_(captures) { in VectorBackedMatch() 1262 // Arguments array to replace function is match, captures, index and in SearchRegExpMultiple() 1264 // named captures, they are also passed as the last argument. in SearchRegExpMultiple() 1548 // Compute the parameter list consisting of the match, captures, index, in RUNTIME_FUNCTION() 1550 // named captures, they are also passed as the last argument. in RUNTIME_FUNCTION() 1552 // The number of captures plus one for the match. in RUNTIME_FUNCTION() 1914 base::SmallVector<Handle<Object>, kStaticVectorSlots> captures; in RUNTIME_FUNCTION() local 1925 captures in RUNTIME_FUNCTION() 1068 VectorBackedMatch(Isolate* isolate, Handle<String> subject, Handle<String> match, int match_position, base::Vector<Handle<Object>> captures, Handle<Object> groups_obj) VectorBackedMatch() argument [all...] |
/third_party/rust/crates/regex/bench/src/ |
H A D | bench.rs | 210 // bench_captures will benchmark how fast re.captures() produces 227 b.iter(|| match re.captures(&text) { 228 None => assert!(false, "no captures"),
|