INT_TO_JSVAL 205 extra_lib/include/js/jsapi.h #define JSVAL_VOID INT_TO_JSVAL(0 - JSVAL_INT_POW2(30)) INT_TO_JSVAL 207 extra_lib/include/js/jsapi.h #define JSVAL_ZERO INT_TO_JSVAL(0) INT_TO_JSVAL 208 extra_lib/include/js/jsapi.h #define JSVAL_ONE INT_TO_JSVAL(1) INT_TO_JSVAL 279 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( level ); INT_TO_JSVAL 287 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( level ); INT_TO_JSVAL 295 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( level ); INT_TO_JSVAL 321 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( gf_term_get_option(term, GF_OPT_AUDIO_VOLUME)); INT_TO_JSVAL 325 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( gf_term_get_option(term, GF_OPT_NAVIGATION)); INT_TO_JSVAL 329 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( gf_term_get_option(term, GF_OPT_NAVIGATION_TYPE) ); INT_TO_JSVAL 333 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( (term->compositor->video_out->hw_caps & GF_VIDEO_HW_HAS_YUV) ? 1 : 0 ); INT_TO_JSVAL 337 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( (term->compositor->video_out->hw_caps & GF_VIDEO_HW_HAS_RGB) ? 1 : 0 ); INT_TO_JSVAL 346 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( has_rgba ); INT_TO_JSVAL 351 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( (term->compositor->video_out->hw_caps & GF_VIDEO_HW_HAS_STRETCH) ? 1 : 0 ); INT_TO_JSVAL 355 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( term->compositor->video_out->max_screen_width); INT_TO_JSVAL 359 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( term->compositor->video_out->max_screen_height); INT_TO_JSVAL 363 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( gf_dm_get_data_rate(term->downloader)); INT_TO_JSVAL 367 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( gf_dm_get_global_rate(term->downloader) / 1000); INT_TO_JSVAL 382 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(ext->rti.process_cpu_usage); INT_TO_JSVAL 390 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(ext->rti.nb_cores); INT_TO_JSVAL 406 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(ext->rti.process_memory); INT_TO_JSVAL 411 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(gf_sys_get_argc() ); INT_TO_JSVAL 415 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(term->compositor->video_out->dpi_x); INT_TO_JSVAL 419 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(term->compositor->video_out->dpi_y); INT_TO_JSVAL 769 modules/gpac_js/gpac_js.c JS_DefineProperty(cbk->c, obj, "size", INT_TO_JSVAL(file_info->size), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 770 modules/gpac_js/gpac_js.c JS_DefineProperty(cbk->c, obj, "last_modified", INT_TO_JSVAL(file_info->last_modified), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1047 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.od->objectDescriptorID); INT_TO_JSVAL 1050 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odm->subscene ? gf_list_count(odm->subscene->resources) : 0); INT_TO_JSVAL 1062 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.clock_drift); INT_TO_JSVAL 1073 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.buffer); INT_TO_JSVAL 1076 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.db_unit_count); INT_TO_JSVAL 1079 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.cb_unit_count); INT_TO_JSVAL 1082 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.cb_max_count); INT_TO_JSVAL 1095 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.sample_rate); INT_TO_JSVAL 1098 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.num_channels); INT_TO_JSVAL 1104 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.width); INT_TO_JSVAL 1107 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.height); INT_TO_JSVAL 1122 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.nb_dec_frames); INT_TO_JSVAL 1125 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.nb_dropped); INT_TO_JSVAL 1128 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.max_dec_time); INT_TO_JSVAL 1131 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.total_dec_time); INT_TO_JSVAL 1134 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.avg_bitrate); INT_TO_JSVAL 1137 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.max_bitrate); INT_TO_JSVAL 1155 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(com.quality_query.index); INT_TO_JSVAL 1163 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(count); INT_TO_JSVAL 1174 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(count); INT_TO_JSVAL 1178 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(1); INT_TO_JSVAL 1182 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.max_buffer); INT_TO_JSVAL 1185 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.min_buffer); INT_TO_JSVAL 1188 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.au_duration); INT_TO_JSVAL 1191 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.nb_iraps); INT_TO_JSVAL 1194 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.irap_total_dec_time); INT_TO_JSVAL 1197 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.irap_max_dec_time); INT_TO_JSVAL 1200 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(odi.od ? odi.od->ServiceID : 0); INT_TO_JSVAL 1203 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( (!odm->addon && odm->subscene) ? odm->subscene->selected_service_id : odm->parentscene->selected_service_id); INT_TO_JSVAL 1212 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(com.net_stats.bw_down/1000); INT_TO_JSVAL 1216 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(gf_list_count(odm->net_service->dnloads) ); INT_TO_JSVAL 1232 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(0); INT_TO_JSVAL 1325 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( odi.ntp_diff); INT_TO_JSVAL 1408 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(com.quality_query.dependent_group_index); INT_TO_JSVAL 1410 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(0); INT_TO_JSVAL 1449 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "width", INT_TO_JSVAL(com.quality_query.width), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1450 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "height", INT_TO_JSVAL(com.quality_query.height), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1451 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "bandwidth", INT_TO_JSVAL(com.quality_query.bandwidth), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1454 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "samplerate", INT_TO_JSVAL(com.quality_query.sample_rate), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1455 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "channels", INT_TO_JSVAL(com.quality_query.nb_channels), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1456 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "par_num", INT_TO_JSVAL(com.quality_query.par_num), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1457 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "par_den", INT_TO_JSVAL(com.quality_query.par_den), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1461 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "tile_mode", INT_TO_JSVAL(com.quality_query.tile_adaptation_mode), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1462 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "dependent_groups", INT_TO_JSVAL(com.quality_query.dependent_group_index), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1509 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "x", INT_TO_JSVAL(x), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1510 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "y", INT_TO_JSVAL(y), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1511 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "w", INT_TO_JSVAL(w), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1512 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "h", INT_TO_JSVAL(h), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1835 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(evt->mouse.x); INT_TO_JSVAL 1838 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(evt->mouse.y); INT_TO_JSVAL 1850 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL( evt->mouse.button); INT_TO_JSVAL 1853 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(evt->type); INT_TO_JSVAL 1861 modules/gpac_js/gpac_js.c *vp = INT_TO_JSVAL(evt->key.hw_code); INT_TO_JSVAL 2053 modules/gpac_js/gpac_js.c JS_DefineProperty(c, scene_obj, "width", INT_TO_JSVAL(w), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 2054 modules/gpac_js/gpac_js.c JS_DefineProperty(c, scene_obj, "height", INT_TO_JSVAL(h), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 2384 modules/gpac_js/gpac_js.c JS_DefineProperty(c, global, #name, INT_TO_JSVAL(name), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 268 modules/platinum/GPACPlatinum.cpp argv[0] = INT_TO_JSVAL( renderer_idx); INT_TO_JSVAL 287 modules/platinum/GPACPlatinum.cpp argv[0] = INT_TO_JSVAL( renderer_idx); INT_TO_JSVAL 618 modules/platinum/GPACPlatinum.cpp VPASSIGN( INT_TO_JSVAL(count) ); INT_TO_JSVAL 735 modules/platinum/GPACPlatinum.cpp VPASSIGN( INT_TO_JSVAL( upnp->m_pAVCtrlPoint ? gf_list_count(upnp->m_pAVCtrlPoint->m_MediaServers) : 0) ); INT_TO_JSVAL 738 modules/platinum/GPACPlatinum.cpp VPASSIGN( INT_TO_JSVAL( upnp->m_pAVCtrlPoint ? gf_list_count(upnp->m_pAVCtrlPoint->m_MediaRenderers) : 0) ); INT_TO_JSVAL 741 modules/platinum/GPACPlatinum.cpp VPASSIGN( INT_TO_JSVAL( upnp->m_pGenericController ? gf_list_count(upnp->m_pGenericController->m_Devices) : 0) ); INT_TO_JSVAL 1105 modules/platinum/GPACPlatinum.cpp jsval aval = INT_TO_JSVAL(0); INT_TO_JSVAL 1107 modules/platinum/GPACPlatinum.cpp aval = INT_TO_JSVAL(server->m_BrowseResults->GetItemCount()); INT_TO_JSVAL 1173 modules/platinum/GPACPlatinum.cpp JS_DefineProperty(c, f_obj, "ResourceCount", INT_TO_JSVAL(mo->m_Resources.GetItemCount()), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1232 modules/platinum/GPACPlatinum.cpp JS_DefineProperty(c, s_obj, "FilesCount", INT_TO_JSVAL(10), 0, 0, 0 | JSPROP_PERMANENT); INT_TO_JSVAL 267 modules/platinum/GenericDevice.cpp VPASSIGN( INT_TO_JSVAL(service->vars ? service->vars->GetItemCount() : 0) ); INT_TO_JSVAL 542 modules/platinum/GenericDevice.cpp SMJS_SET_RVAL( INT_TO_JSVAL( action->GetErrorCode() )); INT_TO_JSVAL 372 modules/widgetman/widget.c *vp = INT_TO_JSVAL( (opt ? atoi(opt) : 0) ); INT_TO_JSVAL 376 modules/widgetman/widget.c *vp = INT_TO_JSVAL( (opt ? atoi(opt) : 0) ); INT_TO_JSVAL 1316 modules/widgetman/widgetman.c argv[0] = INT_TO_JSVAL( *((SFInt32*)info.far_ptr) ); INT_TO_JSVAL 1382 modules/widgetman/widgetman.c SMJS_SET_RVAL( INT_TO_JSVAL( *((SFInt32*)info.far_ptr) )); INT_TO_JSVAL 1469 modules/widgetman/widgetman.c JS_DefineProperty(c, obj, "num_params", INT_TO_JSVAL( gf_list_count(msg->params) ), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1540 modules/widgetman/widgetman.c JS_DefineProperty(c, ifce->obj, "num_messages", INT_TO_JSVAL( gf_list_count(ifce->messages) ), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1713 modules/widgetman/widgetman.c *vp = INT_TO_JSVAL(wid->widget->width); INT_TO_JSVAL 1716 modules/widgetman/widgetman.c *vp = INT_TO_JSVAL(wid->widget->height); INT_TO_JSVAL 1734 modules/widgetman/widgetman.c JS_DefineProperty(c, icon_obj, "width", INT_TO_JSVAL( icon->width ), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1735 modules/widgetman/widgetman.c JS_DefineProperty(c, icon_obj, "height", INT_TO_JSVAL( icon->height ), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1889 modules/widgetman/widgetman.c *vp = INT_TO_JSVAL( wid->widget->nb_instances); INT_TO_JSVAL 1892 modules/widgetman/widgetman.c *vp = INT_TO_JSVAL( gf_list_count(wid->widget->main->interfaces)); INT_TO_JSVAL 1895 modules/widgetman/widgetman.c *vp = INT_TO_JSVAL( gf_list_count(wid->components)); INT_TO_JSVAL 1898 modules/widgetman/widgetman.c *vp = INT_TO_JSVAL( gf_list_count(wid->bound_ifces)); INT_TO_JSVAL 2354 modules/widgetman/widgetman.c *vp = INT_TO_JSVAL(gf_list_count(wm->widget_instances)); INT_TO_JSVAL 276 src/scenegraph/dom_smjs.c JS_DefineProperty(c, obj, #_val, INT_TO_JSVAL(GF_DOM_EXC_##_val), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 310 src/scenegraph/dom_smjs.c JS_DefineProperty(c, obj, "UNSPECIFIED_EVENT_TYPE_ERR", INT_TO_JSVAL(0), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 311 src/scenegraph/dom_smjs.c JS_DefineProperty(c, obj, "DISPATCH_REQUEST_ERR", INT_TO_JSVAL(1), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 318 src/scenegraph/dom_smjs.c JS_DefineProperty(c, obj, "code", INT_TO_JSVAL(code), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 641 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL( count ); INT_TO_JSVAL 1390 src/scenegraph/dom_smjs.c if (sg) *vp = INT_TO_JSVAL(9); INT_TO_JSVAL 1393 src/scenegraph/dom_smjs.c if (txt->type==GF_DOM_TEXT_CDATA) *vp = INT_TO_JSVAL(4); INT_TO_JSVAL 1394 src/scenegraph/dom_smjs.c else *vp = INT_TO_JSVAL(3); INT_TO_JSVAL 1396 src/scenegraph/dom_smjs.c else *vp = INT_TO_JSVAL(1); INT_TO_JSVAL 2358 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(txt->textContent ? strlen(txt->textContent) : 0); INT_TO_JSVAL 2365 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(txt->textContent ? strlen(txt->textContent) : 0); INT_TO_JSVAL 2474 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL( (evt->event_phase & 0x3) ); INT_TO_JSVAL 2492 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->detail); INT_TO_JSVAL 2511 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->screenX); INT_TO_JSVAL 2514 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->screenY); INT_TO_JSVAL 2517 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->clientX); INT_TO_JSVAL 2520 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->clientY); INT_TO_JSVAL 2523 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->button); INT_TO_JSVAL 2530 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(FIX2INT(evt->new_scale) ); INT_TO_JSVAL 2540 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->detail); INT_TO_JSVAL 2543 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL( evt->media_event.loaded_size); INT_TO_JSVAL 2546 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL( evt->media_event.total_size); INT_TO_JSVAL 2552 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL( evt->media_event.level); INT_TO_JSVAL 2558 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL( evt->media_event.status); INT_TO_JSVAL 2587 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->detail); INT_TO_JSVAL 2590 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->error_state); INT_TO_JSVAL 2593 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(evt->key_flags); INT_TO_JSVAL 3644 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(ctx->readyState); INT_TO_JSVAL 3698 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(ctx->html_status); INT_TO_JSVAL 3709 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(ctx->timeout); INT_TO_JSVAL 3745 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(XHR_READYSTATE_UNSENT); INT_TO_JSVAL 3748 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(XHR_READYSTATE_OPENED); INT_TO_JSVAL 3751 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(XHR_READYSTATE_HEADERS_RECEIVED); INT_TO_JSVAL 3754 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(XHR_READYSTATE_LOADING); INT_TO_JSVAL 3757 src/scenegraph/dom_smjs.c *vp = INT_TO_JSVAL(XHR_READYSTATE_DONE); INT_TO_JSVAL 4264 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domNodeClass._proto, "ELEMENT_NODE", INT_TO_JSVAL(1), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4265 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domNodeClass._proto, "TEXT_NODE", INT_TO_JSVAL(3), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4266 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domNodeClass._proto, "CDATA_SECTION_NODE", INT_TO_JSVAL(4), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4267 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domNodeClass._proto, "DOCUMENT_NODE", INT_TO_JSVAL(9), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4447 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domEventClass._proto, "CAPTURING_PHASE", INT_TO_JSVAL(1), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4448 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domEventClass._proto, "AT_TARGET", INT_TO_JSVAL(2), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4449 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domEventClass._proto, "BUBBLING_PHASE", INT_TO_JSVAL(3), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4451 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domEventClass._proto, "DOM_KEY_LOCATION_STANDARD ", INT_TO_JSVAL(0), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4452 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domEventClass._proto, "DOM_KEY_LOCATION_LEFT", INT_TO_JSVAL(1), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4453 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domEventClass._proto, "DOM_KEY_LOCATION_RIGHT", INT_TO_JSVAL(2), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 4454 src/scenegraph/dom_smjs.c JS_DefineProperty(c, dom_rt->domEventClass._proto, "DOM_KEY_LOCATION_NUMPAD", INT_TO_JSVAL(3), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 525 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL(MEDIA_ERR_ABORTED); INT_TO_JSVAL 528 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL(MEDIA_ERR_NETWORK); INT_TO_JSVAL 531 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL(MEDIA_ERR_DECODE); INT_TO_JSVAL 534 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL(MEDIA_ERR_SRC_NOT_SUPPORTED); INT_TO_JSVAL 537 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL(error->code); INT_TO_JSVAL 641 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( readyState ); INT_TO_JSVAL 652 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( networkState ); INT_TO_JSVAL 696 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( v ); INT_TO_JSVAL 1099 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( gf_list_count(timeranges->times)/2); INT_TO_JSVAL 1167 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( gf_list_count(tracklist->tracks) ); INT_TO_JSVAL 1220 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL(tracklist->selected_index); INT_TO_JSVAL 1385 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( FIX2FLT(length->value) ); INT_TO_JSVAL 1392 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( FIX2FLT(length->value) ); INT_TO_JSVAL 1396 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( video->txh.width ); INT_TO_JSVAL 1399 src/scenegraph/html5_media_smjs.c *vp = INT_TO_JSVAL( video->txh.height ); INT_TO_JSVAL 427 src/scenegraph/html5_mse_smjs.c *vp = INT_TO_JSVAL(count); INT_TO_JSVAL 639 src/scenegraph/html5_mse_smjs.c *vp = INT_TO_JSVAL(sb->timescale); INT_TO_JSVAL 814 src/scenegraph/html5_mse_smjs.c *vp = INT_TO_JSVAL(p->length); INT_TO_JSVAL 207 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NOT_CONNECTED_ERR", INT_TO_JSVAL(1), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 208 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "ENCODING_ERR", INT_TO_JSVAL(2), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 209 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "DENIED_ERR", INT_TO_JSVAL(3), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 210 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "UNKNOWN_ERR", INT_TO_JSVAL(4), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 213 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "SVG_WRONG_TYPE_ERR", INT_TO_JSVAL(0), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 214 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "SVG_INVALID_VALUE_ERR", INT_TO_JSVAL(1), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 215 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "SVG_MATRIX_NOT_INVERTABLE", INT_TO_JSVAL(2), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 218 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_AUTO", INT_TO_JSVAL(1), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 219 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_NEXT", INT_TO_JSVAL(2), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 220 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_PREV", INT_TO_JSVAL(3), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 221 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_UP", INT_TO_JSVAL(4), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 222 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_UP_RIGHT", INT_TO_JSVAL(5), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 223 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_RIGHT", INT_TO_JSVAL(6), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 224 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_DOWN_RIGHT", INT_TO_JSVAL(7), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 225 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_DOWN", INT_TO_JSVAL(8), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 226 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_DOWN_LEFT", INT_TO_JSVAL(9), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 227 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_LEFT", INT_TO_JSVAL(10), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 228 src/scenegraph/svg_smjs.c JS_DefineProperty(c, obj, "NAV_UP_LEFT", INT_TO_JSVAL(11), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1592 src/scenegraph/svg_smjs.c *vp = INT_TO_JSVAL(col->r); INT_TO_JSVAL 1595 src/scenegraph/svg_smjs.c *vp = INT_TO_JSVAL(col->g); INT_TO_JSVAL 1598 src/scenegraph/svg_smjs.c *vp = INT_TO_JSVAL(col->b); INT_TO_JSVAL 1801 src/scenegraph/svg_smjs.c *vp = INT_TO_JSVAL(p->nb_coms); INT_TO_JSVAL 1823 src/scenegraph/svg_smjs.c SMJS_SET_RVAL( INT_TO_JSVAL(77)); INT_TO_JSVAL 1826 src/scenegraph/svg_smjs.c SMJS_SET_RVAL( INT_TO_JSVAL(76)); INT_TO_JSVAL 1830 src/scenegraph/svg_smjs.c SMJS_SET_RVAL( INT_TO_JSVAL(67)); INT_TO_JSVAL 1834 src/scenegraph/svg_smjs.c SMJS_SET_RVAL( INT_TO_JSVAL(81)); INT_TO_JSVAL 1837 src/scenegraph/svg_smjs.c SMJS_SET_RVAL( INT_TO_JSVAL(90)); INT_TO_JSVAL 2526 src/scenegraph/svg_smjs.c JS_DefineProperty(scene->svg_js->js_ctx, svg_rt->pathClass._proto, "MOVE_TO", INT_TO_JSVAL(77), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 2527 src/scenegraph/svg_smjs.c JS_DefineProperty(scene->svg_js->js_ctx, svg_rt->pathClass._proto, "LINE_TO", INT_TO_JSVAL(76), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 2528 src/scenegraph/svg_smjs.c JS_DefineProperty(scene->svg_js->js_ctx, svg_rt->pathClass._proto, "CURVE_TO", INT_TO_JSVAL(67), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 2529 src/scenegraph/svg_smjs.c JS_DefineProperty(scene->svg_js->js_ctx, svg_rt->pathClass._proto, "QUAD_TO", INT_TO_JSVAL(81), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 2530 src/scenegraph/svg_smjs.c JS_DefineProperty(scene->svg_js->js_ctx, svg_rt->pathClass._proto, "CLOSE", INT_TO_JSVAL(90), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); INT_TO_JSVAL 1792 src/scenegraph/vrml_smjs.c *vp = INT_TO_JSVAL( sfi->width ); INT_TO_JSVAL 1795 src/scenegraph/vrml_smjs.c *vp = INT_TO_JSVAL( sfi->height); INT_TO_JSVAL 1798 src/scenegraph/vrml_smjs.c *vp = INT_TO_JSVAL( sfi->numComponents ); INT_TO_JSVAL 1806 src/scenegraph/vrml_smjs.c jsval newVal = INT_TO_JSVAL(sfi->pixels[i]); INT_TO_JSVAL 2839 src/scenegraph/vrml_smjs.c a_val = INT_TO_JSVAL(0); INT_TO_JSVAL 2856 src/scenegraph/vrml_smjs.c a_val = INT_TO_JSVAL(0); INT_TO_JSVAL 3074 src/scenegraph/vrml_smjs.c a_val = INT_TO_JSVAL(0); INT_TO_JSVAL 3085 src/scenegraph/vrml_smjs.c a_val = INT_TO_JSVAL(0); INT_TO_JSVAL 3109 src/scenegraph/vrml_smjs.c *vp = INT_TO_JSVAL(len); INT_TO_JSVAL 3884 src/scenegraph/vrml_smjs.c newVal = INT_TO_JSVAL(f->vals[i]); INT_TO_JSVAL 4028 src/scenegraph/vrml_smjs.c return INT_TO_JSVAL( * ((SFInt32 *) field->far_ptr)); INT_TO_JSVAL 4149 src/scenegraph/vrml_smjs.c jsval newVal = INT_TO_JSVAL(f->vals[i]);