dir 133 ompi/debuggers/ompi_debuggers.c static void check(char *dir, char *file, char **locations) dir 137 ompi/debuggers/ompi_debuggers.c opal_asprintf(&str, "%s/%s.so", dir, file); dir 564 ompi/mca/common/monitoring/common_monitoring.c enum mca_monitoring_osc_direction dir) dir 568 ompi/mca/common/monitoring/common_monitoring.c if( SEND == dir ) { dir 64 ompi/mca/common/monitoring/common_monitoring.h enum mca_monitoring_osc_direction dir); dir 57 ompi/mca/fs/base/fs_base_get_parent_dir.c char *dir = NULL, *slash; dir 71 ompi/mca/fs/base/fs_base_get_parent_dir.c dir = strdup(filename); dir 88 ompi/mca/fs/base/fs_base_get_parent_dir.c dir = strdup(filename); dir 93 ompi/mca/fs/base/fs_base_get_parent_dir.c dir = strdup(linkbuf); dir 97 ompi/mca/fs/base/fs_base_get_parent_dir.c slash = strrchr(dir, '/'); dir 101 ompi/mca/fs/base/fs_base_get_parent_dir.c opal_string_copy(dir, ".", 2); dir 103 ompi/mca/fs/base/fs_base_get_parent_dir.c if (slash == dir) { dir 104 ompi/mca/fs/base/fs_base_get_parent_dir.c *(dir + 1) = '\0'; dir 110 ompi/mca/fs/base/fs_base_get_parent_dir.c *dirnamep = dir; dir 121 ompi/mca/fs/base/fs_base_get_parent_dir.c char *dir; dir 122 ompi/mca/fs/base/fs_base_get_parent_dir.c mca_fs_base_get_parent_dir (fname, &dir ); dir 123 ompi/mca/fs/base/fs_base_get_parent_dir.c ret = opal_path_nfs (dir, &fstype); dir 124 ompi/mca/fs/base/fs_base_get_parent_dir.c free(dir); dir 175 ompi/mca/fs/ufs/fs_ufs_file_open.c char *dir; dir 176 ompi/mca/fs/ufs/fs_ufs_file_open.c mca_fs_base_get_parent_dir ( (char *)filename, &dir ); dir 177 ompi/mca/fs/ufs/fs_ufs_file_open.c bret = opal_path_nfs (dir, &fstype); dir 178 ompi/mca/fs/ufs/fs_ufs_file_open.c free(dir); dir 162 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c char *dir = NULL, *slash; dir 171 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c dir = ADIOI_Strdup(filename); dir 189 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c dir = ADIOI_Strdup(filename); dir 194 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c dir = ADIOI_Strdup(linkbuf); dir 199 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c slash = strrchr(dir, '/'); dir 200 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c if (!slash) ADIOI_Strncpy(dir, ".", 2); dir 202 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c if (slash == dir) *(dir + 1) = '\0'; dir 206 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c *dirnamep = dir; dir 266 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c char *dir; dir 267 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c ADIO_FileSysType_parentdir(filename, &dir); dir 268 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c err = statvfs(dir, &vfsbuf); dir 270 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c ADIOI_Free(dir); dir 320 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c char *dir; dir 321 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c ADIO_FileSysType_parentdir(filename, &dir); dir 322 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c err = statfs(dir, &fsbuf); dir 323 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c ADIOI_Free(dir); dir 437 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c char *dir; dir 438 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c ADIO_FileSysType_parentdir(filename, &dir); dir 439 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c err = stat(dir, &sbuf); dir 440 ompi/mca/io/romio321/romio/adio/common/ad_fstype.c ADIOI_Free(dir); dir 205 opal/mca/base/mca_base_component_repository.c char *path_to_use = NULL, *dir, *ctx; dir 215 opal/mca/base/mca_base_component_repository.c dir = strtok_r (path_to_use, sep, &ctx); dir 217 opal/mca/base/mca_base_component_repository.c if ((0 == strcmp(dir, "USER_DEFAULT") || 0 == strcmp(dir, "USR_DEFAULT")) dir 219 opal/mca/base/mca_base_component_repository.c dir = mca_base_user_default_path; dir 220 opal/mca/base/mca_base_component_repository.c } else if (0 == strcmp(dir, "SYS_DEFAULT") || dir 221 opal/mca/base/mca_base_component_repository.c 0 == strcmp(dir, "SYSTEM_DEFAULT")) { dir 222 opal/mca/base/mca_base_component_repository.c dir = mca_base_system_default_path; dir 225 opal/mca/base/mca_base_component_repository.c if (0 != opal_dl_foreachfile(dir, process_repository_item, NULL)) { dir 228 opal/mca/base/mca_base_component_repository.c } while (NULL != (dir = strtok_r (NULL, sep, &ctx))); dir 2309 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 2315 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(dirpath, data->root_fd); dir 2316 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (dir) { dir 2317 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 2331 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 2540 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 2543 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(path, data->root_fd); dir 2544 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (dir) { dir 2548 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(path, data->root_fd); dir 2549 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (dir) dir 2554 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 3125 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 3132 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(path, data->root_fd); dir 3133 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 3140 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 3147 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 3432 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 3439 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir(path, data->root_fd); dir 3440 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 3446 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 3476 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 5095 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 5098 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir("/sys/class/block", root_fd); dir 5099 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 5102 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 5133 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 5174 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 5177 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir("/sys/class/net", root_fd); dir 5178 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 5181 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 5201 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 5291 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 5294 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir("/sys/class/infiniband", root_fd); dir 5295 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 5298 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 5322 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 5385 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 5388 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir("/sys/class/mic", root_fd); dir 5389 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 5392 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 5411 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 5421 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 5424 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir("/sys/class/drm", root_fd); dir 5425 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 5428 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 5466 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 5476 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 5479 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir("/sys/class/dma", root_fd); dir 5480 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 5483 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 5501 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 5700 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 5709 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir("/sys/bus/pci/devices/", root_fd); dir 5710 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!dir) dir 5713 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 5824 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 5877 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c DIR *dir; dir 5880 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dir = hwloc_opendir("/sys/bus/pci/slots/", root_fd); dir 5881 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (dir) { dir 5882 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((dirent = readdir(dir)) != NULL) { dir 5903 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c closedir(dir); dir 1367 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c DIR *dir; dir 1371 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c dir = opendir(src_cpuiddump_path); dir 1372 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c if (!dir) dir 1393 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c while ((dirent = readdir(dir)) != NULL) { dir 1404 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c closedir(dir); dir 1420 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-x86.c closedir(dir); dir 1391 opal/mca/pmix/ext2x/ext2x.c opal_pmix_alloc_directive_t ext2x_convert_allocdir(pmix_alloc_directive_t dir) dir 1393 opal/mca/pmix/ext2x/ext2x.c switch (dir) { dir 335 opal/mca/pmix/ext2x/ext2x.h OPAL_MODULE_DECLSPEC opal_pmix_alloc_directive_t ext2x_convert_allocdir(pmix_alloc_directive_t dir); dir 1621 opal/mca/pmix/ext3x/ext3x.c opal_pmix_alloc_directive_t ext3x_convert_allocdir(pmix_alloc_directive_t dir) dir 1623 opal/mca/pmix/ext3x/ext3x.c switch (dir) { dir 340 opal/mca/pmix/ext3x/ext3x.h OPAL_MODULE_DECLSPEC opal_pmix_alloc_directive_t ext3x_convert_allocdir(pmix_alloc_directive_t dir); dir 51 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c char hostname[1024], dir[1024]; dir 59 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c if (NULL == getcwd(dir, 1024)) { dir 94 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c if (0 > asprintf(&app->cmd, "%s/client", dir)) { dir 99 opal/mca/pmix/pmix4x/pmix/examples/dynamic.c if (0 > asprintf(&app->argv[0], "%s/client", dir)) { dir 204 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c char *path_to_use = NULL, *dir, *ctx; dir 214 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c dir = strtok_r (path_to_use, sep, &ctx); dir 216 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c if ((0 == strcmp(dir, "USER_DEFAULT") || 0 == strcmp(dir, "USR_DEFAULT")) dir 218 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c dir = pmix_mca_base_user_default_path; dir 219 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c } else if (0 == strcmp(dir, "SYS_DEFAULT") || dir 220 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c 0 == strcmp(dir, "SYSTEM_DEFAULT")) { dir 221 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c dir = pmix_mca_base_system_default_path; dir 224 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c if (0 != pmix_pdl_foreachfile(dir, process_repository_item, NULL) && dir 225 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c !(0 == strcmp(dir, pmix_mca_base_system_default_path) || 0 == strcmp(dir, pmix_mca_base_user_default_path))) { dir 230 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c "failed to add component dir", true, dir); dir 232 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_repository.c } while (NULL != (dir = strtok_r (NULL, sep, &ctx))); dir 196 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c DIR *dir; dir 203 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c dir = opendir(path); dir 204 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c if (NULL == dir) { dir 209 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c while (NULL != (d_ptr = readdir(dir))) { dir 239 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c closedir(dir); dir 824 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c pmix_info_t dir; dir 834 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c PMIX_INFO_LOAD(&dir, PMIX_REGISTER_CLEANUP, cptr, PMIX_STRING); dir 836 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c PMIx_Job_control_nb(&pmix_globals.myid, 1, &dir, 1, NULL, NULL); dir 837 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c PMIX_INFO_DESTRUCT(&dir); dir 374 opal/mca/pmix/pmix4x/pmix/src/util/output.c void pmix_output_set_output_file_info(const char *dir, dir 386 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != dir) { dir 388 opal/mca/pmix/pmix4x/pmix/src/util/output.c output_dir = strdup(dir); dir 485 opal/mca/pmix/pmix4x/pmix/src/util/output.h PMIX_EXPORT void pmix_output_set_output_file_info(const char *dir, dir 1608 opal/mca/pmix/pmix4x/pmix4x.c opal_pmix_alloc_directive_t pmix4x_convert_allocdir(pmix_alloc_directive_t dir) dir 1610 opal/mca/pmix/pmix4x/pmix4x.c switch (dir) { dir 340 opal/mca/pmix/pmix4x/pmix4x.h OPAL_MODULE_DECLSPEC opal_pmix_alloc_directive_t pmix4x_convert_allocdir(pmix_alloc_directive_t dir); dir 476 opal/util/output.c void opal_output_set_output_file_info(const char *dir, dir 488 opal/util/output.c if (NULL != dir) { dir 490 opal/util/output.c output_dir = strdup(dir); dir 496 opal/util/output.h OPAL_DECLSPEC void opal_output_set_output_file_info(const char *dir, dir 296 orte/mca/odls/alps/odls_alps_module.c DIR *dir = opendir("/proc/self/fd"); dir 297 orte/mca/odls/alps/odls_alps_module.c if (NULL == dir) { dir 304 orte/mca/odls/alps/odls_alps_module.c int dir_scan_fd = dirfd(dir); dir 310 orte/mca/odls/alps/odls_alps_module.c while (NULL != (files = readdir(dir))) { dir 316 orte/mca/odls/alps/odls_alps_module.c closedir(dir); dir 328 orte/mca/odls/alps/odls_alps_module.c closedir(dir); dir 827 orte/mca/odls/base/odls_base_default_fns.c char dir[MAXPATHLEN]; dir 852 orte/mca/odls/base/odls_base_default_fns.c if (NULL == getcwd(dir, sizeof(dir))) { dir 855 orte/mca/odls/base/odls_base_default_fns.c *wdir = strdup(dir); dir 856 orte/mca/odls/base/odls_base_default_fns.c opal_setenv("PWD", dir, true, &app->env); dir 858 orte/mca/odls/base/odls_base_default_fns.c opal_setenv(OPAL_MCA_PREFIX"initial_wdir", dir, true, &app->env); dir 300 orte/mca/odls/default/odls_default_module.c DIR *dir = opendir("/proc/self/fd"); dir 301 orte/mca/odls/default/odls_default_module.c if (NULL == dir) { dir 308 orte/mca/odls/default/odls_default_module.c int dir_scan_fd = dirfd(dir); dir 314 orte/mca/odls/default/odls_default_module.c while (NULL != (files = readdir(dir))) { dir 320 orte/mca/odls/default/odls_default_module.c closedir(dir); dir 332 orte/mca/odls/default/odls_default_module.c closedir(dir); dir 341 orte/mca/odls/default/odls_default_module.c char dir[MAXPATHLEN]; dir 457 orte/mca/odls/default/odls_default_module.c getcwd(dir, sizeof(dir)); dir 460 orte/mca/odls/default/odls_default_module.c orte_process_info.nodename, dir, cd->app->app, strerror(errno)); dir 229 orte/mca/odls/pspawn/odls_pspawn.c DIR *dir = opendir("/proc/self/fd"); dir 230 orte/mca/odls/pspawn/odls_pspawn.c if (NULL == dir) { dir 237 orte/mca/odls/pspawn/odls_pspawn.c int dir_scan_fd = dirfd(dir); dir 242 orte/mca/odls/pspawn/odls_pspawn.c while (NULL != (files = readdir(dir))) { dir 248 orte/mca/odls/pspawn/odls_pspawn.c closedir(dir); dir 255 orte/mca/odls/pspawn/odls_pspawn.c closedir(dir); dir 827 orte/orted/pmix/pmix_server_dyn.c opal_pmix_alloc_directive_t dir, dir 231 orte/orted/pmix/pmix_server_internal.h opal_pmix_alloc_directive_t dir,