directory 70 include/crm/common/internal.h char *pcmk__series_filename(const char *directory, const char *series, directory 72 include/crm/common/internal.h int pcmk__read_series_sequence(const char *directory, const char *series, directory 74 include/crm/common/internal.h void pcmk__write_series_sequence(const char *directory, const char *series, directory 76 include/crm/common/internal.h int pcmk__chown_series_sequence(const char *directory, const char *series, directory 121 lib/common/io.c pcmk__series_filename(const char *directory, const char *series, int sequence, directory 124 lib/common/io.c CRM_ASSERT((directory != NULL) && (series != NULL)); directory 125 lib/common/io.c return crm_strdup_printf("%s/%s-%d.%s", directory, series, sequence, directory 140 lib/common/io.c pcmk__read_series_sequence(const char *directory, const char *series, directory 147 lib/common/io.c if ((directory == NULL) || (series == NULL) || (seq == NULL)) { directory 151 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 187 lib/common/io.c pcmk__write_series_sequence(const char *directory, const char *series, directory 194 lib/common/io.c CRM_CHECK(directory != NULL, return); directory 204 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 237 lib/common/io.c pcmk__chown_series_sequence(const char *directory, const char *series, directory 243 lib/common/io.c if ((directory == NULL) || (series == NULL)) { directory 246 lib/common/io.c series_file = crm_strdup_printf("%s/%s.last", directory, series); directory 398 lib/common/io.c DIR *directory; directory 400 lib/common/io.c directory = opendir(name); directory 401 lib/common/io.c if (directory == NULL) { directory 406 lib/common/io.c fd = dirfd(directory); directory 415 lib/common/io.c if (closedir(directory) < 0) { directory 36 maint/gnulib/lib/concat-filename.c concatenated_filename (const char *directory, const char *filename, directory 42 maint/gnulib/lib/concat-filename.c if (strcmp (directory, ".") == 0) directory 54 maint/gnulib/lib/concat-filename.c size_t directory_len = strlen (directory); directory 56 maint/gnulib/lib/concat-filename.c (directory_len > FILE_SYSTEM_PREFIX_LEN (directory) directory 57 maint/gnulib/lib/concat-filename.c && !ISSLASH (directory[directory_len - 1])); directory 64 maint/gnulib/lib/concat-filename.c memcpy (result, directory, directory_len); directory 30 maint/gnulib/lib/concat-filename.h extern char *concatenated_filename (const char *directory, directory 36 maint/gnulib/lib/concat-filename.h extern char *xconcatenated_filename (const char *directory, directory 117 maint/gnulib/lib/execute.c const char *directory, directory 126 maint/gnulib/lib/execute.c if (directory != NULL) directory 207 maint/gnulib/lib/execute.c (const char * const *) environ, directory, directory 217 maint/gnulib/lib/execute.c (const char * const *) environ, directory, directory 293 maint/gnulib/lib/execute.c || (directory != NULL directory 295 maint/gnulib/lib/execute.c directory))) directory 307 maint/gnulib/lib/execute.c || (err = (directory != NULL directory 50 maint/gnulib/lib/execute.h const char *directory, directory 76 maint/gnulib/lib/findprog-in.c const char *directory, bool optimize_for_exec) directory 106 maint/gnulib/lib/findprog-in.c (directory != NULL && IS_RELATIVE_FILE_NAME (progname) directory 107 maint/gnulib/lib/findprog-in.c ? directory directory 256 maint/gnulib/lib/findprog-in.c if (directory != NULL && IS_RELATIVE_FILE_NAME (dir)) directory 259 maint/gnulib/lib/findprog-in.c concatenated_filename (directory, dir, NULL); directory 69 maint/gnulib/lib/findprog.h const char *directory, directory 244 maint/gnulib/lib/glob.c static int glob_in_dir (const char *pattern, const char *directory, directory 1280 maint/gnulib/lib/glob.c glob_in_dir (const char *pattern, const char *directory, int flags, directory 1284 maint/gnulib/lib/glob.c size_t dirlen = strlen (directory); directory 1331 maint/gnulib/lib/glob.c mempcpy (mempcpy (mempcpy (fullname, directory, dirlen), directory 1346 maint/gnulib/lib/glob.c ? (*pglob->gl_opendir) (directory) directory 1347 maint/gnulib/lib/glob.c : opendir (directory)); directory 1351 maint/gnulib/lib/glob.c && ((errfunc != NULL && (*errfunc) (directory, errno)) directory 280 maint/gnulib/lib/javacomp.c const char *directory, directory 301 maint/gnulib/lib/javacomp.c if (directory != NULL) directory 302 maint/gnulib/lib/javacomp.c command_length += 4 + shell_quote_length (directory); directory 323 maint/gnulib/lib/javacomp.c if (directory != NULL) directory 327 maint/gnulib/lib/javacomp.c p = shell_quote_copy (p, directory); directory 364 maint/gnulib/lib/javacomp.c const char *directory, directory 380 maint/gnulib/lib/javacomp.c + (directory != NULL ? 2 : 0) + java_sources_count; directory 410 maint/gnulib/lib/javacomp.c if (directory != NULL) directory 413 maint/gnulib/lib/javacomp.c *argp++ = directory; directory 450 maint/gnulib/lib/javacomp.c const char *directory, directory 463 maint/gnulib/lib/javacomp.c + (debug ? 1 : 0) + (directory != NULL ? 2 : 0) + java_sources_count; directory 482 maint/gnulib/lib/javacomp.c if (directory != NULL) directory 485 maint/gnulib/lib/javacomp.c *argp++ = directory; directory 516 maint/gnulib/lib/javacomp.c const char *directory, directory 528 maint/gnulib/lib/javacomp.c 1 + (optimize ? 1 : 0) + (debug ? 1 : 0) + (directory != NULL ? 2 : 0) directory 538 maint/gnulib/lib/javacomp.c if (directory != NULL) directory 541 maint/gnulib/lib/javacomp.c *argp++ = directory; directory 2165 maint/gnulib/lib/javacomp.c const char *directory, directory 2273 maint/gnulib/lib/javacomp.c directory, optimize, debug, verbose, directory 2358 maint/gnulib/lib/javacomp.c directory, optimize, debug, verbose, false); directory 2403 maint/gnulib/lib/javacomp.c directory, optimize, debug, verbose, directory 2432 maint/gnulib/lib/javacomp.c directory, optimize, debug, verbose, directory 87 maint/gnulib/lib/javacomp.h const char *directory, directory 141 maint/gnulib/lib/spawn-pipe.c const char *directory, directory 151 maint/gnulib/lib/spawn-pipe.c if (directory != NULL) directory 300 maint/gnulib/lib/spawn-pipe.c (const char * const *) environ, directory, directory 310 maint/gnulib/lib/spawn-pipe.c (const char * const *) environ, directory, directory 343 maint/gnulib/lib/spawn-pipe.c if (!(directory == NULL || strcmp (directory, ".") == 0)) directory 521 maint/gnulib/lib/spawn-pipe.c || (directory != NULL directory 523 maint/gnulib/lib/spawn-pipe.c directory))) directory 541 maint/gnulib/lib/spawn-pipe.c || (err = (directory != NULL directory 613 maint/gnulib/lib/spawn-pipe.c const char *directory, directory 618 maint/gnulib/lib/spawn-pipe.c pid_t result = create_pipe (progname, prog_path, prog_argv, directory, directory 635 maint/gnulib/lib/spawn-pipe.c const char *directory, directory 641 maint/gnulib/lib/spawn-pipe.c pid_t result = create_pipe (progname, prog_path, prog_argv, directory, directory 660 maint/gnulib/lib/spawn-pipe.c const char *directory, directory 666 maint/gnulib/lib/spawn-pipe.c pid_t result = create_pipe (progname, prog_path, prog_argv, directory, directory 101 maint/gnulib/lib/spawn-pipe.h const char *directory, directory 116 maint/gnulib/lib/spawn-pipe.h const char *directory, directory 146 maint/gnulib/lib/spawn-pipe.h const char *directory, directory 365 maint/gnulib/lib/spawni.c const char *filename, const char *directory, directory 387 maint/gnulib/lib/spawni.c if (directory != NULL && IS_RELATIVE_FILE_NAME (filename)) directory 389 maint/gnulib/lib/spawni.c char *real_filename = concatenated_filename (directory, filename, NULL); directory 558 maint/gnulib/lib/spawni.c const char *directory = NULL; directory 587 maint/gnulib/lib/spawni.c if (do_open (&inh_handles, newfd, filename, directory, directory 606 maint/gnulib/lib/spawni.c if (directory != NULL && IS_RELATIVE_FILE_NAME (newdir)) directory 608 maint/gnulib/lib/spawni.c newdir = concatenated_filename (directory, newdir, NULL); directory 615 maint/gnulib/lib/spawni.c directory = newdir; directory 647 maint/gnulib/lib/spawni.c directory, false); directory 657 maint/gnulib/lib/spawni.c process_creation_flags, envblock, directory, &sinfo, directory 31 maint/gnulib/lib/xconcat-filename.c xconcatenated_filename (const char *directory, const char *filename, directory 36 maint/gnulib/lib/xconcat-filename.c result = concatenated_filename (directory, filename, suffix); directory 146 replace/scandir.c DIR *directory; directory 155 replace/scandir.c if ((directory = opendir(directory_name)) == NULL) { directory 161 replace/scandir.c closedir(directory); directory 167 replace/scandir.c while (entry = readdir(directory), entry) directory 196 replace/scandir.c closedir(directory); directory 211 replace/scandir.c closedir(directory); directory 224 replace/scandir.c closedir(directory);