Searched refs:raw_bytes (Results 1 – 9 of 9) sorted by relevance
/external/python/rsa/rsa/ |
D | transform.py | 31 def bytes2int(raw_bytes): argument 43 return int(binascii.hexlify(raw_bytes), 16) 86 raw_bytes = [b'\x00'] 89 raw_bytes = [] 99 raw_bytes.insert(0, byte(number & 0xFF)) 108 return padding + b''.join(raw_bytes) 111 def bytes_leading(raw_bytes, needle=b'\x00'): argument 128 for x in raw_bytes: 180 raw_bytes = b'' 187 raw_bytes = pack(pack_format, num & max_uint) + raw_bytes [all …]
|
/external/python/oauth2client/oauth2client/ |
D | _helpers.py | 96 def _urlsafe_b64encode(raw_bytes): argument 97 raw_bytes = _to_bytes(raw_bytes, encoding='utf-8') 98 return base64.urlsafe_b64encode(raw_bytes).rstrip(b'=')
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 194 unsigned char raw_bytes[8]; in get_cgroup_id() member 229 memcpy(id.raw_bytes, fhp->f_handle, 8); in get_cgroup_id()
|
/external/fonttools/Lib/fontTools/misc/ |
D | plistlib.py | 364 def _string_or_data_element(raw_bytes, ctx): argument 366 return _data_element(raw_bytes, ctx) 369 string = raw_bytes.decode(encoding="ascii", errors="strict") 373 % raw_bytes
|
/external/grpc-grpc/src/objective-c/tests/ |
D | GRPCClientTests.m | 342 const unsigned char raw_bytes[] = {1, 2, 3, 4}; 343 NSData *trailer_data = [NSData dataWithBytes:raw_bytes length:sizeof(raw_bytes)];
|
/external/v8/src/ast/ |
D | prettyprinter.cc | 648 const unsigned char* raw_bytes = value->raw_data(); in PrintLiteral() local 650 Print(format, raw_bytes[i]); in PrintLiteral()
|
/external/python/setuptools/setuptools/command/ |
D | easy_install.py | 819 raw_bytes = resource_string('setuptools', name) 820 return raw_bytes.decode('utf-8')
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | executor.cc | 419 const size_t raw_bytes = in NodeItemBytes() local 440 ((raw_bytes + kItemAlignment - 1) / kItemAlignment) * kItemAlignment; in NodeItemBytes()
|
/external/google-styleguide/cpplint/ |
D | cpplint_unittest.py | 3063 def DoTest(self, raw_bytes, has_invalid_utf8): argument 3067 unicode(raw_bytes, 'utf8', 'replace').split('\n'),
|