Home
last modified time | relevance | path

Searched refs:hex_encode (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/base/
Dstringencode.cc83 buffer[bufpos+1] = hex_encode((static_cast<unsigned char>(ch) >> 4) & 0xF); in encode()
84 buffer[bufpos+2] = hex_encode((static_cast<unsigned char>(ch) ) & 0xF); in encode()
158 buffer[bufpos+1] = hex_encode((ch >> 4) & 0xF); in url_encode()
159 buffer[bufpos+2] = hex_encode((ch ) & 0xF); in url_encode()
413 char hex_encode(unsigned char val) { in hex_encode() function
431 size_t hex_encode(char* buffer, size_t buflen, in hex_encode() function
453 buffer[bufpos ] = hex_encode((ch >> 4) & 0xF); in hex_encode_with_delimiter()
454 buffer[bufpos+1] = hex_encode((ch ) & 0xF); in hex_encode_with_delimiter()
469 std::string hex_encode(const std::string& str) { in hex_encode() function
470 return hex_encode(str.c_str(), str.size()); in hex_encode()
[all …]
Dmessagedigest_unittest.cc32 hex_encode(output, sizeof(output))); in TEST()
53 hex_encode(output, sizeof(output))); in TEST()
99 hex_encode(output, sizeof(output))); in TEST()
139 hex_encode(output, sizeof(output))); in TEST()
Dstringencode.h82 char hex_encode(unsigned char val);
87 size_t hex_encode(char* buffer, size_t buflen,
98 std::string hex_encode(const std::string& str);
99 std::string hex_encode(const char* source, size_t srclen);
Dstringencode_unittest.cc82 enc_res_ = hex_encode(encoded_, sizeof(encoded_), data_, sizeof(data_)); in TEST_F()
114 enc_res_ = hex_encode(encoded_, sizeof(encoded_), data_, sizeof(data_)); in TEST_F()
132 enc_res_ = hex_encode(encoded_, sizeof(encoded_), "", 0); in TEST_F()
149 std::string result = hex_encode(data_, sizeof(data_)); in TEST_F()
Dmessagedigest.cc88 return hex_encode(output.get(), digest->Size()); in ComputeDigest()
162 return hex_encode(output.get(), digest->Size()); in ComputeHmac()
Dmd5digest_unittest.cc47 hex_encode(output, sizeof(output))); in TEST()
Dsha1digest_unittest.cc48 hex_encode(output, sizeof(output))); in TEST()
Dlogging.cc469 hex_line[i*2 + i/4] = hex_encode(ch >> 4); in LogMultiline()
470 hex_line[i*2 + i/4 + 1] = hex_encode(ch & 0xf); in LogMultiline()
Dtestutils.h488 hex_encode(buffer, buffer_size, in CmpHelperMemEq()
498 hex_encode(buffer, buffer_size, in CmpHelperMemEq()
/external/python/cpython2/Lib/encodings/
Dhex_codec.py13 def hex_encode(input,errors='strict'): function
48 return hex_encode(input,errors)
73 encode=hex_encode,
/external/python/cpython3/Lib/encodings/
Dhex_codec.py13 def hex_encode(input, errors='strict'): function
23 return hex_encode(input, errors)
48 encode=hex_encode,
/external/webrtc/webrtc/p2p/base/
Dturnport.cc1044 << ", id=" << rtc::hex_encode(id()); in OnSent()
1050 << ", id=" << rtc::hex_encode(id()) in OnResponse()
1091 << ", id=" << rtc::hex_encode(id()) in OnErrorResponse()
1109 << ", id=" << rtc::hex_encode(id()) in OnErrorResponse()
1118 << rtc::hex_encode(id()) << " timout"; in OnTimeout()
1217 << ", id=" << rtc::hex_encode(id()); in OnSent()
1223 << ", id=" << rtc::hex_encode(id()) in OnResponse()
1251 << ", id=" << rtc::hex_encode(id()) in OnErrorResponse()
1260 LOG_J(LS_WARNING, port_) << "TURN refresh timeout " << rtc::hex_encode(id()); in OnTimeout()
1285 << ", id=" << rtc::hex_encode(id()); in OnSent()
[all …]
Dport.cc290 << " id=" << rtc::hex_encode(msg->transaction_id()) in OnReadPacket()
576 << ", id=" << rtc::hex_encode(response.transaction_id()); in SendBindingResponse()
586 << ", id=" << rtc::hex_encode(response.transaction_id()); in SendBindingResponse()
878 << " id=" << rtc::hex_encode(req->id()); in OnSendStunPacket()
913 << ", id=" << rtc::hex_encode(msg->transaction_id()); in OnReadPacket()
1018 oss << rtc::hex_encode(ping.id) << " "; in PrintPingsSinceLastResponse()
1023 oss << rtc::hex_encode(ping.id) << " "; in PrintPingsSinceLastResponse()
1099 << ", id=" << rtc::hex_encode(req->id()); in Ping()
1220 << ", id=" << rtc::hex_encode(request->id()) in OnConnectionRequestResponse()
1241 << " id=" << rtc::hex_encode(request->id()) in OnConnectionRequestErrorResponse()
[all …]
Dstunrequest.cc134 LOG(LS_WARNING) << "Failed to read STUN response " << rtc::hex_encode(id); in CheckResponse()
Dturnserver.cc399 std::string nonce = rtc::hex_encode(input.c_str(), input.size()); in GenerateNonce()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Daudio_checksum.h46 return rtc::hex_encode(checksum_result_, rtc::Md5Digest::kSize); in Finish()
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_unittests.cc77 rtc::hex_encode(checksum_result, sizeof(checksum_result))); in PlayFileAndCheck()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_unittest_oldapi.cc1136 checksum_string = rtc::hex_encode(checksum_result, rtc::Md5Digest::kSize); in Run()