/external/lldb/source/Core/ |
D | ConstString.cpp | 90 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 …]
|
D | Stream.cpp | 133 size_t cstr_len = strlen(cstr); in PutCString() local 136 ++cstr_len; in PutCString() 137 return Write (cstr, cstr_len); in PutCString()
|
D | ValueObject.cpp | 1131 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/ |
D | Host.cpp | 160 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/ |
D | AppleObjCRuntime.cpp | 163 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/ |
D | SBEvent.cpp | 34 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/ |
D | SBEvent.i | 121 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
|
/external/lldb/include/lldb/API/ |
D | SBEvent.h | 31 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
|
/external/lldb/include/lldb/Core/ |
D | ConstString.h | 447 SetCStringWithLength (const char *cstr, size_t cstr_len);
|
/external/lldb/scripts/Python/ |
D | python-typemaps.swig | 70 // 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/ |
D | Host.mm | 973 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/ |
D | tinycc.c | 14098 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()
|