/external/harfbuzz_ng/src/ |
hb-ot-color.cc | 241 * Get SVG document for a glyph. The blob may be either plain text or gzip-encoded. 243 * Returns: (transfer full): respective svg blob of the glyph, if available. 277 * that font object if one wants to get optimal png blob, otherwise 283 * Returns: (transfer full): respective PNG blob of the glyph, if available. 290 hb_blob_t *blob = hb_blob_get_empty (); local 293 blob = font->face->table.sbix->reference_png (font, glyph, nullptr, nullptr, nullptr); 295 if (!blob->length && font->face->table.CBDT->has_data ()) 296 blob = font->face->table.CBDT->reference_png (font, glyph); 298 return blob;
|
test.cc | 45 hb_blob_t *blob = hb_blob_create_from_file (argv[1]); local 46 printf ("Opened font file %s: %u bytes long\n", argv[1], hb_blob_get_length (blob)); 49 hb_face_t *face = hb_face_create (blob, 0 /* first face */); 50 hb_blob_destroy (blob); 51 blob = nullptr;
|
sample.py | 27 blob = hb.glib_blob_create (GLib.Bytes.new (fontdata)) variable 28 face = hb.face_create (blob, 0) 29 del blob
|
/external/harfbuzz_ng/test/fuzzing/ |
hb-subset-fuzzer.cc | 49 hb_blob_t *blob = hb_blob_create ((const char *)data, size, local 51 hb_face_t *face = hb_face_create (blob, 0); 76 hb_blob_destroy (blob);
|
/external/libxcam/modules/isp/ |
xcam_cpf_reader.c | 54 void xcam_cpf_blob_free (XCamCpfBlob *blob) 56 XCAM_FAIL_RETURN (blob); 58 if (blob->data) 59 xcam_free (blob->data); 61 xcam_free (blob); 105 uint8_t *blob; local 125 (void**)&blob, &blob_size) != tbd_err_none) || 126 !blob || blob_size <= 0) { 133 memcpy (aiq_cpf->data, blob, blob_size); 149 (void**)&blob, &blob_size) != tbd_err_none) [all...] |
/external/mesa3d/src/compiler/ |
blob.h | 36 /* The blob functions implement a simple, low-level API for serializing and 39 * All objects written to a blob will be serialized directly, (without any 42 * by knowing exactly what data is expected, or by writing to the blob 45 * A blob is efficient in that it dynamically grows by doubling in size, so 49 struct blob { struct 50 /* The data actually written to the blob. */ 67 * allocation blob. 75 * 1. blob->current should be equal to blob->end, (if not, too little was 78 * 2. blob->overrun should be false, (otherwise, too much was read) [all...] |
/external/openssh/regress/unittests/sshbuf/ |
test_sshbuf_getput_fuzz.c | 32 attempt_parse_blob(u_char *blob, size_t len) 48 ASSERT_INT_EQ(sshbuf_put(p1, blob, len), 0); 83 u_char blob[] = { local 119 TEST_START("fuzz blob parsing"); 122 FUZZ_TRUNCATE_START | FUZZ_TRUNCATE_END, blob, sizeof(blob)); 125 attempt_parse_blob(blob, sizeof(blob));
|
/external/skia/bench/ |
TextBlobBench.cpp | 68 auto blob = this->makeBlob(); variable 71 // To ensure maximum caching, we just redraw the blob at the same place everytime 72 canvas->drawTextBlob(blob, 0, 0, paint);
|
BlendmodeBench.cpp | 43 auto blob = SkTextBlob::MakeFromText(text, len, font, kUTF8_SkTextEncoding); variable 45 canvas->drawTextBlob(blob, x, y, paint);
|
/external/skqp/bench/ |
TextBlobBench.cpp | 68 auto blob = this->makeBlob(); variable 71 // To ensure maximum caching, we just redraw the blob at the same place everytime 72 canvas->drawTextBlob(blob, 0, 0, paint);
|
/external/tensorflow/tensorflow/core/lib/db/ |
snapfn.cc | 23 /// - snap(value: BLOB|TEXT) -> BLOB 26 /// Applies Snappy compression. If value is TEXT or BLOB, then it is 27 /// compressed and a BLOB is returned with a byte prepended to indicate the 30 /// - unsnap(value: BLOB) -> TEXT|BLOB 35 /// blob is returned. Otherwise the original type is restored from the first 152 auto blob = reinterpret_cast<const char*>(sqlite3_value_blob(argv[0])); local 157 type = static_cast<int>(*blob++), --size; 172 if (!snappy::GetUncompressedLength(blob, static_cast<size_t>(size) [all...] |
/external/u-boot/arch/arm/mach-rockchip/ |
rk3036-board.c | 74 const void *blob = gd->fdt_blob; local 77 node = fdt_node_offset_by_compatible(blob, -1, 81 mode = fdt_getprop(blob, node, "dr_mode", NULL); 87 node = fdt_node_offset_by_compatible(blob, node, 94 rk3036_otg_data.regs_otg = fdtdec_get_addr(blob, node, "reg");
|
rk3128-board.c | 83 const void *blob = gd->fdt_blob; local 86 node = fdt_node_offset_by_compatible(blob, -1, 90 mode = fdt_getprop(blob, node, "dr_mode", NULL); 96 node = fdt_node_offset_by_compatible(blob, node, 103 rk3128_otg_data.regs_otg = fdtdec_get_addr(blob, node, "reg");
|
rk3188-board-spl.c | 36 const void *blob = gd->fdt_blob; local 42 bootdev = fdtdec_get_config_string(blob, "u-boot,boot0"); 47 node = fdt_path_offset(blob, bootdev);
|
spl-boot-order.c | 98 const void *blob = gd->fdt_blob; local 99 int chosen_node = fdt_path_offset(blob, "/chosen"); 114 (conf = fdt_stringlist_get(blob, chosen_node, 127 alias = fdt_get_alias(blob, conf); 132 node = fdt_path_offset(blob, conf);
|
/external/u-boot/arch/microblaze/cpu/ |
timer.c | 48 const void *blob = gd->fdt_blob; local 54 node = fdt_node_offset_by_compatible(blob, node, 57 fdt_addr_t base = fdtdec_get_addr(blob, node, "reg"); 64 ret = fdtdec_get_int_array(blob, node, "interrupts", 72 preload = fdtdec_get_int(blob, node, "clock-frequency", 0);
|
/external/u-boot/arch/x86/cpu/quark/ |
dram.c | 44 const void *blob = gd->fdt_blob; local 48 node = fdtdec_next_compatible(blob, 0, COMPAT_INTEL_QRK_MRC); 73 mrc_flags = fdtdec_get_int(blob, node, "flags", 0); 79 mrc_params->dram_width = fdtdec_get_int(blob, node, "dram-width", 0); 80 mrc_params->ddr_speed = fdtdec_get_int(blob, node, "dram-speed", 0); 81 mrc_params->ddr_type = fdtdec_get_int(blob, node, "dram-type", 0); 83 mrc_params->rank_enables = fdtdec_get_int(blob, node, "rank-mask", 0); 84 mrc_params->channel_enables = fdtdec_get_int(blob, node, 86 mrc_params->channel_width = fdtdec_get_int(blob, node, 88 mrc_params->address_mode = fdtdec_get_int(blob, node, "addr-mode", 0) [all...] |
/external/u-boot/board/st/stih410-b2260/ |
board.c | 58 const void *blob = gd->fdt_blob; local 61 node = fdt_node_offset_by_compatible(blob, -1, "snps,dwc3"); 63 dwc3_device_data.base = fdtdec_get_addr(blob, node, "reg");
|
/external/u-boot/board/xilinx/microblaze-generic/ |
microblaze-generic.c | 40 const void *blob = gd->fdt_blob; local 42 node = fdt_node_offset_by_prop_value(blob, -1, "device_type", 48 addr = fdtdec_get_addr_size(blob, node, "reg", &size);
|
/external/u-boot/drivers/i2c/ |
cros_ec_tunnel.c | 35 const void *blob = gd->fdt_blob; local 38 i2c_bus->remote_bus = fdtdec_get_uint(blob, node, "google,remote-bus",
|
/external/u-boot/drivers/video/ |
sandbox_sdl.c | 47 const void *blob = gd->fdt_blob; local 51 plat->xres = fdtdec_get_int(blob, node, "xres", LCD_MAX_WIDTH); 52 plat->yres = fdtdec_get_int(blob, node, "yres", LCD_MAX_HEIGHT);
|
/external/dtc/ |
fdtoverlay.c | 37 "apply a number of overlays to a base blob\n" 49 "Input base DT blob", 50 "Output DT blob", 61 char *blob = NULL; local 66 blob = utilfdt_read_len(input_filename, &blob_len); 67 if (!blob) { 68 fprintf(stderr, "\nFailed to read base blob %s\n", 74 /* allocate blob pointer array */ 90 /* grow the blob to worst case */ 91 blob_len = fdt_totalsize(blob) + total_len [all...] |
/external/libbrillo/brillo/ |
key_value_store_unittest.cc | 47 string blob = "A=B\n# Comment\n"; local 48 ASSERT_EQ(blob.size(), base::WriteFile(temp_file_, blob.data(), blob.size())); 113 string blob = "TRUE=true\nfalse=false\nvar=false\nDONT_SHOUT=TRUE\n"; local 114 EXPECT_TRUE(store_.LoadFromString(blob));
|
/external/skia/gm/ |
scaledemoji.cpp | 122 sk_sp<SkTextBlob> blob = make_hpos_test_blob_utf8(text, font); variable 124 canvas->drawTextBlob(blob, 10, y, paint); 129 canvas->drawTextBlob(blob, 10, y, paint);
|
/external/skia/modules/skshaper/src/ |
SkShaper_harfbuzz.cpp | 65 HBBlob blob; local 67 blob.reset(hb_blob_create((char*)base, SkToUInt(size), 74 blob.reset(hb_blob_create((char*)ptr, SkToUInt(size), 77 SkASSERT(blob); 78 hb_blob_make_immutable(blob.get()); 79 return blob; 281 HBBlob blob(stream_to_blob(std::move(typefaceAsset))); 282 face.reset(hb_face_create(blob.get(), (unsigned)index)); [all...] |