| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | ConstString.h | 48 ConstString() : m_string(nullptr) {} in ConstString() 58 ConstString(const ConstString &rhs) : m_string(rhs.m_string) {} in ConstString() 156 m_string = rhs.m_string; 177 return m_string == rhs.m_string; 195 return m_string != rhs.m_string; 213 return (IsEmpty() ? value_if_empty : m_string); 224 return llvm::StringRef(m_string, GetLength()); in GetStringRef() 239 const char *GetCString() const { return m_string; } in GetCString() 259 void Clear() { m_string = nullptr; } in Clear() 346 bool IsEmpty() const { return m_string == nullptr || m_string[0] == '\0'; } in IsEmpty() [all …]
|
| H A D | Status.h | 250 mutable std::string m_string; ///< A string representation of the error code. variable
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | Status.cpp | 106 m_string = rhs.m_string; in operator =() 177 m_string.clear(); in Clear() 203 m_string.clear(); in SetMachError() 210 m_string = mssg; in SetExpressionError() 223 m_string.clear(); in SetExpressionErrorWithFormat() 236 m_string.clear(); in SetError() 245 m_string.clear(); in SetErrorToErrno() 255 m_string.clear(); in SetErrorToGenericError() 271 m_string = err_str; in SetErrorString() 288 m_string.clear(); in SetErrorStringWithFormat() [all …]
|
| H A D | ConstString.cpp | 202 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString() 211 if (m_string == rhs.m_string) in operator <() 234 return Pool::GetConstCStringLength(m_string); in GetLength() 239 if (lhs.m_string == rhs.m_string) in Equals() 257 const char *lhs_cstr = lhs.m_string; in Compare() 258 const char *rhs_cstr = rhs.m_string; in Compare() 298 m_string = StringPool().GetConstCString(cstr); in SetCString() 307 m_string = StringPool().GetConstCStringAndSetMangledCounterPart( in SetStringWithMangledCounterpart() 308 demangled, mangled.m_string); in SetStringWithMangledCounterpart() 312 counterpart.m_string = StringPool().GetMangledCounterpart(m_string); in GetMangledCounterpart() [all …]
|
| /freebsd-12.1/lib/libc/posix1e/ |
| H A D | mac.c | 300 if (mac->m_string != NULL) in mac_free() 301 free(mac->m_string); in mac_free() 315 (*mac)->m_string = strdup(text); in mac_from_text() 316 if ((*mac)->m_string == NULL) { in mac_from_text() 322 (*mac)->m_buflen = strlen((*mac)->m_string)+1; in mac_from_text() 331 *text = strdup(mac->m_string); in mac_to_text() 348 (*mac)->m_string = malloc(MAC_MAX_LABEL_BUF_LEN); in mac_prepare() 349 if ((*mac)->m_string == NULL) { in mac_prepare() 355 strcpy((*mac)->m_string, elements); in mac_prepare()
|
| /freebsd-12.1/sys/security/mac/ |
| H A D | mac_syscalls.c | 114 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_pid() 125 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_pid() 149 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_proc() 159 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_proc() 188 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in sys___mac_set_proc() 249 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_fd() 311 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_fd() 356 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in kern___mac_get_path() 376 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in kern___mac_get_path() 408 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in sys___mac_set_fd() [all …]
|
| H A D | mac_socket.c | 540 error = copyinstr(mac->m_string, buffer, mac->m_buflen, NULL); in mac_setsockopt_label() 573 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_label() 588 error = copyout(buffer, mac->m_string, strlen(buffer)+1); in mac_getsockopt_label() 612 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_peerlabel() 627 error = copyout(buffer, mac->m_string, strlen(buffer)+1); in mac_getsockopt_peerlabel()
|
| H A D | mac_net.c | 418 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in mac_ifnet_ioctl_get() 433 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in mac_ifnet_ioctl_get() 461 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_ifnet_ioctl_set()
|
| H A D | mac_process.c | 158 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_execve_enter()
|
| /freebsd-12.1/sys/sys/ |
| H A D | mac.h | 70 char *m_string; member
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/ |
| H A D | CommandObjectMemory.cpp | 919 m_string.SetValueFromString(option_value); in SetOptionValue() 942 m_string.Clear(); in OptionParsingStarting() 947 OptionValueString m_string; member in CommandObjectMemoryFind::OptionGroupFindMemory 1057 if (m_memory_options.m_string.OptionWasSet()) in DoExecute() 1058 buffer.CopyData(m_memory_options.m_string.GetStringValue()); in DoExecute()
|