Searched defs:old_elements (Results 1 - 4 of 4) sorted by relevance
/external/protobuf/src/google/protobuf/ |
H A D | repeated_field.cc | 48 void** old_elements = elements_; local 52 if (old_elements != NULL) { 53 memcpy(elements_, old_elements, allocated_size_ * sizeof(elements_[0])); 54 delete [] old_elements;
|
/external/libpng/ |
H A D | pngmem.c | 133 int old_elements, int add_elements, size_t element_size),PNG_ALLOCATED) 136 if (add_elements <= 0 || element_size == 0 || old_elements < 0 || 137 (old_array == NULL && old_elements > 0)) 143 if (add_elements <= INT_MAX - old_elements) 146 old_elements+add_elements, element_size); 153 if (old_elements > 0) 154 memcpy(new_array, old_array, element_size*(unsigned)old_elements); 156 memset((char*)new_array + element_size*(unsigned)old_elements, 0, 131 PNG_FUNCTION(png_voidp , png_realloc_array,(png_const_structrp png_ptr, png_const_voidp old_array, int old_elements, int add_elements, size_t element_size),PNG_ALLOCATED) argument
|
/external/pdfium/third_party/lpng_v163/ |
H A D | pngmem.c | 138 int old_elements, int add_elements, size_t element_size),PNG_ALLOCATED)
141 if (add_elements <= 0 || element_size == 0 || old_elements < 0 ||
142 (old_array == NULL && old_elements > 0))
148 if (add_elements <= INT_MAX - old_elements)
151 old_elements+add_elements, element_size);
158 if (old_elements > 0)
159 memcpy(new_array, old_array, element_size*(unsigned)old_elements);
161 memset((char*)new_array + element_size*(unsigned)old_elements, 0,
136 PNG_FUNCTION(png_voidp , png_realloc_array,(png_const_structrp png_ptr, png_const_voidp old_array, int old_elements, int add_elements, size_t element_size),PNG_ALLOCATED) argument
|
/external/v8/src/ |
H A D | elements.cc | 749 Handle<JSObject> object, Handle<FixedArrayBase> old_elements, 752 object, old_elements, from_kind, capacity, 0, 0, 757 Handle<JSObject> object, Handle<FixedArrayBase> old_elements, 759 return ConvertElementsWithCapacity(object, old_elements, from_kind, 764 Handle<JSObject> object, Handle<FixedArrayBase> old_elements, 780 Subclass::CopyElementsImpl(*old_elements, src_index, *new_elements, 795 Handle<FixedArrayBase> old_elements(object->elements()); 801 static_cast<uint32_t>(old_elements->length()) < capacity); 802 Subclass::BasicGrowCapacityAndConvertImpl(object, old_elements, from_kind, 807 Handle<JSObject> object, Handle<FixedArrayBase> old_elements, 748 ConvertElementsWithCapacity( Handle<JSObject> object, Handle<FixedArrayBase> old_elements, ElementsKind from_kind, uint32_t capacity) argument 756 ConvertElementsWithCapacity( Handle<JSObject> object, Handle<FixedArrayBase> old_elements, ElementsKind from_kind, uint32_t capacity, int copy_size) argument 763 ConvertElementsWithCapacity( Handle<JSObject> object, Handle<FixedArrayBase> old_elements, ElementsKind from_kind, uint32_t capacity, uint32_t src_index, uint32_t dst_index, int copy_size) argument [all...] |
Completed in 50 milliseconds