Home
last modified time | relevance | path

Searched refs:values_p (Results 1 – 6 of 6) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-array-object.c133 ecma_value_t *values_p = NULL; in ecma_op_new_fast_array_object() local
137values_p = (ecma_value_t *) jmem_heap_alloc_block_null_on_error (aligned_length * sizeof (ecma_val… in ecma_op_new_fast_array_object()
139 if (JERRY_UNLIKELY (values_p == NULL)) in ecma_op_new_fast_array_object()
155 values_p[i] = ECMA_VALUE_ARRAY_HOLE; in ecma_op_new_fast_array_object()
158 ECMA_SET_POINTER (object_p->u1.property_list_cp, values_p); in ecma_op_new_fast_array_object()
180 ecma_value_t *values_p = ECMA_GET_NON_NULL_POINTER (ecma_value_t, object_p->u1.property_list_cp); in ecma_fast_array_convert_to_normal() local
192 if (ecma_is_value_array_hole (values_p[index])) in ecma_fast_array_convert_to_normal()
214 property_pair_p->values[prop_index].value = values_p[index]; in ecma_fast_array_convert_to_normal()
221 jmem_heap_free_block (values_p, aligned_length * sizeof (ecma_value_t)); in ecma_fast_array_convert_to_normal()
244 ecma_value_t *values_p; in ecma_fast_array_set_property() local
[all …]
Decma-typedarray-object.c795 ecma_collection_t *values_p = ecma_new_collection (); in ecma_op_typedarray_from() local
826 ecma_collection_push_back (values_p, next_value); in ecma_op_typedarray_from()
833 ecma_collection_free (values_p); in ecma_op_typedarray_from()
838 ecma_value_t new_typedarray = ecma_typedarray_create_object_with_length (values_p->item_count, in ecma_op_typedarray_from()
847 ecma_collection_free (values_p); in ecma_op_typedarray_from()
858 for (uint32_t index = 0; index < values_p->item_count; index++) in ecma_op_typedarray_from()
861 values_p->buffer_p[index], in ecma_op_typedarray_from()
869 for (uint32_t j = index + 1; j < values_p->item_count; j++) in ecma_op_typedarray_from()
871 ecma_free_value (values_p->buffer_p[j]); in ecma_op_typedarray_from()
879 ecma_collection_destroy (values_p); in ecma_op_typedarray_from()
Decma-objects.c155 … ecma_value_t *values_p = ECMA_GET_NON_NULL_POINTER (ecma_value_t, object_p->u1.property_list_cp); in ecma_op_object_get_own_property() local
157 if (ecma_is_value_array_hole (values_p[index])) in ecma_op_object_get_own_property()
164 property_ref_p->virtual_value = ecma_fast_copy_value (values_p[index]); in ecma_op_object_get_own_property()
509 … ecma_value_t *values_p = ECMA_GET_NON_NULL_POINTER (ecma_value_t, object_p->u1.property_list_cp); in ecma_op_object_find_own() local
511 return (ecma_is_value_array_hole (values_p[index]) ? ECMA_VALUE_NOT_FOUND in ecma_op_object_find_own()
512 … : ecma_fast_copy_value (values_p[index])); in ecma_op_object_find_own()
2284 ecma_value_t *values_p = ECMA_GET_NON_NULL_POINTER (ecma_value_t, prop_iter_cp); in ecma_op_object_get_property_names() local
2288 if (ecma_is_value_array_hole (values_p[i])) in ecma_op_object_get_property_names()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c678 … ecma_value_t *values_p = ECMA_GET_NON_NULL_POINTER (ecma_value_t, object_p->u1.property_list_cp); in ecma_gc_mark() local
682 if (ecma_is_value_object (values_p[i])) in ecma_gc_mark()
684 ecma_gc_set_object_visited (ecma_get_object_from_value (values_p[i])); in ecma_gc_mark()
829 … ecma_value_t *values_p = ECMA_GET_NON_NULL_POINTER (ecma_value_t, object_p->u1.property_list_cp); in ecma_free_fast_access_array() local
833 ecma_free_value_if_not_object (values_p[i]); in ecma_free_fast_access_array()
836 jmem_heap_free_block (values_p, aligned_length * sizeof (ecma_value_t)); in ecma_free_fast_access_array()
/third_party/jerryscript/jerry-core/vm/
Dopcodes.c515 ecma_value_t *values_p = ecma_fast_array_extend (array_obj_p, old_length + values_length); in opfunc_append_array() local
519 values_p[old_length + i] = stack_top_p[i]; in opfunc_append_array()
Dvm.c82 … ecma_value_t *values_p = ECMA_GET_NON_NULL_POINTER (ecma_value_t, object_p->u1.property_list_cp); in vm_op_get_value() local
84 if (JERRY_LIKELY (!ecma_is_value_array_hole (values_p[int_value]))) in vm_op_get_value()
86 return ecma_fast_copy_value (values_p[int_value]); in vm_op_get_value()