Searched refs:old_elements (Results 1 – 7 of 7) sorted by relevance
/external/libpng/ |
D | pngmem.c | 130 int old_elements, int add_elements, size_t element_size),PNG_ALLOCATED) 133 if (add_elements <= 0 || element_size == 0 || old_elements < 0 || 134 (old_array == NULL && old_elements > 0)) 140 if (add_elements <= INT_MAX - old_elements) 143 old_elements+add_elements, element_size); 150 if (old_elements > 0) 151 memcpy(new_array, old_array, element_size*(unsigned)old_elements); 153 memset((char*)new_array + element_size*(unsigned)old_elements, 0,
|
D | pngpriv.h | 923 png_const_voidp array, int old_elements, int add_elements,
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
D | fx_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,
|
D | pngpriv.h | 876 png_const_voidp array, int old_elements, int add_elements,
|
/external/protobuf/src/google/protobuf/ |
D | repeated_field.cc | 48 void** old_elements = elements_; in Reserve() local 52 if (old_elements != NULL) { in Reserve() 53 memcpy(elements_, old_elements, allocated_size_ * sizeof(elements_[0])); in Reserve() 54 delete [] old_elements; in Reserve()
|
D | repeated_field.h | 810 Element* old_elements = elements_; in Reserve() local 814 if (old_elements != NULL) { in Reserve() 815 MoveArray(elements_, old_elements, current_size_); in Reserve() 816 delete [] old_elements; in Reserve()
|
/external/v8/src/ |
D | objects.cc | 10988 Handle<FixedArrayBase> old_elements(object->elements()); in SetFastElementsCapacityAndLength() local 11002 Handle<FixedArray> parameter_map = Handle<FixedArray>::cast(old_elements); in SetFastElementsCapacityAndLength() 11007 PrintElementsTransition(stdout, object, elements_kind, old_elements, in SetFastElementsCapacityAndLength() 11038 Handle<FixedArrayBase> old_elements(object->elements()); in SetFastDoubleElementsCapacityAndLength() local 11046 PrintElementsTransition(stdout, object, elements_kind, old_elements, in SetFastDoubleElementsCapacityAndLength()
|