Searched defs:blob (Results 26 - 50 of 103) sorted by relevance

12345

/external/libdrm/radeon/
H A Dbof.c140 * 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
[all...]
H A Dradeon_cs_gem.c341 bof_t *bcs, *blob, *array, *bo, *size, *handle, *device_id, *root; local
346 root = device_id = bcs = blob = array = bo = size = handle = NULL;
358 blob = bof_blob(csg->nrelocs * 16, csg->relocs);
359 if (blob == NULL)
361 if (bof_object_set(root, "reloc", blob))
363 bof_decref(blob);
364 blob = NULL;
366 blob = bof_blob(cs->cdw * 4, cs->packets);
367 if (blob == NULL)
369 if (bof_object_set(root, "pm4", blob))
[all...]
/external/openssh/
H A Dauthfile.c55 /* Save a key blob to a file */
98 sshkey_load_file(int fd, struct sshbuf *blob) argument
117 if ((r = sshbuf_put(blob, buf, len)) != 0)
119 if (sshbuf_len(blob) > MAX_KEY_FILE_SIZE) {
125 st.st_size != (off_t)sshbuf_len(blob)) {
134 sshbuf_reset(blob);
H A Dssh-pkcs11-helper.c119 u_char *blob; local
130 if (key_to_blob(keys[i], &blob, &blen) == 0)
132 buffer_put_string(&msg, blob, blen);
134 free(blob);
170 u_char *blob, *data, *signature = NULL; local
176 blob = get_string(&blen);
180 if ((key = key_from_blob(blob, blen)) != NULL) {
204 free(blob);
H A Dauthfd.c245 const u_char *blob; local
248 if ((r = sshbuf_get_string_direct(ids, &blob, &blen)) != 0 ||
251 if ((r = sshkey_from_blob(blob, blen, keyp)) != 0)
436 u_char *blob = NULL, type; local
452 if ((r = sshkey_to_blob(key, &blob, &blen)) != 0)
455 (r = sshbuf_put_string(msg, blob, blen)) != 0 ||
475 if (blob != NULL) {
476 explicit_bzero(blob, blen);
477 free(blob);
607 u_char type, *blob local
[all...]
H A Dkey.c95 key_from_blob(const u_char *blob, u_int blen) argument
100 if ((r = sshkey_from_blob(blob, blen, &ret)) != 0) {
111 u_char *blob; local
119 if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) {
127 *blobp = blob;
278 key_private_deserialize(struct sshbuf *blob) argument
283 if ((r = sshkey_private_deserialize(blob, &ret)) != 0) {
310 key_load_file(int fd, const char *filename, struct sshbuf *blob) argument
314 if ((r = sshkey_load_file(fd, blob)) != 0) {
/external/skia/src/gpu/
H A DGrTextContext.cpp99 const SkMatrix& viewMatrix, const SkTextBlob* blob,
104 SkTextBlob::RunIterator it(blob);
98 drawTextBlob(GrRenderTarget* rt, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkTextBlob* blob, SkScalar x, SkScalar y, SkDrawFilter* drawFilter, const SkIRect& clipBounds) argument
/external/vboot_reference/futility/
H A Dcmd_vbutil_firmware.c182 uint8_t *blob; local
201 /* Read blob */
202 blob = ReadFile(infile, &blob_size);
203 if (!blob) {
216 key_block = (VbKeyBlockHeader *) blob;
246 preamble = (VbFirmwarePreambleHeader *) (blob + now);
/external/harfbuzz_ng/src/
H A Dhb-graphite2.cc48 hb_blob_t *blob; member in struct:hb_graphite2_tablelist_t
63 hb_blob_t *blob = NULL; local
67 blob = p->blob;
71 if (unlikely (!blob))
73 blob = face_data->face->reference_table (tag);
77 hb_blob_destroy (blob);
80 p->blob = blob;
90 const char *d = hb_blob_get_data (blob,
[all...]
/external/harfbuzz_ng/test/api/
H A Dtest-object.c69 hb_blob_t *blob = (hb_blob_t *) create_blob (); local
70 hb_face_t *face = hb_face_create (blob, 0);
71 hb_blob_destroy (blob);
169 OBJECT_WITH_IMMUTABILITY (blob),
/external/skia/src/core/
H A DSkPicturePlayback.cpp341 const SkTextBlob* blob = fPictureData->getTextBlob(reader); local
344 canvas->drawTextBlob(blob, x, y, paint);
H A DSkTextBlob.cpp102 // Each run record describes a text blob run, and can be used to determine the (implicit)
151 static const RunRecord* First(const SkTextBlob* blob) { argument
152 // The first record (if present) is stored following the blob object.
153 return reinterpret_cast<const RunRecord*>(blob + 1);
298 SkTextBlob::RunIterator::RunIterator(const SkTextBlob* blob) argument
299 : fCurrentRun(RunRecord::First(blob))
300 , fRemainingRuns(blob->fRunCount) {
301 SkDEBUGCODE(fStorageTop = (uint8_t*)blob + blob->fStorageSize;)
365 // The easiest way to accomplish that is to use the blob destructo
599 const SkTextBlob* blob = new (fStorage.detach()) SkTextBlob(fRunCount, fBounds); local
[all...]
H A DSkDevice.cpp125 void SkBaseDevice::drawTextBlob(const SkDraw& draw, const SkTextBlob* blob, SkScalar x, SkScalar y, argument
130 SkTextBlob::RunIterator it(blob);
/external/skia/src/utils/
H A DSkPaintFilterCanvas.cpp153 void SkPaintFilterCanvas::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, argument
156 this->INHERITED::onDrawTextBlob(blob, x, y, *apf.paint());
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_fast_pac.c264 if (os_strncmp(pac_file, "blob://", 7) == 0) {
265 const struct wpa_config_blob *blob; local
266 blob = eap_get_config_blob(sm, pac_file + 7);
267 if (blob == NULL) {
268 wpa_printf(MSG_INFO, "EAP-FAST: No PAC blob '%s' - "
274 rc->pos = (char *) blob->data;
275 rc->end = (char *) blob->data + blob->len;
409 * @pac_file: Name of the PAC file/blob to load
538 if (os_strncmp(pac_file, "blob
539 struct wpa_config_blob *blob; local
753 const struct wpa_config_blob *blob = NULL; local
[all...]
H A Deap_tls_common.c38 const struct wpa_config_blob *blob; local
40 if (*name == NULL || os_strncmp(*name, "blob://", 7) != 0)
43 blob = eap_get_config_blob(sm, *name + 7);
44 if (blob == NULL) {
45 wpa_printf(MSG_ERROR, "%s: Named configuration blob '%s' not "
51 *data = blob->data;
52 *data_len = blob->len;
157 * Use blob data, if available. Otherwise, leave reference to external
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_fast_pac.c264 if (os_strncmp(pac_file, "blob://", 7) == 0) {
265 const struct wpa_config_blob *blob; local
266 blob = eap_get_config_blob(sm, pac_file + 7);
267 if (blob == NULL) {
268 wpa_printf(MSG_INFO, "EAP-FAST: No PAC blob '%s' - "
274 rc->pos = (char *) blob->data;
275 rc->end = (char *) blob->data + blob->len;
409 * @pac_file: Name of the PAC file/blob to load
538 if (os_strncmp(pac_file, "blob
539 struct wpa_config_blob *blob; local
753 const struct wpa_config_blob *blob = NULL; local
[all...]
H A Deap_tls_common.c38 const struct wpa_config_blob *blob; local
40 if (*name == NULL || os_strncmp(*name, "blob://", 7) != 0)
43 blob = eap_get_config_blob(sm, *name + 7);
44 if (blob == NULL) {
45 wpa_printf(MSG_ERROR, "%s: Named configuration blob '%s' not "
51 *data = blob->data;
52 *data_len = blob->len;
157 * Use blob data, if available. Otherwise, leave reference to external
/external/wpa_supplicant_8/wpa_supplicant/
H A Dconfig_winreg.c52 struct wpa_config_blob *blob; local
93 wpa_printf(MSG_MSGDUMP, "blob %d: field='%s' len %d",
96 blob = os_zalloc(sizeof(*blob));
97 if (blob == NULL) {
101 blob->name = os_strdup((char *) name);
102 blob->data = os_malloc(datalen);
103 if (blob->name == NULL || blob->data == NULL) {
104 wpa_config_free_blob(blob);
947 wpa_config_write_blob(HKEY hk, struct wpa_config_blob *blob) argument
988 struct wpa_config_blob *blob; local
[all...]
H A Dpreauth_test.c163 struct wpa_config_blob *blob)
166 wpa_config_set_blob(wpa_s->conf, blob);
162 wpa_supplicant_set_config_blob(void *ctx, struct wpa_config_blob *blob) argument
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_old_handlers.c1266 struct wpa_config_blob *blob; local
1288 blob = os_zalloc(sizeof(*blob));
1289 if (blob == NULL) {
1292 "Not enough memory to add blob.");
1295 blob->data = os_zalloc(entry.array_len);
1296 if (blob->data == NULL) {
1299 "Not enough memory to add blob data.");
1300 os_free(blob);
1304 blob
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_fast_pac.c264 if (os_strncmp(pac_file, "blob://", 7) == 0) {
265 const struct wpa_config_blob *blob; local
266 blob = eap_get_config_blob(sm, pac_file + 7);
267 if (blob == NULL) {
268 wpa_printf(MSG_INFO, "EAP-FAST: No PAC blob '%s' - "
274 rc->pos = (char *) blob->data;
275 rc->end = (char *) blob->data + blob->len;
409 * @pac_file: Name of the PAC file/blob to load
538 if (os_strncmp(pac_file, "blob
539 struct wpa_config_blob *blob; local
753 const struct wpa_config_blob *blob = NULL; local
[all...]
H A Deap_tls_common.c38 const struct wpa_config_blob *blob; local
40 if (*name == NULL || os_strncmp(*name, "blob://", 7) != 0)
43 blob = eap_get_config_blob(sm, *name + 7);
44 if (blob == NULL) {
45 wpa_printf(MSG_ERROR, "%s: Named configuration blob '%s' not "
51 *data = blob->data;
52 *data_len = blob->len;
157 * Use blob data, if available. Otherwise, leave reference to external
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
H A Dnetworkconfig.cpp342 char blob[32]; local
345 snprintf(blob, sizeof(blob),
346 "blob://fast-pac-%d", id);
347 setNetworkParam(id, "pac_file", blob, true);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_debug.c69 const void *blob,
72 const unsigned *ublob = (const unsigned *)blob;
68 debug_print_blob( const char *name, const void *blob, unsigned size ) argument

Completed in 793 milliseconds

12345