Home
last modified time | relevance | path

Searched refs:HexStr (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DYAMLParser.cpp731 std::string HexStr = utohexstr(*i); in escape() local
732 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
756 std::string HexStr = utohexstr(UnicodeScalarValue.first); in escape() local
757 if (HexStr.size() <= 2) in escape()
758 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
759 else if (HexStr.size() <= 4) in escape()
760 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape()
761 else if (HexStr.size() <= 8) in escape()
762 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
/freebsd/usr.sbin/ppp/
H A Ddefs.h138 extern const char *HexStr(long, char *, size_t);
H A Ddefs.c345 HexStr(long val, char *buf, size_t sz) in HexStr() function
H A Dcbcp.c157 return HexStr(s, NULL, 0); in cbcpstate()
220 return HexStr(type, NULL, 0); in cbcp_data_Type()
H A Dip.c119 return HexStr(qclass, failure, sizeof failure); in dns_Qclass2Txt()
146 return HexStr(qtype, failure, sizeof failure); in dns_Qtype2Txt()
H A Dccp.c140 return HexStr(proto, NULL, 0); in protoname()
H A Dlcp.c150 return HexStr(proto, NULL, 0); in protoname()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp959 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local
960 if (!all_of(HexStr, isxdigit)) { in LexIdentifier()
965 APInt Tmp(bits, HexStr, 16); in LexIdentifier()