Home
last modified time | relevance | path

Searched refs:unhex (Results 1 – 21 of 21) sorted by relevance

/third_party/boost/libs/algorithm/doc/
Dhex.qbk12unhex`. They are inverse algorithms; that is, one undoes the effort of the other. `hex` takes a se…
14 `hex` and `unhex` come from MySQL, where they are used in database queries and stored procedures.
35 The function `unhex` takes the output of `hex` and turns it back into a sequence of values.
37 The input parameters for the different variations of `unhex` are the same as `hex`.
41 OutputIterator unhex ( InputIterator first, InputIterator last, OutputIterator out );
44 OutputIterator unhex ( const T *ptr, OutputIterator out );
47 OutputIterator unhex ( const Range &r, OutputIterator out );
58 If the input to `unhex` does not contain an "even number" of hex digits, then an exception of type …
60 If the input to `unhex` contains any non-hexadecimal characters, then an exception of type `boost::…
74 unhex ( "616263646566", out ) --> "abcdef"
[all …]
Dalgorithm.qbk187 [section:unhex unhex ]
188 [*[^[link header.boost.algorithm.hex_hpp unhex] ]…
190 [endsect:unhex]
/third_party/boost/libs/algorithm/test/
Dhex_test4.cpp27 try { ba::unhex ( std::string ( "A" ), std::back_inserter(s)); } in test_short_input1()
36 try { ba::unhex ( std::string ( "A" ), std::back_inserter(s)); } in test_short_input2()
45 try { ba::unhex ( std::string ( "A" ), std::back_inserter(s)); } in test_short_input3()
55 try { ba::unhex ( std::string ( "A" ), std::back_inserter(s)); } in test_short_input4()
66 try { ba::unhex ( "A", std::back_inserter(s)); } in test_short_input5()
87 try { ba::unhex ( "01234FG1234", std::back_inserter(s)); } in test_nonhex_input1()
100 try { ba::unhex ( "012Z4FA1234", std::back_inserter(s)); } in test_nonhex_input2()
113 try { ba::unhex ( "01234FA12Q4", std::back_inserter(s)); } in test_nonhex_input3()
127 try { ba::unhex ( "P1234FA1234", std::back_inserter(s)); } in test_nonhex_input4()
Dhex_test1.cpp35 boost::algorithm::unhex ( argh.c_str (), std::back_inserter ( one )); in test_to_hex()
36 boost::algorithm::unhex ( argh, std::back_inserter ( two )); in test_to_hex()
37 boost::algorithm::unhex ( argh.begin (), argh.end (), std::back_inserter ( three )); in test_to_hex()
38 four = boost::algorithm::unhex ( argh ); in test_to_hex()
60 boost::algorithm::unhex ( argh.c_str (), std::back_inserter ( one )); in test_to_hex_lower()
61 boost::algorithm::unhex ( argh, std::back_inserter ( two )); in test_to_hex_lower()
62 boost::algorithm::unhex ( argh.begin (), argh.end (), std::back_inserter ( three )); in test_to_hex_lower()
63 four = boost::algorithm::unhex ( argh ); in test_to_hex_lower()
77 boost::algorithm::unhex ( *p, std::back_inserter ( one )); in test_from_hex_success()
78 boost::algorithm::unhex ( arg, std::back_inserter ( two )); in test_from_hex_success()
[all …]
Dhex_test2.cpp49 boost::algorithm::unhex ( argh, std::back_inserter ( two )); in test_to_hex()
50 boost::algorithm::unhex ( argh.begin (), argh.end (), std::back_inserter ( three )); in test_to_hex()
72 boost::algorithm::unhex ( argh, std::front_inserter ( two )); in test_to_hex()
73 boost::algorithm::unhex ( argh.begin (), argh.end (), std::front_inserter ( three )); in test_to_hex()
92 boost::algorithm::unhex ( *p, std::back_inserter ( one )); in test_from_hex_success()
93 boost::algorithm::unhex ( arg, std::back_inserter ( two )); in test_from_hex_success()
94 boost::algorithm::unhex ( arg.begin (), arg.end (), std::back_inserter ( three )); in test_from_hex_success()
114 boost::algorithm::unhex ( *p, std::front_inserter ( one )); in test_from_hex_success()
115 boost::algorithm::unhex ( arg, std::front_inserter ( two )); in test_from_hex_success()
116 boost::algorithm::unhex ( arg.begin (), arg.end (), std::front_inserter ( three )); in test_from_hex_success()
Dhex_test3.cpp42 boost::algorithm::unhex ( argh.c_str (), Iter ( one )); in test_to_hex()
43 boost::algorithm::unhex ( argh, Iter ( two )); in test_to_hex()
44 boost::algorithm::unhex ( argh.begin (), argh.end (), Iter ( three )); in test_to_hex()
62 boost::algorithm::unhex ( *p, Iter ( one )); in test_from_hex_success()
63 boost::algorithm::unhex ( arg, Iter ( two )); in test_from_hex_success()
64 boost::algorithm::unhex ( arg.begin (), arg.end (), Iter ( three )); in test_from_hex_success()
Dhex_fail1.cpp22 boost::algorithm::unhex ( out, std::back_inserter(v)); in main()
/third_party/boost/libs/beast/test/beast/core/
D_detail_sha1.cpp25 unhex(char c) in unhex() function in boost::beast::detail::sha1_test
38 unhex(std::string const& in) in unhex() function in boost::beast::detail::sha1_test
46 (unhex(in[i])<<4) + unhex(in[i+1])); in unhex()
54 digest = unhex(answer); in check()
/third_party/boost/boost/algorithm/
Dhex.hpp245 OutputIterator unhex ( InputIterator first, InputIterator last, OutputIterator out ) { in unhex() function
260 OutputIterator unhex ( const T *ptr, OutputIterator out ) { in unhex() function
278 OutputIterator unhex ( const Range &r, OutputIterator out ) { in unhex() function
279 return unhex (boost::begin(r), boost::end(r), out); in unhex()
317 String unhex ( const String &input ) { in unhex() function
320 (void) unhex (input, std::back_inserter (output)); in unhex()
/third_party/boost/boost/beast/http/detail/
Drfc7230.hpp57 unhex(char c);
Dbasic_parser.hpp93 unhex(unsigned char& d, char c);
Dbasic_parser.ipp79 unhex(unsigned char& d, char c)
187 if(! unhex(d, *it))
199 while(unhex(d, *++it));
Drfc7230.ipp198 unhex(char c)
/third_party/boost/libs/beast/include/boost/beast/http/detail/
Drfc7230.hpp57 unhex(char c);
Dbasic_parser.hpp93 unhex(unsigned char& d, char c);
Dbasic_parser.ipp79 unhex(unsigned char& d, char c)
187 if(! unhex(d, *it))
199 while(unhex(d, *++it));
Drfc7230.ipp198 unhex(char c)
/third_party/python/Lib/
Dquopri.py151 new = new + bytes((unhex(line[i+1:i+3]),)); i = i+3
177 def unhex(s): function
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dcrawl.go149 func unhex(b byte) uint8 { func
166 u0 := unhex(b[0])
167 u1 := unhex(b[1])
/third_party/node/src/
Dstring_bytes.cc242 static inline unsigned unhex(uint8_t x) { in unhex() function
253 unsigned a = unhex(static_cast<uint8_t>(src[i * 2 + 0])); in hex_decode()
254 unsigned b = unhex(static_cast<uint8_t>(src[i * 2 + 1])); in hex_decode()
/third_party/boost/libs/beast/test/bench/parser/nodejs-parser/
Dhttp_parser.c224 static const int8_t unhex[256] = variable
1938 unhex_val = unhex[(unsigned char)ch]; in http_parser_execute()
1960 unhex_val = unhex[(unsigned char)ch]; in http_parser_execute()