Home | History | Annotate | Download | only in bus

Lines Matching refs:FILE

1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
29 #include "desktop-file.h"
295 "Can't stat the service file\n");
365 if (entry == NULL) /* New file */
367 /* FIXME we need a better-defined algorithm for which service file to
421 _dbus_verbose ("The new service name \"%s\" of service file \"%s\" already in cache, ignoring\n",
500 _dbus_verbose ("****** Can't stat file \"%s\", removing from cache\n",
626 _dbus_verbose ("Skipping non-.service file %s\n",
632 if (entry) /* Already has this service file in the cache */
647 /* New file */
1297 "The service file is incorrect or does not have all required attributes");
1301 "Cannot launch daemon, file not found or permissions invalid");
2208 FILE *file;
2224 file = fopen (_dbus_string_get_const_data (&full_path), "w");
2225 if (!file)
2231 fprintf (file, "[D-BUS Service]\nName=%s\nExec=%s\n", name, exec);
2232 fclose (file);
2337 /* Create one initial file */
2433 /* Check for existing service file */
2437 if (!do_test ("Existing service file", oom_test, &d))
2440 /* Check for non-existing service file */
2444 if (!do_test ("Nonexisting service file", oom_test, &d))
2447 /* Check for added service file */
2454 if (!do_test ("Added service file", oom_test, &d))
2457 /* Check for removed service file */
2464 if (!do_test ("Removed service file", oom_test, &d))
2467 /* Check for updated service file */
2477 if (!do_test ("Updated service file, part 1", oom_test, &d))
2483 if (!do_test ("Updated service file, part 2", oom_test, &d))