/external/libbrillo/brillo/ |
key_value_store_unittest.cc | 46 string blob = "A=B\n# Comment\n"; local 47 ASSERT_EQ(blob.size(), base::WriteFile(temp_file_, blob.data(), blob.size())); 112 string blob = "TRUE=true\nfalse=false\nvar=false\nDONT_SHOUT=TRUE\n"; local 113 EXPECT_TRUE(store_.LoadFromString(blob));
|
/external/nos/test/system-test-harness/src/ |
keymaster-import-key-tests.cc | 11 #include "src/blob.h" 250 EXPECT_EQ(sizeof(struct km_blob), response.blob().blob().size()); 251 const struct km_blob *blob = local 252 (const struct km_blob *)response.blob().blob().data(); 253 EXPECT_EQ(memcmp(blob->b.key.rsa.N_bytes, TEST_RSA_KEYS[i].n, 255 EXPECT_EQ(memcmp(blob->b.key.rsa.d_bytes, 271 EXPECT_EQ(sizeof(struct km_blob), response.blob().blob().size()) 272 const struct km_blob *blob = local [all...] |
keymaster-import-wrapped-key-tests.cc | 11 #include "src/blob.h" 206 struct km_blob blob; local 209 memset(&blob, 0, sizeof(blob)); 210 blob.b.algorithm = BLOB_RSA; 211 blob.b.key.rsa.rsa.e = 65537; 212 blob.b.key.rsa.rsa.N.dmax = sizeof(wrapping_key_N) / sizeof(uint32_t); 213 blob.b.key.rsa.rsa.d.dmax = sizeof(wrapping_key_D) / sizeof(uint32_t); 215 memcpy(&blob.b.key.rsa.N_bytes, wrapping_key_N, sizeof(wrapping_key_N)); 216 memcpy(&blob.b.key.rsa.d_bytes, wrapping_key_D, sizeof(wrapping_key_D)) [all...] |
/external/skia/tests/ |
TextBlobCacheTest.cpp | 34 const auto& blob = blobs[i]; local 35 const SkRect& bounds = blob->bounds(); 38 canvas->drawTextBlob(blob, 0, SkIntToScalar(yOffset), paint);
|
/external/skqp/tests/ |
TextBlobCacheTest.cpp | 34 const auto& blob = blobs[i]; local 35 const SkRect& bounds = blob->bounds(); 38 canvas->drawTextBlob(blob, 0, SkIntToScalar(yOffset), paint);
|
/art/test/044-proxy/src/ |
BasicTest.java | 44 shapes.blob(); 52 colors.blob(); 129 public String blob(); method in interface:Shapes 153 public String blob(); method in interface:Colors 189 public String blob() { method in class:Mix 190 System.out.println("--- blob");
|
/external/ImageMagick/coders/ |
inline.c | 44 #include "MagickCore/blob.h" 45 #include "MagickCore/blob-private.h" 202 % supports the saving of more than one frame to the same file or blob, 307 *blob; 335 blob=(unsigned char *) ImageToBlob(write_info,write_image,&blob_length, 339 if (blob == (unsigned char *) NULL) 342 base64=Base64Encode(blob,blob_length,&encode_length); 343 blob=(unsigned char *) RelinquishMagickMemory(blob); 301 *blob; local
|
magick.c | 44 #include "MagickCore/blob.h" 45 #include "MagickCore/blob-private.h" 12985 *blob; member in struct:_MagickImageInfo 13039 *blob; local 13238 *blob; local [all...] |
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=(unsigned char *) RelinquishMagickMemory(blob) 257 *blob; local [all...] |
mpeg.c | 42 #include "MagickCore/blob.h" 43 #include "MagickCore/blob-private.h" 234 % supports the saving of more than one frame to the same file or blob, 477 *blob; 513 blob=(unsigned char *) NULL; 545 blob=(unsigned char *) FileToBlob(previous_image,~0UL,&length, 553 status=BlobToFile(filename,blob,length,exception); 571 if (blob != (unsigned char *) NULL) 572 blob=(unsigned char *) RelinquishMagickMemory(blob); 470 *blob; local [all...] |
/external/dtc/Documentation/ |
dtc-paper.tex | 48 The ``blob'' representing the device tree can be created using \dtc 51 the kernel. The compiler can produce either a binary ``blob'' or an 114 compact, flattened format. The resulting device tree ``blob'' is then 116 its runtime form. This blob is the only data communicated between the 122 device tree blob must be passed in from outside, rather than generated 124 \texttt{kexec} tools build the blob from the runtime device tree 125 before invoking the new kernel. For embedded systems the blob can 137 move the blob around as a whole, without needing to parse or adjust 139 within the blob. 144 practice this means limiting the use of internal offsets in the blob [all...] |
/external/harfbuzz_ng/src/ |
hb-face-private.hh | 71 hb_blob_t *blob; local 76 blob = reference_table_func (/*XXX*/const_cast<hb_face_t *> (this), tag, user_data); 77 if (unlikely (!blob)) 80 return blob;
|
hb-blob.cc | 63 static bool _try_writable (hb_blob_t *blob); 66 _hb_blob_destroy_user_data (hb_blob_t *blob) 68 if (blob->destroy) { 69 blob->destroy (blob->user_data); 70 blob->user_data = nullptr; 71 blob->destroy = nullptr; 77 * @data: Pointer to blob data. 83 * Creates a new "blob" object wrapping @data. The @mode parameter is used 86 * Return value: New blob, or the empty blob if something failed or if @length i 98 hb_blob_t *blob; local 157 hb_blob_t *blob; local [all...] |
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) 114 closure->blob = blob; 125 hb_blob_destroy (closure->blob); 135 return hb_blob_reference (data->blob); 137 const OT::OpenTypeFontFile &ot_file = *OT::Sanitizer<OT::OpenTypeFontFile>::lock_instance (data->blob); 142 hb_blob_t *blob = hb_blob_create_sub_blob (data->blob, table.offset, table.length); local 144 return blob; [all...] |
hb-ot-hmtx-table.hh | 104 blob = Sanitizer<hmtxvmtx>::sanitize (face->reference_table (T::tableTag)); 107 unsigned int len = hb_blob_get_length (blob); 117 hb_blob_destroy (blob); 118 blob = hb_blob_get_empty (); 120 table = Sanitizer<hmtxvmtx>::lock_instance (blob); 128 hb_blob_destroy (blob); 162 hb_blob_t *blob; member in struct:OT::hmtxvmtx::accelerator_t
|
/external/harfbuzz_ng/test/api/ |
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:__anon21168 [all...] |
test-shape.c | 86 hb_blob_t *blob; local 95 blob = hb_blob_create (test_data, sizeof (test_data), HB_MEMORY_MODE_READONLY, NULL, NULL); 96 face = hb_face_create (blob, 0); 97 hb_blob_destroy (blob);
|
/external/libdrm/tests/proptest/ |
proptest.c | 56 drmModePropertyBlobPtr blob; local 58 blob = drmModeGetPropertyBlob(fd, blob_id); 59 if (!blob) { 64 blob_data = blob->data; 66 for (i = 0; i < blob->length; i++) { 73 drmModeFreePropertyBlob(blob); 106 printf(" blob");
|
/system/keymaster/km_openssl/ |
hmac_operation.cpp | 134 KeymasterKeyBlob blob = key.key_material_move(); local 135 HMAC_Init_ex(&ctx_, blob.key_material, blob.key_material_size, md, NULL /* engine */);
|
/external/dtc/tests/ |
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) 189 void *buf = blob; 191 err = fdt_open_into(blob, buf, fdt_totalsize(blob)); 194 int newsize = fdt_totalsize(blob) + 8 [all...] |
/external/libdrm/radeon/ |
bof.c | 140 * blob 144 bof_t *blob = bof_object(); local 146 if (blob == NULL) 148 blob->type = BOF_TYPE_BLOB; 149 blob->value = calloc(1, size); 150 if (blob->value == NULL) { 151 bof_decref(blob); 154 blob->size = size; 155 memcpy(blob->value, value, size); 156 blob->size += 12 [all...] |
/external/libdrm/tests/modeprint/ |
modeprint.c | 117 drmModePropertyBlobPtr blob; local 119 blob = drmModeGetPropertyBlob(fd, value); 120 if (blob) { 121 printf("blob is %d length, %08X\n", blob->length, *(uint32_t *)blob->data); 122 drmModeFreePropertyBlob(blob); 124 printf("error getting blob %" PRIu64 "\n", value);
|
/external/mesa3d/src/compiler/glsl/ |
blob.c | 28 #include "blob.h" 32 /* Ensure that \blob will be able to fit an additional object of size 37 grow_to_fit(struct blob *blob, size_t additional) 42 if (blob->size + additional <= blob->allocated) 45 if (blob->allocated == 0) 48 to_allocate = blob->allocated * 2; 50 to_allocate = MAX2(to_allocate, blob->allocated + additional); 52 new_data = reralloc_size(blob, blob->data, to_allocate) 90 struct blob *blob; local [all...] |
/external/mesa3d/src/compiler/glsl/tests/ |
blob_test.c | 24 /* A collection of unit tests for blob.c */ 33 #include "blob.h" 122 struct blob *blob; local 128 blob = blob_create(ctx); 130 /*** Test blob by writing one of every possible kind of value. */ 132 blob_write_bytes(blob, bytes_test_str, sizeof(bytes_test_str)); 134 reserved = blob_reserve_bytes(blob, sizeof(reserve_test_str)); 138 str_offset = blob->size; 139 blob_write_bytes(blob, placeholder_str, sizeof(placeholder_str)) 196 struct blob *blob; local 255 struct blob *blob; local 280 struct blob *blob; local [all...] |
cache_test.c | 192 /* If the text of this blob is changed, then blob_key_byte_zero 195 char blob[] = "This is a blob of thirty-seven bytes"; local 208 _mesa_sha1_compute(blob, sizeof(blob), blob_key); 216 disk_cache_put(cache, blob_key, blob, sizeof(blob)); 219 expect_equal_str(blob, result, "disk_cache_get of existing item (pointer)"); 220 expect_equal(size, sizeof(blob), "disk_cache_get of existing item (size)"); 257 * directory as the original blob first written to the cache [all...] |