| /src/lib/libc/gen/ |
| ftw.c | 42 char * const paths[2] = { __UNCONST(path), NULL }; local 53 ftsp = fts_open(paths, FTS_COMFOLLOW | FTS_NOCHDIR, NULL);
|
| nftw.c | 43 char * const paths[2] = { __UNCONST(path), NULL }; local 63 ftsp = fts_open(paths, ftsflags, NULL);
|
| /src/usr.sbin/btattach/ |
| firmload.c | 42 firmware_search(char *paths, const char *drvname, const char *imgname) 48 p = strtok(paths, HW_FIRMWARE_PATH_DELIM); 72 char *paths; local 75 paths = asysctlbyname(HW_FIRMWARE_PATH, &len); 76 if (paths == NULL) 79 fd = firmware_search(paths, drvname, imgname); 81 free(paths);
|
| /src/sys/arch/evbarm/integrator/ |
| integrator_boot.h | 12 char paths[8][128]; member in union:intbootinfo::__anon1314
|
| /src/tests/include/ |
| t_paths.c | 39 #include <paths.h> 55 } paths[] = { variable in typeref:struct:__anon7810 117 ATF_TC(paths); variable 118 ATF_TC_HEAD(paths, tc) 120 atf_tc_set_md_var(tc, "descr", "A basic test for <paths.h>"); 123 ATF_TC_BODY(paths, tc) 137 for (i = 0; i < __arraycount(paths); i++) { 138 (void)fprintf(stderr, "testing '%s'\n", paths[i].path); 141 fd = open(paths[i].path, O_RDONLY); 145 if ((paths[i].flags & PATH_OPT) == 0) [all...] |
| /src/tests/lib/libc/gen/ |
| t_realpath.c | 46 } paths[] = { variable in typeref:struct:__anon7839 76 for (i = 0; i < __arraycount(paths); i++) { 80 ptr = realpath(paths[i].path, buf); 82 if (ptr == NULL && paths[i].result == NULL) 85 if (ptr == NULL && paths[i].result != NULL) 86 atf_tc_fail("realpath failed for '%s'", paths[i].path); 88 if (strcmp(paths[i].result, buf) != 0) 90 paths[i].result, buf);
|
| /src/sys/arch/netwinder/include/ |
| netwinder_boot.h | 18 char paths[8][128]; member in union:nwbootinfo::__anon1707
|
| /src/external/bsd/mdocml/dist/ |
| manconf.h | 22 /* List of unique, absolute paths to manual trees. */ 25 char **paths; member in struct:manpaths
|
| cgi.c | 979 struct manpaths paths; local 1004 paths.sz = 1; 1005 paths.paths = mandoc_malloc(sizeof(char *)); 1006 paths.paths[0] = mandoc_strdup("."); 1043 else if (mansearch(&search, &paths, argc, argv, &res, &ressz) == 0) 1053 free(paths.paths[0]); 1054 free(paths.paths) [all...] |
| /src/external/bsd/nsd/dist/ |
| zonec.c | 309 char **paths; local 321 assert((zone->includes.count == 0) == (zone->includes.paths == NULL)); 324 if (strcmp(path, zone->includes.paths[i]) == 0) 327 paths = region_alloc_array( 328 database->region, zone->includes.count + 1, sizeof(*paths)); 330 const size_t size = zone->includes.count * sizeof(*paths); 331 memcpy(paths, zone->includes.paths, size); 332 region_recycle(database->region, zone->includes.paths, size); 334 paths[zone->includes.count] = region_strdup(database->region, path) [all...] |
| namedb.h | 145 char **paths; member in struct:zone::__anon7302
|
| /src/external/bsd/nvi/dist/ex/ |
| tag.h | 32 char **paths; /* Array of search paths for this cscope. */ member in struct:_csc
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| sanitizer_linux_test.cc | 231 const char *paths[] = { "", "/", "/path/to/" }; local 235 for (uptr i = 0; i < ARRAY_SIZE(paths); i++) 239 paths[i], base_names[k], suffixes[j]);
|
| /src/external/bsd/tmux/dist/ |
| tmux.c | 142 expand_paths(const char *s, char ***paths, u_int *n, int no_realpath) 149 *paths = NULL; 172 if (strcmp(path, (*paths)[i]) == 0) 180 *paths = xreallocarray(*paths, (*n) + 1, sizeof *paths); 181 (*paths)[(*n)++] = path; 189 char **paths, *path, *base; local 199 expand_paths(TMUX_SOCK, &paths, &n, 0); 204 path = paths[0]; /* can only have one socket! * [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/config/i386/ |
| intelmic-mkoffload.cc | 166 char **paths = NULL; local 189 n_paths = parse_env_var (getenv ("COMPILER_PATH"), &paths); 192 size_t len = strlen (paths[i]) + 1 + strlen (name) + 1; 194 sprintf (target_compiler, "%s/%s", paths[i], name); 203 free_array_of_ptrs ((void **) paths, n_paths);
|
| /src/external/gpl3/gdb.old/dist/sim/igen/ |
| ld-decode.h | 233 decode_path_list *paths; member in struct:_decode_table
|
| /src/external/gpl3/gdb/dist/sim/igen/ |
| ld-decode.h | 233 decode_path_list *paths; member in struct:_decode_table
|
| /src/external/bsd/atf/dist/tools/ |
| atf-report.cpp | 683 std::set< tools::fs::path > paths; local 689 if (paths.find(p) != paths.end()) 692 paths.insert((*iter).second);
|
| /src/external/gpl3/gcc.old/dist/gcc/config/nvptx/ |
| mkoffload.cc | 451 char **paths = NULL; local 453 n_paths = parse_env_var (getenv ("COMPILER_PATH"), &paths); 456 len = strlen (paths[i]) + 1 + strlen (GCC_INSTALL_NAME) + 1; 458 sprintf (driver, "%s/%s", paths[i], GCC_INSTALL_NAME); 465 free_array_of_ptrs ((void **) paths, n_paths);
|
| /src/external/public-domain/sqlite/dist/tea/win/ |
| nmakehlp.c | 710 * Mostly needed to setup paths for testing. 806 static const char *paths[] = {"..", "..\\..", "..\\..\\.."}; 808 for (i = 0; i < (sizeof(paths)/sizeof(paths[0])); ++i) { 809 ret = LocateDependencyHelper(paths[i], keypath); 796 static const char *paths[] = {"..", "..\\\\..", "..\\\\..\\\\.."}; local
|
| /src/libexec/makewhatis/ |
| makewhatis.c | 56 #include <paths.h> 134 char *paths[2], **p, *sl; local 183 paths[1] = NULL; 202 * glob malloc()s space for the paths, so it's 206 paths[0] = *p; 210 makewhatis(paths); 216 exit(makewhatis(paths)); 220 makewhatis(paths);
|
| /src/external/gpl3/gcc/dist/gcc/config/nvptx/ |
| mkoffload.cc | 679 char **paths = NULL; local 681 n_paths = parse_env_var (getenv ("COMPILER_PATH"), &paths); 684 len = strlen (paths[i]) + 1 + strlen (GCC_INSTALL_NAME) + 1; 686 sprintf (driver, "%s/%s", paths[i], GCC_INSTALL_NAME); 693 free_array_of_ptrs ((void **) paths, n_paths);
|
| /src/external/mit/libuv/dist/src/unix/ |
| fsevents.c | 223 char** paths; local 237 paths = eventPaths; 253 path = paths[i]; 259 /* Filter out paths that are outside handle's request */ 330 CFArrayRef paths) { 365 paths, 405 CFStringRef* paths; local 410 paths = NULL; 433 /* Create list of all watched paths */ 437 paths = uv__malloc(sizeof(*paths) * path_count) [all...] |
| /src/usr.sbin/installboot/ |
| evboards.c | 459 * Returns an array of u-boot package paths to scan for 498 * Because we want to follow the usual "paths are listed in priority 499 * order" semantics, we reverse the order of the paths when we put 827 char **paths; local 833 paths = evb_uboot_pkg_paths(params, NULL, &pathsbuf); 834 if (paths == NULL) { 839 fts = fts_open(paths, FTS_COMFOLLOW | FTS_LOGICAL | FTS_NOCHDIR, NULL);
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaAccess.cpp | 943 CXXBasePaths &Paths) { 944 // Derive the paths to the desired base. 948 // FIXME: fail correctly when there are dependent paths. 950 Paths); 961 for (CXXBasePaths::paths_iterator PI = Paths.begin(), PE = Paths.end(); 1200 CXXBasePaths paths; local 1201 CXXBasePath &path = *FindBestPath(S, EC, entity, accessSoFar, paths); 1336 // Before we try to recalculate access paths, try to white-list 1393 CXXBasePaths Paths; [all...] |