Home
last modified time | relevance | path

Searched refs:hexbuf (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/x509v3/
Dv3_utl.c474 unsigned char *hexbuf, *q; in x509v3_hex_to_bytes() local
480 if (!(hexbuf = OPENSSL_malloc(strlen(str) >> 1))) in x509v3_hex_to_bytes()
482 for (p = (unsigned char *)str, q = hexbuf; *p;) { in x509v3_hex_to_bytes()
489 OPENSSL_free(hexbuf); in x509v3_hex_to_bytes()
515 *len = q - hexbuf; in x509v3_hex_to_bytes()
517 return hexbuf; in x509v3_hex_to_bytes()
520 if (hexbuf) in x509v3_hex_to_bytes()
521 OPENSSL_free(hexbuf); in x509v3_hex_to_bytes()
526 OPENSSL_free(hexbuf); in x509v3_hex_to_bytes()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_utl.c474 unsigned char *hexbuf, *q; in x509v3_hex_to_bytes() local
480 if (!(hexbuf = OPENSSL_malloc(strlen(str) >> 1))) in x509v3_hex_to_bytes()
482 for (p = (unsigned char *)str, q = hexbuf; *p;) { in x509v3_hex_to_bytes()
489 OPENSSL_free(hexbuf); in x509v3_hex_to_bytes()
515 *len = q - hexbuf; in x509v3_hex_to_bytes()
517 return hexbuf; in x509v3_hex_to_bytes()
520 if (hexbuf) in x509v3_hex_to_bytes()
521 OPENSSL_free(hexbuf); in x509v3_hex_to_bytes()
526 OPENSSL_free(hexbuf); in x509v3_hex_to_bytes()
/external/llvm-project/lldb/tools/debugserver/source/
DRNBRemote.cpp809 char hexbuf[5]; in SendPacket() local
816 snprintf(hexbuf, sizeof hexbuf, "%02x", cksum & 0xff); in SendPacket()
817 sendpacket += hexbuf; in SendPacket()
2683 char hexbuf[5]; in cstring_to_asciihex_string() local
2684 snprintf (hexbuf, sizeof(hexbuf), "%02x", c); in cstring_to_asciihex_string()
2685 hex_str += hexbuf; in cstring_to_asciihex_string()
3150 char hexbuf[3]; in HandlePacket_M() local
3151 hexbuf[0] = *p; in HandlePacket_M()
3152 hexbuf[1] = *(p + 1); in HandlePacket_M()
3153 hexbuf[2] = '\0'; in HandlePacket_M()
[all …]