Searched refs:new_array (Results 1 - 21 of 21) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Daudio_vector_unittest.cc184 int16_t new_array[kNewLength]; local
187 new_array[i] = 100 + i;
190 vec.InsertAt(new_array, kNewLength, insert_position);
200 EXPECT_EQ(new_array[i], vec[pos]);
219 int16_t new_array[kNewLength] = {0}; // All zero elements. local
220 vec_ref.InsertAt(new_array, kNewLength, insert_position);
233 int16_t new_array[kNewLength]; local
236 new_array[i] = 100 + i;
239 vec.InsertAt(new_array, kNewLength, insert_position);
245 EXPECT_EQ(new_array[
259 int16_t new_array[kNewLength]; local
288 int16_t new_array[kNewLength]; local
314 int16_t new_array[kNewLength]; local
344 int16_t new_array[kNewLength]; local
[all...]
/external/libpng/
H A Dpngmem.c145 png_voidp new_array = png_malloc_array_checked(png_ptr, local
148 if (new_array != NULL)
154 memcpy(new_array, old_array, element_size*(unsigned)old_elements);
156 memset((char*)new_array + element_size*(unsigned)old_elements, 0,
159 return new_array;
/external/pdfium/third_party/libpng16/
H A Dpngmem.c148 png_voidp new_array = png_malloc_array_checked(png_ptr, local
151 if (new_array != NULL)
157 memcpy(new_array, old_array, element_size*(unsigned)old_elements);
159 memset((char*)new_array + element_size*(unsigned)old_elements, 0,
162 return new_array;
/external/skia/third_party/libpng/
H A Dpngmem.c145 png_voidp new_array = png_malloc_array_checked(png_ptr, local
148 if (new_array != NULL)
154 memcpy(new_array, old_array, element_size*(unsigned)old_elements);
156 memset((char*)new_array + element_size*(unsigned)old_elements, 0,
159 return new_array;
/external/brotli/enc/
H A Dport.h149 T* new_array; \
151 new_array = BROTLI_ALLOC((M), T, _new_size); \
153 memcpy(new_array, A, C * sizeof(T)); \
155 A = new_array; \
/external/valgrind/callgrind/
H A Dcontext.c298 fn_node** new_array = (fn_node**) CLG_MALLOC("cl.context.pc.1", local
302 new_array[i] = CLG_(current_fn_stack).bottom[i];
304 CLG_(current_fn_stack).top = new_array + fn_entries;
305 CLG_(current_fn_stack).bottom = new_array;
H A Dfn.c665 UInt* new_array; local
674 new_array = (UInt*) CLG_MALLOC("cl.fn.rfa.1", newsize * sizeof(UInt));
676 new_array[i] = current_fn_active.array[i];
678 new_array[i++] = 0;
682 current_fn_active.array = new_array;
/external/v8/src/
H A Dbootstrapper.h47 Handle<FixedArray> new_array = factory->NewFixedArray(length + 2, TENURED); local
48 cache_->CopyTo(0, *new_array, 0, cache_->length());
49 cache_ = *new_array;
H A Ddeoptimizer.cc2624 Handle<FixedArray> new_array = local
2627 new_array->set(i, array->get(i));
2630 new_array->set(i, isolate()->heap()->undefined_value());
2632 isolate()->heap()->SetRootMaterializedObjects(*new_array);
2633 return new_array;
H A Dvalue-serializer.cc1833 Handle<FixedArray> new_array = FixedArray::SetAndGrow(id_map_, id, object); local
1836 if (!new_array.is_identical_to(id_map_)) {
1839 isolate_->global_handles()->Create(*new_array));
H A Dobjects.cc9725 Handle<FixedArray> new_array = local
9727 array->CopyTo(0, *new_array, 0, array->length());
9728 new_array->FillWithHoles(array->length(), new_array->length());
9729 new_array->set(index, *value);
9730 return new_array;
9804 Handle<WeakFixedArray> new_array = local
9809 WeakFixedArray::Set(new_array, length, value);
9811 return new_array;
12193 Handle<WeakFixedArray> new_array local
18912 Handle<FixedArray> new_array = local
18952 Handle<FixedArray> new_array = local
[all...]
/external/bison/lib/glthread/
H A Dlock.c705 HANDLE *new_array = local
707 if (new_array == NULL)
722 new_array[old_alloc + i] = new_array[i];
725 new_array[i] = new_array[old_offset + i];
728 wq->array = new_array;
/external/harfbuzz_ng/src/
H A Dhb-private.hh394 Type *new_array = NULL; local
397 new_array = (Type *) calloc (new_allocated, sizeof (Type));
398 if (new_array)
399 memcpy (new_array, array, len * sizeof (Type));
403 new_array = (Type *) realloc (array, new_allocated * sizeof (Type));
407 if (unlikely (!new_array))
410 array = new_array;
/external/v8/src/crankshaft/
H A Dunique.h349 Unique<T>* new_array = zone->NewArray<Unique<T> >(new_capacity);
351 memcpy(new_array, array_, size_ * sizeof(Unique<T>));
354 array_ = new_array;
H A Dhydrogen-gvn.cc226 HInstructionMapListElement* new_array = local
228 memset(new_array, 0, sizeof(HInstructionMapListElement) * new_size);
237 array_ = new_array;
H A Dhydrogen.cc2633 HValue* new_array = BuildAllocateElements(kind, size_in_bytes); local
2634 BuildInitializeElementsHeader(new_array, kind, capacity);
2635 return new_array;
/external/v8/src/js/
H A Darray.js229 var new_array = new InternalArray(
239 new_array[i] = current;
245 new_array[i - del_count + num_additional_args] = current;
255 new_array[key] = current;
261 new_array[new_key] = current;
270 // Move contents of new_array into this array
271 %MoveArrayContents(new_array, array);
277 array[key] = new_array[key];
/external/e2fsprogs/e2fsck/
H A Drehash.c112 struct hash_entry *new_array, *ent; local
171 new_array = realloc(fd->harray,
173 if (!new_array) {
177 fd->harray = new_array;
/external/e2fsprogs/lib/support/
H A Dprofile.c250 char **array = 0, **new_array; local
278 new_array = realloc(array, sizeof(char *) * (max+1));
279 if (!new_array) {
284 array = new_array;
/external/v8/src/wasm/
H A Dwasm-js.cc562 i::Handle<i::FixedArray> new_array =
564 for (int i = 0; i < old_size; ++i) new_array->set(i, old_array->get(i));
566 for (int i = old_size; i < new_size; ++i) new_array->set(i, null);
567 receiver->set_functions(*new_array);
/external/v8/src/builtins/
H A Dbuiltins-regexp.cc1446 Node* const new_array = ResizeFixedArray(length, new_capacity); local
1449 var_array_.Bind(new_array);

Completed in 901 milliseconds