Home
last modified time | relevance | path

Searched refs:new_holes (Results 1 – 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-array-object.c267 uint32_t new_holes = index - old_length; in ecma_fast_array_set_property() local
269 if (JERRY_UNLIKELY (new_holes > ECMA_FAST_ARRAY_MAX_NEW_HOLES_COUNT in ecma_fast_array_set_property()
270 … || ((old_holes >> ECMA_FAST_ARRAY_HOLE_SHIFT) + new_holes) > ECMA_FAST_ARRAY_MAX_HOLE_COUNT)) in ecma_fast_array_set_property()
290 ext_obj_p->u.array.u.hole_count += new_holes * ECMA_FAST_ARRAY_HOLE_ONE; in ecma_fast_array_set_property()
490 uint32_t new_holes = new_length - old_length; in ecma_fast_array_set_length() local
492 if (JERRY_UNLIKELY (new_holes > ECMA_FAST_ARRAY_MAX_NEW_HOLES_COUNT in ecma_fast_array_set_length()
493 … || ((old_holes >> ECMA_FAST_ARRAY_HOLE_SHIFT) + new_holes) > ECMA_FAST_ARRAY_MAX_HOLE_COUNT)) in ecma_fast_array_set_length()
/third_party/rust/crates/regex/src/
Dcompile.rs798 let mut new_holes = vec![]; in fill_split() localVariable
800 new_holes.push(self.fill_split(hole, goto1, goto2)); in fill_split()
802 if new_holes.is_empty() { in fill_split()
804 } else if new_holes.len() == 1 { in fill_split()
805 new_holes.pop().unwrap() in fill_split()
807 Hole::Many(new_holes) in fill_split()