/external/v8/src/snapshot/ |
snapshot-common.cc | 33 const v8::StartupData* blob = isolate->snapshot_blob(); local 34 if (blob == nullptr) return false; 35 if (blob->data == nullptr) return false; 36 size_t num_contexts = static_cast<size_t>(ExtractNumContexts(blob)); 45 const v8::StartupData* blob = isolate->snapshot_blob(); local 46 CheckVersion(blob); 47 Vector<const byte> startup_data = ExtractStartupData(blob); 49 Vector<const byte> builtin_data = ExtractBuiltinData(blob); 53 deserializer.SetRehashability(ExtractRehashability(blob)); 70 const v8::StartupData* blob = isolate->snapshot_blob() local 101 const v8::StartupData* blob = isolate->snapshot_blob(); local 183 const v8::StartupData* blob = isolate->snapshot_blob(); local 438 uint8_t* const blob = new uint8_t[blob_size]; local [all...] |
/frameworks/av/camera/ |
CameraMetadata.cpp | 548 // Special case: zero blob size means zero sized (NULL) metadata. 555 ALOGE("%s: metadata blob is malformed, blobSize(%zu) should be larger than alignment(%zu)", 562 // NOTE: this doesn't make sense to me. shouldn't the blob 565 ReadableBlob blob; local 566 // arg1 = metadata (blob) 568 if ((err = data.readBlob(blobSize, &blob)) != OK) { 569 ALOGE("%s: Failed to read metadata blob (sized %zu). Possible " 575 // arg2 = offset (blob) 576 // Must be after blob since we don't know offset until after writeBlob. 591 const uintptr_t metadataStart = reinterpret_cast<uintptr_t>(blob.data()) + offset 683 WritableBlob blob; local [all...] |
/external/ImageMagick/coders/ |
meta.c | 44 #include "MagickCore/blob.h" 45 #include "MagickCore/blob-private.h" 1189 *blob; 1224 blob=(unsigned char *) AcquireQuantumMemory(length,sizeof(unsigned char)); 1225 if (blob == (unsigned char *) NULL) 1185 *blob; local [all...] |
/external/ImageMagick/tests/ |
validate.c | 1555 *blob; local [all...] |
/external/dtc/ |
flattree.c | 364 struct data blob = empty_data; local 376 die("Unknown device tree blob version %d\n", version); 396 "Warning: blob size %d >= minimum size %d\n", 415 * Assemble the blob: start with the header, add with alignment 419 blob = data_append_data(blob, &fdt, vi->hdr_size); 420 blob = data_append_align(blob, 8); 421 blob = data_merge(blob, reservebuf) 817 char *blob; local [all...] |
/external/harfbuzz_ng/src/ |
hb-coretext.cc | 144 hb_blob_t *blob = hb_face_reference_blob (face); local 146 const char *blob_data = hb_blob_get_data (blob, &blob_length); 148 DEBUG_MSG (CORETEXT, face, "Face has empty blob"); 150 CGDataProviderRef provider = CGDataProviderCreateWithData (blob, blob_data, blob_length, &release_data); [all...] |
hb-directwrite.cc | 155 hb_blob_t *blob = hb_face_reference_blob (face); local 157 fontFileStream = new DWriteFontFileStream ((uint8_t *) hb_blob_get_data (blob, nullptr), 158 hb_blob_get_length (blob)); 196 data->faceBlob = blob;
|
hb-machinery.hh | 33 #include "hb-blob.hh" 153 * mmap() font file into memory and create a blob out of it. Font subtables 154 * are returned as a readonly sub-blob of the main font blob. These table 161 * The blob then can be converted to a head table struct with: 166 * the table blob, sanitize it and return either the sanitized blob, or empty 167 * blob if sanitization failed. The blob->as() function returns the null 168 * object of its template type argument if the blob is empty. Otherwise, i 480 hb_blob_t *blob; member in struct:hb_sanitize_context_t [all...] |
hb-ot-cff1-table.hh | 1006 this->blob = sc.reference_table<cff1> (face); 1009 sc.init (this->blob); 1012 const OT::cff1 *cff = this->blob->template as<OT::cff1> (); 1133 hb_blob_destroy (blob); 1134 blob = nullptr; 1137 bool is_valid () const { return blob != nullptr; } 1156 hb_blob_t *blob; member in struct:CFF::NameDictValues [all...] |
hb-ot-layout.cc | 88 hb_blob_t *blob = font->face->table.kern.get_blob (); local 89 const AAT::kern& kern = *blob->as<AAT::kern> (); 91 AAT::hb_aat_apply_context_t c (plan, font, buffer, blob); 102 OT::GDEF::is_blacklisted (hb_blob_t *blob, 123 switch ENCODE(blob->length, 291 OT::GSUB::is_blacklisted (hb_blob_t *blob HB_UNUSED, 316 OT::GPOS::is_blacklisted (hb_blob_t *blob HB_UNUSED, [all...] |
hb-uniscribe.cc | 357 /* Destroys blob. */ 359 _hb_rename_font (hb_blob_t *blob, wchar_t *new_name) 370 blob = hb_sanitize_context_t ().sanitize_blob<OT::OpenTypeFontFile> (blob); 373 const char *orig_sfnt_data = hb_blob_get_data (blob, &length); 389 hb_blob_destroy (blob); 437 hb_blob_destroy (blob); 446 hb_blob_destroy (blob); 465 hb_blob_t *blob = hb_face_reference_blob (face); local 466 if (unlikely (!hb_blob_get_length (blob))) [all...] |
/external/libdrm/tests/modetest/ |
modetest.c | 230 drmModePropertyBlobPtr blob; local 232 blob = drmModeGetPropertyBlob(dev->fd, blob_id); 233 if (!blob) { 238 blob_data = blob->data; 240 for (i = 0; i < blob->length; i++) { 247 drmModeFreePropertyBlob(blob); 301 drmModePropertyBlobPtr blob; local 306 printf("\t\tin_formats blob decoded:\n"); 307 blob = drmModeGetPropertyBlob(dev->fd, blob_id); 308 if (!blob) { [all...] |
/external/libdrm/ |
xf86drmMode.c | 686 struct drm_mode_get_blob blob; local 689 memclear(blob); 690 blob.blob_id = blob_id; 692 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPROPBLOB, &blob)) 695 if (blob.length) 696 blob.data = VOID2U64(drmMalloc(blob.length)); 698 if (drmIoctl(fd, DRM_IOCTL_MODE_GETPROPBLOB, &blob)) { 706 r->id = blob.blob_id; 707 r->length = blob.length [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_serialize.c | 37 struct blob *blob; member in struct:__anon33150 54 struct blob_reader *blob; member in struct:__anon33151 88 blob_write_intptr(ctx->blob, write_lookup_object(ctx, obj)); 108 return read_lookup_object(ctx, blob_read_intptr(ctx->blob)); 114 blob_write_bytes(ctx->blob, c->values, sizeof(c->values)); 115 blob_write_uint32(ctx->blob, c->num_elements); 125 blob_copy_bytes(ctx->blob, (uint8_t *)c->values, sizeof(c->values)); 126 c->num_elements = blob_read_uint32(ctx->blob); 138 encode_type_to_blob(ctx->blob, var->type) [all...] |
/external/nos/host/android/hals/keymaster/ |
KeymasterDevice.cpp | 464 hidl_vec<uint8_t> blob; local 468 _hidl_cb(ErrorCode::INVALID_ARGUMENT, blob, characteristics); 477 blob.setToExternal( 479 const_cast<char*>(response.blob().blob().data())), 480 response.blob().blob().size(), false); 487 blob, characteristics); local 541 hidl_vec<uint8_t> blob; local 542 blob.setToExternal 927 hidl_vec<uint8_t> blob; local 941 _hidl_cb(translate_error_code(response.error_code()), blob); local 1267 hidl_vec<uint8_t> blob; local [all...] |
/external/openssh/ |
monitor.c | 535 monitor_allowed_key(u_char *blob, u_int bloblen) 539 timingsafe_bcmp(key_blob, blob, key_bloblen)) 1129 u_char *blob; local 1139 blob = buffer_get_string(m, &bloblen); 1142 key = key_from_blob(blob, bloblen); 1194 key_blob = blob; 1202 free(blob); 1341 u_char *signature, *data, *blob; local [all...] |
ssh-agent.c | 271 u_char *blob; local 274 if ((r = sshkey_to_blob(id->key, &blob, &blen)) != 0) { 279 if ((r = sshbuf_put_string(msg, blob, blen)) != 0) 282 free(blob); 390 u_char *blob, *data, *signature = NULL; local 400 if ((r = sshbuf_get_string(e->request, &blob, &blen)) != 0 || 406 if ((r = sshkey_from_blob(blob, blen, &key)) != 0) { 407 error("%s: cannot parse key blob: %s", __func__, ssh_err(r)); 439 free(blob); 450 u_char *blob; local [all...] |
/external/perfetto/src/trace_processor/ |
proto_trace_parser.cc | 290 const TraceBlobView& blob = ttp.blob_view; local 292 protos::pbzero::TracePacket::Decoder packet(blob.data(), blob.length()); 339 void ProtoTraceParser::ParseSysStats(int64_t ts, ConstBytes blob) { 340 protos::pbzero::SysStats::Decoder sys_stats(blob.data, blob.size); 428 void ProtoTraceParser::ParseProcessTree(ConstBytes blob) { 429 protos::pbzero::ProcessTree::Decoder ps(blob.data, blob.size); 450 void ProtoTraceParser::ParseProcessStats(int64_t ts, ConstBytes blob) { [all...] |
/external/skia/src/core/ |
SkGlyphRunPainter.cpp | 684 // We have to remake the blob because changes may invalidate our masks. 729 GrTextBlob* blob = fRun->fBlob; local 971 sk_sp<GrTextBlob> blob; local [all...] |
SkTextBlob.cpp | 60 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::First(const SkTextBlob* blob) { 61 // The first record (if present) is stored following the blob object. 63 return reinterpret_cast<const RunRecord*>(SkAlignPtr((uintptr_t)(blob + 1))); 210 SkTextBlobRunIterator::SkTextBlobRunIterator(const SkTextBlob* blob) 211 : fCurrentRun(SkTextBlob::RunRecord::First(blob)) { 212 SkDEBUGCODE(fStorageTop = (uint8_t*)blob + blob->fStorageSize;) 254 // The easiest way to accomplish that is to use the blob destructor. 392 // the first allocation also includes blob storage 594 SkTextBlob* blob = new (fStorage.release()) SkTextBlob(fBounds) local [all...] |
/external/skqp/src/core/ |
SkGlyphRunPainter.cpp | 561 // We have to remake the blob because changes may invalidate our masks. 603 GrTextBlob* blob = fRun->fBlob; local 607 SkASSERT(hasW || !blob->fInitialViewMatrix.hasPerspective()); 611 intptr_t vertex = reinterpret_cast<intptr_t>(blob->fVertices + fVertexEndIndex); 614 // overwritten. Similarly, we always write the color and the blob will later overwrite it 637 blob->fGlyphs[fGlyphEndIndex++] = glyph; 899 sk_sp<GrTextBlob> blob; local [all...] |
SkTextBlob.cpp | 60 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::First(const SkTextBlob* blob) { 61 // The first record (if present) is stored following the blob object. 63 return reinterpret_cast<const RunRecord*>(SkAlignPtr((uintptr_t)(blob + 1))); 210 SkTextBlobRunIterator::SkTextBlobRunIterator(const SkTextBlob* blob) 211 : fCurrentRun(SkTextBlob::RunRecord::First(blob)) { 212 SkDEBUGCODE(fStorageTop = (uint8_t*)blob + blob->fStorageSize;) 254 // The easiest way to accomplish that is to use the blob destructor. 392 // the first allocation also includes blob storage 594 SkTextBlob* blob = new (fStorage.release()) SkTextBlob(fBounds) local [all...] |
/external/u-boot/drivers/mtd/ |
renesas_rpc_hf.c | 345 void *blob = (void *)gd->fdt_blob; local 352 parent = fdt_parent_offset(blob, node); 353 fdt_support_default_count_cells(blob, parent, &addrc, &sizec); 354 cell = fdt_getprop(blob, node, "reg", &len); 375 rpc_base = fdt_translate_address(blob, node, cell); 376 flash_base = fdt_translate_address(blob, node, cell + addrc + sizec);
|
/external/u-boot/drivers/net/fsl-mc/ |
mc.c | 165 static int mc_fixup_mac_addr(void *blob, int nodeoffset, 190 if (fdt_get_property(blob, nodeoffset, propname, NULL)) { 198 err = fdt_increase_size(blob, size); 206 err = fdt_setprop(blob, nodeoffset, propname, val, len); 217 const char *dpl_get_connection_endpoint(void *blob, char *endpoint) 219 int connoffset = fdt_path_offset(blob, "/connections"), off; 222 for (off = fdt_first_subnode(blob, connoffset); 224 off = fdt_next_subnode(blob, off)) { 225 s1 = fdt_stringlist_get(blob, off, "endpoint1", 0, NULL); 226 s2 = fdt_stringlist_get(blob, off, "endpoint2", 0, NULL) 363 void *blob = (void *)dpc_addr; local 457 void *blob = (void *)dpl_addr; local [all...] |
/external/u-boot/drivers/spi/ |
fsl_qspi.c | 1128 const void *blob = gd->fdt_blob; local [all...] |