Lines Matching refs:js_ctx

738 static long *find_in_subframes(struct f_data_c *js_ctx, struct f_data_c *fd, long *pole_vole, int *…  in find_in_subframes()  argument
747 …>loc->name,cast_const_char takhle_tomu_u_nas_nadavame)&&jsint_can_access(js_ctx,ff)) /* to je on! … in find_in_subframes()
796 …if (!(ff->rq)) pole_vole=find_in_subframes(js_ctx,ff,pole_vole,n_items,takhle_tomu_u_nas_nadavame); in find_in_subframes()
813 struct f_data_c *js_ctx=(struct f_data_c*)context; in jsint_resolve() local
825 if (!fd||!(jsint_can_access(js_ctx,fd)))break; in jsint_resolve()
827 pole_vole=find_in_subframes(js_ctx, fd, pole_vole, n_items, takhle_tomu_u_nas_nadavame); in jsint_resolve()
833 struct form_control *fc=jsint_find_object(js_ctx,obj_id); in jsint_resolve()
838 if (!(js_ctx->f_data)){mem_free(pole_vole);return NULL;} in jsint_resolve()
839 foreachback(struct form_control, f, lf, js_ctx->f_data->forms) in jsint_resolve()
1515 struct f_data_c *js_ctx=(struct f_data_c*)data; in js_upcall_get_links() local
1522 if (!js_ctx)internal_error("js_upcall_get_links called with NULL context pointer\n"); in js_upcall_get_links()
1523 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_links()
1544 struct f_data_c *js_ctx=(struct f_data_c*)data; in js_upcall_get_link_target() local
1548 if (!js_ctx)internal_error("js_upcall_get_link_target called with NULL context pointer\n"); in js_upcall_get_link_target()
1552 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_link_target()
1568 struct f_data_c *js_ctx=(struct f_data_c *)data; in js_upcall_get_forms() local
1575 if (!js_ctx)internal_error("js_upcall_get_forms called with NULL context pointer\n"); in js_upcall_get_forms()
1577 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_forms()
1613 struct f_data_c *js_ctx=(struct f_data_c *)data; in js_upcall_get_form_action() local
1617 if (!js_ctx)internal_error("js_upcall_get_form_action called with NULL context pointer\n"); in js_upcall_get_form_action()
1619 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_form_action()
1635 struct f_data_c *js_ctx=(struct f_data_c *)context; in js_upcall_set_form_action() local
1639 if (!js_ctx) { in js_upcall_set_form_action()
1644 if (!fd || !jsint_can_access(js_ctx,fd)) { in js_upcall_set_form_action()
1680 struct f_data_c *js_ctx=(struct f_data_c *)data; in js_upcall_get_form_target() local
1684 if (!js_ctx)internal_error("js_upcall_get_form_target called with NULL context pointer\n"); in js_upcall_get_form_target()
1686 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_form_target()
1703 struct f_data_c *js_ctx=(struct f_data_c *)data; in js_upcall_get_form_method() local
1707 if (!js_ctx)internal_error("js_upcall_get_form_method called with NULL context pointer\n"); in js_upcall_get_form_method()
1709 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_form_method()
1738 struct f_data_c *js_ctx=(struct f_data_c *)data; in js_upcall_get_form_encoding() local
1742 if (!js_ctx)internal_error("js_upcall_get_form_encoding called with NULL context pointer\n"); in js_upcall_get_form_encoding()
1744 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_form_encoding()
1940 struct f_data_c *js_ctx=(struct f_data_c *)data; in js_upcall_get_form_elements() local
1947 if (!js_ctx)internal_error("js_upcall_get_form_elements called with NULL context pointer\n"); in js_upcall_get_form_elements()
1950 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_form_elements()
2000 struct f_data_c *js_ctx=(struct f_data_c*)hej_Hombre; in js_upcall_get_anchors() local
2006 if (!js_ctx)internal_error("js_upcall_get_anchors called with NULL context pointer\n"); in js_upcall_get_anchors()
2008 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_anchors()
2030 struct f_data_c *js_ctx=(struct f_data_c*)smirak; in js_upcall_get_checkbox_radio_checked() local
2035 …if (!js_ctx)internal_error("js_upcall_get_checkbox_radio_checked called with NULL context pointer\… in js_upcall_get_checkbox_radio_checked()
2037 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_checkbox_radio_checked()
2054 struct f_data_c *js_ctx=(struct f_data_c*)smirak; in js_upcall_set_checkbox_radio_checked() local
2058 …if (!js_ctx)internal_error("js_upcall_set_checkbox_radio_checked called with NULL context pointer\… in js_upcall_set_checkbox_radio_checked()
2061 if (!fd||!jsint_can_access(js_ctx,fd))return; in js_upcall_set_checkbox_radio_checked()
2079 struct f_data_c *js_ctx=(struct f_data_c*)bidak_smirak; in js_upcall_get_checkbox_radio_default_checked() local
2084 …if (!js_ctx)internal_error("js_upcall_get_checkbox_radio_default_checked called with NULL context … in js_upcall_get_checkbox_radio_default_checked()
2087 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_checkbox_radio_default_checked()
2102 struct f_data_c *js_ctx=(struct f_data_c*)bidak_smirak; in js_upcall_set_checkbox_radio_default_checked() local
2108 …if (!js_ctx)internal_error("js_upcall_set_checkbox_radio_default_checked called with NULL context … in js_upcall_set_checkbox_radio_default_checked()
2111 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd))return; in js_upcall_set_checkbox_radio_default_checked()
2129 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_get_form_element_name() local
2134 if (!js_ctx)internal_error("js_upcall_get_form_element_name called with NULL context pointer\n"); in js_upcall_get_form_element_name()
2136 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_form_element_name()
2170 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_set_form_element_name() local
2174 if (!js_ctx)internal_error("js_upcall_set_form_element_name called with NULL context pointer\n"); in js_upcall_set_form_element_name()
2176 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd)){if (name)mem_free(name);return;} in js_upcall_set_form_element_name()
2217 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_get_form_element_default_value() local
2222 …if (!js_ctx)internal_error("js_upcall_get_form_element_default_value called with NULL context poin… in js_upcall_get_form_element_default_value()
2224 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_form_element_default_value()
2259 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_set_form_element_default_value() local
2263 …if (!js_ctx)internal_error("js_upcall_set_form_element_default_value called with NULL context poin… in js_upcall_set_form_element_default_value()
2265 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd)){if (name)mem_free(name);return;} in js_upcall_set_form_element_default_value()
2309 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_set_form_element_event_handler() local
2314 …if (!js_ctx)internal_error("js_upcall_set_form_element_event_handler called with NULL context poin… in js_upcall_set_form_element_event_handler()
2316 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd)){if (name)mem_free(name);return;} in js_upcall_set_form_element_event_handler()
2356 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_get_form_element_value() local
2361 if (!js_ctx)internal_error("js_upcall_get_form_element_value called with NULL context pointer\n"); in js_upcall_get_form_element_value()
2363 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_form_element_value()
2392 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_set_form_element_value() local
2396 if (!js_ctx)internal_error("js_upcall_set_form_element_value called with NULL context pointer\n"); in js_upcall_set_form_element_value()
2398 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd)){if (name)mem_free(name);return;} in js_upcall_set_form_element_value()
2436 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_click() local
2439 if (!js_ctx)internal_error("js_upcall_click called with NULL context pointer\n"); in js_upcall_click()
2441 if (!fd||!jsint_can_access(js_ctx,fd))return; in js_upcall_click()
2499 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_focus() local
2502 if (!js_ctx)internal_error("js_upcall_focus called with NULL context pointer\n"); in js_upcall_focus()
2504 if (!fd||!jsint_can_access(js_ctx,fd))return; in js_upcall_focus()
2567 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_blur() local
2570 if (!js_ctx)internal_error("js_upcall_blur called with NULL context pointer\n"); in js_upcall_blur()
2572 if (!fd||!jsint_can_access(js_ctx,fd))return; in js_upcall_blur()
2617 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_submit() local
2623 if (!js_ctx)internal_error("js_upcall_submit called with NULL context pointer\n"); in js_upcall_submit()
2625 if (!fd||!jsint_can_access(js_ctx,fd))return; in js_upcall_submit()
2647 struct f_data_c *js_ctx=(struct f_data_c*)bidak; in js_upcall_reset() local
2650 if (!js_ctx)internal_error("js_upcall_reset called with NULL context pointer\n"); in js_upcall_reset()
2652 if (!fd||!jsint_can_access(js_ctx,fd))return; in js_upcall_reset()
2667 struct f_data_c *js_ctx=(struct f_data_c*)p; in js_upcall_get_radio_length() local
2675 if (!js_ctx)internal_error("js_upcall_get_radio_length called with NULL context pointer\n"); in js_upcall_get_radio_length()
2678 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_radio_length()
2697 struct f_data_c *js_ctx=(struct f_data_c*)p; in js_upcall_get_select_length() local
2701 if (!js_ctx)internal_error("js_upcall_get_select_length called with NULL context pointer\n"); in js_upcall_get_select_length()
2704 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_select_length()
2722 struct f_data_c *js_ctx=(struct f_data_c*)p; in js_upcall_get_select_options() local
2729 if (!js_ctx)internal_error("js_upcall_get_select_length called with NULL context pointer\n"); in js_upcall_get_select_options()
2732 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_select_options()
2757 struct f_data_c *js_ctx=(struct f_data_c*)p; in js_upcall_get_select_index() local
2762 if (!js_ctx)internal_error("js_upcall_get_select_length called with NULL context pointer\n"); in js_upcall_get_select_index()
2765 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_select_index()
3256 … void add_all_recursive_in_fd(long **field, int *len, struct f_data_c *fd, struct f_data_c *js_ctx) in add_all_recursive_in_fd() argument
3265 if (jsint_can_access(js_ctx,ff)) in add_all_recursive_in_fd()
3312 if (jsint_can_access(js_ctx,ff)) add_all_recursive_in_fd(field,len,ff,js_ctx); in add_all_recursive_in_fd()
3326 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_all() local
3330 if (!js_ctx)internal_error("js_upcall_get_all called with NULL context pointer\n"); in js_upcall_get_all()
3332 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_all()
3338 add_all_recursive_in_fd(&pole_neorane,len,fd,js_ctx); in js_upcall_get_all()
3357 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_images() local
3365 if (!js_ctx)internal_error("js_upcall_get_images called with NULL context pointer\n"); in js_upcall_get_images()
3367 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_images()
3396 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_image_width() local
3402 if (!js_ctx)internal_error("js_upcall_get_image_width called with NULL context pointer\n"); in js_upcall_get_image_width()
3405 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_image_width()
3426 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_image_height() local
3432 if (!js_ctx)internal_error("js_upcall_get_image_height called with NULL context pointer\n"); in js_upcall_get_image_height()
3435 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_image_height()
3457 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_image_border() local
3462 if (!js_ctx)internal_error("js_upcall_get_image_border called with NULL context pointer\n"); in js_upcall_get_image_border()
3465 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_image_border()
3487 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_image_vspace() local
3492 if (!js_ctx)internal_error("js_upcall_get_image_vspace called with NULL context pointer\n"); in js_upcall_get_image_vspace()
3495 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_image_vspace()
3517 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_image_hspace() local
3522 if (!js_ctx)internal_error("js_upcall_get_image_hspace called with NULL context pointer\n"); in js_upcall_get_image_hspace()
3525 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_image_hspace()
3547 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_image_name() local
3552 if (!js_ctx)internal_error("js_upcall_get_image_name called with NULL context pointer\n"); in js_upcall_get_image_name()
3555 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_image_name()
3577 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_image_alt() local
3582 if (!js_ctx)internal_error("js_upcall_get_image_alt called with NULL context pointer\n"); in js_upcall_get_image_alt()
3585 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_image_alt()
3609 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_set_image_name() local
3614 if (!js_ctx)internal_error("js_upcall_set_image_name called with NULL context pointer\n"); in js_upcall_set_image_name()
3617 if (!fd||!jsint_can_access(js_ctx,fd))return; in js_upcall_set_image_name()
3645 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_set_image_alt() local
3650 if (!js_ctx)internal_error("js_upcall_set_image_alt called with NULL context pointer\n"); in js_upcall_set_image_alt()
3653 if (!fd||!fd->f_data||!jsint_can_access(js_ctx,fd))return; in js_upcall_set_image_alt()
3689 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_image_src() local
3694 if (!js_ctx)internal_error("js_upcall_get_image_src called with NULL context pointer\n"); in js_upcall_get_image_src()
3697 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_image_src()
3724 struct f_data_c *js_ctx; in js_upcall_set_image_src() local
3732 js_ctx=(struct f_data_c*)fax->ident; in js_upcall_set_image_src()
3733 js_spec_vykill_timer(js_ctx->js->ctx,0); in js_upcall_set_image_src()
3735 if (!js_ctx)internal_error("js_upcall_set_image_src called with NULL context pointer\n"); in js_upcall_set_image_src()
3740 if (!fd||!jsint_can_access(js_ctx,fd))goto abych_tu_nepovecerel; in js_upcall_set_image_src()
3759 js_ctx=(struct f_data_c*)fax->ident; in js_upcall_set_image_src()
3760 if (!js_ctx)internal_error("js_upcall_set_image_src called with NULL context pointer\n"); in js_upcall_set_image_src()
3761 js_spec_vykill_timer(js_ctx->js->ctx,0); in js_upcall_set_image_src()
3767 js_downcall_vezmi_string(js_ctx->js->ctx,zvrat); in js_upcall_set_image_src()
3776 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_image_complete() local
3781 if (!js_ctx)internal_error("js_upcall_image_complete called with NULL context pointer\n"); in js_upcall_image_complete()
3784 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_image_complete()
3807 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_parent() local
3809 if (!js_ctx)internal_error("js_upcall_get_parent called with NULL context pointer\n"); in js_upcall_get_parent()
3812 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_parent()
3826 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_frame_top() local
3828 if (!js_ctx)internal_error("js_upcall_get_frame_top called with NULL context pointer\n"); in js_upcall_get_frame_top()
3831 if (!fd||!jsint_can_access(js_ctx,fd))return -1; in js_upcall_get_frame_top()
3849 struct f_data_c *js_ctx=(struct f_data_c*)chuligane; in js_upcall_get_subframes() local
3857 if (!js_ctx)internal_error("js_upcall_get_subframes called with NULL context pointer\n"); in js_upcall_get_subframes()
3860 if (!fd||!jsint_can_access(js_ctx,fd))return NULL; in js_upcall_get_subframes()