Lines Matching refs:home
22 string data_dir, home;
53 data_dir = home = null;
57 home = "envHome";
60 home = args[0];
64 home = args[0];
71 if (!Directory.Exists(home)) {
72 Console.WriteLine("Creating home directory: {0}", home);
74 Directory.CreateDirectory(home);
76 Console.WriteLine("Unable to create {0}", home);
80 if (data_dir != null && !Directory.Exists(home + "/" + data_dir)) {
82 "Creating home directory: {0}/{1}", home, data_dir);
84 Directory.CreateDirectory(home + "/" + data_dir);
87 "Unable to create {0}/{1}", home, data_dir);
93 if (SetUpEnv(home, data_dir) == EXIT_FAILURE) {
100 if (TearDownEnv(home) == EXIT_FAILURE) {
111 public static int SetUpEnv(string home, string data_dir) {
131 env = DatabaseEnvironment.Open(home, envConfig);
147 public static int TearDownEnv(string home) {
150 DatabaseEnvironment.Remove(home);
161 Console.WriteLine("Usage: ex_env [home] [data dir]");