/freebsd-src/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ConstString.h | 112 return m_string == rhs.m_string; 131 if (m_string == nullptr && rhs != nullptr) 133 if (m_string != nullptr && rhs == nullptr) 151 bool operator!=(ConstString rhs) const { return m_string != rhs.m_string; } 173 return std::string_view(m_string, GetLength()); 189 return (IsEmpty() ? value_if_empty : m_string); 198 return llvm::StringRef(m_string, GetLength()); 216 const char *GetCString() const { return m_string; } 407 const char *m_string = nullptr; global() variable [all...] |
H A D | Status.h | 188 mutable std::string m_string; ///< A string representation of the error code. variable 192 m_string = payload.str(); in Status()
|
/freebsd-src/contrib/llvm-project/lldb/source/Utility/ |
H A D | Status.cpp | 40 Status::Status() : m_string() {} in Status() 43 : m_code(err), m_type(type), m_string() {} in Status() 52 m_string(EC.message()) {} in Status() 54 Status::Status(const char *format, ...) : m_string() { in Status() 133 if (m_string.empty()) { in AsCString() 138 m_string.assign(s); in AsCString() 143 m_string = llvm::sys::StrError(m_code); in AsCString() 148 m_string = RetrieveWin32ErrorString(m_code); in AsCString() 156 if (m_string.empty()) { in AsCString() 158 m_string in AsCString() [all...] |
H A D | ConstString.cpp | 212 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString() 215 : m_string(StringPool().GetConstCStringWithLength(cstr, cstr_len)) {} in operator <() 218 : m_string(StringPool().GetConstCStringWithStringRef(s)) {} in operator <() 221 if (m_string == rhs.m_string) in operator <() 244 return Pool::GetConstCStringLength(m_string); in Equals() 249 if (lhs.m_string == rhs.m_string) in Equals() 267 const char *lhs_cstr = lhs.m_string; in Compare() 268 const char *rhs_cstr = rhs.m_string; in Compare() [all...] |
/freebsd-src/lib/libc/posix1e/ |
H A D | mac.c | 296 if (mac->m_string != NULL) in mac_free() 297 free(mac->m_string); in mac_free() 311 (*mac)->m_string = strdup(text); in mac_from_text() 312 if ((*mac)->m_string == NULL) { in mac_from_text() 318 (*mac)->m_buflen = strlen((*mac)->m_string)+1; in mac_from_text() 327 *text = strdup(mac->m_string); in mac_to_text() 344 (*mac)->m_string = malloc(MAC_MAX_LABEL_BUF_LEN); in mac_prepare() 345 if ((*mac)->m_string == NULL) { in mac_prepare() 351 strcpy((*mac)->m_string, elements); in mac_prepare()
|
/freebsd-src/sys/security/mac/ |
H A D | mac_syscalls.c | 86 uint32_t m_string; /* char * */ in sys___mac_get_pid() 91 * Copyin a 'struct mac', including the string pointed to by 'm_string'. in sys___mac_get_pid() 95 * if not NULL is filled with the userspace address for 'u_mac->m_string'. in sys___mac_get_pid() 113 PTRIN_CP(mac32, *mac, m_string); in sys___mac_get_pid() 128 error = copyinstr(mac->m_string, buffer, mac->m_buflen, NULL); in sys___mac_get_pid() 136 *u_string = mac->m_string; in sys___mac_get_proc() 137 mac->m_string = buffer; in sys___mac_get_proc() 151 free(mac->m_string, M_MACTEMP); in sys___mac_get_proc() 191 error = mac_cred_externalize_label(tcred->cr_label, mac.m_string, in sys___mac_set_proc() 216 mac.m_string, buffe in sys___mac_set_proc() [all...] |
H A D | mac_socket.c | 541 error = copyinstr(mac->m_string, buffer, mac->m_buflen, NULL); in mac_setsockopt_label() 575 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_label() 590 error = copyout(buffer, mac->m_string, strlen(buffer)+1); in mac_getsockopt_label() 614 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_peerlabel() 634 error = copyout(buffer, mac->m_string, strlen(buffer)+1);
|
H A D | mac_net.c | 417 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in mac_ifnet_ioctl_get() 432 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in mac_ifnet_ioctl_get() 460 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_ifnet_ioctl_set()
|
H A D | mac_process.c | 156 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_execve_enter()
|
/freebsd-src/sys/sys/ |
H A D | mac.h | 75 char *m_string; 68 char *m_string; global() member
|
/freebsd-src/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectMemory.cpp | 911 m_string.SetValueFromString(option_value); in SetOptionValue() 932 m_string.Clear(); 937 OptionValueString m_string; 1019 if (m_memory_options.m_string.OptionWasSet()) { in DoExecute() 1021 m_memory_options.m_string.GetValueAs<llvm::StringRef>().value_or(""); in DoExecute() 934 OptionValueString m_string; global() member in CommandObjectMemoryFind::OptionGroupFindMemory
|