| /dflybsd-src/sbin/hammer2/ |
| H A D | cmd_setcheck.c | 41 cmd_setcheck(const char *check_str, char **paths) in cmd_setcheck() argument 76 while (*paths) { in cmd_setcheck() 77 if (lstat(*paths, &st) == 0) { in cmd_setcheck() 80 *paths, in cmd_setcheck() 85 printf("%s: %s\n", *paths, strerror(errno)); in cmd_setcheck() 88 ++paths; in cmd_setcheck()
|
| H A D | cmd_setcomp.c | 41 cmd_setcomp(const char *comp_str, char **paths) in cmd_setcomp() argument 110 while (*paths) { in cmd_setcomp() 111 if (lstat(*paths, &st) == 0) { in cmd_setcomp() 115 *paths, in cmd_setcomp() 120 printf("%s: %s\n", *paths, strerror(errno)); in cmd_setcomp() 123 ++paths; in cmd_setcomp()
|
| H A D | hammer2.h | 163 int cmd_setcomp(const char *comp_str, char **paths); 164 int cmd_setcheck(const char *comp_str, char **paths);
|
| /dflybsd-src/contrib/mdocml/ |
| H A D | main.c | 472 printf("%s:", conf.manpath.paths[i]); in main() 473 printf("%s\n", conf.manpath.paths[i]); in main() 735 fs_lookup(const struct manpaths *paths, size_t ipath, in fs_lookup() argument 755 paths->paths[ipath], sec, name, sec); in fs_lookup() 761 paths->paths[ipath], sec, name); in fs_lookup() 770 paths->paths[ipath], sec, arch, name, sec); in fs_lookup() 776 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup() 779 glob_esc(&cp, paths->paths[ipath], slman); in fs_lookup() 796 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup() 800 glob_esc(&cp, paths->paths[ipath], slman); in fs_lookup() [all …]
|
| H A D | mansearch.c | 85 const struct manpaths *paths, in mansearch() argument 141 for (i = 0; i < paths->sz; i++) { in mansearch() 142 if (chdir_status && paths->paths[i][0] != '/') { in mansearch() 144 warnx("%s: getcwd: %s", paths->paths[i], buf); in mansearch() 151 if (chdir(paths->paths[i]) == -1) { in mansearch() 152 warn("%s", paths->paths[i]); in mansearch() 159 warn("%s/%s", paths->paths[i], MANDOC_DB); in mansearch() 189 paths->paths[i], page->file + 1); in mansearch() 195 page->file + 1, paths->paths[i]); in mansearch()
|
| H A D | manpath.c | 131 if (strcmp(dirs->paths[i], dir) == 0) in manpath_add() 137 dirs->paths = mandoc_reallocarray(dirs->paths, in manpath_add() 138 dirs->sz + 1, sizeof(*dirs->paths)); in manpath_add() 139 dirs->paths[dirs->sz++] = mandoc_strdup(cp); in manpath_add() 154 free(conf->manpath.paths[i]); in manconf_free() 156 free(conf->manpath.paths); in manconf_free()
|
| H A D | manconf.h | 25 char **paths; member
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | tree-ssa-threadupdate.c | 254 static vec<vec<jump_thread_edge *> *> paths; variable 1804 for (i = 0; i < paths.length (); i++) in mark_threaded_blocks() 1806 vec<jump_thread_edge *> *path = paths[i]; in mark_threaded_blocks() 1824 for (i = 0; i < paths.length ();) in mark_threaded_blocks() 1826 vec<jump_thread_edge *> *path = paths[i]; in mark_threaded_blocks() 1838 paths.unordered_remove (i); in mark_threaded_blocks() 1852 for (i = 0; i < paths.length ();) in mark_threaded_blocks() 1854 vec<jump_thread_edge *> *path = paths[i]; in mark_threaded_blocks() 1874 paths.unordered_remove (i); in mark_threaded_blocks() 2226 if (!paths.exists ()) in remove_jump_threads_including() [all …]
|
| H A D | lto-wrapper.c | 804 char **paths = NULL; in compile_offload_image() local 805 unsigned n_paths = parse_env_var (compiler_path, &paths, suffix); in compile_offload_image() 809 if (access_check (paths[i], X_OK) == 0) in compile_offload_image() 811 compiler = paths[i]; in compile_offload_image() 852 free_array_of_ptrs ((void **) paths, n_paths); in compile_offload_image() 934 char **paths = NULL; in find_crtoffloadtable() local 938 unsigned n_paths = parse_env_var (library_path, &paths, "/crtoffloadtable.o"); in find_crtoffloadtable() 942 if (access_check (paths[i], R_OK) == 0) in find_crtoffloadtable() 946 copy_file (crtoffloadtable, paths[i]); in find_crtoffloadtable() 955 free_array_of_ptrs ((void **) paths, n_paths); in find_crtoffloadtable()
|
| /dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/dbus/ |
| H A D | dbus_new_handlers_p2p.c | 1822 char **paths; member 1834 char **paths; in match_group_where_peer_is_client() local 1846 paths = os_realloc_array(data->paths, data->nb_paths + 1, in match_group_where_peer_is_client() 1848 if (paths == NULL) in match_group_where_peer_is_client() 1851 data->paths = paths; in match_group_where_peer_is_client() 1852 data->paths[data->nb_paths] = wpa_s_go->dbus_groupobj_path; in match_group_where_peer_is_client() 1888 data.paths = os_calloc(1, sizeof(char *)); in wpas_dbus_getter_p2p_peer_groups() 1889 if (data.paths == NULL) in wpas_dbus_getter_p2p_peer_groups() 1891 data.paths[0] = wpa_s_go->dbus_groupobj_path; in wpas_dbus_getter_p2p_peer_groups() 1903 if (data.paths == NULL) { in wpas_dbus_getter_p2p_peer_groups() [all …]
|
| H A D | dbus_new_handlers.c | 907 const char **paths; in wpas_dbus_getter_interfaces() local 916 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_interfaces() 917 if (!paths) { in wpas_dbus_getter_interfaces() 924 paths[i++] = wpa_s->dbus_new_path; in wpas_dbus_getter_interfaces() 929 paths, num, error); in wpas_dbus_getter_interfaces() 931 os_free(paths); in wpas_dbus_getter_interfaces() 3639 char **paths; in wpas_dbus_getter_bsss() local 3649 paths = os_calloc(wpa_s->num_bss, sizeof(char *)); in wpas_dbus_getter_bsss() 3650 if (!paths) { in wpas_dbus_getter_bsss() 3657 paths[i] = os_zalloc(WPAS_DBUS_OBJECT_PATH_MAX); in wpas_dbus_getter_bsss() [all …]
|
| /dflybsd-src/contrib/binutils-2.27/gprof/ |
| H A D | search_list.c | 28 search_list_append (Search_List *list, const char *paths) in search_list_append() argument 34 colon = paths - 1; in search_list_append()
|
| /dflybsd-src/contrib/binutils-2.34/gprof/ |
| H A D | search_list.c | 28 search_list_append (Search_List *list, const char *paths) in search_list_append() argument 34 colon = paths - 1; in search_list_append()
|
| /dflybsd-src/contrib/bmake/ |
| H A D | parse.c | 1140 ClearPaths(SearchPathList *paths) in ClearPaths() argument 1142 if (paths != NULL) { in ClearPaths() 1144 for (ln = paths->first; ln != NULL; ln = ln->next) in ClearPaths() 1253 HandleDependencySourcesEmpty(ParseSpecial special, SearchPathList *paths) in HandleDependencySourcesEmpty() argument 1269 ClearPaths(paths); in HandleDependencySourcesEmpty() 1290 AddToPaths(const char *dir, SearchPathList *paths) in AddToPaths() argument 1292 if (paths != NULL) { in AddToPaths() 1294 for (ln = paths->first; ln != NULL; ln = ln->next) in AddToPaths() 1306 SearchPathList *paths) in ParseDependencySourceSpecial() argument 1313 AddToPaths(word, paths); in ParseDependencySourceSpecial() [all …]
|
| /dflybsd-src/lib/libc/gen/ |
| H A D | ftw.c | 36 char * const paths[2] = { (char *)path, NULL }; in ftw() local 47 ftsp = fts_open(paths, FTS_LOGICAL | FTS_COMFOLLOW | FTS_NOCHDIR, NULL); in ftw()
|
| H A D | nftw.c | 35 char * const paths[2] = { (char *)path, NULL }; in nftw() local 57 ftsp = fts_open(paths, ftsflags, NULL); in nftw()
|
| /dflybsd-src/lib/libutil/ |
| H A D | login_class.c | 194 setclassenvironment(login_cap_t *lc, const struct passwd * pwd, int paths) in setclassenvironment() argument 196 struct login_vars *vars = paths ? pathvars : envars; in setclassenvironment() 205 const char * var = paths ? login_getpath(lc, vars->tag, NULL) in setclassenvironment() 223 if (!paths) { in setclassenvironment()
|
| /dflybsd-src/usr.bin/find/ |
| H A D | find.c | 171 find_execute(PLAN *plan, char *paths[]) in find_execute() argument 177 tree = fts_open(paths, ftsoptions, (issort ? find_compare : NULL)); in find_execute()
|
| /dflybsd-src/contrib/nvi2/ex/ |
| H A D | ex_cscope.c | 339 CALLOC_GOTO(sp, csc->paths, nentries + 1, sizeof(char **)); in get_paths() 340 for (pathp = csc->paths, p = strtok(csc->pbuf, ":"); in get_paths() 355 CALLOC_GOTO(sp, csc->paths, 2, sizeof(char *)); in get_paths() 356 csc->paths[0] = csc->pbuf; in get_paths() 805 for (pp = csc->paths; *pp != NULL; ++pp) { in csc_file() 937 free(csc->paths); in terminate()
|
| H A D | tag.h | 29 char **paths; /* Array of search paths for this cscope. */ member
|
| /dflybsd-src/contrib/gcc-4.7/libcpp/ |
| H A D | files.c | 1244 const char **paths; member 1265 if (data->paths == NULL) in report_missing_guard() 1267 data->paths = XCNEWVEC (const char *, data->count); in report_missing_guard() 1271 data->paths[data->count++] = file->path; in report_missing_guard() 1293 data.paths = NULL; in _cpp_report_missing_guards() 1297 if (data.paths != NULL) in _cpp_report_missing_guards() 1303 qsort (data.paths, data.count, sizeof (const char *), in _cpp_report_missing_guards() 1309 fputs (data.paths[i], stderr); in _cpp_report_missing_guards() 1312 free (data.paths); in _cpp_report_missing_guards()
|
| /dflybsd-src/sys/dev/raid/vinum/ |
| H A D | .gdbinit.serial | 2 source .gdbinit.vinum.paths
|
| H A D | .gdbinit.crash | 3 source .gdbinit.vinum.paths
|
| /dflybsd-src/contrib/gcc-8.0/libcpp/ |
| H A D | files.c | 1380 const char **paths; member 1401 if (data->paths == NULL) in report_missing_guard() 1403 data->paths = XCNEWVEC (const char *, data->count); in report_missing_guard() 1407 data->paths[data->count++] = file->path; in report_missing_guard() 1429 data.paths = NULL; in _cpp_report_missing_guards() 1433 if (data.paths != NULL) in _cpp_report_missing_guards() 1439 qsort (data.paths, data.count, sizeof (const char *), in _cpp_report_missing_guards() 1445 fputs (data.paths[i], stderr); in _cpp_report_missing_guards() 1448 free (data.paths); in _cpp_report_missing_guards()
|
| /dflybsd-src/tools/tools/net80211/wesside/wesside/ |
| H A D | wesside.c | 897 char paths[3][3]; in log_dictionary() local 914 snprintf(paths[i], sizeof(paths[i]), "%.2X", body[i]); in log_dictionary() 923 strcat(path, paths[i]); in log_dictionary() 942 strcat(path, paths[2]); in log_dictionary() 1253 char paths[3][3]; in try_dictionary() local 1268 snprintf(paths[i], sizeof(paths[i]), "%.2X", body[i]); in try_dictionary() 1270 sprintf(path, "%s/%s/%s/%s", DICT_PATH, paths[0], paths[1], paths[2]); in try_dictionary()
|