Home
last modified time | relevance | path

Searched refs:StringView (Results 1 - 25 of 53) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
H A DMicrosoftDemangle.h14 #include "llvm/Demangle/StringView.h"
147 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
[all...]
H A DStringView.h1 //===--- StringView.h -------------------------------------------*- C++ -*-===//
23 class StringView { class
31 StringView(const char (&Str)[N]) : First(Str), Last(Str + N - 1) {} in StringView() function in StringView
32 StringView(const char *First_, const char *Last_) in StringView() function in StringView
34 StringView(const char *First_, size_t Len) in StringView() function in StringView
36 StringView(const char *Str) : First(Str), Last(Str + std::strlen(Str)) {} in StringView() function in StringView
37 StringView() : First(nullptr), Last(nullptr) {} in StringView() function in StringView
39 StringView substr(size_t From) const { in substr()
40 return StringView(begin() + From, size() - From); in substr()
54 StringView subst
[all...]
H A DItaniumDemangle.h22 #include "StringView.h"
202 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 Nam
[all...]
H A DUtility.h16 #include "StringView.h"
62 this->operator<<(StringView(TempPtr, std::end(Temp))); in writeUnsigned()
80 OutputStream &operator+=(StringView R) { in operator +=()
96 OutputStream &operator<<(StringView R) { return (*this += R); } in operator <<()
H A DMicrosoftDemangleNodes.h17 #include "llvm/Demangle/StringView.h"
29 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/node/deps/v8/include/v8-include/
H A Dv8-inspector.h50 class V8_EXPORT StringView { class
52 StringView() : m_is8Bit(true), m_length(0), m_characters8(nullptr) {} in StringView() function in v8_inspector::StringView
54 StringView(const uint8_t* characters, size_t length) in StringView() function in v8_inspector::StringView
57 StringView(const uint16_t* characters, size_t length) in StringView() function in v8_inspector::StringView
80 virtual StringView string() const = 0;
82 static std::unique_ptr<StringBuffer> create(StringView);
88 StringView humanReadableName) in V8ContextInfo()
97 StringView humanReadableName;
98 StringView origin;
99 StringView auxDat
[all...]
/third_party/node/deps/v8/include/
H A Dv8-inspector.h50 class V8_EXPORT StringView { class
52 StringView() : m_is8Bit(true), m_length(0), m_characters8(nullptr) {} in StringView() function in v8_inspector::StringView
54 StringView(const uint8_t* characters, size_t length) in StringView() function in v8_inspector::StringView
57 StringView(const uint16_t* characters, size_t length) in StringView() function in v8_inspector::StringView
80 virtual StringView string() const = 0;
82 static std::unique_ptr<StringBuffer> create(StringView);
88 StringView humanReadableName) in V8ContextInfo()
97 StringView humanReadableName;
98 StringView origin;
99 StringView auxDat
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp21 #include "llvm/Demangle/StringView.h"
32 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
[all...]
/third_party/googletest/googletest/src/
H A Dgtest-matchers.cc63 // Constructs a matcher that matches a const StringView& whose value is
65 Matcher<const internal::StringView&>::Matcher(const std::string& s) { in Matcher()
69 // Constructs a matcher that matches a const StringView& whose value is
71 Matcher<const internal::StringView&>::Matcher(const char* s) { in Matcher()
75 // Constructs a matcher that matches a const StringView& whose value is
77 Matcher<const internal::StringView&>::Matcher(internal::StringView s) { in Matcher()
81 // Constructs a matcher that matches a StringView whose value is equal to
83 Matcher<internal::StringView>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher()
85 // Constructs a matcher that matches a StringView whos
[all...]
/third_party/node/deps/googletest/src/
H A Dgtest-matchers.cc63 // Constructs a matcher that matches a const StringView& whose value is
65 Matcher<const internal::StringView&>::Matcher(const std::string& s) { in Matcher()
69 // Constructs a matcher that matches a const StringView& whose value is
71 Matcher<const internal::StringView&>::Matcher(const char* s) { in Matcher()
75 // Constructs a matcher that matches a const StringView& whose value is
77 Matcher<const internal::StringView&>::Matcher(internal::StringView s) { in Matcher()
81 // Constructs a matcher that matches a StringView whose value is equal to
83 Matcher<internal::StringView>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher()
85 // Constructs a matcher that matches a StringView whos
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dv8-inspector-session-impl.h39 StringView state);
74 void dispatchProtocolMessage(StringView message) override;
80 void schedulePauseOnNextStatement(StringView breakReason,
81 StringView breakDetails) override;
83 void breakProgram(StringView breakReason, StringView breakDetails) override;
88 searchInTextByLines(StringView text, StringView query, bool caseSensitive,
90 void releaseObjectGroup(StringView objectGroup) override;
91 bool unwrapObject(std::unique_ptr<StringBuffer>*, StringView objectI
[all...]
H A Dv8-inspector-session-impl.cc36 bool IsCBORMessage(StringView msg) { in IsCBORMessage()
41 Status ConvertToCBOR(StringView state, std::vector<uint8_t>* cbor) { in ConvertToCBOR()
49 std::unique_ptr<protocol::DictionaryValue> ParseState(StringView state) { in ParseState()
68 bool V8InspectorSession::canDispatchMethod(StringView method) { in canDispatchMethod()
90 V8Inspector::Channel* channel, StringView state) { in create()
99 StringView savedState) in V8InspectorSessionImpl()
264 void V8InspectorSessionImpl::releaseObjectGroup(StringView objectGroup) { in releaseObjectGroup()
278 std::unique_ptr<StringBuffer>* error, StringView objectId, in unwrapObject()
316 StringView groupName, bool generatePreview) { in wrapObject()
363 void V8InspectorSessionImpl::dispatchProtocolMessage(StringView messag
[all...]
H A Dstring-util.cc129 const StringView& string) { in toV8String()
157 String16 toString16(const StringView& string) { in toString16()
165 StringView toStringView(const String16& string) { in toStringView()
166 if (string.isEmpty()) return StringView(); in toStringView()
167 return StringView(string.characters16(), string.length()); in toStringView()
170 bool stringViewStartsWith(const StringView& string, const char* prefix) { in stringViewStartsWith()
186 // default-constructed StringView instance.
189 StringView string() const override { return StringView(); }
197 StringView strin
[all...]
H A Dstring-util.h68 v8::Local<v8::String> toV8String(v8::Isolate*, const StringView&);
72 String16 toString16(const StringView&);
73 StringView toStringView(const String16&);
75 StringView toStringView(const char* str[N]) { in toStringView()
76 return StringView(reinterpret_cast<const uint8_t*>(str), N); in toStringView()
78 bool stringViewStartsWith(const StringView&, const char*);
H A Dv8-inspector-impl.h83 StringView state) override;
92 unsigned exceptionThrown(v8::Local<v8::Context>, StringView message,
94 StringView detailedMessage, StringView url,
99 StringView message) override;
103 void asyncTaskScheduled(StringView taskName, void* task,
110 V8StackTraceId storeCurrentStackTrace(StringView description) override;
H A Dv8-stack-trace-impl.h74 StringView firstNonEmptySourceURL() const override;
76 StringView topSourceURL() const override;
80 StringView topFunctionName() const override;
H A Dv8-inspector-impl.cc149 int contextGroupId, V8Inspector::Channel* channel, StringView state) { in connect()
262 v8::Local<v8::Context> context, StringView message, in exceptionThrown()
263 v8::Local<v8::Value> exception, StringView detailedMessage, StringView url, in exceptionThrown()
283 StringView message) { in exceptionRevoked()
298 V8StackTraceId V8InspectorImpl::storeCurrentStackTrace(StringView description) { in storeCurrentStackTrace()
310 void V8InspectorImpl::asyncTaskScheduled(StringView taskName, void* task, in asyncTaskScheduled()
/third_party/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc238 // Matcher<StringView> or Matcher<const StringView&>.
240 Matcher<internal::StringView> m1 = "cats"; in TEST()
244 Matcher<const internal::StringView&> m2 = "cats"; in TEST()
250 // Matcher<StringView> or Matcher<const StringView&>.
252 Matcher<internal::StringView> m1 = std::string("cats"); in TEST()
256 Matcher<const internal::StringView&> m2 = std::string("cats"); in TEST()
261 // Tests that a StringView object can be implicitly converted to a
262 // Matcher<StringView> o
[all...]
/third_party/googletest/googletest/include/gtest/
H A Dgtest-matchers.h580 class GTEST_API_ Matcher<const internal::StringView&>
581 : public internal::MatcherBase<const internal::StringView&> {
585 explicit Matcher(const MatcherInterface<const internal::StringView&>* impl) in Matcher()
586 : internal::MatcherBase<const internal::StringView&>(impl) {} in Matcher()
591 : internal::MatcherBase<const internal::StringView&>(std::forward<M>(m)) { in Matcher()
602 Matcher(internal::StringView s); // NOLINT
606 class GTEST_API_ Matcher<internal::StringView>
607 : public internal::MatcherBase<internal::StringView> {
611 explicit Matcher(const MatcherInterface<const internal::StringView&>* impl) in Matcher()
612 : internal::MatcherBase<internal::StringView>(imp in Matcher()
[all...]
/third_party/node/deps/googletest/include/gtest/
H A Dgtest-matchers.h544 class GTEST_API_ Matcher<const internal::StringView&>
545 : public internal::MatcherBase<const internal::StringView&> {
549 explicit Matcher(const MatcherInterface<const internal::StringView&>* impl) in Matcher()
550 : internal::MatcherBase<const internal::StringView&>(impl) {} in Matcher()
555 : internal::MatcherBase<const internal::StringView&>(std::forward<M>(m)) { in Matcher()
566 Matcher(internal::StringView s); // NOLINT
570 class GTEST_API_ Matcher<internal::StringView>
571 : public internal::MatcherBase<internal::StringView> {
575 explicit Matcher(const MatcherInterface<const internal::StringView&>* impl) in Matcher()
576 : internal::MatcherBase<internal::StringView>(imp in Matcher()
[all...]
/third_party/node/src/
H A Dinspector_agent.h16 class StringView;
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,
H A Dinspector_agent.cc51 using v8_inspector::StringView;
68 return StringBuffer::create(StringView(*buffer, buffer.length())); in ToProtocolString()
222 session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView(), in ChannelImpl()
247 void dispatchProtocolMessage(const StringView& message) { in dispatchProtocolMessage()
299 void sendMessageToFrontend(const StringView& message) { in sendMessageToFrontend()
347 void Dispatch(const v8_inspector::StringView& message) override;
499 void dispatchMessageFromFrontend(int session_id, const StringView& message) { in dispatchMessageFromFrontend()
534 StringView(DETAILS, sizeof(DETAILS) - 1), in ReportUncaughtException()
560 void AsyncTaskScheduled(const StringView& task_name, void* task, in AsyncTaskScheduled()
656 const StringView
[all...]
H A Djs_native_api_v8_inspector.cc59 using v8_inspector::StringView;
290 void Dispatch(const StringView& message) override {
304 void SendMessageToFrontend(const v8_inspector::StringView& message) override {
611 void SendMessageToFrontend(const v8_inspector::StringView& message) override {
869 using v8_inspector::StringView;
878 return StringBuffer::create(StringView(*buffer, buffer.length())); in ToProtocolString()
902 StringView(), in ChannelImpl()
918 void dispatchProtocolMessage(const StringView& message) { in dispatchProtocolMessage()
970 void sendMessageToFrontend(const StringView& message) { in sendMessageToFrontend()
1017 void Dispatch(const v8_inspector::StringView
[all...]
/third_party/skia/modules/skplaintexteditor/include/
H A Deditor.h41 StringView operator*() { return fPtr->fText.view(); } in operator *()
50 // for (SkPlainTextEditor::StringView str : editor.text()) {
85 StringView line(size_t i) const { in line()
86 return i < fLines.size() ? fLines[i].fText.view() : StringView{nullptr, 0}; in line()
/third_party/node/src/inspector/
H A Dmain_thread_interface.cc15 using v8_inspector::StringView;
171 void Dispatch(const StringView& message) override {
185 void SendMessageToFrontend(const v8_inspector::StringView& message) override {
294 StringView view(reinterpret_cast<uint16_t*>(buffer.out()), utf16_length); in Utf8ToStringView()

Completed in 25 milliseconds

123