Home
last modified time | relevance | path

Searched refs:StringView (Results 1 – 25 of 41) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DMicrosoftDemangle.h147 SymbolNode *parse(StringView &MangledName);
149 TagTypeNode *parseTagUniqueName(StringView &MangledName);
157 SymbolNode *demangleEncodedSymbol(StringView &MangledName,
159 SymbolNode *demangleDeclarator(StringView &MangledName);
160 SymbolNode *demangleMD5Name(StringView &MangledName);
161 SymbolNode *demangleTypeinfoName(StringView &MangledName);
163 VariableSymbolNode *demangleVariableEncoding(StringView &MangledName,
165 FunctionSymbolNode *demangleFunctionEncoding(StringView &MangledName);
167 Qualifiers demanglePointerExtQualifiers(StringView &MangledName);
170 TypeNode *demangleType(StringView &MangledName, QualifierMangleMode QMM);
[all …]
DStringView.h23 class StringView {
31 StringView(const char (&Str)[N]) : First(Str), Last(Str + N - 1) {} in StringView() function
32 StringView(const char *First_, const char *Last_) in StringView() function
34 StringView(const char *First_, size_t Len) in StringView() function
36 StringView(const char *Str) : First(Str), Last(Str + std::strlen(Str)) {} in StringView() function
37 StringView() : First(nullptr), Last(nullptr) {} in StringView() function
39 StringView substr(size_t From) const { in substr()
40 return StringView(begin() + From, size() - From); in substr()
54 StringView substr(size_t From, size_t To) const { in substr()
59 return StringView(First + From, First + To); in substr()
[all …]
DItaniumDemangle.h202 virtual StringView getBaseName() const { return StringView(); } in getBaseName()
263 const StringView Suffix;
266 DotSuffix(const Node *Prefix_, StringView Suffix_) in DotSuffix()
281 StringView Ext;
284 VendorExtQualType(const Node *Ty_, StringView Ext_) in VendorExtQualType()
370 const StringView Postfix;
373 PostfixQualifiedType(Node *Ty_, StringView Postfix_) in PostfixQualifiedType()
385 const StringView Name;
388 NameType(StringView Name_) : Node(KNameType), Name(Name_) {} in NameType()
392 StringView getName() const { return Name; } in getName()
[all …]
DUtility.h62 this->operator<<(StringView(TempPtr, std::end(Temp)));
80 OutputStream &operator+=(StringView R) {
96 OutputStream &operator<<(StringView R) { return (*this += R); }
DMicrosoftDemangleNodes.h29 using llvm::itanium_demangle::StringView;
387 StringView Name;
406 StringView Name;
519 void output(OutputStream &OS, OutputFlags Flags, StringView Separator) const;
604 StringView DecodedString;
/third_party/googletest/googletest/src/
Dgtest-matchers.cc64 Matcher<const internal::StringView&>::Matcher(const std::string& s) { in Matcher()
70 Matcher<const internal::StringView&>::Matcher(const char* s) { in Matcher()
76 Matcher<const internal::StringView&>::Matcher(internal::StringView s) { in Matcher()
82 Matcher<internal::StringView>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher()
86 Matcher<internal::StringView>::Matcher(const char* s) { in Matcher()
92 Matcher<internal::StringView>::Matcher(internal::StringView s) { in Matcher()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DMicrosoftDemangle.cpp32 static bool startsWithDigit(StringView S) { in startsWithDigit()
42 static bool isMemberPointer(StringView MangledName, bool &Error) { in isMemberPointer()
106 consumeSpecialIntrinsicKind(StringView &MangledName) { in consumeSpecialIntrinsicKind()
142 static bool startsWithLocalScopePattern(StringView S) { in startsWithLocalScopePattern()
147 if (End == StringView::npos) in startsWithLocalScopePattern()
149 StringView Candidate = S.substr(0, End); in startsWithLocalScopePattern()
181 static bool isTagType(StringView S) { in isTagType()
192 static bool isCustomType(StringView S) { return S[0] == '?'; } in isCustomType()
194 static bool isPointerType(StringView S) { in isPointerType()
209 static bool isArrayType(StringView S) { return S[0] == 'Y'; } in isArrayType()
[all …]
/third_party/node/src/
Dinspector_agent.h16 class StringView; variable
33 virtual void Dispatch(const v8_inspector::StringView& message) = 0;
39 virtual void SendMessageToFrontend(const v8_inspector::StringView& message)
70 void AsyncTaskScheduled(const v8_inspector::StringView& taskName, void* task,
Dinspector_agent.cc51 using v8_inspector::StringView;
66 return StringBuffer::create(StringView(*buffer, buffer.length())); in ToProtocolString()
221 session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView()); in ChannelImpl()
245 void dispatchProtocolMessage(const StringView& message) { in dispatchProtocolMessage()
294 void sendMessageToFrontend(const StringView& message) { in sendMessageToFrontend()
335 void Dispatch(const v8_inspector::StringView& message) override;
477 void dispatchMessageFromFrontend(int session_id, const StringView& message) { in dispatchMessageFromFrontend()
512 StringView(DETAILS, sizeof(DETAILS) - 1), in ReportUncaughtException()
538 void AsyncTaskScheduled(const StringView& task_name, void* task, in AsyncTaskScheduled()
634 const StringView& resource_name_view) override { in resourceNameToUrl()
[all …]
Dinspector_js_api.cc31 using v8_inspector::StringView;
36 return StringBuffer::create(StringView(*buffer, buffer.length())); in ToProtocolString()
72 void SendMessageToFrontend(const v8_inspector::StringView& message) in SendMessageToFrontend()
249 StringView task_name_view(*task_name_value, task_name_value.length()); in AsyncTaskScheduledWrapper()
Dinspector_profiler.cc31 using v8_inspector::StringView;
/third_party/googletest/googletest/include/gtest/
Dgtest-matchers.h560 class GTEST_API_ Matcher<const internal::StringView&>
561 : public internal::MatcherBase<const internal::StringView&> {
565 explicit Matcher(const MatcherInterface<const internal::StringView&>* impl)
566 : internal::MatcherBase<const internal::StringView&>(impl) {}
571 : internal::MatcherBase<const internal::StringView&>(std::forward<M>(m)) {
582 Matcher(internal::StringView s); // NOLINT
586 class GTEST_API_ Matcher<internal::StringView>
587 : public internal::MatcherBase<internal::StringView> {
591 explicit Matcher(const MatcherInterface<const internal::StringView&>* impl)
592 : internal::MatcherBase<internal::StringView>(impl) {}
[all …]
/third_party/flutter/skia/experimental/editor/
Deditor.h43 StringView operator*() { return fPtr->fText.view(); }
87 StringView line(size_t i) const { in line()
88 return i < fLines.size() ? fLines[i].fText.view() : StringView{nullptr, 0}; in line()
Dstringview.h16 using StringView = Span<const char>; variable
Dstringslice.h28 editor::StringView view() const { return {fPtr.get(), fLength}; } in view()
/third_party/skia/modules/skplaintexteditor/include/
Deditor.h41 StringView operator*() { return fPtr->fText.view(); }
85 StringView line(size_t i) const { in line()
86 return i < fLines.size() ? fLines[i].fText.view() : StringView{nullptr, 0}; in line()
Dstringview.h16 using StringView = Span<const char>; variable
Dstringslice.h28 SkPlainTextEditor::StringView view() const { return {fPtr.get(), fLength}; } in view()
/third_party/node/src/inspector/
Dmain_thread_interface.cc18 using v8_inspector::StringView;
174 void Dispatch(const StringView& message) override { in Dispatch()
188 void SendMessageToFrontend(const v8_inspector::StringView& message) override { in SendMessageToFrontend()
294 StringView view(reinterpret_cast<const uint16_t*>(utf16.getBuffer()), in Utf8ToStringView()
Dnode_string.h64 String StringViewToUtf8(v8_inspector::StringView view);
69 std::unique_ptr<Value> parseJSON(v8_inspector::StringView view);
Dnode_string.cc37 std::unique_ptr<Value> parseJSON(v8_inspector::StringView string) { in parseJSON()
45 String StringViewToUtf8(v8_inspector::StringView view) { in StringViewToUtf8()
Dmain_thread_interface.h18 class StringView; variable
/third_party/googletest/googlemock/test/
Dgmock-matchers_test.cc361 Matcher<internal::StringView> m1 = "cats"; in TEST()
365 Matcher<const internal::StringView&> m2 = "cats"; in TEST()
373 Matcher<internal::StringView> m1 = std::string("cats"); in TEST()
377 Matcher<const internal::StringView&> m2 = std::string("cats"); in TEST()
385 Matcher<internal::StringView> m1 = internal::StringView("cats"); in TEST()
389 Matcher<const internal::StringView&> m2 = internal::StringView("cats"); in TEST()
1246 EXPECT_EQ("foo", FromStringLike(internal::StringView("foo"))); in TEST()
1267 Matcher<const internal::StringView&> m3 = in TEST()
1268 StrEq(internal::StringView("Hello")); in TEST()
1269 EXPECT_TRUE(m3.Matches(internal::StringView("Hello"))); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DItaniumManglingCanonicalizer.cpp24 using llvm::itanium_demangle::StringView;
30 void operator()(StringView Str) { in operator ()()
315 StringView(Mangling.data(), Mangling.size())); in parseMaybeMangledName()
/third_party/skia/third_party/externals/abseil-cpp/
Dabsl_hardening_test.cc28 TEST(AbslHardeningTest, StringView) { in TEST() argument

12