Searched refs:bytes_data (Results 1 – 9 of 9) sorted by relevance
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/tests/ |
D | util.py | 120 bytes_data = io.BytesIO(b'Hello, world!') 121 package = create_package(file=bytes_data, path=FileNotFoundError()) 129 bytes_data = io.BytesIO(b'Hello, world!') 132 package = create_package(file=bytes_data, path=path)
|
D | test_compatibilty_files.py | 17 bytes_data = io.BytesIO(b'Hello, world!') 19 file=bytes_data,
|
/external/python/setuptools/setuptools/_vendor/importlib_resources/tests/ |
D | util.py | 120 bytes_data = io.BytesIO(b'Hello, world!') 121 package = create_package(file=bytes_data, path=FileNotFoundError()) 129 bytes_data = io.BytesIO(b'Hello, world!') 132 package = create_package(file=bytes_data, path=path)
|
D | test_compatibilty_files.py | 17 bytes_data = io.BytesIO(b'Hello, world!') 19 file=bytes_data,
|
/external/python/cpython3/Lib/test/ |
D | test_base64.py | 99 def check_other_types(self, f, bytes_data, expected): argument 101 b = bytearray(bytes_data) 104 eq(b, bytes_data) 105 eq(f(memoryview(bytes_data)), expected) 106 eq(f(array('B', bytes_data)), expected) 108 self.check_nonbyte_element_format(base64.b64encode, bytes_data) 109 self.check_multidimensional(base64.b64encode, bytes_data) 113 bytes_data = data + padding # Make sure cast works 114 shape = (len(bytes_data) // 2, 2) 115 multidimensional = memoryview(bytes_data).cast('B', shape) [all …]
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | util.py | 526 bytes_data = io.BytesIO(b'Hello, world!') 527 package = create_package(file=bytes_data, path=FileNotFoundError()) 533 bytes_data = io.BytesIO(b'Hello, world!') 535 package = create_package(file=bytes_data, path=path)
|
/external/tensorflow/tensorflow/core/ir/types/ |
D | dialect.cc | 875 std::string bytes_data = absl::HexStringToBytes(data.substr(2)); in parse() local 876 return TensorProtoAttr::get(type, bytes_data); in parse()
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 985 bytes_data = memoryview(data)[16:] 1012 return _compile_bytecode(bytes_data, name=fullname,
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/ |
D | tfl_ops.cc | 3974 std::string bytes_data = absl::HexStringToBytes(data.substr(2)); in parse() local 3975 return ConstBytesAttr::get(parser.getBuilder().getContext(), bytes_data); in parse()
|