HomeSort by relevance Sort by last modified time
    Searched refs:blob (Results 1 - 25 of 601) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
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, belonging to \mem_ctx
    [all...]
  /external/harfbuzz_ng/src/
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-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...]
  /frameworks/base/core/java/android/security/keymaster/
KeymasterBlobArgument.java 25 public final byte[] blob; field in class:KeymasterBlobArgument
27 public KeymasterBlobArgument(int tag, byte[] blob) {
34 throw new IllegalArgumentException("Bad blob tag " + tag);
36 this.blob = blob;
41 blob = in.createByteArray();
46 out.writeByteArray(blob);
KeymasterBlob.java 26 public byte[] blob; field in class:KeymasterBlob
28 public KeymasterBlob(byte[] blob) {
29 this.blob = blob;
43 blob = in.createByteArray();
53 out.writeByteArray(blob);
  /system/nvram/core/include/nvram/core/
storage.h 24 #include <nvram/messages/blob.h>
38 Status LoadHeader(Blob* blob);
40 // Write the binary-encoded NVRAM header |blob| to storage. See the comment on
42 Status StoreHeader(const Blob& blob);
46 // This must place the data in |blob| that was provided by the last store
51 // It's OK if the data placed in |blob| exceeds the size of the original data,
55 Status LoadSpace(uint32_t index, Blob* blob);
    [all...]
  /external/vboot_reference/tests/futility/
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/javasqlite/src/main/java/SQLite/
Blob.java 7 * SQLite 3.4.0 incremental blob I/O interface.
13 * Blob instance
16 private Blob blob; field in class:BlobR
25 * Contruct InputStream from blob instance.
28 BlobR(Blob blob) {
29 this.blob = blob;
39 int ret = blob.size - pos
162 private Blob blob; field in class:BlobW
    [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...]
  /external/skqp/src/gpu/text/
GrTextBlobCache.h 37 // creates an uncached blob
42 sk_sp<GrAtlasTextBlob> makeBlob(const SkTextBlob* blob) {
45 BlobGlyphCount(&glyphCount, &runCount, blob);
49 sk_sp<GrAtlasTextBlob> makeCachedBlob(const SkTextBlob* blob,
53 sk_sp<GrAtlasTextBlob> cacheBlob(this->makeBlob(blob));
56 blob->notifyAddedToCache(fUniqueID);
65 void remove(GrAtlasTextBlob* blob) {
66 auto id = GrAtlasTextBlob::GetKey(*blob).fUniqueID;
70 fBlobList.remove(blob);
71 idEntry->removeBlob(blob);
    [all...]
GrTextBlobCache.cpp 18 for (const auto& blob : entry->fBlobs) {
19 fBlobList.remove(blob.get());
46 // remove all blob entries from the LRU list
47 for (const auto& blob : idEntry->fBlobs) {
48 fBlobList.remove(blob.get());
56 void GrTextBlobCache::checkPurge(GrAtlasTextBlob* blob) {
57 // First, purge all stale blob IDs.
65 while (fPool.size() > fBudget && (lruBlob = iter.get()) && lruBlob != blob) {
66 // Backup the iterator before removing and unrefing the blob
72 // If we break out of the loop with lruBlob == blob, then we haven't purged enoug
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
config_none.c 40 struct wpa_config_blob *blob; local
51 for (blob = config->blobs; blob; blob = blob->next) {
  /system/nvram/hal/
memory_storage.cpp 30 Status Load(Blob* blob) const {
35 if (!blob->Assign(blob_.data(), blob_.size())) {
42 Status Store(const Blob& blob) {
43 if (!blob_.Assign(blob.data(), blob.size())) {
55 Blob blob_;
58 // Stores the header blob.
81 Status LoadHeader(Blob* blob)
    [all...]
  /hardware/google/av/codec2/vndk/include/util/
C2ParamUtils.h 36 /// safe(r) parsing from parameter blob
38 C2Param *ParseFirst(const uint8_t *blob, size_t size);
  /system/update_engine/payload_generator/
blob_file_writer.cc 23 off_t BlobFileWriter::StoreBlob(const brillo::Blob& blob) {
25 if (!utils::PWriteAll(blob_fd_, blob.data(), blob.size(), *blob_file_size_))
29 *blob_file_size_ += blob.size();
blob_file_writer_unittest.cc 43 brillo::Blob blob(blob_size);
44 FillWithData(&blob);
45 EXPECT_EQ(0, blob_file.StoreBlob(blob));
46 EXPECT_EQ(blob_size, blob_file.StoreBlob(blob));
48 brillo::Blob stored_blob(blob_size);
56 EXPECT_EQ(blob, stored_blob);
  /external/skia/src/gpu/text/
GrTextBlobCache.cpp 19 for (const auto& blob : entry->fBlobs) {
20 fBlobList.remove(blob.get());
47 // remove all blob entries from the LRU list
48 for (const auto& blob : idEntry->fBlobs) {
49 fBlobList.remove(blob.get());
67 void GrTextBlobCache::checkPurge(GrAtlasTextBlob* blob) {
68 // First, purge all stale blob IDs.
76 while (this->overBudget() && (lruBlob = iter.get()) && lruBlob != blob) {
77 // Backup the iterator before removing and unrefing the blob
83 // If we break out of the loop with lruBlob == blob, then we haven't purged enoug
    [all...]
GrTextBlobCache.h 37 // creates an uncached blob
42 sk_sp<GrAtlasTextBlob> makeBlob(const SkTextBlob* blob) {
45 BlobGlyphCount(&glyphCount, &runCount, blob);
49 sk_sp<GrAtlasTextBlob> makeCachedBlob(const SkTextBlob* blob,
53 sk_sp<GrAtlasTextBlob> cacheBlob(this->makeBlob(blob));
56 blob->notifyAddedToCache(fUniqueID);
65 void remove(GrAtlasTextBlob* blob) {
66 auto id = GrAtlasTextBlob::GetKey(*blob).fUniqueID;
70 fBlobList.remove(blob);
71 idEntry->removeBlob(blob);
    [all...]
  /external/dtc/tests/
dumptrees.c 33 void *blob; member in struct:__anon19008
49 void *blob = trees[i].blob; local
55 size = fdt_totalsize(blob);
63 ret = write(fd, blob, size);
  /external/ImageMagick/PerlMagick/t/
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;
  /external/libbrillo/brillo/
secure_blob_unittest.cc 24 static bool FindBlobInBlob(const brillo::Blob& haystack,
25 const brillo::Blob& needle) {
31 static int FindBlobIndexInBlob(const brillo::Blob& haystack,
32 const brillo::Blob& needle) {
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]);
68 brillo::Blob from_blob(32)
114 SecureBlob blob = SecureBlob(test_string.begin(), test_string.end()); local
    [all...]
  /system/nvram/core/
persistence.cpp 32 // Encodes an |object| as a protobuf message and writes it to |blob|. Note that
46 storage::Status EncodeObject(const Object& object, Blob* blob) {
47 BlobOutputStreamBuffer stream(blob);
58 // Decodes a protobuf-encoded |object| from |blob|. It is OK if the provided
59 // |blob| includes trailing data that doesn't belong to the encoded object.
67 storage::Status DecodeObject(const Blob& blob, Object* object) {
68 InputStreamBuffer stream(blob.data(), blob.size())
100 Blob blob; local
109 Blob blob; local
118 Blob blob; local
127 Blob blob; local
    [all...]
  /external/dtc/
fdtoverlay.c 37 "apply a number of overlays to a base blob\n"
49 "Input base DT blob",
50 "Output DT blob",
61 char *blob = NULL; local
66 blob = utilfdt_read_len(input_filename, &blob_len);
67 if (!blob) {
68 fprintf(stderr, "\nFailed to read base blob %s\n",
74 /* allocate blob pointer array */
90 /* grow the blob to worst case */
91 blob_len = fdt_totalsize(blob) + total_len
    [all...]
  /external/libxcam/modules/isp/
xcam_cpf_reader.c 54 void xcam_cpf_blob_free (XCamCpfBlob *blob)
56 XCAM_FAIL_RETURN (blob);
58 if (blob->data)
59 xcam_free (blob->data);
61 xcam_free (blob);
105 uint8_t *blob; local
125 (void**)&blob, &blob_size) != tbd_err_none) ||
126 !blob || blob_size <= 0) {
133 memcpy (aiq_cpf->data, blob, blob_size);
149 (void**)&blob, &blob_size) != tbd_err_none)
    [all...]

Completed in 507 milliseconds

1 2 3 4 5 6 7 8 91011>>