Home
last modified time | relevance | path

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

/external/lldb/source/Core/
DConstString.cpp90 GetConstCStringWithLength (const char *cstr, size_t cstr_len) in GetConstCStringWithLength() argument
95 llvm::StringRef string_ref (cstr, cstr_len); in GetConstCStringWithLength()
135 GetConstTrimmedCStringWithLength (const char *cstr, size_t cstr_len) in GetConstTrimmedCStringWithLength() argument
139 const size_t trimmed_len = std::min<size_t> (strlen (cstr), cstr_len); in GetConstTrimmedCStringWithLength()
215 ConstString::ConstString (const char *cstr, size_t cstr_len) : in ConstString() argument
216 m_string (StringPool().GetConstCStringWithLength (cstr, cstr_len)) in ConstString()
294 size_t cstr_len = GetLength(); in DumpDebug() local
297 …s%s%s, length = %" PRIu64, (int)sizeof(void*) * 2, this, parens, cstr, parens, (uint64_t)cstr_len); in DumpDebug()
326 ConstString::SetCStringWithLength (const char *cstr, size_t cstr_len) in SetCStringWithLength() argument
328 m_string = StringPool().GetConstCStringWithLength(cstr, cstr_len); in SetCStringWithLength()
[all …]
DStream.cpp133 size_t cstr_len = strlen(cstr); in PutCString() local
136 ++cstr_len; in PutCString()
137 return Write (cstr, cstr_len); in PutCString()
DValueObject.cpp1131 size_t cstr_len = 0; in ReadPointedString() local
1139 cstr_len = array_size; in ReadPointedString()
1140 if (cstr_len > max_length) in ReadPointedString()
1143 cstr_len = max_length; in ReadPointedString()
1163 if (cstr_len > 0 && honor_array) in ReadPointedString()
1167 GetPointeeData(data, 0, cstr_len); in ReadPointedString()
1189 cstr_len = max_length; in ReadPointedString()
1216 if (len > cstr_len) in ReadPointedString()
1217 len = cstr_len; in ReadPointedString()
1232 if (len >= cstr_len) in ReadPointedString()
[all …]
/external/lldb/source/Host/freebsd/
DHost.cpp160 size_t cstr_len = sizeof(cstr); in GetOSBuildString() local
161 if (::sysctl (mib, 2, cstr, &cstr_len, NULL, 0) == 0) in GetOSBuildString()
163 s.assign (cstr, cstr_len); in GetOSBuildString()
175 size_t cstr_len = sizeof(cstr); in GetOSKernelDescription() local
176 if (::sysctl (mib, 2, cstr, &cstr_len, NULL, 0) == 0) in GetOSKernelDescription()
178 s.assign (cstr, cstr_len); in GetOSKernelDescription()
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntime.cpp163 size_t cstr_len = 0; in GetObjectDescription() local
169 curr_len = process->ReadCStringFromMemory(result_ptr + cstr_len, buf, sizeof(buf), error); in GetObjectDescription()
171 cstr_len += curr_len; in GetObjectDescription()
173 return cstr_len > 0; in GetObjectDescription()
/external/lldb/source/API/
DSBEvent.cpp34 SBEvent::SBEvent (uint32_t event_type, const char *cstr, uint32_t cstr_len) : in SBEvent() argument
35 m_event_sp (new Event (event_type, new EventDataBytes (cstr, cstr_len))), in SBEvent()
/external/lldb/scripts/Python/interface/
DSBEvent.i121 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
/external/lldb/include/lldb/API/
DSBEvent.h31 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
/external/lldb/include/lldb/Core/
DConstString.h447 SetCStringWithLength (const char *cstr, size_t cstr_len);
/external/lldb/scripts/Python/
Dpython-typemaps.swig70 // See also SBEvent::SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len).
71 %typemap(in) (const char *cstr, uint32_t cstr_len) {
/external/lldb/source/Host/macosx/
DHost.mm973 size_t cstr_len = sizeof(cstr);
974 if (::sysctl (mib, 2, cstr, &cstr_len, NULL, 0) == 0)
976 s.assign (cstr, cstr_len);
989 size_t cstr_len = sizeof(cstr);
990 if (::sysctl (mib, 2, cstr, &cstr_len, NULL, 0) == 0)
992 s.assign (cstr, cstr_len);
/external/valgrind/perf/
Dtinycc.c14098 int cstr_len, ch; in decl_initializer() local
14104 cstr_len = cstr->size; in decl_initializer()
14106 cstr_len = cstr->size / sizeof(int); in decl_initializer()
14107 cstr_len--; in decl_initializer()
14108 nb = cstr_len; in decl_initializer()
14112 if (cstr_len > nb) in decl_initializer()