Home
last modified time | relevance | path

Searched refs:user_data_p (Results 1 – 5 of 5) sorted by relevance

/third_party/jerryscript/tests/unit-core/
Dtest-context-data.c34 test_context_data1_new (void *user_data_p) in test_context_data1_new() argument
37 *((const char **) user_data_p) = string1; in test_context_data1_new()
41 test_context_data1_free (void *user_data_p) in test_context_data1_free() argument
44 TEST_ASSERT ((*(const char **) user_data_p) == string1); in test_context_data1_free()
49 test_context_data1_finalize (void *user_data_p) in test_context_data1_finalize() argument
53 TEST_ASSERT ((*(const char **) user_data_p) == string1); in test_context_data1_finalize()
69 test_context_data2_new (void *user_data_p) in test_context_data2_new() argument
72 *((const char **) user_data_p) = string2; in test_context_data2_new()
76 test_context_data2_free (void *user_data_p) in test_context_data2_free() argument
79 TEST_ASSERT ((*(const char **) user_data_p) == string2); in test_context_data2_free()
[all …]
/third_party/jerryscript/jerry-ext/module/
Dmodule.c57 jerryx_module_manager_init (void *user_data_p) in jerryx_module_manager_init() argument
59 *((jerry_value_t *) user_data_p) = jerry_create_object (); in jerryx_module_manager_init()
66 jerryx_module_manager_deinit (void *user_data_p) /**< context pointer to deinitialize */ in jerryx_module_manager_deinit() argument
68 jerry_release_value (*(jerry_value_t *) user_data_p); in jerryx_module_manager_deinit()
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h246 void *user_data_p);
251 void *user_data_p);
258 void *user_data_p);
570 void *user_data_p);
573 void *user_data_p);
/third_party/jerryscript/jerry-core/api/
Djerry.c3071 void *user_data_p) /**< pointer to user data */ in jerry_objects_foreach() argument
3084 && !foreach_p (ecma_make_object_value (iter_p), user_data_p)) in jerry_objects_foreach()
3106 void *user_data_p) /**< pointer to user data */ in jerry_objects_foreach_by_native_info() argument
3125 && !foreach_p (ecma_make_object_value (iter_p), native_pointer_p->data_p, user_data_p)) in jerry_objects_foreach_by_native_info()
3245 void *user_data_p) /**< user data for foreach function */ in jerry_foreach_object_property() argument
3283 continuous = foreach_p (buffer_p[i], property_value, user_data_p); in jerry_foreach_object_property()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md529 void *user_data_p);
534 - `user_data_p` - optional user data pointer supplied via the (jerry_foreach_object_property)[#jerr…
555 void *user_data_p);
559 - `user_data_p` - optional user data pointer supplied via the (jerry_objects_foreach)[#jerry_object…
583 void *user_data_p);
588 - `user_data_p` - optional user data pointer supplied via the (jerry_objects_foreach_by_native_info…
769 my_context_data_new (void *user_data_p)
771 my_context_data_t *my_data_p = (my_context_data_t *) user_data_p;
781 my_context_data_free (void *user_data_p)
783 my_context_data_t *my_data_p = ((my_context_data_t *) user_data_p);
[all …]