Searched refs:manager_p (Results 1 – 4 of 4) sorted by relevance
265 if (this_p->manager_p->deinit_cb) in jerry_cleanup()267 …void *data = (this_p->manager_p->bytes_needed > 0) ? JERRY_CONTEXT_DATA_HEADER_USER_DATA (this_p) … in jerry_cleanup()268 this_p->manager_p->deinit_cb (data); in jerry_cleanup()283 if (this_p->manager_p->finalize_cb) in jerry_cleanup()285 …void *data = (this_p->manager_p->bytes_needed > 0) ? JERRY_CONTEXT_DATA_HEADER_USER_DATA (this_p) … in jerry_cleanup()286 this_p->manager_p->finalize_cb (data); in jerry_cleanup()288 …jmem_heap_free_block (this_p, sizeof (jerry_context_data_header_t) + this_p->manager_p->bytes_need… in jerry_cleanup()303 jerry_get_context_data (const jerry_context_data_manager_t *manager_p) in jerry_get_context_data() argument310 if (item_p->manager_p == manager_p) in jerry_get_context_data()312 return (manager_p->bytes_needed > 0) ? JERRY_CONTEXT_DATA_HEADER_USER_DATA (item_p) : NULL; in jerry_get_context_data()[all …]
103 const jerry_context_data_manager_t *manager_p; /**< manager responsible for deleting this item */ member
357 void *jerry_get_context_data (const jerry_context_data_manager_t *manager_p);
743 jerry_get_context_data (const jerry_context_data_manager *manager_p);746 - `manager_p`: the manager of this context data item.747 - return value: the item created by `manager_p` when `jerry_get_context_data ()` was first called, …748 …by `manager_p`, which will be stored for future identical calls to `jerry_get_context_data ()`, an…749 …deinitialized using the `deinit_cb` callback provided by `manager_p` when the context will be dest…