Lines Matching refs:module_p
86 void jerryx_native_module_register (jerryx_native_module_t *module_p) in jerryx_native_module_register() argument
88 module_p->next_p = first_module_p; in jerryx_native_module_register()
89 first_module_p = module_p; in jerryx_native_module_register()
92 void jerryx_native_module_unregister (jerryx_native_module_t *module_p) in jerryx_native_module_unregister() argument
98 if (iter_p == module_p) in jerryx_native_module_unregister()
102 parent_p->next_p = module_p->next_p; in jerryx_native_module_unregister()
106 first_module_p = module_p->next_p; in jerryx_native_module_unregister()
108 module_p->next_p = NULL; in jerryx_native_module_unregister()
184 const jerryx_native_module_t *module_p = NULL; in jerryx_resolve_native_module() local
203 for (module_p = first_module_p; module_p != NULL; module_p = module_p->next_p) in jerryx_resolve_native_module()
205 if (module_p->name_p != NULL in jerryx_resolve_native_module()
206 && strlen ((char *) module_p->name_p) == name_size in jerryx_resolve_native_module()
207 && !strncmp ((char *) module_p->name_p, (char *) name_string, name_size)) in jerryx_resolve_native_module()
210 (*result) = ((module_p->on_resolve_p) ? module_p->on_resolve_p () in jerryx_resolve_native_module()