Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/objects/
Ddebug-objects.cc255 Handle<FixedArray> old_array = Handle<FixedArray>( in ClearBreakPoint() local
258 isolate->factory()->NewFixedArray(old_array->length() - 1); in ClearBreakPoint()
260 for (int i = 0; i < old_array->length(); i++) { in ClearBreakPoint()
261 if (IsEqual(BreakPoint::cast(old_array->get(i)), *break_point)) { in ClearBreakPoint()
265 new_array->set(i - found_count, old_array->get(i)); in ClearBreakPoint()
295 Handle<FixedArray> old_array = Handle<FixedArray>( in SetBreakPoint() local
298 isolate->factory()->NewFixedArray(old_array->length() + 1); in SetBreakPoint()
299 for (int i = 0; i < old_array->length(); i++) { in SetBreakPoint()
301 if (IsEqual(BreakPoint::cast(old_array->get(i)), *break_point)) return; in SetBreakPoint()
302 new_array->set(i, old_array->get(i)); in SetBreakPoint()
[all …]
/third_party/skia/third_party/externals/libpng/
Dpngmem.c132 png_realloc_array,(png_const_structrp png_ptr, png_const_voidp old_array,
137 (old_array == NULL && old_elements > 0))
154 memcpy(new_array, old_array, element_size*(unsigned)old_elements);