/external/mesa3d/src/compiler/glsl/ |
H A D | 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) argument 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, blo 69 align_blob(struct blob *blob, size_t alignment) argument 82 align_blob_reader(struct blob_reader *blob, size_t alignment) argument 90 struct blob *blob; local 104 blob_overwrite_bytes(struct blob *blob, size_t offset, const void *bytes, size_t to_write) argument 119 blob_write_bytes(struct blob *blob, const void *bytes, size_t to_write) argument 131 blob_reserve_bytes(struct blob *blob, size_t to_write) argument 145 blob_write_uint32(struct blob *blob, uint32_t value) argument 153 blob_overwrite_uint32(struct blob *blob, size_t offset, uint32_t value) argument 161 blob_write_uint64(struct blob *blob, uint64_t value) argument 169 blob_write_intptr(struct blob *blob, intptr_t value) argument 177 blob_write_string(struct blob *blob, const char *str) argument 183 blob_reader_init(struct blob_reader *blob, uint8_t *data, size_t size) argument 196 ensure_can_read(struct blob_reader *blob, size_t size) argument 207 blob_read_bytes(struct blob_reader *blob, size_t size) argument 222 blob_copy_bytes(struct blob_reader *blob, uint8_t *dest, size_t size) argument 238 blob_read_uint32(struct blob_reader *blob) argument 256 blob_read_uint64(struct blob_reader *blob) argument 274 blob_read_intptr(struct blob_reader *blob) argument 292 blob_read_string(struct blob_reader *blob) argument [all...] |
H A D | 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. */ 63 * 1. blob->current should be equal to blob->end, (if not, too little was 66 * 2. blob->overrun should be false, (otherwise, too much was read). 76 * Create a new, empty blob, belongin [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-blob.cc | 68 static bool _try_writable (hb_blob_t *blob); 71 _hb_blob_destroy_user_data (hb_blob_t *blob) argument 73 if (blob->destroy) { 74 blob->destroy (blob->user_data); 75 blob->user_data = NULL; 76 blob->destroy = NULL; 82 * @data: Pointer to blob data. 88 * Creates a new "blob" object wrapping @data. The @mode parameter is used 91 * Return value: New blob, o 103 hb_blob_t *blob; local 156 hb_blob_t *blob; local 215 hb_blob_reference(hb_blob_t *blob) argument 233 hb_blob_destroy(hb_blob_t *blob) argument 255 hb_blob_set_user_data(hb_blob_t *blob, hb_user_data_key_t *key, void * data, hb_destroy_func_t destroy, hb_bool_t replace) argument 276 hb_blob_get_user_data(hb_blob_t *blob, hb_user_data_key_t *key) argument 292 hb_blob_make_immutable(hb_blob_t *blob) argument 311 hb_blob_is_immutable(hb_blob_t *blob) argument 328 hb_blob_get_length(hb_blob_t *blob) argument 345 hb_blob_get_data(hb_blob_t *blob, unsigned int *length) argument 370 hb_blob_get_data_writable(hb_blob_t *blob, unsigned int *length) argument 387 _try_make_writable_inplace_unix(hb_blob_t *blob) argument 430 _try_writable_inplace(hb_blob_t *blob) argument 445 _try_writable(hb_blob_t *blob) argument [all...] |
H A D | hb-blob.h | 43 * that is passed to HarfBuzz in a blob. If there is 75 * Even if the parent blob is writable, we don't 76 * want the user of the sub-blob to be able to 89 hb_blob_reference (hb_blob_t *blob); 92 hb_blob_destroy (hb_blob_t *blob); 95 hb_blob_set_user_data (hb_blob_t *blob, 103 hb_blob_get_user_data (hb_blob_t *blob, 108 hb_blob_make_immutable (hb_blob_t *blob); 111 hb_blob_is_immutable (hb_blob_t *blob); 115 hb_blob_get_length (hb_blob_t *blob); [all...] |
H A D | 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;
|
H A D | test-size-params.cc | 46 hb_blob_t *blob = NULL; local 53 /* Create the blob */ 82 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 86 hb_face_t *face = hb_face_create (blob, 0 /* first face */); 87 hb_blob_destroy (blob); 88 blob = NULL;
|
H A D | test-would-substitute.cc | 50 hb_blob_t *blob = NULL; local 57 /* Create the blob */ 86 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 90 hb_face_t *face = hb_face_create (blob, 0 /* first face */); 91 hb_blob_destroy (blob); 92 blob = NULL;
|
/external/vboot_reference/tests/futility/ |
H A D | test_gbb_utility.sh | 18 ${FUTILITY} gbb_utility -c 16,0x10,16,0x10 ${TMP}.blob 21 ${FUTILITY} gbb_utility -s --flags=0xdeadbeef ${TMP}.blob 22 ${FUTILITY} gbb_utility -g --flags ${TMP}.blob | grep -i 0xdeadbeef 25 if ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDEF" ${TMP}.blob; then 29 ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDE" ${TMP}.blob 31 ${FUTILITY} gbb_utility -g ${TMP}.blob | grep "0123456789ABCDE" 39 if ${FUTILITY} gbb_utility -s --rootkey ${TMP}.data1.toolong ${TMP}.blob; then false; fi 40 if ${FUTILITY} gbb_utility -s --recoverykey ${TMP}.data2.toolong ${TMP}.blob; then false; fi 41 if ${FUTILITY} gbb_utility -s --bmpfv ${TMP}.data3.toolong ${TMP}.blob; then false; fi 50 --bmpfv ${TMP}.data3.short ${TMP}.blob [all...] |
/external/libtextclassifier/common/memory_image/ |
H A D | in-memory-model-data.cc | 31 DataBlobView blob = data_store_.GetData(kTaskSpecDataStoreEntryName); local 32 if (blob.data() == nullptr) { 33 TC_LOG(ERROR) << "Can't find data blob for TaskSpec, i.e., entry " 38 blob.to_stringpiece(), task_spec); 49 DataBlobView blob = data_store_.GetData(file_name); local 50 return StringPiece(reinterpret_cast<const char *>(blob.data()), 51 blob.size());
|
/external/javasqlite/src/main/java/SQLite/ |
H A D | Blob.java | 7 * SQLite 3.4.0 incremental blob I/O interface. 16 private Blob blob; field in class:BlobR 25 * Contruct InputStream from blob instance. 28 BlobR(Blob blob) { argument 29 this.blob = blob; 39 int ret = blob.size - pos; 67 * Close this blob InputStream. 71 blob.close(); 72 blob 162 private Blob blob; field in class:BlobW 174 BlobW(Blob blob) argument [all...] |
/external/mesa3d/src/compiler/glsl/tests/ |
H A D | 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_st 196 struct blob *blob; local 255 struct blob *blob; local 280 struct blob *blob; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | config_none.c | 40 struct wpa_config_blob *blob; local 51 for (blob = config->blobs; blob; blob = blob->next) {
|
/external/skia/src/gpu/text/ |
H A D | GrTextBlobCache.h | 35 // creates an uncached blob 40 sk_sp<GrAtlasTextBlob> makeBlob(const SkTextBlob* blob) { argument 43 BlobGlyphCount(&glyphCount, &runCount, blob); 47 sk_sp<GrAtlasTextBlob> makeCachedBlob(const SkTextBlob* blob, argument 51 sk_sp<GrAtlasTextBlob> cacheBlob(this->makeBlob(blob)); 54 blob->notifyAddedToCache(); 63 void remove(GrAtlasTextBlob* blob) { argument 64 auto id = GrAtlasTextBlob::GetKey(*blob).fUniqueID; 68 fBlobList.remove(blob); 69 idEntry->removeBlob(blob); 75 makeMRU(GrAtlasTextBlob* blob) argument 87 BlobGlyphCount(int* glyphCount, int* runCount, const SkTextBlob* blob) argument 116 addBlob(sk_sp<GrAtlasTextBlob> blob) argument 124 removeBlob(GrAtlasTextBlob* blob) argument 154 add(sk_sp<GrAtlasTextBlob> blob) argument [all...] |
H A D | GrTextBlobCache.cpp | 18 for (const auto& blob : entry->fBlobs) { 19 fBlobList.remove(blob.get());
|
/external/dtc/tests/ |
H A D | dumptrees.c | 33 void *blob; member in struct:__anon5075 49 void *blob = trees[i].blob; local 55 size = fdt_totalsize(blob); 63 ret = write(fd, blob, size);
|
/external/ImageMagick/PerlMagick/t/ |
H A D | ping.t | 27 my (@blob, $filename, $format, $height, $image, $size, $status, $width); 44 print("Ping blob ...\n"); 48 @blob=$image->ImageToBlob(); 51 ($width, $height, $size, $format)=$image->Ping(blob=>@blob); 52 undef @blob;
|
H A D | blob.t | 27 @blob = $image->ImageToBlob(); 31 $image->BlobToImage( @blob );
|
/external/libbrillo/brillo/ |
H A D | secure_blob_unittest.cc | 47 SecureBlob blob(32); 49 EXPECT_EQ(32, blob.size()); 57 SecureBlob blob(std::begin(from_data), std::end(from_data)); 59 EXPECT_EQ(sizeof(from_data), blob.size()); 62 EXPECT_EQ(from_data[i], blob[i]); 73 SecureBlob blob(from_blob.begin(), from_blob.end()); 75 EXPECT_EQ(from_blob.size(), blob.size()); 76 EXPECT_TRUE(SecureBlobTest::FindBlobInBlob(from_blob, blob)); 84 SecureBlob blob(length); 85 void* original_data = blob 114 SecureBlob blob = SecureBlob(test_string.begin(), test_string.end()); local [all...] |
/external/dtc/ |
H A D | fdtput.c | 167 static int store_key_value(char **blob, const char *node_name, argument 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) argument 217 node = fdt_subnode_offset_namelen(*blob, offse 244 create_node(char **blob, const char *node_name) argument 283 delete_prop(char *blob, const char *node_name, const char *prop_name) argument 309 delete_node(char *blob, const char *node_name) argument 332 char *blob; local [all...] |
H A D | fdtget.c | 118 * @param blob FDT blob 122 static int list_properties(const void *blob, int node) argument 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, in argument 206 show_data_for_item(const void *blob, struct display_info *disp, int node, const char *property) argument 253 char *blob; local [all...] |
/external/ImageMagick/MagickCore/ |
H A D | blob.c | 49 #include "MagickCore/blob.h" 50 #include "MagickCore/blob-private.h" 187 % AttachBlob() attaches a blob to the BlobInfo structure. 191 % void AttachBlob(BlobInfo *blob_info,const void *blob,const size_t length) 197 % o blob: the address of a character stream in one of the image formats 200 % o length: This size_t integer reflects the length in bytes of the blob. 203 MagickExport void AttachBlob(BlobInfo *blob_info,const void *blob, 215 blob_info->data=(unsigned char *) blob; 232 % BlobToFile() writes a blob to a file. It returns MagickFalse if an error 237 % MagickBooleanType BlobToFile(char *filename,const void *blob, 198 AttachBlob(BlobInfo *blob_info,const void *blob, const size_t length) argument 245 BlobToFile(char *filename,const void *blob, const size_t length,ExceptionInfo *exception) argument 319 BlobToImage(const ImageInfo *image_info,const void *blob, const size_t length,ExceptionInfo *exception) argument 737 *blob; local 978 *blob; local 1174 *blob; local 1536 *blob; local 1788 *blob; local 2633 *blob; local 2751 PingBlob(const ImageInfo *image_info,const void *blob, const size_t length,ExceptionInfo *exception) argument 3893 ReferenceBlob(BlobInfo *blob) argument [all...] |
/external/google-breakpad/src/client/linux/microdump_writer/ |
H A D | microdump_writer.h | 46 // blob: a blob of data from the crashing process. See exception_handler.h 47 // blob_size: the length of |blob| in bytes. 52 const void* blob,
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
H A D | minidump_writer.h | 76 // blob: a blob of data from the crashing process. See exception_handler.h 77 // blob_size: the length of |blob|, in bytes 81 const void* blob, size_t blob_size); 84 const void* blob, size_t blob_size); 97 const void* blob, size_t blob_size, 101 const void* blob, size_t blob_size, 108 const void* blob, size_t blob_size, 113 const void* blob, size_t blob_size,
|
/external/v8/src/snapshot/ |
H A D | 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;\ 164 StartupData blob = v8::V8::CreateSnapshotDataBlob(embed_script); local [all...] |
/external/ImageMagick/Magick++/tests/ |
H A D | readWriteBlob.cpp | 41 cout << "Failed to stream into blob!" << endl; 45 // Insert data into blob 102 Blob blob(static_cast<const unsigned char*>(blobData), blobLen); 107 // Construct with blob data only 108 Image image( blob ); 121 // Construct with image geometry and blob data 122 Image image( blob, Geometry(148,99)); 135 // Construct default image, and then read in blob data 137 image.read( blob ); 150 // Construct default image, and then read in blob dat 169 Blob blob; local 194 Blob blob; local [all...] |