/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | ConstString.cpp | 95 const char *GetConstCStringWithLength(const char *cstr, size_t cstr_len) { in GetConstCStringWithLength() argument 97 return GetConstCStringWithStringRef(llvm::StringRef(cstr, cstr_len)); in GetConstCStringWithLength() 157 size_t cstr_len) { in GetConstTrimmedCStringWithLength() argument 159 const size_t trimmed_len = strnlen(cstr, cstr_len); in GetConstTrimmedCStringWithLength() 214 ConstString::ConstString(const char *cstr, size_t cstr_len) in ConstString() argument 215 : m_string(StringPool().GetConstCStringWithLength(cstr, cstr_len)) {} in ConstString() 298 size_t cstr_len = GetLength(); in DumpDebug() local 304 static_cast<uint64_t>(cstr_len)); in DumpDebug() 326 void ConstString::SetCStringWithLength(const char *cstr, size_t cstr_len) { in SetCStringWithLength() argument 327 m_string = StringPool().GetConstCStringWithLength(cstr, cstr_len); in SetCStringWithLength() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBEvent.cpp | 26 SBEvent::SBEvent(uint32_t event_type, const char *cstr, uint32_t cstr_len) in SBEvent() argument 28 event_type, new EventDataBytes(llvm::StringRef(cstr, cstr_len)))), in SBEvent() 30 LLDB_INSTRUMENT_VA(this, event_type, cstr, cstr_len); in SBEvent()
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_value.c | 822 size_t cstr_size, cstr_len; in bhnd_nvram_val_encode_string() local 843 cstr_len = strnlen(cstr, cstr_size); in bhnd_nvram_val_encode_string() 849 if (cstr_len != 0) in bhnd_nvram_val_encode_string() 860 if (cstr_len != 1) in bhnd_nvram_val_encode_string() 865 for (size_t i = 0; i < cstr_len; i++) { in bhnd_nvram_val_encode_string() 886 plen = bhnd_nvram_trim_field(&p, cstr_len, '\0'); in bhnd_nvram_val_encode_string() 924 plen = bhnd_nvram_trim_field(&p, cstr_len, '\0'); in bhnd_nvram_val_encode_string() 993 plen = bhnd_nvram_trim_field(&p, cstr_len, '\0'); in bhnd_nvram_val_encode_string() 1022 if (cstr_len == cstr_size) in bhnd_nvram_val_encode_string() 1034 strncpy(outp, cstr, cstr_len); in bhnd_nvram_val_encode_string() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCRuntime.cpp | 210 size_t cstr_len = 0; in GetObjectDescription() local 215 curr_len = process->ReadCStringFromMemory(result_ptr + cstr_len, buf, in GetObjectDescription() 218 cstr_len += curr_len; in GetObjectDescription() 220 if (cstr_len > 0) in GetObjectDescription()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBEvent.h | 35 SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len);
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | ValueObject.cpp | 882 size_t cstr_len = 0; in ReadPointedString() local 889 cstr_len = array_size; in ReadPointedString() 890 if (cstr_len > max_length) { in ReadPointedString() 892 cstr_len = max_length; in ReadPointedString() 910 s << llvm::StringRef(cstr, cstr_len); in ReadPointedString() 912 return {cstr_len, was_capped}; in ReadPointedString() 923 if (cstr_len > 0 && honor_array) { in ReadPointedString() 928 GetPointeeData(data, 0, cstr_len); in ReadPointedString() 938 cstr_len = max_length; in ReadPointedString() 961 if (len > cstr_len) in ReadPointedString() [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ConstString.h | 381 void SetCStringWithLength(const char *cstr, size_t cstr_len);
|
/freebsd/contrib/llvm-project/lldb/bindings/lua/ |
H A D | lua-typemaps.swig | 172 // Typemap for handling SBEvent::SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len) 174 %typemap(in) (const char *cstr, uint32_t cstr_len) {
|
/freebsd/contrib/llvm-project/lldb/bindings/python/ |
H A D | python-typemaps.swig | 237 // See also SBEvent::SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len). 239 %typemap(in) (const char *cstr, uint32_t cstr_len),
|