Searched defs:hex (Results 1 - 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_future_builtins.py4 from future_builtins import hex, oct, map, zip, filter namespace
8 self.assertEqual(hex(0), '0x0')
9 self.assertEqual(hex(16), '0x10')
10 self.assertEqual(hex(16L), '0x10')
11 self.assertEqual(hex(-16), '-0x10')
12 self.assertEqual(hex(-16L), '-0x10')
13 self.assertRaises(TypeError, hex, {})
/device/google/contexthub/contexthubhal/
H A Dnanohubhal.cpp60 os << vendor << ", " << std::hex << std::setw(6) << seqId;
62 os << "#" << std::hex << appId.id;
74 os << "; EVT=" << std::hex << evtId;
75 os << "]:" << std::hex; member in class:android::nanohub::std
/device/google/contexthub/contexthubhal/test/
H A Dmain.cpp36 os << vendor << ", " << std::hex << std::setw(6) << seqId;
38 os << "#" << std::hex << appId.id;
49 os << "; EVT=" << std::hex << evtId;
50 os << "]:" << std::hex; member in class:std
258 // ignore any garbage after parsed hex value;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Duuid.py31 # make a UUID from a string of hex digits (braces and hyphens ignored)
34 # convert a UUID to a string of hex digits in standard form
88 hex the UUID as a 32-character hexadecimal string
101 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None,
109 argument. When a string of hex digits is given, curly braces,
122 Exactly one of 'hex', 'bytes', 'bytes_le', 'fields', or 'int' must
125 overriding the given 'hex', 'bytes', 'bytes_le', 'fields', or 'int'.
128 if [hex, bytes, bytes_le, fields, int].count(None) != 4:
129 raise TypeError('need one of hex, bytes, bytes_le, fields, or int')
130 if hex i
268 hex = property(get_hex) variable in class:UUID
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dbytearrayobject.c968 /* There's at least enough room for a hex escape
2702 char *hex; local
2706 if (!PyArg_ParseTuple(args, "s#:fromhex", &hex, &hexlen))
2715 while (hex[i] == ' ')
2719 top = hex_digit_to_int(hex[i]);
2720 bot = hex_digit_to_int(hex[i+1]);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dbytearrayobject.c962 /* There's at least enough room for a hex escape
2694 char *hex; local
2698 if (!PyArg_ParseTuple(args, "s#:fromhex", &hex, &hexlen))
2707 while (hex[i] == ' ')
2711 top = hex_digit_to_int(hex[i]);
2712 bot = hex_digit_to_int(hex[i+1]);

Completed in 144 milliseconds