Home
last modified time | relevance | path

Searched refs:nsoptions (Results 1 – 12 of 12) sorted by relevance

/dports/www/netsurf/netsurf-3.10/utils/
H A Dnsoption.h162 extern struct nsoption_s *nsoptions;
270 #define nsoption_bool(OPTION) (nsoptions[NSOPTION_##OPTION].value.b)
279 #define nsoption_int(OPTION) (nsoptions[NSOPTION_##OPTION].value.i)
288 #define nsoption_uint(OPTION) (nsoptions[NSOPTION_##OPTION].value.u)
297 #define nsoption_charp(OPTION) (nsoptions[NSOPTION_##OPTION].value.s)
306 #define nsoption_colour(OPTION) (nsoptions[NSOPTION_##OPTION].value.c)
310 #define nsoption_set_bool(OPTION, VALUE) nsoptions[NSOPTION_##OPTION].value.b = VALUE
314 #define nsoption_set_int(OPTION, VALUE) nsoptions[NSOPTION_##OPTION].value.i = VALUE
339 nsoption_set_tbl_charp(nsoptions, NSOPTION_##OPTION, VALUE)
344 if (nsoptions[NSOPTION_##OPTION].value.s == NULL) { \
[all …]
H A Dnsoption.c44 struct nsoption_s *nsoptions = NULL; variable
564 opts = nsoptions; in nsoption_init()
565 nsoptions = defs; in nsoption_init()
570 nsoptions = opts; in nsoption_init()
587 nsoptions = opts; in nsoption_init()
608 nsoptions = NULL; in nsoption_finalise()
645 opts = nsoptions; in nsoption_read()
714 opts = nsoptions; in nsoption_write()
750 opts = nsoptions; in nsoption_dump()
777 opts = nsoptions; in nsoption_commandline()
[all …]
/dports/www/netsurf/netsurf-3.10/desktop/
H A Dsystem_colour.c52 opt = &nsoptions[ccount + NSOPTION_SYS_COLOUR_START]; in ns_system_colour_init()
84 nsoptions[ccount + NSOPTION_SYS_COLOUR_START].key + SLEN("sys_colour_")) == 0) { in ns_system_colour_char()
85 *colour_out = nsoptions[ccount + NSOPTION_SYS_COLOUR_START].value.c; in ns_system_colour_char()
104 *colour = ns_color_to_nscss(nsoptions[ccount + NSOPTION_SYS_COLOUR_START].value.c); in ns_system_colour()
/dports/www/netsurf/netsurf-3.10/frontends/monkey/
H A Dmain.c226 nsoption_commandline(&argc, argv, nsoptions); in monkey_options_handle_command()
422 ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default); in main()
427 nsoption_read(options, nsoptions); in main()
429 nsoption_commandline(&argc, argv, nsoptions); in main()
487 nsoption_finalise(nsoptions, nsoptions_default); in main()
/dports/www/netsurf/netsurf-3.10/frontends/windows/
H A Dmain.c273 ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default); in nsw32_option_init()
281 nsoption_read(choices, nsoptions); in nsw32_option_init()
286 nsoption_commandline(pargc, argv, nsoptions); in nsw32_option_init()
505 nsoption_finalise(nsoptions, nsoptions_default); in WinMain()
/dports/www/netsurf/netsurf-3.10/frontends/beos/
H A Dgui.cpp505 set_defaults(nsoptions); in nsbeos_update_system_ui_colors()
1045 ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default); in main()
1093 nsoption_finalise(nsoptions, nsoptions_default); in main()
1137 ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default); in gui_init_replicant()
/dports/www/netsurf/netsurf-3.10/frontends/gtk/
H A Dgui.c1150 ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default); in nsgtk_option_init()
1158 nsoption_read(choices, nsoptions); in nsgtk_option_init()
1163 nsoption_commandline(pargc, argv, nsoptions); in nsgtk_option_init()
1319 nsoption_finalise(nsoptions, nsoptions_default); in main()
/dports/www/netsurf/netsurf-3.10/test/
H A Dnsoption.c602 res = nsoption_init(NULL, &nsoptions, &nsoptions_default); in START_TEST()
605 res = nsoption_finalise(nsoptions, nsoptions_default); in START_TEST()
/dports/www/netsurf/netsurf-3.10/frontends/framebuffer/
H A Dgui.c2211 ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default); in main()
2216 nsoption_read(options, nsoptions); in main()
2218 nsoption_commandline(&argc, argv, nsoptions); in main()
2282 nsoption_finalise(nsoptions, nsoptions_default); in main()
/dports/www/netsurf/netsurf-3.10/frontends/amiga/
H A Dgui.c387 if (nsoptions_default[NSOPTION_##OPTION].value.i == nsoptions[NSOPTION_##OPTION].value.i) \
388 nsoptions[NSOPTION_##OPTION].value.i = VALUE; \
944 (nsoptions[option].type != OPTION_COLOUR)) { in colour_option_from_pen()
966 if (nsoptions_default[option].value.c == nsoptions[option].value.c) in colour_option_from_pen()
967 nsoptions[option].value.c = def_colour; in colour_option_from_pen()
6603 ret = nsoption_init(ami_set_options, &nsoptions, &nsoptions_default); in main()
6620 nsoption_finalise(nsoptions, nsoptions_default); in main()
6639 nsoption_finalise(nsoptions, nsoptions_default); in main()
6690 nsoption_finalise(nsoptions, nsoptions_default); in main()
/dports/www/netsurf/netsurf-3.10/frontends/riscos/
H A Dgui.c2511 ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default); in main()
2560 nsoption_finalise(nsoptions, nsoptions_default); in main()
/dports/www/netsurf/netsurf-3.10/frontends/atari/
H A Dgui.c1150 ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default); in main()