Home
last modified time | relevance | path

Searched refs:cf_data (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/util/
Ddisk_cache_os.c499 struct cache_entry_file_data *cf_data = in parse_and_validate_cache_item() local
509 if (cf_data->crc32 != util_hash_crc32(data, cache_data_size)) in parse_and_validate_cache_item()
513 uncompressed_data = malloc(cf_data->uncompressed_size); in parse_and_validate_cache_item()
515 cf_data->uncompressed_size)) in parse_and_validate_cache_item()
519 *size = cf_data->uncompressed_size; in parse_and_validate_cache_item()
641 struct cache_entry_file_data cf_data; in create_cache_item_header_and_blob() local
642 cf_data.crc32 = util_hash_crc32(compressed_data, compressed_size); in create_cache_item_header_and_blob()
643 cf_data.uncompressed_size = dc_job->size; in create_cache_item_header_and_blob()
645 if (!blob_write_bytes(cache_blob, &cf_data, sizeof(cf_data))) in create_cache_item_header_and_blob()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-coretext.cc70 CFDataRef cf_data = reinterpret_cast<CFDataRef> (user_data); in release_table_data() local
71 CFRelease(cf_data); in release_table_data()
78 CFDataRef cf_data = CGFontCopyTableForTag (cg_font, tag); in reference_table() local
79 if (unlikely (!cf_data)) in reference_table()
82 const char *data = reinterpret_cast<const char*> (CFDataGetBytePtr (cf_data)); in reference_table()
83 const size_t length = CFDataGetLength (cf_data); in reference_table()
86 CFRelease (cf_data); in reference_table()
91 reinterpret_cast<void *> (const_cast<__CFData *> (cf_data)), in reference_table()
/third_party/harfbuzz/src/
Dhb-coretext.cc54 CFDataRef cf_data = reinterpret_cast<CFDataRef> (user_data); in release_table_data() local
55 CFRelease(cf_data); in release_table_data()
62 CFDataRef cf_data = CGFontCopyTableForTag (cg_font, tag); in _hb_cg_reference_table() local
63 if (unlikely (!cf_data)) in _hb_cg_reference_table()
66 const char *data = reinterpret_cast<const char*> (CFDataGetBytePtr (cf_data)); in _hb_cg_reference_table()
67 const size_t length = CFDataGetLength (cf_data); in _hb_cg_reference_table()
70 CFRelease (cf_data); in _hb_cg_reference_table()
75 reinterpret_cast<void *> (const_cast<__CFData *> (cf_data)), in _hb_cg_reference_table()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-coretext.cc54 CFDataRef cf_data = reinterpret_cast<CFDataRef> (user_data); in release_table_data() local
55 CFRelease(cf_data); in release_table_data()
62 CFDataRef cf_data = CGFontCopyTableForTag (cg_font, tag); in _hb_cg_reference_table() local
63 if (unlikely (!cf_data)) in _hb_cg_reference_table()
66 const char *data = reinterpret_cast<const char*> (CFDataGetBytePtr (cf_data)); in _hb_cg_reference_table()
67 const size_t length = CFDataGetLength (cf_data); in _hb_cg_reference_table()
70 CFRelease (cf_data); in _hb_cg_reference_table()
75 reinterpret_cast<void *> (const_cast<__CFData *> (cf_data)), in _hb_cg_reference_table()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideo.c1096 ConvertFrameContext * cf_data) in convert_sample_async_callback() argument
1098 cf_data->sample = sample; in convert_sample_async_callback()
1099 cf_data->error = err; in convert_sample_async_callback()
1101 g_main_loop_quit (cf_data->loop); in convert_sample_async_callback()
1113 ConvertFrameContext cf_data = { NULL, NULL, NULL }; in GST_START_TEST() local
1128 loop = cf_data.loop = g_main_loop_new (NULL, FALSE); in GST_START_TEST()
1153 (GstVideoConvertSampleCallback) convert_sample_async_callback, &cf_data, in GST_START_TEST()
1156 fail_unless (cf_data.sample != NULL); in GST_START_TEST()
1157 fail_unless (cf_data.error == NULL); in GST_START_TEST()
1159 gst_sample_unref (cf_data.sample); in GST_START_TEST()
[all …]
/third_party/skia/third_party/externals/imgui/
Dimgui.cpp11078 CFDataRef cf_data = CFDataCreate(kCFAllocatorDefault, (const UInt8*)text, strlen(text)); in SetClipboardTextFn_DefaultImpl() local
11079 if (cf_data) in SetClipboardTextFn_DefaultImpl()
11081 …ardPutItemFlavor(main_clipboard, (PasteboardItemID)1, CFSTR("public.utf8-plain-text"), cf_data, 0); in SetClipboardTextFn_DefaultImpl()
11082 CFRelease(cf_data); in SetClipboardTextFn_DefaultImpl()
11102 CFDataRef cf_data; in GetClipboardTextFn_DefaultImpl() local
11103 …ardCopyItemFlavorData(main_clipboard, item_id, CFSTR("public.utf8-plain-text"), &cf_data) == noErr) in GetClipboardTextFn_DefaultImpl()
11107 int length = (int)CFDataGetLength(cf_data); in GetClipboardTextFn_DefaultImpl()
11109 … CFDataGetBytes(cf_data, CFRangeMake(0, length), (UInt8*)g.ClipboardHandlerData.Data); in GetClipboardTextFn_DefaultImpl()
11111 CFRelease(cf_data); in GetClipboardTextFn_DefaultImpl()