HomeSort by relevance Sort by last modified time
    Searched refs:hexstr (Results 1 - 22 of 22) sorted by null

  /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/u-boot/lib/efi_loader/
efi_variable.c 63 static int hex2mem(u8 *mem, const char *hexstr, int size)
69 if (*hexstr == '\0')
72 nibble = hex(*hexstr);
77 hexstr++;
79 nibble = hex(*hexstr);
84 hexstr++;
91 static char *mem2hex(char *hexstr, const u8 *mem, int count)
97 *hexstr++ = hexchars[ch >> 4];
98 *hexstr++ = hexchars[ch & 0xf];
101 return hexstr;
    [all...]
  /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/u-boot/board/gdsys/a38x/
keyprogram.c 38 int decode_hexstr(char *hexstr, u8 **result)
40 int len = strlen(hexstr);
51 char cur = tolower(hexstr[i]);
  /external/u-boot/cmd/
binop.c 34 void decode_hexstring(char *hexstr, u8 *result)
39 for (i = 0; i < strlen(hexstr); ++i) {
40 char d = hexstr[i];
  /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/one-true-awk/
proto.h 46 extern int hexstr(uschar **);
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 */
FIXES 841 fixed silly bug in hex parsing in hexstr().
    [all...]
  /external/python/cpython3/Modules/
binascii.c     [all...]
_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...]
  /external/capstone/bindings/vb6/
mMisc.bas 157 Public Function toBytes(ByVal hexstr, Optional strRet As Boolean = False)
180 str = Replace(hexstr, vbCr, Empty)
  /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/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/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp     [all...]
  /external/scapy/scapy/layers/
l2.py 600 prn=lambda s_r: conf.padding_layer in s_r[1] and hexstr(s_r[1][conf.padding_layer].load),
  /external/scapy/scapy/
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...]
utils.py 166 def hexstr(x, onlyasc=0, onlyhex=0): function
    [all...]

Completed in 615 milliseconds