Searched refs:int2byte (Results 1 – 11 of 11) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | base_api_test.py | 158 non_unicode_message = b''.join((six.int2byte(100), 159 six.int2byte(200))) 173 non_unicode_message = b''.join((six.int2byte(100), 174 six.int2byte(200)))
|
/external/chromium-trace/catapult/third_party/six/ |
D | CHANGES | 9 - Issue #122: Improve the performance of `six.int2byte` on Python 3. 189 - Issue #26: Add byte2int function, which complements int2byte. 250 - Add the int2byte function.
|
D | six.py | 626 int2byte = struct.Struct(">B").pack variable 649 int2byte = chr variable
|
D | test_six.py | 533 assert six.int2byte(3) == six.b("\x03") 534 py.test.raises(Exception, six.int2byte, 256)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vendored/ |
D | six.py | 573 def int2byte(i): function 577 int2byte = operator.methodcaller("to_bytes", 1, "big") variable 591 int2byte = chr variable
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/six/ |
D | six.py | 602 def int2byte(i): function 606 int2byte = operator.methodcaller("to_bytes", 1, "big") variable 623 int2byte = chr variable
|
D | CHANGES | 173 - Issue #26: Add byte2int function, which complements int2byte. 234 - Add the int2byte function.
|
D | test_six.py | 499 assert six.int2byte(3) == six.b("\x03") 500 py.test.raises((OverflowError, ValueError), six.int2byte, 256)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | test_util.py | 52 BINARY = b''.join(six.int2byte(value) + b'\0' for value in range(256))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/six/documentation/ |
D | index.rst | 403 .. function:: int2byte(i)
|
/external/chromium-trace/catapult/third_party/six/documentation/ |
D | index.rst | 410 .. function:: int2byte(i)
|