/third_party/boost/boost/property_tree/detail/ |
D | xml_parser_utils.hpp | 23 template<class Str> 24 Str condense(const Str &s) in condense() 26 typedef typename Str::value_type Ch; in condense() 27 Str r; in condense() 30 typename Str::const_iterator end = s.end(); in condense() 31 for (typename Str::const_iterator it = s.begin(); in condense() 46 template<class Str> 47 Str encode_char_entities(const Str &s) in encode_char_entities() 52 typedef typename Str::value_type Ch; in encode_char_entities() 54 Str r; in encode_char_entities() [all …]
|
D | xml_parser_writer_settings.hpp | 21 template<class Str> 22 Str widen(const char *text) in widen() 24 typedef typename Str::value_type Ch; in widen() 25 Str result; in widen() 35 template<class Str> 38 typedef typename Str::value_type Ch; 41 typename Str::size_type incount = 0, in xml_writer_settings() 42 const Str &enc = widen<Str>("utf-8")) in xml_writer_settings() 50 typename Str::size_type indent_count; 51 Str encoding; [all …]
|
D | xml_parser_write.hpp | 22 template<class Str> 23 void write_xml_indent(std::basic_ostream<typename Str::value_type> &stream, in write_xml_indent() 25 const xml_writer_settings<Str> & settings in write_xml_indent() 28 …stream << std::basic_string<typename Str::value_type>(indent * settings.indent_count, settings.ind… in write_xml_indent() 31 template<class Str> 32 void write_xml_comment(std::basic_ostream<typename Str::value_type> &stream, in write_xml_comment() 33 const Str &s, in write_xml_comment() 36 const xml_writer_settings<Str> & settings in write_xml_comment() 39 typedef typename Str::value_type Ch; in write_xml_comment() 49 template<class Str> [all …]
|
D | ptree_utils.hpp | 57 template<typename Str> 58 Str widen(const char *text) in widen() 60 Str result; in widen() 63 result += typename Str::value_type(*text); in widen() 70 template<typename Str, typename char_type> 71 Str narrow(const char_type *text) in narrow() 73 Str result; in narrow() 79 result += typename Str::value_type(*text); in narrow() 86 template<class Str> 87 Str trim(const Str &s, const std::locale &loc = std::locale()) in trim() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringRef.cpp | 147 size_t StringRef::find(StringRef Str, size_t From) const { in find() argument 154 const char *Needle = Str.data(); in find() 155 size_t N = Str.size(); in find() 181 BadCharSkip[(uint8_t)Str[i]] = N-1-i; in find() 196 size_t StringRef::find_lower(StringRef Str, size_t From) const { in find_lower() argument 198 while (This.size() >= Str.size()) { in find_lower() 199 if (This.startswith_lower(Str)) in find_lower() 222 size_t StringRef::rfind(StringRef Str) const { in rfind() 223 size_t N = Str.size(); in rfind() 228 if (substr(i, N).equals(Str)) in rfind() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringRef.cpp | 133 size_t StringRef::find(StringRef Str, size_t From) const { in find() argument 140 const char *Needle = Str.data(); in find() 141 size_t N = Str.size(); in find() 167 BadCharSkip[(uint8_t)Str[i]] = N-1-i; in find() 182 size_t StringRef::find_lower(StringRef Str, size_t From) const { in find_lower() argument 184 while (This.size() >= Str.size()) { in find_lower() 185 if (This.startswith_lower(Str)) in find_lower() 208 size_t StringRef::rfind(StringRef Str) const { in rfind() 209 size_t N = Str.size(); in rfind() 214 if (substr(i, N).equals(Str)) in rfind() [all …]
|
D | ScaledNumber.cpp | 137 static void appendDigit(std::string &Str, unsigned D) { in appendDigit() argument 139 Str += '0' + D % 10; in appendDigit() 142 static void appendNumber(std::string &Str, uint64_t N) { in appendNumber() argument 144 appendDigit(Str, N % 10); in appendNumber() 238 std::string Str; in toString() local 241 appendNumber(Str, Above0); in toString() 242 DigitsOut = Str.size(); in toString() 244 appendDigit(Str, 0); in toString() 245 std::reverse(Str.begin(), Str.end()); in toString() 249 return Str + ".0"; in toString() [all …]
|
/third_party/flutter/skia/third_party/externals/wuffs/lang/check/ |
D | type.go | 36 return fmt.Errorf("check: duplicate var %q", name.Str(q.tm)) 71 cond.Str(q.tm), cond.MType().Str(q.tm)) 96 n.Keyword().Str(q.tm), n.IO().Str(q.tm), typ.Str(q.tm)) 108 n.Keyword().Str(q.tm), n.Arg1().Str(q.tm), typ.Str(q.tm), arg1Typ.Str(q.tm)) 128 o.LHS().Str(q.tm), typ.Str(q.tm)) 158 sepStr, labelStr = ":", id.Str(q.tm) 161 n.Keyword().Str(q.tm), sepStr, labelStr) 185 value.Str(q.tm), rTyp.Str(q.tm), lTyp.Str(q.tm)) 191 return fmt.Errorf("check: internal error: unchecked type expression %q", n.XType().Str(q.tm)) 206 cond.Str(q.tm), cond.MType().Str(q.tm)) [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceInst.cpp | 631 Ostream &Str = Func->getContext()->getStrDump(); in dumpDecorated() local 637 Str << "[XXX]"; in dumpDecorated() 639 Str << llvm::format("[%3d]", Number); in dumpDecorated() 641 Str << " "; in dumpDecorated() 643 Str << " //"; in dumpDecorated() 646 Str << "\n"; in dumpDecorated() 652 Ostream &Str = Func->getContext()->getStrDump(); in dump() local 654 Str << " =~ " << getInstName() << " "; in dump() 661 Ostream &Str = Func->getContext()->getStrDump(); in dumpExtras() local 669 Str << " // LIVEEND={"; in dumpExtras() [all …]
|
D | IceELFSection.h | 85 template <bool IsELF64> void writeHeader(ELFStreamer &Str); 110 void appendData(ELFStreamer &Str, const llvm::StringRef MoreData); 124 void appendData(ELFStreamer &Str, const llvm::StringRef MoreData); 126 void appendZeros(ELFStreamer &Str, SizeT NumBytes); 128 void appendRelocationOffset(ELFStreamer &Str, bool IsRela, 134 void padToAlignment(ELFStreamer &Str, Elf64_Xword Align); 198 void writeData(ELFStreamer &Str, bool IsELF64); 207 void writeSymbolMap(ELFStreamer &Str, const SymMap &Map); 246 void writeData(ELFStreamer &Str, const ELFSymbolTableSection *SymTab); 269 void add(const std::string &Str); [all …]
|
D | IceInstX8632.cpp | 406 Ostream &Str = Func->getContext()->getStrDump(); in dump() local 407 Str << "[X8632] "; in dump() 414 Ostream &Str = Func->getContext()->getStrDump(); in dump() local 416 Str << "rmw " << InstArithmetic::getOpName(getOp()) << " " << Ty << " *"; in dump() 418 Str << ", "; in dump() 420 Str << ", beacon="; in dump() 427 Ostream &Str = Func->getContext()->getStrEmit(); in emit() local 428 Str << getLabelName() << ":"; in emit() 442 Ostream &Str = Func->getContext()->getStrDump(); in dump() local 443 Str << getLabelName() << ":"; in dump() [all …]
|
D | IceInstX8664.cpp | 386 Ostream &Str = Func->getContext()->getStrDump(); in dump() local 387 Str << "[X8664] "; in dump() 394 Ostream &Str = Func->getContext()->getStrDump(); in dump() local 396 Str << "rmw " << InstArithmetic::getOpName(getOp()) << " " << Ty << " *"; in dump() 398 Str << ", "; in dump() 400 Str << ", beacon="; in dump() 407 Ostream &Str = Func->getContext()->getStrEmit(); in emit() local 408 Str << getLabelName() << ":"; in emit() 422 Ostream &Str = Func->getContext()->getStrDump(); in dump() local 423 Str << getLabelName() << ":"; in dump() [all …]
|
D | IceInstARM32.cpp | 106 void InstARM32Pred::dumpOpcodePred(Ostream &Str, const char *Opcode, in dumpOpcodePred() argument 108 Str << Opcode << getPredicate() << "." << Ty; in dumpOpcodePred() 160 Ostream &Str = Func->getContext()->getStrEmit(); in emitUnaryopGPR() local 163 Str << "\t" << Opcode; in emitUnaryopGPR() 165 Str << getWidthString(SrcTy); in emitUnaryopGPR() 166 Str << Instr->getPredicate() << "\t"; in emitUnaryopGPR() 168 Str << ", "; in emitUnaryopGPR() 174 Ostream &Str = Func->getContext()->getStrEmit(); in emitUnaryopFP() local 177 Str << "\t" << Opcode << Instr->getPredicate(); in emitUnaryopFP() 180 Str << getFpWidthString(SrcTy); in emitUnaryopFP() [all …]
|
D | IceInstMIPS32.h | 34 inline void emitRelocOp(Ostream &Str, RelocOp Reloc) { in emitRelocOp() argument 39 Str << "%hi"; in emitRelocOp() 42 Str << "%lo"; in emitRelocOp() 64 void dump(const Cfg *, Ostream &Str) const override { in dump() argument 66 Str << "<OperandMIPS32>"; in dump() 90 Ostream &Str = Func->getContext()->getStrEmit(); in emit() local 91 Str << "$fcc" << static_cast<uint16_t>(FpCondCode); in emit() 98 void dump(const Cfg *Func, Ostream &Str) const override { in dump() argument 102 Str << "$fcc" << static_cast<uint16_t>(FpCondCode); in dump() 152 void dump(const Cfg *Func, Ostream &Str) const override { in dump() argument [all …]
|
D | IceInstMIPS32.cpp | 64 Ostream &Str = Func->getContext()->getStrEmit(); in emit() local 66 Str << "\t" << Opcode << "\t"; in emit() 68 Str << ", "; in emit() 71 emitRelocOp(Str, Reloc); in emit() 72 Str << "("; in emit() 74 Str << ")"; in emit() 172 Ostream &Str = Func->getContext()->getStrDump(); in dump() local 173 Str << getLabelName() << ":"; in dump() 179 Ostream &Str = Func->getContext()->getStrEmit(); in emit() local 180 Str << getLabelName() << ":"; in emit() [all …]
|
D | IceELFSection.cpp | 27 void ELFTextSection::appendData(ELFStreamer &Str, in appendData() argument 29 Str.writeBytes(MoreData); in appendData() 35 void ELFDataSection::appendData(ELFStreamer &Str, in appendData() argument 37 Str.writeBytes(MoreData); in appendData() 41 void ELFDataSection::appendZeros(ELFStreamer &Str, SizeT NumBytes) { in appendZeros() argument 42 Str.writeZeroPadding(NumBytes); in appendZeros() 46 void ELFDataSection::appendRelocationOffset(ELFStreamer &Str, bool IsRela, in appendRelocationOffset() argument 50 appendZeros(Str, RelocAddrSize); in appendRelocationOffset() 54 Str.writeLE32(RelocOffset); in appendRelocationOffset() 58 void ELFDataSection::padToAlignment(ELFStreamer &Str, Elf64_Xword Align) { in padToAlignment() argument [all …]
|
D | IceELFObjectWriter.cpp | 71 : Ctx(Ctx), Str(Out), ELF64(isELF64(getFlags())) { in ELFObjectWriter() 204 Elf64_Off OffsetInFile = Str.tell(); in alignFileOffset() 208 Str.writeZeroPadding(AlignDiff); in alignFileOffset() 268 Section->appendData(Str, Asm->getBufferView()); in writeFunctionCode() 308 Section->appendData(Str, llvm::StringRef(SecData.data(), SecData.size())); in writeTargetRODataSection() 400 Section->padToAlignment(Str, Align); in writeDataOfType() 411 Section->appendZeros(Str, SymbolSize); in writeDataOfType() 422 Section->appendData(Str, llvm::StringRef(Data.data(), Data.size())); in writeDataOfType() 426 Section->appendZeros(Str, Init->getNumBytes()); in writeDataOfType() 439 Section->appendRelocationOffset(Str, RelSection->isRela(), in writeDataOfType() [all …]
|
/third_party/boost/boost/spirit/home/support/ |
D | string_traits.hpp | 294 template <typename T, typename Str> 295 inline typename Str::const_iterator get_begin(Str const& str) in get_begin() 298 template <typename T, typename Str> 299 inline typename Str::iterator 300 get_begin(Str& str BOOST_PROTO_DISABLE_IF_IS_CONST(Str)) in get_begin() argument 303 template <typename T, typename Str> 304 inline typename Str::const_iterator get_end(Str const& str) in get_end() 307 template <typename T, typename Str> 308 inline typename Str::iterator 309 get_end(Str& str BOOST_PROTO_DISABLE_IF_IS_CONST(Str)) in get_end() argument [all …]
|
/third_party/boost/boost/spirit/home/qi/string/ |
D | symbols.hpp | 147 template <typename Str> 149 operator=(Str const& str) in operator =() 155 template <typename Str> 157 operator+=(symbols& sym, Str const& str) in operator +=() 162 template <typename Str> 164 operator-=(symbols& sym, Str const& str) in operator -=() 171 template <typename Str> 173 operator+=(symbols& sym, Str& str) in operator +=() 179 template <typename Str> 181 operator-=(symbols& sym, Str& str) in operator -=() [all …]
|
/third_party/boost/boost/spirit/home/x3/support/traits/ |
D | string_traits.hpp | 135 template <typename T, typename Str> 136 inline typename Str::const_iterator get_string_begin(Str const& str) in get_string_begin() 139 template <typename T, typename Str> 140 inline typename Str::iterator 141 get_string_begin(Str& str) in get_string_begin() 144 template <typename T, typename Str> 145 inline typename Str::const_iterator get_string_end(Str const& str) in get_string_end() 148 template <typename T, typename Str> 149 inline typename Str::iterator 150 get_string_end(Str& str) in get_string_end()
|
/third_party/boost/boost/spirit/home/x3/string/ |
D | symbols.hpp | 119 template <typename Str> 121 operator=(Str const& str) in operator =() 127 template <typename Str> 129 operator+=(symbols_parser& sym, Str const& str) in operator +=() 134 template <typename Str> 136 operator-=(symbols_parser& sym, Str const& str) in operator -=() 147 template <typename Str> 148 value_type& at(Str const& str) in at() 166 template <typename Str> 167 value_type* find(Str const& str) in find() [all …]
|
/third_party/json/test/thirdparty/Fuzzer/ |
D | FuzzerUtil.cpp | 81 bool ParseOneDictionaryEntry(const std::string &Str, Unit *U) { in ParseOneDictionaryEntry() argument 83 if (Str.empty()) return false; in ParseOneDictionaryEntry() 84 size_t L = 0, R = Str.size() - 1; // We are parsing the range [L,R]. in ParseOneDictionaryEntry() 86 while (L < R && isspace(Str[L])) L++; in ParseOneDictionaryEntry() 87 while (R > L && isspace(Str[R])) R--; in ParseOneDictionaryEntry() 90 if (Str[R] != '"') return false; in ParseOneDictionaryEntry() 93 while (L < R && Str[L] != '"') L++; in ParseOneDictionaryEntry() 95 assert(Str[L] == '\"'); in ParseOneDictionaryEntry() 99 uint8_t V = (uint8_t)Str[Pos]; in ParseOneDictionaryEntry() 103 if (Pos + 1 <= R && (Str[Pos + 1] == '\\' || Str[Pos + 1] == '"')) { in ParseOneDictionaryEntry() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
D | StringView.h | 31 StringView(const char (&Str)[N]) : First(Str), Last(Str + N - 1) {} in StringView() 36 StringView(const char *Str) : First(Str), Last(Str + std::strlen(Str)) {} in StringView() argument 105 bool startsWith(StringView Str) const { in startsWith() argument 106 if (Str.size() > size()) in startsWith() 108 return std::equal(Str.begin(), Str.end(), begin()); in startsWith()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | StringRef.h | 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); 77 static constexpr size_t strLen(const char *Str) { in strLen() argument 79 return std::char_traits<char>::length(Str); in strLen() 82 return __builtin_strlen(Str); in strLen() 84 const char *Begin = Str; in strLen() 85 while (*Str != '\0') in strLen() 86 ++Str; in strLen() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DiagnosticPrinter.cpp | 37 DiagnosticPrinter &DiagnosticPrinterRawOStream::operator<<(StringRef Str) { in operator <<() argument 38 Stream << Str; in operator <<() 42 DiagnosticPrinter &DiagnosticPrinterRawOStream::operator<<(const char *Str) { in operator <<() argument 43 Stream << Str; in operator <<() 48 const std::string &Str) { in operator <<() argument 49 Stream << Str; in operator <<() 93 DiagnosticPrinter &DiagnosticPrinterRawOStream::operator<<(const Twine &Str) { in operator <<() argument 94 Str.print(Stream); in operator <<()
|