Searched refs:is_bytes (Results 1 – 7 of 7) sorted by relevance
/external/python/rsa/tests/ |
D | test_pem.py | 20 from rsa._compat import is_bytes 82 self.assertTrue(is_bytes(key.save_pkcs1(format='DER'))) 83 self.assertTrue(is_bytes(key.save_pkcs1(format='PEM'))) 87 self.assertTrue(is_bytes(key.save_pkcs1(format='DER'))) 88 self.assertTrue(is_bytes(key.save_pkcs1(format='PEM'))) 96 self.assertTrue(is_bytes(key.save_pkcs1(format='DER'))) 97 self.assertTrue(is_bytes(key.save_pkcs1(format='PEM'))) 101 self.assertTrue(is_bytes(key.save_pkcs1(format='DER'))) 102 self.assertTrue(is_bytes(key.save_pkcs1(format='PEM')))
|
D | test_compat.py | 20 from rsa._compat import byte, is_bytes, range, xor_bytes 29 self.assertTrue(is_bytes(byt))
|
D | test_pkcs1.py | 24 from rsa._compat import byte, is_bytes 49 if is_bytes(a):
|
/external/python/rsa/rsa/ |
D | pem.py | 21 from rsa._compat import is_bytes, range 29 if not is_bytes(pem_marker): 52 if not is_bytes(contents):
|
D | _compat.py | 65 def is_bytes(obj): function
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 424 bool is_bytes = upb_fielddef_type(f) == UPB_TYPE_BYTES; in add_handlers_for_repeated_field() local 425 upb_handlers_setstartstr(h, f, is_bytes ? in add_handlers_for_repeated_field() 458 bool is_bytes = upb_fielddef_type(f) == UPB_TYPE_BYTES; in add_handlers_for_singular_field() local 462 is_bytes ? bytes_handler : str_handler, in add_handlers_for_singular_field() 544 bool is_bytes = upb_fielddef_type(f) == UPB_TYPE_BYTES; in add_handlers_for_oneof_field() local 545 upb_handlers_setstartstr(h, f, is_bytes ? in add_handlers_for_oneof_field()
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 937 int is_index, is_buffer, is_bytes, is_unicode; in path_converter() local 976 is_bytes = PyBytes_Check(o); in path_converter() 979 if (!is_index && !is_buffer && !is_unicode && !is_bytes) { in path_converter() 997 is_bytes = 1; in path_converter() 1038 else if (is_bytes) { in path_converter()
|