Home
last modified time | relevance | path

Searched refs:resolved (Results 1 – 25 of 136) sorted by relevance

123456

/freebsd/crypto/openssh/
H A Dsftp-realpath.c74 if (resolved == NULL) { in sftp_realpath()
75 resolved = malloc(PATH_MAX); in sftp_realpath()
76 if (resolved == NULL) in sftp_realpath()
84 resolved[0] = '/'; in sftp_realpath()
85 resolved[1] = '\0'; in sftp_realpath()
87 return (resolved); in sftp_realpath()
93 free(resolved); in sftp_realpath()
164 return (resolved); in sftp_realpath()
178 resolved[1] = 0; in sftp_realpath()
219 return (resolved); in sftp_realpath()
[all …]
/freebsd/lib/libc/stdlib/
H A Drealpath.c63 resolved[0] = '/'; in realpath1()
64 resolved[1] = '\0'; in realpath1()
66 return (resolved); in realpath1()
71 resolved[0] = '.'; in realpath1()
72 resolved[1] = '\0'; in realpath1()
127 resolved_len = q - resolved; in realpath1()
159 resolved[1] = 0; in realpath1()
202 return (resolved); in realpath1()
218 if (resolved != NULL) { in realpath()
222 if (resolved == NULL) in realpath()
[all …]
/freebsd/contrib/ntp/libntp/
H A Dntp_realpath.c68 retval = resolved; in realpath1()
110 resolved[0] = '/'; in realpath1()
111 resolved[1] = '\0'; in realpath1()
113 return (resolved); in realpath1()
118 resolved[0] = '.'; in realpath1()
119 resolved[1] = '\0'; in realpath1()
174 resolved_len = q - resolved; in realpath1()
187 if (lstat(resolved, &sb) != 0) in realpath1()
207 resolved[1] = '\0'; in realpath1()
213 resolved_len = q - resolved; in realpath1()
[all …]
/freebsd/contrib/bmake/
H A Drealpath.c82 if (resolved == NULL) { in realpath()
84 if (resolved == NULL) in realpath()
99 p = resolved; in realpath()
110 if (resolved && getcwd(resolved, MAXPATHLEN) == NULL) { in realpath()
115 len = strlen(resolved); in realpath()
126 if (p == resolved) in realpath()
129 return resolved; in realpath()
146 if (p != resolved) in realpath()
157 if (p == resolved) in realpath()
172 if (lstat(resolved, &sb) == -1) in realpath()
[all …]
/freebsd/contrib/ntp/tests/libntp/
H A Drealpath.c12 static char * resolved; variable
16 resolved = NULL; in setUp()
21 free(resolved); in tearDown()
22 resolved = NULL; in tearDown()
53 resolved = ntp_realpath("."); in test_CurrentWorkingDir()
54 TEST_ASSERT_NOT_NULL_MESSAGE(resolved, "failed to resolve '.'"); in test_CurrentWorkingDir()
81 resolved = ntp_realpath(nam); in test_DevLinks()
82 TEST_ASSERT_NOT_NULL_MESSAGE(resolved, errMsg("could not resolve '%s'", nam)); in test_DevLinks()
83 strlcpy(abs, resolved, sizeof(abs)); in test_DevLinks()
84 free(resolved); in test_DevLinks()
[all …]
/freebsd/contrib/wireguard-tools/
H A Dconfig.c42 struct addrinfo *resolved; in parse_port() local
55 ret = getaddrinfo(NULL, value, &hints, &resolved); in parse_port()
62 if (resolved->ai_family == AF_INET && resolved->ai_addrlen == sizeof(struct sockaddr_in)) { in parse_port()
65 …} else if (resolved->ai_family == AF_INET6 && resolved->ai_addrlen == sizeof(struct sockaddr_in6))… in parse_port()
71 freeaddrinfo(resolved); in parse_port()
200 struct addrinfo *resolved; in parse_endpoint() local
268 if ((resolved->ai_family == AF_INET && resolved->ai_addrlen == sizeof(struct sockaddr_in)) || in parse_endpoint()
269 (resolved->ai_family == AF_INET6 && resolved->ai_addrlen == sizeof(struct sockaddr_in6))) in parse_endpoint()
270 memcpy(endpoint, resolved->ai_addr, resolved->ai_addrlen); in parse_endpoint()
272 freeaddrinfo(resolved); in parse_endpoint()
[all …]
H A Dipc-uapi.h209 struct addrinfo *resolved; in userspace_get_device() local
232 if (getaddrinfo(begin, end, &hints, &resolved) != 0) { in userspace_get_device()
236 if ((resolved->ai_family == AF_INET && resolved->ai_addrlen == sizeof(struct sockaddr_in)) || in userspace_get_device()
237 (resolved->ai_family == AF_INET6 && resolved->ai_addrlen == sizeof(struct sockaddr_in6))) in userspace_get_device()
238 memcpy(&peer->endpoint.addr, resolved->ai_addr, resolved->ai_addrlen); in userspace_get_device()
240 freeaddrinfo(resolved); in userspace_get_device()
243 freeaddrinfo(resolved); in userspace_get_device()
/freebsd/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/
H A Dmodule-setup.sh.in17 local resolved
26 resolved="$(readlink -f "$pooldev")"
27 dinfo "zfsexpandknowledge: pool $1 has device $pooldev (which resolves to $resolved)"
28 echo "$resolved"
/freebsd/usr.sbin/snapinfo/
H A Dsnapinfo.c86 char resolved[PATH_MAX]; in main() local
93 if (realpath(path, resolved) == NULL || /* can create full path */ in main()
94 stat(resolved, &st) == -1 || /* is it stat'able */ in main()
98 path = resolved; in main()
/freebsd/sbin/mount/
H A Dgetmntopts.c122 checkpath(const char *path, char *resolved) in checkpath() argument
126 if (realpath(path, resolved) == NULL || stat(resolved, &sb) != 0) in checkpath()
136 checkpath_allow_file(const char *path, char *resolved) in checkpath_allow_file() argument
140 if (realpath(path, resolved) == NULL || stat(resolved, &sb) != 0) in checkpath_allow_file()
/freebsd/sbin/mount_nullfs/
H A Dmount_nullfs.c52 stat_realpath(const char *path, char *resolved, struct stat *sbp) in stat_realpath() argument
54 if (realpath(path, resolved) == NULL || stat(resolved, sbp) != 0) in stat_realpath()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp181 llvm::SmallString<128> resolved(pathname); in SetFile() local
184 if (needsNormalization(resolved)) in SetFile()
185 llvm::sys::path::remove_dots(resolved, true, m_style); in SetFile()
189 std::replace(resolved.begin(), resolved.end(), '\\', '/'); in SetFile()
191 if (resolved.empty()) { in SetFile()
201 llvm::StringRef filename = llvm::sys::path::filename(resolved, m_style); in SetFile()
205 llvm::StringRef directory = llvm::sys::path::parent_path(resolved, m_style); in SetFile()
/freebsd/usr.sbin/etcupdate/tests/
H A Dconflicts_test.sh194 resolved() function
229 resolved /etc/login.conf
239 resolved /etc/login.conf
258 resolved /etc/login.conf
/freebsd/contrib/unbound/iterator/
H A Diter_delegpt.c82 copy->nslist->resolved = ns->resolved; in delegpt_copy()
126 ns->resolved = 0; in delegpt_add_ns()
189 ns->resolved = 1; in delegpt_add_target()
255 if(!ns->resolved) in delegpt_count_ns()
303 (ns->resolved?"*":""), in delegpt_log()
391 if(ns->resolved) continue; in delegpt_count_missing_targets()
555 ns->resolved = 1; in delegpt_mark_neg()
578 ns->resolved = 1; in delegpt_no_ipv6()
588 ns->resolved = 1; in delegpt_no_ipv4()
665 ns->resolved = 0; in delegpt_add_ns_mlc()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.h47 DeclStatus(lldb::user_id_t uid, bool resolved) in DeclStatus()
48 : uid(uid), resolved(resolved) {} in DeclStatus()
50 bool resolved = false; member
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_iface.c352 iif->resolved = 1; in ipfw_iface_ref()
378 if (iif->resolved != 0) in ipfw_iface_add_notify()
427 iif->resolved = 1; in handle_ifattach()
453 iif->resolved = 0; in handle_ifdetach()
478 if (iif->resolved) in export_iface_internal()
/freebsd/usr.bin/rctl/
H A Drctl.c179 char *copy, *expanded, *resolved, *tofree; in expand_rule() local
219 ret = asprintf(&resolved, "%s:%d:%s", subject, (int)id, rest); in expand_rule()
227 ret = asprintf(&resolved, "%s:%d:%s", subject, (int)id, rest); in expand_rule()
229 ret = asprintf(&resolved, "%s:%s:%s", subject, textid, rest); in expand_rule()
240 expanded = expand_amount(resolved, rule); in expand_rule()
241 free(resolved); in expand_rule()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp229 SmallString<128> resolved(path.begin(), path.end()); in Resolve() local
232 resolved); in Resolve()
235 SmallString<128> absolute(resolved.begin(), resolved.end()); in Resolve()
242 path.append(resolved.begin(), resolved.end()); in Resolve()
/freebsd/sbin/fsck_ffs/
H A Dglobs.c84 char resolved; /* cleared if unresolved changes => not clean */ variable
142 resolved = 0; in fsckinit()
H A Dmain.c430 resolved = 1; in checkfilesys()
546 resolved = 0; in checkfilesys()
552 resolved = 0; in checkfilesys()
553 ckfini(resolved); in checkfilesys()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStackFrame.cpp304 uint32_t resolved = 0; in GetSymbolContext() local
310 resolved |= eSymbolContextTarget; in GetSymbolContext()
334 resolved |= eSymbolContextCompUnit; in GetSymbolContext()
343 resolved |= eSymbolContextFunction; in GetSymbolContext()
352 resolved |= eSymbolContextBlock; in GetSymbolContext()
361 resolved |= eSymbolContextSymbol; in GetSymbolContext()
370 resolved |= eSymbolContextLineEntry; in GetSymbolContext()
382 resolved |= m_sc.module_sp->ResolveSymbolContextForAddress( in GetSymbolContext()
391 if ((resolved & eSymbolContextBlock) && m_sc.block == nullptr) in GetSymbolContext()
395 if ((resolved & eSymbolContextLineEntry) && in GetSymbolContext()
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Diblinkinfo.c593 int resolved = -1; in main() local
671 if ((resolved = in main()
677 if ((resolved = in main()
708 if (resolved >= 0) { in main()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValue.cpp413 bool resolved = false; in GetValueAsData() local
427 resolved = true; in GetValueAsData()
437 resolved = true; in GetValueAsData()
444 if (!resolved) { in GetValueAsData()
/freebsd/sbin/ipf/libipf/
H A Dipft_tx.c43 tx_hostnum(char *host, int *resolved) in tx_hostnum() argument
47 *resolved = 0; in tx_hostnum()
54 *resolved = -1; in tx_hostnum()
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsdm630-sony-xperia-ganges.dtsi26 * issue with it that has to be resolved.

123456