Lines Matching full:blob
29 /* Unit tests for hb-blob.h */
48 hb_blob_t *blob;
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;
194 fixture->blob = hb_blob_create (data, len, mm, fixture, free_func);
200 hb_blob_destroy (fixture->blob);
208 hb_blob_t *b = fixture->blob;
267 hb_blob_t *b = fixture->blob;
280 fixture->blob = hb_blob_create_sub_blob (b, 1, fixture->len - 2);
282 b = fixture->blob;
284 /* A sub-blob is always created READONLY. */