Searched refs:bytes_data (Results 1 – 5 of 5) sorted by relevance
/third_party/python/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 …]
|
/third_party/glib/glib/ |
D | gvariant-core.c | 955 const gchar *bytes_data; in g_variant_get_data_as_bytes() local 964 bytes_data = g_bytes_get_data (value->contents.serialised.bytes, &bytes_size); in g_variant_get_data_as_bytes() 971 data = bytes_data; in g_variant_get_data_as_bytes() 974 if (data == bytes_data && size == bytes_size) in g_variant_get_data_as_bytes() 978 data - bytes_data, size); in g_variant_get_data_as_bytes()
|
/third_party/python/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)
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstbuffer.c | 1034 guint8 *bytes_data; in gst_buffer_new_wrapped_bytes() local 1038 bytes_data = (guint8 *) g_bytes_get_data (bytes, &size); in gst_buffer_new_wrapped_bytes() 1039 g_return_val_if_fail (bytes_data != NULL, NULL); in gst_buffer_new_wrapped_bytes() 1041 return gst_buffer_new_wrapped_full (GST_MEMORY_FLAG_READONLY, bytes_data, in gst_buffer_new_wrapped_bytes()
|
/third_party/python/Lib/importlib/ |
D | _bootstrap_external.py | 985 bytes_data = memoryview(data)[16:] 1012 return _compile_bytecode(bytes_data, name=fullname,
|