Home
last modified time | relevance | path

Searched refs:g_setenv (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/glib/tests/
Denv-test.c50 result = g_setenv (variable, value1, TRUE); in main()
57 result = g_setenv (variable, value2, FALSE); in main()
65 result = g_setenv (variable, value2, TRUE); in main()
81 result = g_setenv ("foo=bar", "baz", TRUE); in main()
85 result = g_setenv ("foo", "bar=baz", TRUE); in main()
Dunicode-collate.c47 g_setenv ("LC_ALL", "en_US", TRUE); in main()
/third_party/glib/glib/tests/
Dlogging.c100 g_setenv ("G_MESSAGES_DEBUG", "foo bar baz", TRUE); in test_default_handler_bar_info()
111 g_setenv ("G_MESSAGES_DEBUG", "foo bar baz", TRUE); in test_default_handler_baz_debug()
122 g_setenv ("G_MESSAGES_DEBUG", "all", TRUE); in test_default_handler_debug()
137 g_setenv ("G_MESSAGES_DEBUG", "all", TRUE); in test_default_handler_debug_stderr()
159 g_setenv ("G_MESSAGES_DEBUG", "bar baz", TRUE); in test_default_handler_would_drop()
169 g_setenv ("G_MESSAGES_DEBUG", "foo bar", TRUE); in test_default_handler_would_drop()
179 g_setenv ("G_MESSAGES_DEBUG", "all", TRUE); in test_default_handler_would_drop()
Dslice.c33 g_setenv ("G_SLICE", oldval, TRUE); in test_slice_nodebug()
42 g_setenv ("G_SLICE", "debug-blocks:always-malloc", TRUE); in test_slice_debug()
61 g_setenv ("G_SLICE", oldval, TRUE); in test_slice_debug()
Denvironment.c53 g_setenv (var, value, FALSE); in test_setenv()
55 g_assert (g_setenv (var, "value2", FALSE)); in test_setenv()
57 g_assert (g_setenv (var, "value2", TRUE)); in test_setenv()
Dutils.c69 g_setenv ("LANGUAGE", "de:en_US", TRUE); in test_language_names()
73 g_setenv ("LANGUAGE", "tt_RU.UTF-8@iqtelif", TRUE); in test_language_names()
337 g_setenv ("CHARSET", "UTF-8", TRUE); in test_codeset2()
364 g_setenv ("LANG", "de_DE.ISO-8859-15@euro", TRUE); in test_console_charset()
372 g_setenv ("LANG", initial_lang, TRUE); in test_console_charset()
820 g_setenv ("TMPDIR", "", TRUE); in main()
Dwin32.c125 g_setenv ("G_DEBUGGER", command, TRUE); in test_veh_debuggee()
130 g_setenv ("G_DEBUGGER_OLD_CONSOLE", "1", TRUE); in test_veh_debuggee()
Dconvert.c727 g_setenv ("CHARSET", "UTF-8", TRUE); in test_locale_to_utf8_embedded_nul_utf8()
748 g_setenv ("CHARSET", "US-ASCII", TRUE); in test_locale_to_utf8_embedded_nul_iconv()
778 g_setenv ("CHARSET", "UTF-8", TRUE); in test_locale_from_utf8_embedded_nul_utf8()
800 g_setenv ("CHARSET", "US-ASCII", TRUE); in test_locale_from_utf8_embedded_nul_iconv()
832 g_setenv ("G_FILENAME_ENCODING", "UTF-8", TRUE); in test_filename_to_utf8_embedded_nul_utf8()
856 g_setenv ("G_FILENAME_ENCODING", "US-ASCII", TRUE); in test_filename_to_utf8_embedded_nul_iconv()
889 g_setenv ("G_FILENAME_ENCODING", "UTF-8", TRUE); in test_filename_from_utf8_embedded_nul_utf8()
913 g_setenv ("G_FILENAME_ENCODING", "US-ASCII", TRUE); in test_filename_from_utf8_embedded_nul_iconv()
Dcharset.c50 g_assert_true (g_setenv (TEST_TABLE[i], TEST_LOCALE, TRUE)); in test_language_names_with_category()
Dtimer.c214 if (!g_setenv ("TZ", "UTC", TRUE)) in test_timeval_from_iso8601()
234 g_assert_true (g_setenv ("TZ", old_tz, TRUE)); in test_timeval_from_iso8601()
/third_party/glib/gio/tests/
Dgdbus-address-get-session.c80 g_setenv ("XDG_RUNTIME_DIR", tmpdir, TRUE); in set_up_mock_xdg_runtime_dir()
114 g_setenv ("PATH", path, TRUE); in set_up_mock_dbus_launch()
119 g_setenv ("DISPLAY", "an unrealistic mock X11 display", TRUE); in set_up_mock_dbus_launch()
Ddefaultvalue.c191 g_setenv ("GIO_USE_VFS", "local", TRUE); in main()
192 g_setenv ("GSETTINGS_BACKEND", "memory", TRUE); in main()
Dgdbus-auth.c250 g_setenv ("G_DBUS_COOKIE_SHA1_KEYRING_DIR", temp_dbus_keyrings_dir, TRUE); in temp_dbus_keyrings_setup()
251 g_setenv ("G_DBUS_COOKIE_SHA1_KEYRING_DIR_IGNORE_PERMISSION", "1", TRUE); in temp_dbus_keyrings_setup()
Dgsettings.c789 g_setenv ("LC_MESSAGES", "C", TRUE); in test_l10n()
792 g_setenv ("LC_MESSAGES", locale, TRUE); in test_l10n()
799 g_setenv ("LC_MESSAGES", "de_DE.UTF-8", TRUE); in test_l10n()
813 g_setenv ("LC_MESSAGES", locale, TRUE); in test_l10n()
840 g_setenv ("LC_MESSAGES", "C", TRUE); in test_l10n_context()
843 g_setenv ("LC_MESSAGES", locale, TRUE); in test_l10n_context()
850 g_setenv ("LC_MESSAGES", "de_DE.UTF-8", TRUE); in test_l10n_context()
864 g_setenv ("LC_MESSAGES", locale, TRUE); in test_l10n_context()
2952 g_setenv ("XDG_CURRENT_DESKTOP", "GNOME-Classic:GNOME", TRUE); in test_per_desktop_subprocess()
3033 g_setenv ("XDG_DATA_DIRS", ".", TRUE); in main()
[all …]
Dappinfo.c151 g_setenv ("LANGUAGE", locale, TRUE); in test_locale()
178 g_setenv ("LANGUAGE", orig, TRUE); in test_locale()
581 g_setenv ("XDG_CURRENT_DESKTOP", "GNOME", TRUE); in main()
/third_party/libsoup/tests/
Dntlm-test.c408 g_setenv ("NTLMUSER", user, TRUE); in do_ntlm_round()
573 g_setenv ("SOUP_NTLM_AUTH_DEBUG", "", TRUE); in do_ntlm_test()
585 g_setenv ("SOUP_NTLM_AUTH_DEBUG", in do_ntlm_test()
602 g_setenv ("SOUP_NTLM_AUTH_DEBUG", in do_ntlm_test()
605 g_setenv ("SOUP_NTLM_AUTH_DEBUG_NOCREDS", "1", TRUE); in do_ntlm_test()
642 g_setenv ("SOUP_NTLM_AUTH_DEBUG", "", TRUE); in do_retrying_test()
Dntlm-test-helper.c42 g_setenv ("SOUP_NTLM_AUTH_DEBUG", "", TRUE); in main()
/third_party/gstreamer/gstplugins_base/tests/examples/gl/qt/qglwidgetvideooverlay/
Dmain.cpp28 g_setenv ("GST_GL_API", "opengl", FALSE); in main()
/third_party/gstreamer/gstplugins_base/tests/examples/gl/qt/qglwtextureshare/
Dmain.cpp31 g_setenv ("GST_GL_API", "opengl", FALSE); in main()
/third_party/gstreamer/gstplugins_base/tests/examples/gl/qt/mousevideooverlay/
Dmain.cpp28 g_setenv ("GST_GL_API", "opengl", FALSE); in main()
/third_party/glib/glib/
Dgenviron.h39 gboolean g_setenv (const gchar *variable,
Dgenviron.c290 g_setenv (const gchar *variable, in g_setenv() function
529 g_setenv (const gchar *variable, in g_setenv() function
689 return g_setenv (variable, value, overwrite); in g_setenv_utf8()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dglstereo.c72 g_setenv ("GST_GL_XINITTHREADS", "1", TRUE); in main()
Dglfilter.c127 g_setenv ("GST_GL_XINITTHREADS", "1", TRUE); in main()
/third_party/pulseaudio/src/tests/
Dgtk-test.c67 g_setenv("PULSE_PROP_media.role", "phone", TRUE); in main()

1234