Home
last modified time | relevance | path

Searched refs:m_string (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DConstString.h112 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; }
183 return (IsEmpty() ? value_if_empty : m_string);
192 return llvm::StringRef(m_string, GetLength()); in GetStringRef()
205 const char *GetCString() const { return m_string; } in GetCString()
221 void Clear() { m_string = nullptr; } in Clear()
293 bool IsEmpty() const { return m_string == nullptr || m_string[0] == '\0'; } in IsEmpty()
403 s.m_string = ptr; in FromStringPoolPointer()
[all …]
H A DStatus.h188 mutable std::string m_string; ///< A string representation of the error code. variable
192 m_string = payload.str(); in Status()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DStatus.cpp134 if (m_string.empty()) { in AsCString()
157 if (m_string.empty()) { in AsCString()
163 return m_string.c_str(); in AsCString()
170 m_string.clear(); in Clear()
187 m_string = mssg; in SetExpressionError()
200 m_string.clear(); in SetExpressionErrorWithFormat()
211 m_string.clear(); in SetError()
218 m_string.clear(); in SetErrorToErrno()
226 m_string.clear(); in SetErrorToGenericError()
255 m_string.clear(); in SetErrorStringWithFormat()
[all …]
H A DConstString.cpp206 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString()
212 : m_string(StringPool().GetConstCStringWithStringRef(s)) {} in ConstString()
215 if (m_string == rhs.m_string) in operator <()
238 return Pool::GetConstCStringLength(m_string); in GetLength()
243 if (lhs.m_string == rhs.m_string) in Equals()
261 const char *lhs_cstr = lhs.m_string; in Compare()
262 const char *rhs_cstr = rhs.m_string; in Compare()
302 m_string = StringPool().GetConstCString(cstr); in SetCString()
306 m_string = StringPool().GetConstCStringWithStringRef(s); in SetString()
312 demangled, mangled.m_string); in SetStringWithMangledCounterpart()
[all …]
/freebsd-14.2/lib/libc/posix1e/
H A Dmac.c296 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-14.2/sys/security/mac/
H A Dmac_syscalls.c111 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_pid()
122 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_pid()
146 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_proc()
156 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_proc()
185 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in sys___mac_set_proc()
246 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_fd()
309 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in sys___mac_get_fd()
354 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in kern___mac_get_path()
375 error = copyout(buffer, mac.m_string, strlen(buffer)+1); in kern___mac_get_path()
407 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in sys___mac_set_fd()
[all …]
H A Dmac_socket.c540 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()
632 error = copyout(buffer, mac->m_string, strlen(buffer)+1); in mac_getsockopt_peerlabel()
H A Dmac_net.c417 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 Dmac_process.c156 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_execve_enter()
/freebsd-14.2/sys/sys/
H A Dmac.h68 char *m_string; member
/freebsd-14.2/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectMemory.cpp908 m_string.SetValueFromString(option_value); in SetOptionValue()
929 m_string.Clear(); in OptionParsingStarting()
934 OptionValueString m_string; member in CommandObjectMemoryFind::OptionGroupFindMemory
1045 if (m_memory_options.m_string.OptionWasSet()) { in DoExecute()
1047 m_memory_options.m_string.GetValueAs<llvm::StringRef>().value_or(""); in DoExecute()