/external/google-breakpad/src/client/linux/crash_generation/ |
H A D | crash_generation_client.h | 48 // Request the crash server to generate a dump. |blob| is an opaque 51 virtual bool RequestDump(const void* blob, size_t blob_size) = 0;
|
/external/ImageMagick/coders/ |
H A D | meta.c | 44 #include "MagickCore/blob.h" 45 #include "MagickCore/blob-private.h" 1160 *blob; 1195 blob=(unsigned char *) AcquireQuantumMemory(length,sizeof(unsigned char)); 1196 if (blob == (unsigned char *) NULL) 1201 AttachBlob(buff->blob,blob,length); 1224 blob=DetachBlob(buff->blob); 1225 blob 1156 *blob; local [all...] |
H A D | jnx.c | 48 #include "MagickCore/blob.h" 49 #include "MagickCore/blob-private.h" 261 *blob; 285 blob=(unsigned char *) AcquireQuantumMemory((size_t) tile_length+2, 286 sizeof(*blob)); 287 if (blob == (unsigned char *) NULL) 293 blob[0]=0xFF; 294 blob[1]=0xD8; 295 count=ReadBlob(image,tile_length,blob+2); 300 blob 257 *blob; local [all...] |
H A D | histogram.c | 45 #include "MagickCore/blob.h" 46 #include "MagickCore/blob-private.h" 94 % supports the saving of more than one frame to the same file or blob, 383 histogram_image->blob=DetachBlob(histogram_image->blob); 384 histogram_image->blob=CloneBlobInfo(image->blob); 386 image->blob=DetachBlob(image->blob); 387 image->blob [all...] |
/external/fonttools/Lib/fontTools/misc/ |
H A D | py23.py | 53 def transcode(blob): 54 if not isinstance(blob, str): 55 blob = blob.decode('latin-1') 56 return blob
|
/external/fonttools/Tools/fontTools/misc/ |
H A D | py23.py | 53 def transcode(blob): 54 if not isinstance(blob, str): 55 blob = blob.decode('latin-1') 56 return blob
|
/external/harfbuzz_ng/src/ |
H A D | test-buffer-serialize.cc | 48 hb_blob_t *blob = NULL; local 55 /* Create the blob */ 84 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 87 hb_face_t *face = hb_face_create (blob, 0 /* first face */); 88 hb_blob_destroy (blob); 89 blob = NULL;
|
H A D | hb-face.cc | 101 hb_blob_t *blob; member in struct:hb_face_for_data_closure_t 106 _hb_face_for_data_closure_create (hb_blob_t *blob, unsigned int index) argument 114 closure->blob = blob; 123 hb_blob_destroy (closure->blob); 133 return hb_blob_reference (data->blob); 135 const OT::OpenTypeFontFile &ot_file = *OT::Sanitizer<OT::OpenTypeFontFile>::lock_instance (data->blob); 140 hb_blob_t *blob = hb_blob_create_sub_blob (data->blob, table.offset, table.length); local 142 return blob; 157 hb_face_create(hb_blob_t *blob, unsigned int index) argument [all...] |
H A D | test.cc | 49 hb_blob_t *blob = NULL; local 56 /* Create the blob */ 85 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 88 printf ("Opened font file %s: %u bytes long\n", argv[1], hb_blob_get_length (blob)); 91 hb_face_t *face = hb_face_create (blob, 0 /* first face */); 92 hb_blob_destroy (blob); 93 blob = NULL;
|
H A D | sample.py | 26 blob = hb.glib_blob_create (GLib.Bytes.new (fontdata)) variable 27 face = hb.face_create (blob, 0) 28 del blob
|
/external/dtc/tests/ |
H A D | testutils.c | 161 char *blob; local 162 int ret = utilfdt_read_err(filename, &blob); 165 CONFIG("Couldn't open blob from \"%s\": %s", filename, 167 return blob; 182 CONFIG("Couldn't write blob to \"%s\": %s", filename, 186 void *open_blob_rw(void *blob) argument 189 void *buf = blob; 191 err = fdt_open_into(blob, buf, fdt_totalsize(blob)); 194 int newsize = fdt_totalsize(blob) [all...] |
/external/skia/tools/ |
H A D | SkShaper_harfbuzz.cpp | 24 std::unique_ptr<hb_blob_t, HBFBlobDel> blob; local 26 blob.reset(hb_blob_create((char*)base, SkToUInt(size), 33 blob.reset(hb_blob_create((char*)ptr, SkToUInt(size), 36 SkASSERT(blob); 37 hb_blob_make_immutable(blob.get()); 38 return blob; 57 std::unique_ptr<hb_blob_t, HBFBlobDel> blob( 64 hb_face_create(blob.get(), (unsigned)index));
|
/external/libbrillo/brillo/ |
H A D | data_encoding.h | 72 brillo::Blob blob; local 73 if (!Base64Decode(input, &blob)) 75 *output = std::string{blob.begin(), blob.end()};
|
/external/skia/src/core/ |
H A D | SkTextBlobRunIterator.h | 13 * Iterate through all of the text runs of the text blob. For example: 14 * for (SkTextBlobRunIterator it(blob); !it.done(); it.next()) { 20 SkTextBlobRunIterator(const SkTextBlob* blob);
|
/external/skia/src/gpu/text/ |
H A D | GrAtlasTextContext.cpp | 66 bool GrAtlasTextContext::HasLCD(const SkTextBlob* blob) { argument 67 SkTextBlobRunIterator it(blob); 79 const SkSurfaceProps& props, const SkTextBlob* blob, 100 bool hasLCD = HasLCD(blob); 113 key.fUniqueID = blob->uniqueID(); 124 // We have to remake the blob because changes may invalidate our masks. 128 cacheBlob = cache->makeCachedBlob(blob, key, blurRec, skPaint); 131 viewMatrix, props, blob, x, y, drawFilter); 138 GrTextBlobCache::BlobGlyphCount(&glyphCount, &runCount, blob); 143 viewMatrix, props, blob, 76 drawTextBlob(GrContext* context, GrRenderTargetContext* rtc, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkSurfaceProps& props, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter, const SkIRect& clipBounds) argument 162 RegenerateTextBlob(GrAtlasTextBlob* cacheBlob, GrAtlasGlyphCache* fontCache, const GrShaderCaps& shaderCaps, const GrTextUtils::Paint& paint, uint32_t scalerContextFlags, const SkMatrix& viewMatrix, const SkSurfaceProps& props, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter) argument 245 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1); local 271 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1); local [all...] |
H A D | GrTextUtils.cpp | 76 void GrTextUtils::DrawBmpText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* fontCache, argument 87 // Ensure the blob is set for bitmaptext 88 blob->setHasBitmap(); 92 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix); 100 blob, runIndex, fontCache, &currStrike, glyph, 109 void GrTextUtils::DrawBmpPosText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* fontCache, argument 122 // Ensure the blob is set for bitmaptext 123 blob->setHasBitmap(); 127 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix); 136 blob, runInde 145 BmpAppendGlyph(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* fontCache, GrAtlasTextStrike** strike, const SkGlyph& skGlyph, int vx, int vy, GrColor color, SkGlyphCache* cache) argument 218 InitDistanceFieldPaint(GrAtlasTextBlob* blob, SkPaint* skPaint, SkScalar* textRatio, const SkMatrix& viewMatrix) argument 271 DrawDFText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* fontCache, const SkSurfaceProps& props, const GrTextUtils::Paint& paint, uint32_t scalerContextFlags, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y) argument 347 DrawDFPosText(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* fontCache, const SkSurfaceProps& props, const GrTextUtils::Paint& paint, uint32_t scalerContextFlags, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset) argument 443 DfAppendGlyph(GrAtlasTextBlob* blob, int runIndex, GrAtlasGlyphCache* cache, GrAtlasTextStrike** strike, const SkGlyph& skGlyph, SkScalar sx, SkScalar sy, GrColor color, SkGlyphCache* glyphCache, SkScalar textRatio, const SkMatrix& viewMatrix) argument [all...] |
/external/harfbuzz_ng/test/fuzzing/ |
H A D | hb-fuzzer.cc | 8 hb_blob_t *blob = hb_blob_create((const char *)data, size, local 10 hb_face_t *face = hb_face_create(blob, 0); 50 hb_blob_destroy(blob);
|
/external/skia/gm/ |
H A D | textblobgeometrychange.cpp | 44 sk_sp<SkTextBlob> blob(builder.make()); 59 canvas->drawTextBlob(blob, 10, 50, paint); 64 c->drawTextBlob(blob, 10, 150, paint);
|
H A D | textblobuseaftergpufree.cpp | 51 sk_sp<SkTextBlob> blob(builder.make()); 58 canvas->drawTextBlob(blob, 10, 50, paint); 62 canvas->drawTextBlob(blob, 10, 150, paint);
|
/external/harfbuzz_ng/test/api/ |
H A D | test-font.c | 51 hb_blob_t *blob; local 53 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL); 54 face = hb_face_create (blob, 0); 55 hb_blob_destroy (blob); 88 hb_blob_t *blob; local 98 blob = hb_face_reference_table (face, HB_TAG ('a','b','c','d')); 99 g_assert (blob != hb_blob_get_empty ()); 101 data = hb_blob_get_data (blob, &len); 104 hb_blob_destroy (blob); 147 hb_blob_t *blob; local 252 hb_blob_t *blob; local 373 hb_blob_t *blob; local [all...] |
H A D | test-blob.c | 29 /* Unit tests for hb-blob.h */ 48 hb_blob_t *blob; local 60 blob = hb_blob_get_empty (); 61 g_assert (blob == hb_blob_get_empty ()); 63 len = hb_blob_get_length (blob); 66 data = hb_blob_get_data (blob, NULL); 69 data = hb_blob_get_data (blob, &len); 73 data_writable = hb_blob_get_data_writable (blob, NULL); 76 data_writable = hb_blob_get_data_writable (blob, &len); 94 hb_blob_t *blob; member in struct:__anon7105 [all...] |
/external/libese/libese-hw/nxp/pn80t/ |
H A D | linux_spidev.c | 62 int platform_toggle_ven(void *blob, int val) { argument 63 struct Handle *handle = blob; 68 int platform_toggle_reset(void *blob, int val) { argument 69 struct Handle *handle = blob; 74 int platform_toggle_power_req(void *blob, int val) { argument 75 struct Handle *handle = blob; 165 int platform_release(void *blob) { argument 166 struct Handle *handle = blob; 173 int platform_wait(void *blob __attribute__((unused)), long usec) {
|
/external/skia/tests/ |
H A D | TextBlobTest.cpp | 99 // This unit test verifies blob bounds computation. 107 sk_sp<SkTextBlob> blob(builder.make()); 108 REPORTER_ASSERT(reporter, !blob); 114 sk_sp<SkTextBlob> blob(builder.make()); 115 REPORTER_ASSERT(reporter, blob->bounds() == r1); 121 sk_sp<SkTextBlob> blob(builder.make()); 122 REPORTER_ASSERT(reporter, blob->bounds() == r1); 128 sk_sp<SkTextBlob> blob(builder.make()); 129 REPORTER_ASSERT(reporter, blob->bounds() == r1); 141 sk_sp<SkTextBlob> blob(builde [all...] |
/external/autotest/client/cros/faft/utils/ |
H A D | os_interface.py | 302 def retrieve_body_version(self, blob): 303 """Given a blob, retrieve body version. 310 magic, _, kb_size = struct.unpack_from(header_format, blob) 315 _, version = struct.unpack_from(preamble_format, blob, kb_size) 318 def retrieve_datakey_version(self, blob): 319 """Given a blob, retrieve firmware data key version. 325 magic, _, version = struct.unpack_from(header_format, blob) 330 def retrieve_kernel_subkey_version(self, blob): 331 """Given a blob, retrieve kernel subkey version. 338 magic, _, kb_size = struct.unpack_from(header_format, blob) [all...] |
H A D | flashrom_handler.py | 162 blob = self.fum.get_section(self.image, subsection_name) 163 if blob: 166 f.write(blob) 169 blob = self.fum.get_section(self.image, section.get_body_name()) 170 if blob: 172 s.update(blob) 261 into the section blob, either body or signature. 279 blob = self.fum.get_section(self.image, subsection_name) 281 # Modify the byte in it within 2% of the section blob. 282 modified_index = len(blob) / 5 [all...] |