/third_party/nghttp2/src/ |
D | shrpx_config.h | 78 StringRef::from_lit("private-key-file"); 80 StringRef::from_lit("private-key-passwd-file"); 82 StringRef::from_lit("certificate-file"); 83 constexpr auto SHRPX_OPT_DH_PARAM_FILE = StringRef::from_lit("dh-param-file"); 84 constexpr auto SHRPX_OPT_SUBCERT = StringRef::from_lit("subcert"); 85 constexpr auto SHRPX_OPT_BACKEND = StringRef::from_lit("backend"); 86 constexpr auto SHRPX_OPT_FRONTEND = StringRef::from_lit("frontend"); 87 constexpr auto SHRPX_OPT_WORKERS = StringRef::from_lit("workers"); 89 StringRef::from_lit("http2-max-concurrent-streams"); 90 constexpr auto SHRPX_OPT_LOG_LEVEL = StringRef::from_lit("log-level"); [all …]
|
D | http2_test.cc | 134 {StringRef::from_lit("alpha"), StringRef::from_lit("0"), true}, 135 {StringRef::from_lit("bravo"), StringRef::from_lit("1")}, 136 {StringRef::from_lit("connection"), StringRef::from_lit("2"), false, 138 {StringRef::from_lit("connection"), StringRef::from_lit("3"), false, 140 {StringRef::from_lit("delta"), StringRef::from_lit("4")}, 141 {StringRef::from_lit("expect"), StringRef::from_lit("5")}, 142 {StringRef::from_lit("foxtrot"), StringRef::from_lit("6")}, 143 {StringRef::from_lit("tango"), StringRef::from_lit("7")}, 144 {StringRef::from_lit("te"), StringRef::from_lit("8"), false, http2::HD_TE}, 145 {StringRef::from_lit("te"), StringRef::from_lit("9"), false, http2::HD_TE}, [all …]
|
D | util_test.cc | 44 util::streq(StringRef::from_lit("alpha"), StringRef::from_lit("alpha"))); in test_util_streq() 45 CU_ASSERT(!util::streq(StringRef::from_lit("alpha"), in test_util_streq() 46 StringRef::from_lit("alphabravo"))); in test_util_streq() 47 CU_ASSERT(!util::streq(StringRef::from_lit("alphabravo"), in test_util_streq() 48 StringRef::from_lit("alpha"))); in test_util_streq() 50 !util::streq(StringRef::from_lit("alpha"), StringRef::from_lit("alphA"))); in test_util_streq() 51 CU_ASSERT(!util::streq(StringRef{}, StringRef::from_lit("a"))); in test_util_streq() 52 CU_ASSERT(util::streq(StringRef{}, StringRef{})); in test_util_streq() 53 CU_ASSERT(!util::streq(StringRef::from_lit("alpha"), StringRef{})); in test_util_streq() 56 !util::streq(StringRef::from_lit("alph"), StringRef::from_lit("alpha"))); in test_util_streq() [all …]
|
D | shrpx_worker_test.cc | 62 router.add_route(StringRef{g->pattern}, i); in test_shrpx_worker_match_downstream_addr_group() 66 routerconf, StringRef::from_lit("nghttp2.org"), in test_shrpx_worker_match_downstream_addr_group() 67 StringRef::from_lit("/"), groups, 255, balloc)); in test_shrpx_worker_match_downstream_addr_group() 71 routerconf, StringRef::from_lit("nghttp2.org:8080"), in test_shrpx_worker_match_downstream_addr_group() 72 StringRef::from_lit("/"), groups, 255, balloc)); in test_shrpx_worker_match_downstream_addr_group() 76 routerconf, StringRef::from_lit("WWW.nghttp2.org"), in test_shrpx_worker_match_downstream_addr_group() 77 StringRef::from_lit("/alpha"), groups, 255, balloc)); in test_shrpx_worker_match_downstream_addr_group() 80 routerconf, StringRef::from_lit("nghttp2.org"), in test_shrpx_worker_match_downstream_addr_group() 81 StringRef::from_lit("/alpha/bravo/"), groups, 255, in test_shrpx_worker_match_downstream_addr_group() 86 routerconf, StringRef::from_lit("nghttp2.org"), in test_shrpx_worker_match_downstream_addr_group() [all …]
|
D | shrpx_router_test.cc | 34 StringRef pattern; 41 {StringRef::from_lit("nghttp2.org/"), 0}, in test_shrpx_router_match() 42 {StringRef::from_lit("nghttp2.org/alpha"), 1}, in test_shrpx_router_match() 43 {StringRef::from_lit("nghttp2.org/alpha/"), 2}, in test_shrpx_router_match() 44 {StringRef::from_lit("nghttp2.org/alpha/bravo/"), 3}, in test_shrpx_router_match() 45 {StringRef::from_lit("www.nghttp2.org/alpha/"), 4}, in test_shrpx_router_match() 46 {StringRef::from_lit("/alpha"), 5}, in test_shrpx_router_match() 47 {StringRef::from_lit("example.com/alpha/"), 6}, in test_shrpx_router_match() 48 {StringRef::from_lit("nghttp2.org/alpha/bravo2/"), 7}, in test_shrpx_router_match() 49 {StringRef::from_lit("www2.nghttp2.org/alpha/"), 8}, in test_shrpx_router_match() [all …]
|
D | shrpx_downstream_test.cc | 38 fs.alloc_add_header_name(StringRef::from_lit("alpha")); in test_downstream_field_store_append_last_header() 39 auto bravo = StringRef::from_lit("BRAVO"); in test_downstream_field_store_append_last_header() 42 auto golf = StringRef::from_lit("golF0123456789"); in test_downstream_field_store_append_last_header() 45 auto charlie = StringRef::from_lit("Charlie"); in test_downstream_field_store_append_last_header() 47 auto delta = StringRef::from_lit("deltA"); in test_downstream_field_store_append_last_header() 50 auto echo = StringRef::from_lit("echo0123456789"); in test_downstream_field_store_append_last_header() 53 fs.add_header_token(StringRef::from_lit("echo"), in test_downstream_field_store_append_last_header() 54 StringRef::from_lit("foxtrot"), false, -1); in test_downstream_field_store_append_last_header() 57 HeaderRefs{{StringRef::from_lit("alphabravogolf0123456789"), in test_downstream_field_store_append_last_header() 58 StringRef::from_lit("CharliedeltAecho0123456789")}, in test_downstream_field_store_append_last_header() [all …]
|
D | shrpx_http_test.cc | 49 StringRef::from_lit("example.com:3000"), in test_shrpx_http_create_forwarded() 50 StringRef::from_lit("[::1]"), in test_shrpx_http_create_forwarded() 51 StringRef::from_lit("www.example.com"), in test_shrpx_http_create_forwarded() 52 StringRef::from_lit("https"))); in test_shrpx_http_create_forwarded() 56 balloc, FORWARDED_FOR, StringRef::from_lit("alpha"), in test_shrpx_http_create_forwarded() 57 StringRef::from_lit("192.168.0.1"), in test_shrpx_http_create_forwarded() 58 StringRef::from_lit("bravo"), StringRef::from_lit("charlie"))); in test_shrpx_http_create_forwarded() 63 StringRef::from_lit("_hidden"), StringRef::from_lit("[::1]"), in test_shrpx_http_create_forwarded() 64 StringRef::from_lit(""), StringRef::from_lit(""))); in test_shrpx_http_create_forwarded() 69 StringRef::from_lit("[::1]"), StringRef::from_lit("_hidden"), in test_shrpx_http_create_forwarded() [all …]
|
D | http2.cc | 35 StringRef get_reason_phrase(unsigned int status_code) { in get_reason_phrase() 38 return StringRef::from_lit("Continue"); in get_reason_phrase() 40 return StringRef::from_lit("Switching Protocols"); in get_reason_phrase() 42 return StringRef::from_lit("Early Hints"); in get_reason_phrase() 44 return StringRef::from_lit("OK"); in get_reason_phrase() 46 return StringRef::from_lit("Created"); in get_reason_phrase() 48 return StringRef::from_lit("Accepted"); in get_reason_phrase() 50 return StringRef::from_lit("Non-Authoritative Information"); in get_reason_phrase() 52 return StringRef::from_lit("No Content"); in get_reason_phrase() 54 return StringRef::from_lit("Reset Content"); in get_reason_phrase() [all …]
|
D | http2.h | 73 HeaderRef(const StringRef &name, const StringRef &value, 87 StringRef name; 88 StringRef value; 100 StringRef get_reason_phrase(unsigned int status_code); 103 StringRef stringify_status(BlockAllocator &balloc, unsigned int status_code); 105 void capitalize(DefaultMemchunks *buf, const StringRef &s); 142 nghttp2_nv make_nv(const StringRef &name, const StringRef &value, 148 nghttp2_nv make_nv_nocopy(const StringRef &name, const StringRef &value, 186 nghttp2_nv make_nv_ls_nocopy(const char (&name)[N], const StringRef &value) { in make_nv_ls_nocopy() 286 StringRef rewrite_location_uri(BlockAllocator &balloc, const StringRef &uri, [all …]
|
D | shrpx_tls_test.cc | 41 constexpr StringRef hostnames[] = { in test_shrpx_tls_create_lookup_tree() 42 StringRef::from_lit("example.com"), // 0 in test_shrpx_tls_create_lookup_tree() 43 StringRef::from_lit("www.example.org"), // 1 in test_shrpx_tls_create_lookup_tree() 44 StringRef::from_lit("*www.example.org"), // 2 in test_shrpx_tls_create_lookup_tree() 45 StringRef::from_lit("xy*.host.domain"), // 3 in test_shrpx_tls_create_lookup_tree() 46 StringRef::from_lit("*yy.host.domain"), // 4 in test_shrpx_tls_create_lookup_tree() 47 StringRef::from_lit("nghttp2.sourceforge.net"), // 5 in test_shrpx_tls_create_lookup_tree() 48 StringRef::from_lit("sourceforge.net"), // 6 in test_shrpx_tls_create_lookup_tree() 49 StringRef::from_lit("sourceforge.net"), // 7, duplicate in test_shrpx_tls_create_lookup_tree() 50 StringRef::from_lit("*.foo.bar"), // 8, oo.bar is suffix of *.foo.bar in test_shrpx_tls_create_lookup_tree() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | ARMTargetParser.h | 66 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName() 83 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName() 107 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName() 171 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName() 200 StringRef getName() const { return StringRef(NameCStr, NameLength); } in getName() 203 StringRef getCPUAttr() const { return StringRef(CPUAttrCStr, CPUAttrLength); } in getCPUAttr() 206 StringRef getSubArch() const { return StringRef(SubArchCStr, SubArchLength); } in getSubArch() 221 StringRef getFPUName(unsigned FPUKind); 227 bool getFPUFeatures(unsigned FPUKind, std::vector<StringRef> &Features); 228 bool getHWDivFeatures(unsigned HWDivKind, std::vector<StringRef> &Features); [all …]
|
D | ScopedPrinter.h | 24 StringRef Name; 32 StringRef AltName; 34 EnumEntry(StringRef N, StringRef A, T V) : Name(N), AltName(A), Value(V) {} in EnumEntry() 35 EnumEntry(StringRef N, T V) : Name(N), AltName(N), Value(V) {} in EnumEntry() 84 void setPrefix(StringRef P) { Prefix = P; } in setPrefix() 95 void printEnum(StringRef Label, T Value, in printEnum() 97 StringRef Name; in printEnum() 115 void printFlags(StringRef Label, T Value, ArrayRef<EnumEntry<TFlag>> Flags, 149 template <typename T> void printFlags(StringRef Label, T Value) { in printFlags() 162 void printNumber(StringRef Label, uint64_t Value) { in printNumber() [all …]
|
D | Path.h | 54 const StringRef> { 55 StringRef Path; ///< The entire path. 56 StringRef Component; ///< The current component. Not necessarily in Path. 61 friend const_iterator begin(StringRef path, Style style); 62 friend const_iterator end(StringRef path); 80 const StringRef> { 81 StringRef Path; ///< The entire path. 82 StringRef Component; ///< The current component. Not necessarily in Path. 86 friend reverse_iterator rbegin(StringRef path, Style style); 87 friend reverse_iterator rend(StringRef path); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | StringRef.h | 35 class StringRef; variable 38 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 41 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 43 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix, 45 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result); 54 class StringRef { 96 /*implicit*/ StringRef() = default; 100 StringRef(std::nullptr_t) = delete; 103 /*implicit*/ constexpr StringRef(const char *Str) in StringRef() function 107 /*implicit*/ constexpr StringRef(const char *data, size_t length) in StringRef() function [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringRef.h | 28 class StringRef; variable 31 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 34 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 36 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix, 38 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result); 47 class StringRef { 74 /*implicit*/ StringRef() = default; 78 StringRef(std::nullptr_t) = delete; 82 /*implicit*/ StringRef(const char *Str) in StringRef() function 87 /*implicit*/ constexpr StringRef(const char *data, size_t length) in StringRef() function [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Path.h | 50 : public std::iterator<std::input_iterator_tag, const StringRef> { 51 StringRef Path; ///< The entire path. 52 StringRef Component; ///< The current component. Not necessarily in Path. 56 friend const_iterator begin(StringRef path); 57 friend const_iterator end(StringRef path); 76 : public std::iterator<std::input_iterator_tag, const StringRef> { 77 StringRef Path; ///< The entire path. 78 StringRef Component; ///< The current component. Not necessarily in Path. 81 friend reverse_iterator rbegin(StringRef path); 82 friend reverse_iterator rend(StringRef path); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 45 template<bool (DarwinAsmParser::*HandlerMethod)(StringRef, SMLoc)> 46 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() 52 bool parseSectionSwitch(StringRef Segment, StringRef Section, 201 bool parseDirectiveAltEntry(StringRef, SMLoc); 202 bool parseDirectiveDesc(StringRef, SMLoc); 203 bool parseDirectiveIndirectSymbol(StringRef, SMLoc); 204 bool parseDirectiveDumpOrLoad(StringRef, SMLoc); 205 bool parseDirectiveLsym(StringRef, SMLoc); 206 bool parseDirectiveLinkerOption(StringRef, SMLoc); 207 bool parseDirectiveSection(StringRef, SMLoc); [all …]
|
D | AsmLexer.cpp | 34 AllowAtInIdentifier = !StringRef(MAI.getCommentString()).startswith("@"); in AsmLexer() 39 void AsmLexer::setBuffer(StringRef Buf, const char *ptr) { in setBuffer() 55 return AsmToken(AsmToken::Error, StringRef(Loc, CurPtr - Loc)); in ReturnError() 87 StringRef(TokStart, CurPtr - TokStart)); in LexFloatLiteral() 134 return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart)); in LexHexFloatLiteral() 160 return AsmToken(AsmToken::Dot, StringRef(TokStart, 1)); in LexIdentifier() 162 return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart)); in LexIdentifier() 177 return AsmToken(AsmToken::Slash, StringRef(TokStart, 1)); in LexSlash() 193 StringRef(CommentTextStart, CurPtr - 1 - CommentTextStart)); in LexSlash() 197 StringRef(TokStart, CurPtr - TokStart)); in LexSlash() [all …]
|
D | COFFAsmParser.cpp | 35 template<bool (COFFAsmParser::*HandlerMethod)(StringRef, SMLoc)> 36 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() 42 bool ParseSectionSwitch(StringRef Section, 46 bool ParseSectionSwitch(StringRef Section, unsigned Characteristics, 47 SectionKind Kind, StringRef COMDATSymName, 50 bool ParseSectionName(StringRef &SectionName); 51 bool ParseSectionFlags(StringRef SectionName, StringRef FlagsString, 93 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 101 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 108 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/ |
D | BitstreamRemarkContainer.h | 70 constexpr StringRef MetaBlockName = StringRef("Meta", 4); 71 constexpr StringRef RemarkBlockName = StringRef("Remark", 6); 92 constexpr StringRef MetaContainerInfoName = StringRef("Container info", 14); 93 constexpr StringRef MetaRemarkVersionName = StringRef("Remark version", 14); 94 constexpr StringRef MetaStrTabName = StringRef("String table", 12); 95 constexpr StringRef MetaExternalFileName = StringRef("External File", 13); 96 constexpr StringRef RemarkHeaderName = StringRef("Remark header", 13); 97 constexpr StringRef RemarkDebugLocName = StringRef("Remark debug location", 21); 98 constexpr StringRef RemarkHotnessName = StringRef("Remark hotness", 14); 99 constexpr StringRef RemarkArgWithDebugLocName = [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/ |
D | Dwarf.cpp | 21 StringRef llvm::dwarf::TagString(unsigned Tag) { in TagString() 24 return StringRef(); in TagString() 32 unsigned llvm::dwarf::getTag(StringRef TagString) { in getTag() 62 StringRef llvm::dwarf::ChildrenString(unsigned Children) { in ChildrenString() 69 return StringRef(); in ChildrenString() 72 StringRef llvm::dwarf::AttributeString(unsigned Attribute) { in AttributeString() 75 return StringRef(); in AttributeString() 105 StringRef llvm::dwarf::FormEncodingString(unsigned Encoding) { in FormEncodingString() 108 return StringRef(); in FormEncodingString() 138 StringRef llvm::dwarf::OperationEncodingString(unsigned Encoding) { in OperationEncodingString() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DIBuilder.h | 139 createCompileUnit(unsigned Lang, DIFile *File, StringRef Producer, 140 bool isOptimized, StringRef Flags, unsigned RV, 141 StringRef SplitName = StringRef(), 157 createFile(StringRef Filename, StringRef Directory, 158 Optional<DIFile::ChecksumInfo<StringRef>> Checksum = None, 159 Optional<StringRef> Source = None); 168 StringRef Name, StringRef Value = StringRef()); 180 DIEnumerator *createEnumerator(StringRef Name, int64_t Val, bool IsUnsigned = false); 183 DIBasicType *createUnspecifiedType(StringRef Name); 194 DIBasicType *createBasicType(StringRef Name, uint64_t SizeInBits, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringRef.cpp | 22 const size_t StringRef::npos; 38 int StringRef::compare_lower(StringRef RHS) const { in compare_lower() 47 bool StringRef::startswith_lower(StringRef Prefix) const { in startswith_lower() 53 bool StringRef::endswith_lower(StringRef Suffix) const { in endswith_lower() 58 size_t StringRef::find_lower(char C, size_t From) const { in find_lower() 64 int StringRef::compare_numeric(StringRef RHS) const { in compare_numeric() 95 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() 108 std::string StringRef::lower() const { in lower() 116 std::string StringRef::upper() const { in upper() 133 size_t StringRef::find(StringRef Str, size_t From) const { in find() [all …]
|
D | ARMTargetParser.cpp | 20 static StringRef getHWDivSynonym(StringRef HWDiv) { in getHWDivSynonym() 21 return StringSwitch<StringRef>(HWDiv) in getHWDivSynonym() 27 ARM::ArchKind ARM::parseArch(StringRef Arch) { in parseArch() 29 StringRef Syn = getArchSynonym(Arch); in parseArch() 38 unsigned ARM::parseArchVersion(StringRef Arch) { in parseArchVersion() 89 ARM::ProfileKind ARM::parseArchProfile(StringRef Arch) { in parseArchProfile() 135 StringRef ARM::getArchSynonym(StringRef Arch) { in getArchSynonym() 136 return StringSwitch<StringRef>(Arch) in getArchSynonym() 160 bool ARM::getFPUFeatures(unsigned FPUKind, std::vector<StringRef> &Features) { in getFPUFeatures() 224 ARM::EndianKind ARM::parseArchEndian(StringRef Arch) { in parseArchEndian() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringRef.cpp | 20 const size_t StringRef::npos; 52 int StringRef::compare_lower(StringRef RHS) const { in compare_lower() 61 bool StringRef::startswith_lower(StringRef Prefix) const { in startswith_lower() 67 bool StringRef::endswith_lower(StringRef Suffix) const { in endswith_lower() 72 size_t StringRef::find_lower(char C, size_t From) const { in find_lower() 78 int StringRef::compare_numeric(StringRef RHS) const { in compare_numeric() 109 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() 122 std::string StringRef::lower() const { in lower() 130 std::string StringRef::upper() const { in upper() 147 size_t StringRef::find(StringRef Str, size_t From) const { in find() [all …]
|