Home
last modified time | relevance | path

Searched refs:cstr_len (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/lldb/source/Utility/
H A DConstString.cpp95 const char *GetConstCStringWithLength(const char *cstr, size_t cstr_len) { in GetConstCStringWithLength() argument
97 return GetConstCStringWithStringRef(llvm::StringRef(cstr, cstr_len)); in GetConstCStringWithLength()
154 size_t cstr_len) { in GetConstTrimmedCStringWithLength() argument
156 const size_t trimmed_len = strnlen(cstr, cstr_len); in GetConstTrimmedCStringWithLength()
208 ConstString::ConstString(const char *cstr, size_t cstr_len) in ConstString() argument
209 : m_string(StringPool().GetConstCStringWithLength(cstr, cstr_len)) {} in ConstString()
292 size_t cstr_len = GetLength(); in DumpDebug() local
298 static_cast<uint64_t>(cstr_len)); in DumpDebug()
320 void ConstString::SetCStringWithLength(const char *cstr, size_t cstr_len) { in SetCStringWithLength() argument
321 m_string = StringPool().GetConstCStringWithLength(cstr, cstr_len); in SetCStringWithLength()
[all …]
/llvm-project-15.0.7/lldb/source/API/
H A DSBEvent.cpp27 SBEvent::SBEvent(uint32_t event_type, const char *cstr, uint32_t cstr_len) in SBEvent() argument
28 : m_event_sp(new Event(event_type, new EventDataBytes(cstr, cstr_len))), in SBEvent()
30 LLDB_INSTRUMENT_VA(this, event_type, cstr, cstr_len); in SBEvent()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBEvent.i119 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntime.cpp205 size_t cstr_len = 0; in GetObjectDescription() local
210 curr_len = process->ReadCStringFromMemory(result_ptr + cstr_len, buf, in GetObjectDescription()
213 cstr_len += curr_len; in GetObjectDescription()
215 return cstr_len > 0; in GetObjectDescription()
/llvm-project-15.0.7/lldb/source/Core/
H A DValueObject.cpp889 size_t cstr_len = 0; in ReadPointedString() local
896 cstr_len = array_size; in ReadPointedString()
897 if (cstr_len > max_length) { in ReadPointedString()
899 cstr_len = max_length; in ReadPointedString()
919 return {cstr_len, was_capped}; in ReadPointedString()
930 if (cstr_len > 0 && honor_array) { in ReadPointedString()
945 cstr_len = max_length; in ReadPointedString()
968 if (len > cstr_len) in ReadPointedString()
969 len = cstr_len; in ReadPointedString()
977 if (len >= cstr_len) { in ReadPointedString()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBEvent.h28 SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len);
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DConstString.h381 void SetCStringWithLength(const char *cstr, size_t cstr_len);
/llvm-project-15.0.7/lldb/bindings/lua/
H A Dlua-typemaps.swig172 // 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) {
/llvm-project-15.0.7/lldb/source/Host/macosx/objcxx/
H A DHostInfoMacOSX.mm66 size_t cstr_len = sizeof(cstr);
67 if (::sysctl(mib, 2, cstr, &cstr_len, NULL, 0) == 0)
68 return std::string(cstr, cstr_len - 1);
/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-typemaps.swig151 // See also SBEvent::SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len).
153 %typemap(in) (const char *cstr, uint32_t cstr_len),