Lines Matching refs:cstr_len
95 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()
326 size_t cstr_len) { in SetTrimmedCStringWithLength() argument
327 m_string = StringPool().GetConstTrimmedCStringWithLength(cstr, cstr_len); in SetTrimmedCStringWithLength()