Home
last modified time | relevance | path

Searched refs:is_bytes (Results 1 – 7 of 7) sorted by relevance

/external/python/rsa/tests/
Dtest_pem.py20 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')))
Dtest_compat.py20 from rsa._compat import byte, is_bytes, range, xor_bytes
29 self.assertTrue(is_bytes(byt))
Dtest_pkcs1.py24 from rsa._compat import byte, is_bytes
49 if is_bytes(a):
/external/python/rsa/rsa/
Dpem.py21 from rsa._compat import is_bytes, range
29 if not is_bytes(pem_marker):
52 if not is_bytes(contents):
D_compat.py65 def is_bytes(obj): function
/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c424 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/
Dposixmodule.c937 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()