/external/skia/gm/ |
texteffects.cpp | 220 sk_sp<SkTextBlob> blob = MakeFancyBlob(paint, test); local 221 canvas->drawTextBlob(blob, blobOffset.x(), blobOffset.y(), paint); 225 const int interceptCount = paint.getTextBlobIntercepts(blob.get(), bounds, nullptr); 230 paint.getTextBlobIntercepts(blob.get(), bounds, intercepts.begin()); 232 const SkScalar start = blob->bounds().left(); 233 const SkScalar end = blob->bounds().right();
|
/external/skqp/gm/ |
texteffects.cpp | 220 sk_sp<SkTextBlob> blob = MakeFancyBlob(paint, test); local 221 canvas->drawTextBlob(blob, blobOffset.x(), blobOffset.y(), paint); 225 const int interceptCount = paint.getTextBlobIntercepts(blob.get(), bounds, nullptr); 230 paint.getTextBlobIntercepts(blob.get(), bounds, intercepts.begin()); 232 const SkScalar start = blob->bounds().left(); 233 const SkScalar end = blob->bounds().right();
|
/external/v8/src/snapshot/ |
mksnapshot.cc | 38 void WriteSnapshot(v8::StartupData blob) const { 40 reinterpret_cast<const i::byte*>(blob.data), blob.raw_size); 46 void MaybeWriteStartupBlob(const i::Vector<const i::byte>& blob) const { 49 size_t written = fwrite(blob.begin(), 1, blob.length(), startup_blob_file_); 50 if (written != static_cast<size_t>(blob.length())) { 56 void MaybeWriteSnapshotFile(const i::Vector<const i::byte>& blob) const { 60 WriteData(blob); 75 fprintf(fp_, " return &blob;\n") 164 StartupData blob = v8::V8::CreateSnapshotDataBlob(embed_script); local [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockKeyStore.java | 21 public byte[] blob; field in class:MockKeyStore.KeyBlob 24 public void update(byte[] blob, int flag) { 25 this.blob = Arrays.copyOf(blob, blob.length); 91 KeyBlob blob = new KeyBlob(); local 92 map.put(key, blob); 93 return blob;
|
/system/iot/attestation/atap/test/ |
atap_util_unittest.cpp | 44 static void validate_blob(const uint8_t* buf, AtapBlob* blob) { 45 EXPECT_EQ(blob->data_length, *(uint32_t*)&buf[0]); 46 EXPECT_EQ(0, memcmp(&buf[4], blob->data, blob->data_length)); 49 static void alloc_test_blob(AtapBlob* blob) { 50 blob->data_length = 20; 51 blob->data = (uint8_t*)atap_malloc(20); 52 atap_memset(blob->data, 0x77, blob->data_length); 112 AtapBlob blob; local [all...] |
/system/keymaster/legacy_support/ |
keymaster0_engine.cpp | 132 bool Keymaster0Engine::DeleteKey(const KeymasterKeyBlob& blob) const { 135 return (keymaster0_device_->delete_keypair(keymaster0_device_, blob.key_material, 136 blob.key_material_size) == 0); 158 inline keymaster_key_blob_t* duplicate_blob(const keymaster_key_blob_t& blob) { 159 return duplicate_blob(blob.key_material, blob.key_material_size); 162 RSA* Keymaster0Engine::BlobToRsaKey(const KeymasterKeyBlob& blob) const { 163 // Create new RSA key (with engine methods) and insert blob 168 keymaster_key_blob_t* blob_copy = duplicate_blob(blob); 173 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(GetKeymaster0PublicKey(blob)); 225 keymaster_key_blob_t* blob = reinterpret_cast<keymaster_key_blob_t*>(*from_d); local 237 keymaster_key_blob_t* blob = reinterpret_cast<keymaster_key_blob_t*>(ptr); local [all...] |
keymaster1_engine.cpp | 85 keymaster_key_blob_t blob; local 87 &blob, &characteristics); 90 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); 91 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); 92 key_blob->key_material_size = blob.key_material_size; 109 keymaster_key_blob_t blob; local 112 &blob, &characteristics); 115 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); 116 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size) [all...] |
keymaster_passthrough_engine.cpp | 95 const KeymasterKeyBlob& blob, 100 keymaster_error_t error = km_device_->export_key(km_device_, format, &blob, &client_id, 111 keymaster_error_t DeleteKey(const KeymasterKeyBlob& blob) const override { 112 return km_device_->delete_key(km_device_, &blob); 219 keymaster_key_blob_t blob = {}; local 221 &blob, &characteristics); 224 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); 225 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); 226 key_blob->key_material_size = blob.key_material_size 242 keymaster_key_blob_t blob = {}; local 269 keymaster_key_blob_t blob = {}; local 298 keymaster_key_blob_t blob = {}; local [all...] |
/system/keymaster/tests/ |
key_blob_test.cpp | 103 // key_data shouldn't be anywhere in the blob, ciphertext should. 306 keymaster_key_blob_t blob = {buf.get() + i, kBufSize - i}; local 307 KeymasterKeyBlob key_blob(blob); 309 // Integrity-assured blob. 314 // Auth-encrypted OCB blob. 324 << "Somehow sucessfully parsed a blob with seed " << now << " at offset " << i; 330 keymaster_key_blob_t blob = {buf, 0}; local 331 KeymasterKeyBlob key_blob(blob); 346 keymaster_key_blob_t blob = {buf, 0}; local 347 blob.key_material_size = 16 * 1024 * 1024 + 1 [all...] |
keymaster_enforcement_test.cpp | 921 keymaster_key_blob_t blob = {reinterpret_cast<const uint8_t*>("foobar"), 6}; local [all...] |
/system/update_engine/payload_generator/ |
ab_generator.cc | 177 // If this is a REPLACE, attempt to reuse portions of the existing blob. 244 // Set the data length to zero so we know to add the blob later. 275 brillo::Blob data(utils::BlocksInExtents(dst_extents) * kBlockSize); 282 brillo::Blob blob; local 285 diff_utils::GenerateBestFullOperation(data, version, &blob, &op_type)); 287 // If the operation doesn't point to a data blob or points to a data blob of 289 if (aop->op.type() != op_type || aop->op.data_length() != blob.size()) { 291 aop->SetOperationBlob(blob, blob_file) [all...] |
/external/ImageMagick/MagickCore/ |
configure.c | 44 #include "MagickCore/blob.h" 715 *blob; 717 blob=(char *) NTResourceToBlob(filename); 718 if (blob != (char *) NULL) 721 SetStringInfoLength(xml,strlen(blob)+1); 722 SetStringInfoDatum(xml,(unsigned char *) blob); 701 *blob; local [all...] |
constitute.c | 45 #include "MagickCore/blob.h" 46 #include "MagickCore/blob-private.h" 896 *blob; local [all...] |
/external/curl/lib/ |
curl_ntlm_core.c | 361 } blob; local 369 /* Setup the key blob structure */ 370 memset(&blob, 0, sizeof(blob)); 371 blob.hdr.bType = PLAINTEXTKEYBLOB; 372 blob.hdr.bVersion = 2; 373 blob.hdr.aiKeyAlg = CALG_DES; 374 blob.len = sizeof(blob.key); 377 extend_key_56_to_64(key_56, blob.key) [all...] |
/external/dtc/ |
fdtget.c | 118 * @param blob FDT blob 122 static int list_properties(const void *blob, int node) 128 prop = fdt_first_property_offset(blob, node); 133 data = fdt_get_property_by_offset(blob, prop, NULL); 134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); 137 prop = fdt_next_property_offset(blob, prop); 146 * @param blob FDT blob 150 static int list_subnodes(const void *blob, int node 253 char *blob; local [all...] |
fdtput.c | 167 static int store_key_value(char **blob, const char *node_name, 173 node = fdt_path_offset(*blob, node_name); 179 err = fdt_setprop(*blob, node, property, buf, len); 181 *blob = realloc_property(*blob, node, property, len); 182 err = fdt_setprop(*blob, node, property, buf, len); 197 * @param blob FDT blob to write into 201 static int create_paths(char **blob, const char *in_path) 217 node = fdt_subnode_offset_namelen(*blob, offset, path 332 char *blob; local [all...] |
/external/harfbuzz_ng/src/ |
hb-ft.cc | 484 /* Note: FreeType like HarfBuzz uses the NONE tag for fetching the entire blob */ 520 hb_blob_t *blob; local 522 blob = hb_blob_create ((const char *) ft_face->stream->base, 526 face = hb_face_create (blob, ft_face->face_index); 527 hb_blob_destroy (blob); 714 hb_blob_t *blob = hb_face_reference_blob (font->face); local 716 const char *blob_data = hb_blob_get_data (blob, &blob_length); 718 DEBUG_MSG (FT, font, "Font face has empty blob"); 728 hb_blob_destroy (blob); 766 ft_face->generic.data = blob; [all...] |
hb-graphite2.cc | 47 hb_blob_t *blob; member in struct:hb_graphite2_tablelist_t 62 hb_blob_t *blob = nullptr; local 66 blob = p->blob; 70 if (unlikely (!blob)) 72 blob = face_data->face->reference_table (tag); 76 hb_blob_destroy (blob); 79 p->blob = blob; 89 const char *d = hb_blob_get_data (blob, &tlen) [all...] |
hb-ot-post-table.hh | 89 blob = Sanitizer<post>::sanitize (face->reference_table (HB_OT_TAG_post)); 90 const post *table = Sanitizer<post>::lock_instance (blob); 91 unsigned int table_length = hb_blob_get_length (blob); 235 hb_blob_t *blob; member in struct:OT::post::accelerator_t
|
/external/harfbuzz_ng/test/api/ |
test-font.c | 61 hb_blob_t *blob; local 63 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL); 64 face = hb_face_create (blob, 0); 65 hb_blob_destroy (blob); 98 hb_blob_t *blob; local 108 blob = hb_face_reference_table (face, HB_TAG ('a','b','c','d')); 109 g_assert (blob != hb_blob_get_empty ()); 111 data = hb_blob_get_data (blob, &len); 114 hb_blob_destroy (blob); 157 hb_blob_t *blob; local 262 hb_blob_t *blob; local 398 hb_blob_t *blob; local [all...] |
test-object.c | 69 hb_blob_t *blob = (hb_blob_t *) create_blob (); local 70 hb_face_t *face = hb_face_create (blob, 0); 71 hb_blob_destroy (blob); 169 OBJECT_WITH_IMMUTABILITY (blob),
|
/external/libdrm/radeon/ |
radeon_cs_gem.c | 344 bof_t *bcs, *blob, *array, *bo, *size, *handle, *device_id, *root; local 349 root = device_id = bcs = blob = array = bo = size = handle = NULL; 361 blob = bof_blob(csg->nrelocs * 16, csg->relocs); 362 if (blob == NULL) 364 if (bof_object_set(root, "reloc", blob)) 366 bof_decref(blob); 367 blob = NULL; 369 blob = bof_blob(cs->cdw * 4, cs->packets); 370 if (blob == NULL) 372 if (bof_object_set(root, "pm4", blob)) [all...] |
/external/skia/tools/shape/ |
using_skia_and_harfbuzz.cpp | 145 sk_sp<const SkTextBlob> blob = textBlobBuilder.make(); local 146 // If we don't have a page, or if we're not at the start of the page and the blob won't fit 162 blob.get(), SkDoubleToScalar(current_x),
|
/external/skqp/tools/shape/ |
using_skia_and_harfbuzz.cpp | 145 sk_sp<const SkTextBlob> blob = textBlobBuilder.make(); local 146 // If we don't have a page, or if we're not at the start of the page and the blob won't fit 162 blob.get(), SkDoubleToScalar(current_x),
|
/external/tensorflow/tensorflow/core/lib/db/ |
sqlite.h | 254 void BindBlob(int parameter, const StringPiece& blob) { 255 Update(sqlite3_bind_blob64(stmt_, parameter, blob.data(), blob.size(), 258 size_ += blob.size(); 260 void BindBlob(const char* parameter, const StringPiece& blob) { 261 BindBlob(GetParameterIndex(parameter), blob); local 263 void BindBlobUnsafe(int parameter, const StringPiece& blob) { 264 Update(sqlite3_bind_blob64(stmt_, parameter, blob.data(), blob.size(), 267 size_ += blob.size() [all...] |