Lines Matching refs:argv0
322 * \param argv0 The test suite name.
326 const char *argv0,
351 test_suite = strrchr(argv0, '/');
355 test_suite = argv0;
440 /** Try chdir to the directory containing argv0.
444 static void try_chdir_if_supported(const char *argv0)
451 const char *slash = strrchr(argv0, '/');
455 size_t path_size = slash - argv0 + 1;
460 memcpy(path, argv0, path_size - 1);
471 static void try_chdir_if_supported(const char *argv0)
473 (void) argv0;