Searched refs:runtime_dir (Results 1 – 4 of 4) sorted by relevance
/third_party/wayland_standard/src/ |
D | wayland-client.c | 962 const char *runtime_dir; in connect_to_socket() local 973 runtime_dir = getenv("XDG_RUNTIME_DIR"); in connect_to_socket() 974 if (!runtime_dir && !path_is_absolute) { in connect_to_socket() 991 "%s/%s", runtime_dir, name) + 1; in connect_to_socket() 1003 " exceeds %i bytes\n", runtime_dir, name, (int) sizeof(addr.sun_path)); in connect_to_socket()
|
D | wayland-server.c | 1484 const char *runtime_dir = ""; in wl_socket_init_for_display_name() local 1488 runtime_dir = getenv("XDG_RUNTIME_DIR"); in wl_socket_init_for_display_name() 1489 if (!runtime_dir) { in wl_socket_init_for_display_name() 1502 "%s%s%s", runtime_dir, separator, name) + 1; in wl_socket_init_for_display_name() 1509 " exceeds 108 bytes\n", runtime_dir, separator, name); in wl_socket_init_for_display_name()
|
/third_party/glib/glib/ |
D | gtestutils.c | 1433 gchar *data_dir = NULL, *runtime_dir = NULL; in test_do_isolate_dirs() local 1454 runtime_dir = g_build_filename (subdir, "runtime", NULL); in test_do_isolate_dirs() 1455 if (g_mkdir_with_parents (runtime_dir, 0700) != 0) in test_do_isolate_dirs() 1460 runtime_dir, g_strerror (saved_errno)); in test_do_isolate_dirs() 1461 g_free (runtime_dir); in test_do_isolate_dirs() 1487 "XDG_RUNTIME_DIR", runtime_dir, in test_do_isolate_dirs() 1490 g_free (runtime_dir); in test_do_isolate_dirs()
|
D | gutils.c | 1889 gchar *runtime_dir = NULL; in g_build_user_runtime_dir() local 1893 runtime_dir = g_strdup (runtime_dir_env); in g_build_user_runtime_dir() 1896 runtime_dir = g_build_user_cache_dir (); in g_build_user_runtime_dir() 1908 (void) g_mkdir (runtime_dir, 0700); in g_build_user_runtime_dir() 1911 return g_steal_pointer (&runtime_dir); in g_build_user_runtime_dir()
|