/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_md5.py | 10 def hexstr(s):
function 22 self.assertEqual(hexstr(md5(s).digest()), expected)
41 self.assertEqual(hexstr(m.digest()), h)
|
test_hashlib.py | 26 def hexstr(s):
function 139 self.assertTrue(hexstr(h.digest()) == h.hexdigest())
|
/external/python/cpython2/Lib/test/ |
test_md5.py | 10 def hexstr(s): function 22 self.assertEqual(hexstr(md5(s).digest()), expected) 41 self.assertEqual(hexstr(m.digest()), h)
|
test_hashlib.py | 28 def hexstr(s): function 147 self.assertTrue(hexstr(h.digest()) == h.hexdigest())
|
/external/curl/lib/ |
escape.c | 166 char hexstr[3]; local 168 hexstr[0] = string[1]; 169 hexstr[1] = string[2]; 170 hexstr[2] = 0; 172 hex = strtoul(hexstr, &ptr, 16);
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
microdump_writer.cc | 126 char hexstr[sizeof(T) * 2 + 1]; local 128 hexstr[i] = HEX[static_cast<uint8_t>(value) & 0x0F]; 129 hexstr[sizeof(T) * 2] = '\0'; 130 LogAppend(hexstr);
|
/external/python/cpython3/Modules/clinic/ |
binascii.c.h | 414 "a2b_hex($module, hexstr, /)\n" 419 "hexstr must contain an even number of hex digits (upper or lower case).\n" 426 binascii_a2b_hex_impl(PyObject *module, Py_buffer *hexstr); 432 Py_buffer hexstr = {NULL, NULL}; local 434 if (!PyArg_Parse(arg, "O&:a2b_hex", ascii_buffer_converter, &hexstr)) { 437 return_value = binascii_a2b_hex_impl(module, &hexstr); 440 /* Cleanup for hexstr */ 441 if (hexstr.obj) 442 PyBuffer_Release(&hexstr); 448 "unhexlify($module, hexstr, /)\n 465 Py_buffer hexstr = {NULL, NULL}; local [all...] |
/external/one-true-awk/ |
b.c | 235 int hexstr(uschar **pp) /* find and eval hex string at pp, return new p */ function 274 c = hexstr(&p); /* this adds a null if number is invalid */
|
/external/python/cpython3/Lib/test/ |
test_hashlib.py | 44 def hexstr(s): function 228 self.assertEqual(hexstr(h.digest(16)), h.hexdigest(16)) 231 self.assertEqual(hexstr(h.digest()), h.hexdigest()) [all...] |
/external/scapy/scapy/ |
utils.py | 166 def hexstr(x, onlyasc=0, onlyhex=0): function [all...] |
packet.py | 551 def hexstr(x): function in function:Packet.canvas_dump 559 return pyx.text.text(XDSTART+x*XMUL, (YDUMP-y)*YMUL, r"\tt{%s}"%hexstr(txt), [pyx.text.size.Large]) [all...] |
/external/python/cpython2/Modules/ |
_tkinter.c | 1054 PyObject *hexstr; local 1059 hexstr = _PyLong_Format(value, 16, 0, 1); 1060 if (hexstr == NULL) 1062 hexchars = PyString_AsString(hexstr); 1064 Py_DECREF(hexstr); 1071 Py_DECREF(hexstr); 1075 Py_DECREF(hexstr); [all...] |
/external/python/cpython3/Modules/ |
_tkinter.c | 943 PyObject *hexstr; local 948 hexstr = _PyLong_Format(value, 16); 949 if (hexstr == NULL) 951 hexchars = PyUnicode_AsUTF8(hexstr); 953 Py_DECREF(hexstr); 960 Py_DECREF(hexstr); 964 Py_DECREF(hexstr); [all...] |