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

1 2

  /external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PoloUtil.java 92 * @param hexstr the string of hex characters
95 public static byte[] hexStringToBytes(String hexstr) {
96 if (hexstr == null || hexstr.length() == 0 || (hexstr.length() % 2) != 0) {
100 byte[] result = new byte[hexstr.length() / 2];
102 result[i] = (byte) Integer.parseInt(hexstr.substring(2 * i, 2 * (i + 1)),
  /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())
  /prebuilts/gdb/darwin-x86/lib/python2.7/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
136 self.assertTrue(hexstr(h.digest()) == h.hexdigest())
  /prebuilts/gdb/linux-x86/lib/python2.7/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
136 self.assertTrue(hexstr(h.digest()) == h.hexdigest())
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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
136 self.assertTrue(hexstr(h.digest()) == h.hexdigest())
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/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
136 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/python/cpython3/Modules/clinic/
binascii.c.h 410 "a2b_hex($module, hexstr, /)\n"
415 "hexstr must contain an even number of hex digits (upper or lower case).\n"
422 binascii_a2b_hex_impl(PyObject *module, Py_buffer *hexstr);
428 Py_buffer hexstr = {NULL, NULL}; local
430 if (!PyArg_Parse(arg, "O&:a2b_hex", ascii_buffer_converter, &hexstr)) {
433 return_value = binascii_a2b_hex_impl(module, &hexstr);
436 /* Cleanup for hexstr */
437 if (hexstr.obj)
438 PyBuffer_Release(&hexstr);
444 "unhexlify($module, hexstr, /)\n
461 Py_buffer hexstr = {NULL, NULL}; local
    [all...]
  /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 234 int hexstr(uschar **pp) /* find and eval hex string at pp, return new p */ function
273 c = hexstr(&p); /* this adds a null if number is invalid */
  /external/python/cpython3/Modules/
binascii.c     [all...]
_tkinter.c 995 PyObject *hexstr; local
1000 hexstr = _PyLong_Format(value, 16);
1001 if (hexstr == NULL)
1003 hexchars = PyUnicode_AsUTF8(hexstr);
1005 Py_DECREF(hexstr);
1012 Py_DECREF(hexstr);
1016 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 46 def hexstr(s): function
220 self.assertEqual(hexstr(h.digest(16)), h.hexdigest(16))
223 self.assertEqual(hexstr(h.digest()), h.hexdigest())
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.cpp     [all...]
  /hardware/broadcom/wlan/bcmdhd/dhdutil/
bcmutils.c 1671 char hexstr[16]; local
    [all...]

Completed in 586 milliseconds

1 2