Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 25 of 1220) sorted by relevance

12345678910>>...49

/netbsd-src/tests/include/
H A Dt_paths.c55 } paths[] = { variable
117 ATF_TC(paths);
118 ATF_TC_HEAD(paths, tc) in ATF_TC_HEAD() argument
123 ATF_TC_BODY(paths, tc) in ATF_TC_BODY() argument
137 for (i = 0; i < __arraycount(paths); i++) { in ATF_TC_BODY()
138 (void)fprintf(stderr, "testing '%s'\n", paths[i].path); in ATF_TC_BODY()
141 fd = open(paths[i].path, O_RDONLY); in ATF_TC_BODY()
145 if ((paths[i].flags & PATH_OPT) == 0) { in ATF_TC_BODY()
147 " does not exist", paths[i].path); in ATF_TC_BODY()
153 if ((paths[i].flags & PATH_ROOT) == 0) { in ATF_TC_BODY()
[all …]
/netbsd-src/usr.sbin/btattach/
H A Dfirmload.c42 firmware_search(char *paths, const char *drvname, const char *imgname) in firmware_search() argument
48 p = strtok(paths, HW_FIRMWARE_PATH_DELIM); in firmware_search()
72 char *paths; in firmware_open() local
75 paths = asysctlbyname(HW_FIRMWARE_PATH, &len); in firmware_open()
76 if (paths == NULL) in firmware_open()
79 fd = firmware_search(paths, drvname, imgname); in firmware_open()
81 free(paths); in firmware_open()
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Danalyzer.opt59 Warn about code paths in which a stdio FILE can be closed more than once.
63 Warn about code paths in which a pointer can be freed more than once.
67 Warn about code paths in which sensitive data is written to a file.
71 Warn about code paths in which a stdio FILE is not closed.
75 Warn about code paths in which a non-heap pointer is freed.
79 Warn about code paths in which a heap-allocated pointer leaks.
83 Warn about code paths in which the wrong deallocation function is called.
87 Warn about code paths in which a possibly-NULL value is passed to a must-not-be-NULL function argum…
91 Warn about code paths in which a possibly-NULL pointer is dereferenced.
95 Warn about code paths in which an async-signal-unsafe function is called from a signal handler.
[all …]
/netbsd-src/tests/lib/libc/gen/
H A Dt_realpath.c46 } paths[] = { variable
76 for (i = 0; i < __arraycount(paths); i++) { in ATF_TC_BODY()
80 ptr = realpath(paths[i].path, buf); in ATF_TC_BODY()
82 if (ptr == NULL && paths[i].result == NULL) in ATF_TC_BODY()
85 if (ptr == NULL && paths[i].result != NULL) in ATF_TC_BODY()
86 atf_tc_fail("realpath failed for '%s'", paths[i].path); in ATF_TC_BODY()
88 if (strcmp(paths[i].result, buf) != 0) in ATF_TC_BODY()
90 paths[i].result, buf); in ATF_TC_BODY()
/netbsd-src/external/bsd/openldap/dist/libraries/liblunicode/ucdata/
H A Ducdata.c98 _ucopenfile(char *paths, char *filename, char *mode) in _ucopenfile() argument
106 dp = paths; in _ucopenfile()
145 _ucprop_load(char *paths, int reload) in _ucprop_load() argument
168 if ((in = _ucopenfile(paths, "ctype.dat", "rb")) == 0) in _ucprop_load()
332 _uccase_load(char *paths, int reload) in _uccase_load() argument
349 if ((in = _ucopenfile(paths, "case.dat", "rb")) == 0) in _uccase_load()
527 _uccomp_load(char *paths, int reload) in _uccomp_load() argument
544 if ((in = _ucopenfile(paths, "comp.dat", "rb")) == 0) in _uccomp_load()
725 _ucdcmp_load(char *paths, int reload) in _ucdcmp_load() argument
742 if ((in = _ucopenfile(paths, "decomp.dat", "rb")) == 0) in _ucdcmp_load()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-incpath.cc70 add_globalpaths (Strings *paths) in add_globalpaths() argument
72 if (paths) in add_globalpaths()
77 for (size_t i = 0; i < paths->length; i++) in add_globalpaths()
79 const char *path = (*paths)[i]; in add_globalpaths()
97 add_filepaths (Strings *paths) in add_filepaths() argument
99 if (paths) in add_filepaths()
104 for (size_t i = 0; i < paths->length; i++) in add_filepaths()
106 const char *path = (*paths)[i]; in add_filepaths()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-incpath.cc71 add_globalpaths (Strings *paths) in add_globalpaths() argument
73 if (paths) in add_globalpaths()
78 for (size_t i = 0; i < paths->dim; i++) in add_globalpaths()
80 const char *path = (*paths)[i]; in add_globalpaths()
98 add_filepaths (Strings *paths) in add_filepaths() argument
100 if (paths) in add_filepaths()
105 for (size_t i = 0; i < paths->dim; i++) in add_filepaths()
107 const char *path = (*paths)[i]; in add_filepaths()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Danalyzer.opt43 Warn about code paths in which a stdio FILE can be closed more than once.
47 Warn about code paths in which a pointer can be freed more than once.
51 Warn about code paths in which sensitive data is written to a file.
55 Warn about code paths in which a stdio FILE is not closed.
59 Warn about code paths in which a non-heap pointer is freed.
63 Warn about code paths in which a heap-allocated pointer leaks.
67 Warn about code paths in which a possibly-NULL value is passed to a must-not-be-NULL function argum…
71 Warn about code paths in which a possibly-NULL pointer is dereferenced.
75 Warn about code paths in which an async-signal-unsafe function is called from a signal handler.
79 Warn about code paths in which NULL is passed to a must-not-be-NULL function argument.
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/llvm/
H A Dconfig.py179 paths = [norm(p) for p in current_paths]
181 paths = []
191 paths.remove(p)
194 paths = [p] + paths
195 value = os.pathsep.join(paths)
480 paths = [getattr(self.config, pp) for pp in exe_dir_props
482 paths = additional_tool_dirs + paths
483 self.with_environment('PATH', paths, append_path=True)
491 paths = [getattr(self.config, pp) for pp in lib_dir_props
494 self.with_environment('LD_LIBRARY_PATH', paths, append_path=True)
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/analyzer/
H A DSATestUtils.py9 def which(command: str, paths: Optional[str] = None) -> Optional[str]:
13 if paths is None:
14 paths = os.environ.get('PATH', '')
21 if not paths:
22 paths = os.defpath
32 for path in paths.split(os.pathsep):
/netbsd-src/external/bsd/mdocml/dist/
H A Dmain.c523 (void)chdir(conf.manpath.paths[resp->ipath]); in main()
700 fs_lookup(const struct manpaths *paths, size_t ipath, in fs_lookup() argument
712 paths->paths[ipath], sec, name, sec); in fs_lookup()
718 paths->paths[ipath], sec, name); in fs_lookup()
727 paths->paths[ipath], sec, arch, name, sec); in fs_lookup()
734 paths->paths[ipath], sec, name); in fs_lookup()
744 if (res != NULL || ipath + 1 != paths->sz) in fs_lookup()
755 name, sec, BINM_MAKEWHATIS, paths->paths[ipath]); in fs_lookup()
773 fs_search(const struct mansearch *cfg, const struct manpaths *paths, in fs_search() argument
788 for (ipath = 0; ipath < paths->sz; ipath++) { in fs_search()
[all …]
H A Dmansearch.c85 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 Dmanpath.c135 if (0 == strcmp(dirs->paths[i], dir)) in manpath_add()
144 dirs->paths = mandoc_reallocarray(dirs->paths, in manpath_add()
147 dirs->paths[dirs->sz++] = mandoc_strdup(cp); in manpath_add()
156 free(conf->manpath.paths[i]); in manconf_free()
158 free(conf->manpath.paths); in manconf_free()
H A Dcgi.c955 struct manpaths paths; in pg_search() local
980 paths.sz = 1; in pg_search()
981 paths.paths = mandoc_malloc(sizeof(char *)); in pg_search()
982 paths.paths[0] = mandoc_strdup("."); in pg_search()
1019 else if (mansearch(&search, &paths, argc, argv, &res, &ressz) == 0) in pg_search()
1028 free(paths.paths[0]); in pg_search()
1029 free(paths.paths); in pg_search()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/
H A Dutil.py100 def which(command, paths = None): argument
104 if paths is None:
105 paths = os.environ.get('PATH','')
112 if not paths:
113 paths = os.defpath
123 for path in paths.split(os.pathsep):
139 def whichTools(tools, paths): argument
140 for path in paths.split(os.pathsep):
/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dfsevents.c225 char** paths; in uv__fsevents_event_cb() local
239 paths = eventPaths; in uv__fsevents_event_cb()
255 path = paths[i]; in uv__fsevents_event_cb()
334 static int uv__fsevents_create_stream(uv_loop_t* loop, CFArrayRef paths) { in uv__fsevents_create_stream() argument
370 paths, in uv__fsevents_create_stream()
417 CFStringRef* paths; in uv__fsevents_reschedule() local
423 paths = NULL; in uv__fsevents_reschedule()
450 paths = uv__malloc(sizeof(*paths) * path_count); in uv__fsevents_reschedule()
451 if (paths == NULL) { in uv__fsevents_reschedule()
463 paths[i] = in uv__fsevents_reschedule()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-ssa-threadupdate.c260 static vec<vec<jump_thread_edge *> *> paths; variable
1895 for (i = 0; i < paths.length (); i++) in mark_threaded_blocks()
1897 vec<jump_thread_edge *> *path = paths[i]; in mark_threaded_blocks()
1916 for (i = 0; i < paths.length ();) in mark_threaded_blocks()
1918 vec<jump_thread_edge *> *path = paths[i]; in mark_threaded_blocks()
1931 paths.unordered_remove (i); in mark_threaded_blocks()
1945 for (i = 0; i < paths.length ();) in mark_threaded_blocks()
1947 vec<jump_thread_edge *> *path = paths[i]; in mark_threaded_blocks()
1968 paths.unordered_remove (i); in mark_threaded_blocks()
2143 vec<jump_thread_edge *> *p = paths[pathno]; in debug_path()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/
H A Dutil.py208 def which(command, paths=None): argument
212 if paths is None:
213 paths = os.environ.get('PATH', '')
220 if not paths:
221 paths = os.defpath
231 for path in paths.split(os.pathsep):
247 def whichTools(tools, paths): argument
248 for path in paths.split(os.pathsep):
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Dcheck_path.py15 paths = argv[2:]
19 for idx, dir in enumerate(paths):
22 for idx, file in enumerate(paths):
/netbsd-src/external/bsd/kyua-cli/dist/utils/fs/
H A Dpath_test.cpp254 std::set< path > paths; in ATF_TEST_CASE_BODY() local
255 paths.insert(path("/a")); in ATF_TEST_CASE_BODY()
256 ATF_REQUIRE(paths.find(path("//a")) != paths.end()); in ATF_TEST_CASE_BODY()
257 ATF_REQUIRE(paths.find(path("a")) == paths.end()); in ATF_TEST_CASE_BODY()
/netbsd-src/external/gpl3/binutils/dist/gprof/
H A Dsearch_list.c28 search_list_append (Search_List *list, const char *paths) in search_list_append() argument
34 colon = paths - 1; in search_list_append()
/netbsd-src/external/gpl3/binutils.old/dist/gprof/
H A Dsearch_list.c28 search_list_append (Search_List *list, const char *paths) in search_list_append() argument
34 colon = paths - 1; in search_list_append()
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A Dgdb_indent.sh13 paths=`echo $PATH | sed \
18 for path in $paths
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nvptx/
H A Dmkoffload.c438 char **paths = NULL; in main() local
440 n_paths = parse_env_var (getenv ("COMPILER_PATH"), &paths); in main()
443 len = strlen (paths[i]) + 1 + strlen (GCC_INSTALL_NAME) + 1; in main()
445 sprintf (driver, "%s/%s", paths[i], GCC_INSTALL_NAME); in main()
452 free_array_of_ptrs ((void **) paths, n_paths); in main()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/msbuild/
H A DLLVM.Cpp.Common.props38 <!-- Find an installed LLVM and set up our paths. -->
55 …<!-- Set some paths (such as include paths) that are common to all platforms. This is the same as…
56 the default paths for cl will use.

12345678910>>...49