| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Status.cpp | 135 if (m_string.empty()) { in AsCString() 158 if (m_string.empty()) { in AsCString() 171 m_string.clear(); in Clear() 189 m_string.clear(); in SetMachError() 196 m_string = mssg; in SetExpressionError() 209 m_string.clear(); in SetExpressionErrorWithFormat() 220 m_string.clear(); in SetError() 227 m_string.clear(); in SetErrorToErrno() 235 m_string.clear(); in SetErrorToGenericError() 264 m_string.clear(); in SetErrorStringWithFormat() [all …]
|
| H A D | ConstString.cpp | 207 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString() 213 : m_string(StringPool().GetConstCStringWithStringRef(s)) {} in ConstString() 216 if (m_string == rhs.m_string) in operator <() 239 return Pool::GetConstCStringLength(m_string); in GetLength() 244 if (lhs.m_string == rhs.m_string) in Equals() 262 const char *lhs_cstr = lhs.m_string; in Compare() 263 const char *rhs_cstr = rhs.m_string; in Compare() 303 m_string = StringPool().GetConstCString(cstr); in SetCString() 312 m_string = StringPool().GetConstCStringAndSetMangledCounterPart( in SetStringWithMangledCounterpart() 313 demangled, mangled.m_string); in SetStringWithMangledCounterpart() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | ConstString.h | 128 return m_string == rhs.m_string; 147 if (m_string == nullptr && rhs != nullptr) 149 if (m_string != nullptr && rhs == nullptr) 167 bool operator!=(ConstString rhs) const { return m_string != rhs.m_string; } 194 return (IsEmpty() ? value_if_empty : m_string); 203 return llvm::StringRef(m_string, GetLength()); in GetStringRef() 216 const char *GetCString() const { return m_string; } in GetCString() 232 void Clear() { m_string = nullptr; } in Clear() 304 bool IsEmpty() const { return m_string == nullptr || m_string[0] == '\0'; } in IsEmpty() 416 s.m_string = ptr; in FromStringPoolPointer() [all …]
|
| H A D | Status.h | 202 mutable std::string m_string; ///< A string representation of the error code. variable
|
| /freebsd-13.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-13.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() 312 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_fd() 357 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in kern___mac_get_path() 377 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in kern___mac_get_path() 409 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 | 419 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in mac_ifnet_ioctl_get() 434 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in mac_ifnet_ioctl_get() 462 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-13.1/sys/sys/ |
| H A D | mac.h | 70 char *m_string; member
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectMemory.cpp | 904 m_string.SetValueFromString(option_value); in SetOptionValue() 925 m_string.Clear(); in OptionParsingStarting() 930 OptionValueString m_string; member in CommandObjectMemoryFind::OptionGroupFindMemory 1040 if (m_memory_options.m_string.OptionWasSet()) in DoExecute() 1041 buffer.CopyData(m_memory_options.m_string.GetStringValue()); in DoExecute()
|