Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Utility/
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()
209 ConstString::ConstString(const char *cstr, size_t cstr_len) in ConstString() argument
210 : m_string(StringPool().GetConstCStringWithLength(cstr, cstr_len)) {} in ConstString()
293 size_t cstr_len = GetLength(); in DumpDebug() local
299 static_cast<uint64_t>(cstr_len)); in DumpDebug()
321 void ConstString::SetCStringWithLength(const char *cstr, size_t cstr_len) { in SetCStringWithLength() argument
322 m_string = StringPool().GetConstCStringWithLength(cstr, cstr_len); in SetCStringWithLength()
[all …]
/external/llvm-project/lldb/source/API/
DSBEvent.cpp29 SBEvent::SBEvent(uint32_t event_type, const char *cstr, uint32_t cstr_len) in SBEvent() argument
30 : m_event_sp(new Event(event_type, new EventDataBytes(cstr, cstr_len))), in SBEvent()
33 event_type, cstr, cstr_len); in SBEvent()
/external/llvm-project/lldb/bindings/interface/
DSBEvent.i119 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCRuntime.cpp204 size_t cstr_len = 0; in GetObjectDescription() local
209 curr_len = process->ReadCStringFromMemory(result_ptr + cstr_len, buf, in GetObjectDescription()
212 cstr_len += curr_len; in GetObjectDescription()
214 return cstr_len > 0; in GetObjectDescription()
/external/llvm-project/lldb/source/Host/macosx/objcxx/
DHostInfoMacOSX.mm60 size_t cstr_len = sizeof(cstr);
61 if (::sysctl(mib, 2, cstr, &cstr_len, NULL, 0) == 0) {
62 s.assign(cstr, cstr_len);
73 size_t cstr_len = sizeof(cstr);
74 if (::sysctl(mib, 2, cstr, &cstr_len, NULL, 0) == 0) {
75 s.assign(cstr, cstr_len);
/external/llvm-project/lldb/include/lldb/API/
DSBEvent.h28 SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len);
/external/llvm-project/lldb/source/Core/
DValueObject.cpp939 size_t cstr_len = 0; in ReadPointedString() local
946 cstr_len = array_size; in ReadPointedString()
947 if (cstr_len > max_length) { in ReadPointedString()
949 cstr_len = max_length; in ReadPointedString()
967 buffer_sp = std::make_shared<DataBufferHeap>(cstr_len, 0); in ReadPointedString()
968 memcpy(buffer_sp->GetBytes(), cstr, cstr_len); in ReadPointedString()
969 return {cstr_len, was_capped}; in ReadPointedString()
980 if (cstr_len > 0 && honor_array) { in ReadPointedString()
985 GetPointeeData(data, 0, cstr_len); in ReadPointedString()
995 cstr_len = max_length; in ReadPointedString()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dstring_view_test.cc976 constexpr absl::string_view cstr_len("cstr", 4); in TEST() local
1054 constexpr absl::string_view::iterator const_begin = cstr_len.begin(); in TEST()
1055 constexpr absl::string_view::iterator const_end = cstr_len.end(); in TEST()
1056 constexpr absl::string_view::size_type const_size = cstr_len.size(); in TEST()
1057 constexpr absl::string_view::size_type const_length = cstr_len.length(); in TEST()
1072 constexpr const char c = cstr_len[2]; in TEST()
1075 constexpr const char cfront = cstr_len.front(); in TEST()
1076 constexpr const char cback = cstr_len.back(); in TEST()
1081 constexpr const char* cstr_ptr = cstr_len.data(); in TEST()
/external/abseil-cpp/absl/strings/
Dstring_view_test.cc976 constexpr absl::string_view cstr_len("cstr", 4); in TEST() local
1054 constexpr absl::string_view::iterator const_begin = cstr_len.begin(); in TEST()
1055 constexpr absl::string_view::iterator const_end = cstr_len.end(); in TEST()
1056 constexpr absl::string_view::size_type const_size = cstr_len.size(); in TEST()
1057 constexpr absl::string_view::size_type const_length = cstr_len.length(); in TEST()
1072 constexpr const char c = cstr_len[2]; in TEST()
1075 constexpr const char cfront = cstr_len.front(); in TEST()
1076 constexpr const char cback = cstr_len.back(); in TEST()
1081 constexpr const char* cstr_ptr = cstr_len.data(); in TEST()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dstring_view_test.cc977 constexpr absl::string_view cstr_len("cstr", 4); in TEST() local
1055 constexpr absl::string_view::iterator const_begin = cstr_len.begin(); in TEST()
1056 constexpr absl::string_view::iterator const_end = cstr_len.end(); in TEST()
1057 constexpr absl::string_view::size_type const_size = cstr_len.size(); in TEST()
1058 constexpr absl::string_view::size_type const_length = cstr_len.length(); in TEST()
1073 constexpr const char c = cstr_len[2]; in TEST()
1076 constexpr const char cfront = cstr_len.front(); in TEST()
1077 constexpr const char cback = cstr_len.back(); in TEST()
1082 constexpr const char* cstr_ptr = cstr_len.data(); in TEST()
/external/openscreen/third_party/abseil/src/absl/strings/
Dstring_view_test.cc977 constexpr absl::string_view cstr_len("cstr", 4); in TEST() local
1055 constexpr absl::string_view::iterator const_begin = cstr_len.begin(); in TEST()
1056 constexpr absl::string_view::iterator const_end = cstr_len.end(); in TEST()
1057 constexpr absl::string_view::size_type const_size = cstr_len.size(); in TEST()
1058 constexpr absl::string_view::size_type const_length = cstr_len.length(); in TEST()
1073 constexpr const char c = cstr_len[2]; in TEST()
1076 constexpr const char cfront = cstr_len.front(); in TEST()
1077 constexpr const char cback = cstr_len.back(); in TEST()
1082 constexpr const char* cstr_ptr = cstr_len.data(); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dstring_view_test.cc977 constexpr absl::string_view cstr_len("cstr", 4); in TEST() local
1055 constexpr absl::string_view::iterator const_begin = cstr_len.begin(); in TEST()
1056 constexpr absl::string_view::iterator const_end = cstr_len.end(); in TEST()
1057 constexpr absl::string_view::size_type const_size = cstr_len.size(); in TEST()
1058 constexpr absl::string_view::size_type const_length = cstr_len.length(); in TEST()
1073 constexpr const char c = cstr_len[2]; in TEST()
1076 constexpr const char cfront = cstr_len.front(); in TEST()
1077 constexpr const char cback = cstr_len.back(); in TEST()
1082 constexpr const char* cstr_ptr = cstr_len.data(); in TEST()
/external/angle/third_party/abseil-cpp/absl/strings/
Dstring_view_test.cc1004 constexpr absl::string_view cstr_len("cstr", 4); in TEST() local
1082 constexpr absl::string_view::iterator const_begin = cstr_len.begin(); in TEST()
1083 constexpr absl::string_view::iterator const_end = cstr_len.end(); in TEST()
1084 constexpr absl::string_view::size_type const_size = cstr_len.size(); in TEST()
1085 constexpr absl::string_view::size_type const_length = cstr_len.length(); in TEST()
1100 constexpr const char c = cstr_len[2]; in TEST()
1103 constexpr const char cfront = cstr_len.front(); in TEST()
1104 constexpr const char cback = cstr_len.back(); in TEST()
1109 constexpr const char* cstr_ptr = cstr_len.data(); in TEST()
/external/llvm-project/lldb/include/lldb/Utility/
DConstString.h381 void SetCStringWithLength(const char *cstr, size_t cstr_len);
/external/llvm-project/lldb/bindings/python/
Dpython-typemaps.swig150 // See also SBEvent::SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len).
152 %typemap(in) (const char *cstr, uint32_t cstr_len),
/external/python/pycparser/utils/benchmark/inputs/
Dtccgen.c.ppout9320 int cstr_len, ch;
9324 cstr_len = tokc.str.size;
9326 cstr_len = tokc.str.size / sizeof(nwchar_t);
9327 cstr_len--;
9328 nb = cstr_len;
9332 if (cstr_len > nb)