Home
last modified time | relevance | path

Searched refs:byte_data (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/engine/flutter/lib/ui/text/
Dparagraph_builder.cc238 tonic::DartByteData byte_data(shadows_data); in decodeTextShadows() local
239 FML_CHECK(byte_data.length_in_bytes() % kBytesPerShadow == 0); in decodeTextShadows()
241 const uint32_t* uint_data = static_cast<const uint32_t*>(byte_data.data()); in decodeTextShadows()
242 const float* float_data = static_cast<const float*>(byte_data.data()); in decodeTextShadows()
244 size_t shadow_count = byte_data.length_in_bytes() / kBytesPerShadow; in decodeTextShadows()
260 tonic::DartByteData byte_data(font_features_data); in decodeFontFeatures() local
261 FML_CHECK(byte_data.length_in_bytes() % kBytesPerFontFeature == 0); in decodeFontFeatures()
263 size_t feature_count = byte_data.length_in_bytes() / kBytesPerFontFeature; in decodeFontFeatures()
268 static_cast<const char*>(byte_data.data()) + feature_offset; in decodeFontFeatures()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dtest_font_utils.cc99 void HexDump(const unsigned char* byte_data, size_t length) { in HexDump() argument
100 if (byte_data == NULL || length == 0) { in HexDump()
107 fprintf(stderr, "%02x ", byte_data[i]); in HexDump()
Dtest_font_utils.h37 void HexDump(const unsigned char* byte_data, size_t length);
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dtest_font_utils.cc99 void HexDump(const unsigned char* byte_data, size_t length) { in HexDump() argument
100 if (byte_data == NULL || length == 0) { in HexDump()
107 fprintf(stderr, "%02x ", byte_data[i]); in HexDump()
Dtest_font_utils.h37 void HexDump(const unsigned char* byte_data, size_t length);
/third_party/glib/glib/
Dghmac.c397 gconstpointer byte_data; in g_compute_hmac_for_bytes() local
405 byte_data = g_bytes_get_data (data, &length); in g_compute_hmac_for_bytes()
407 return g_compute_hmac_for_data (digest_type, key_data, key_len, byte_data, length); in g_compute_hmac_for_bytes()
Dgchecksum.c1857 gconstpointer byte_data; in g_compute_checksum_for_bytes() local
1862 byte_data = g_bytes_get_data (data, &length); in g_compute_checksum_for_bytes()
1863 return g_compute_checksum_for_data (checksum_type, byte_data, length); in g_compute_checksum_for_bytes()
/third_party/glib/glib/tests/
Dstring.c481 gconstpointer byte_data; in test_string_to_bytes() local
489 byte_data = g_bytes_get_data (bytes, &byte_len); in test_string_to_bytes()
493 g_assert_cmpmem (byte_data, byte_len, "foo-bar", 7); in test_string_to_bytes()
/third_party/mindspore/mindspore/train/
Dserialization.py855 byte_data = param.data.asnumpy().tobytes()
856 parameter.raw_data = byte_data
857 data_size += sys.getsizeof(byte_data) / 1024