Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 25 of 94) sorted by relevance

1234

/dragonfly/sys/dev/drm/
H A Ddrm_property.c517 drm_mode_object_unregister(blob->dev, &blob->base); in drm_property_free_blob()
519 kfree(blob); in drm_property_free_blob()
547 if (!blob) in drm_property_create_blob()
562 kfree(blob); in drm_property_create_blob()
571 return blob; in drm_property_create_blob()
583 if (!blob) in drm_property_blob_put()
615 return blob; in drm_property_blob_get()
640 return blob; in drm_property_lookup_blob()
746 if (!blob) in drm_mode_getblob_ioctl()
812 if (!blob) in drm_mode_destroyblob_ioctl()
[all …]
H A Ddrm_plane.c66 formats_ptr(struct drm_format_modifier_blob *blob) in formats_ptr() argument
68 return (u32 *)(((char *)blob) + blob->formats_offset); in formats_ptr()
72 modifiers_ptr(struct drm_format_modifier_blob *blob) in modifiers_ptr() argument
74 return (struct drm_format_modifier *)(((char *)blob) + blob->modifiers_offset); in modifiers_ptr()
80 struct drm_property_blob *blob; in create_in_format_blob() local
103 blob = drm_property_create_blob(dev, blob_size, NULL); in create_in_format_blob()
104 if (IS_ERR(blob)) in create_in_format_blob()
107 blob_data = (struct drm_format_modifier_blob *)blob->data; in create_in_format_blob()
141 blob->base.id); in create_in_format_blob()
/dragonfly/contrib/ncurses/ncurses/base/
H A DMKunctrl.awk46 blob=""
59 blob = blob "\""
60 blob = blob "\n \""
89 blob = blob part "\\0";
95 blob = blob "\"";
100 blob = blob "\n/* printable values in 128-255 range */"
109 blob = blob "\""
111 blob = blob "\n \""
116 blob = blob part
134 blob = blob "\"\n"
[all …]
/dragonfly/contrib/dialog/
H A Dargv.c32 dlg_string_to_argv(char *blob) in dlg_string_to_argv() argument
36 size_t length = strlen(blob); in dlg_string_to_argv()
44 if (blob[n] == '\n') { in dlg_string_to_argv()
47 (int) (n - k), blob + k)); in dlg_string_to_argv()
62 char *param = blob; in dlg_string_to_argv()
68 } else if (blob[n] == '"') { in dlg_string_to_argv()
86 if (blob[n] == '\\') { in dlg_string_to_argv()
92 (blob[n1] == '"') || in dlg_string_to_argv()
98 blob[k] = blob[k + 1]; in dlg_string_to_argv()
99 blob[length] = '\0'; in dlg_string_to_argv()
[all …]
H A Dprgbox.c42 char *blob; in dlg_popen() local
70 if ((blob = malloc(10 + strlen(command))) != 0) { in dlg_popen()
72 sprintf(blob, "sh -c \"%s\"", command); in dlg_popen()
73 argv = dlg_string_to_argv(blob); in dlg_popen()
H A Deditbox.c56 char *blob = 0; in load_list() local
68 if ((blob = dlg_malloc(char, size + 2)) == 0) { in load_list()
74 blob[size] = '\0'; in load_list()
78 size = fread(blob, sizeof(char), size, fp); in load_list()
84 if (size != 0 && blob[size - 1] != '\n') { in load_list()
85 blob[++size - 1] = '\n'; in load_list()
86 blob[size] = '\0'; in load_list()
95 (*list)[need] = blob + n; in load_list()
98 if (blob[n] == '\n') { in load_list()
102 blob[n] = '\0'; in load_list()
[all …]
H A Ddialog.c240 void *blob; member
406 next->blob = value; in ignore_leak()
416 char *blob = all_blobs->blob; in handle_leaks() local
418 free(blob); in handle_leaks()
546 char *blob; in unescape_argv() local
553 blob = NULL; in unescape_argv()
556 blob = dlg_realloc(char, length + BUFSIZ + 1, blob); in unescape_argv()
557 assert_ptr(blob, "unescape_argv"); in unescape_argv()
558 bytes_read = fread(blob + length, in unescape_argv()
570 blob[length] = '\0'; in unescape_argv()
[all …]
/dragonfly/crypto/openssh/
H A Dkrl.c77 u_char *blob; member
130 return memcmp(a->blob, b->blob, a->len); in blob_cmp()
177 free(rb->blob); in ssh_krl_free()
182 free(rb->blob); in ssh_krl_free()
393 rb->blob = blob; in revoke_blob()
406 u_char *blob; in ssh_krl_revoke_key_explicit() local
419 u_char *blob; in revoke_by_hash() local
427 free(blob); in revoke_by_hash()
556 u_char *blob; in put_bitmap() local
563 free(blob); in put_bitmap()
[all …]
H A Dsshbuf-io.c40 struct sshbuf *blob; in sshbuf_load_fd() local
49 if ((blob = sshbuf_new()) == NULL) in sshbuf_load_fd()
58 if ((r = sshbuf_put(blob, buf, len)) != 0) in sshbuf_load_fd()
60 if (sshbuf_len(blob) > SSHBUF_SIZE_MAX) { in sshbuf_load_fd()
66 st.st_size != (off_t)sshbuf_len(blob)) { in sshbuf_load_fd()
71 *blobp = blob; in sshbuf_load_fd()
72 blob = NULL; /* transferred */ in sshbuf_load_fd()
76 sshbuf_free(blob); in sshbuf_load_fd()
H A Dssh-pkcs11-helper.c124 u_char *blob; in process_add() local
140 if ((r = sshkey_to_blob(keys[i], &blob, &blen)) != 0) { in process_add()
144 if ((r = sshbuf_put_string(msg, blob, blen)) != 0 || in process_add()
147 free(blob); in process_add()
187 u_char *blob, *data, *signature = NULL; in process_sign() local
194 if ((r = sshbuf_get_string(iqueue, &blob, &blen)) != 0 || in process_sign()
199 if ((r = sshkey_from_blob(blob, blen, &key)) != 0) in process_sign()
247 free(blob); in process_sign()
H A Dsshsig.c49 sshsig_armor(const struct sshbuf *blob, struct sshbuf **out) in sshsig_armor() argument
68 if ((r = sshbuf_dtob64(blob, buf, 1)) != 0) { in sshsig_armor()
161 struct sshbuf *blob = NULL; in sshsig_wrap_sign() local
166 (blob = sshbuf_new()) == NULL) { in sshsig_wrap_sign()
202 (r = sshbuf_put_u32(blob, SIG_VERSION)) != 0 || in sshsig_wrap_sign()
203 (r = sshkey_puts(key, blob)) != 0 || in sshsig_wrap_sign()
206 (r = sshbuf_put_cstring(blob, hashalg)) != 0 || in sshsig_wrap_sign()
207 (r = sshbuf_put_string(blob, sig, slen)) != 0) { in sshsig_wrap_sign()
213 *out = blob; in sshsig_wrap_sign()
214 blob = NULL; in sshsig_wrap_sign()
[all …]
H A Dauthfd.c241 const u_char *blob; in deserialise_identity2() local
244 if ((r = sshbuf_get_string_direct(ids, &blob, &blen)) != 0 || in deserialise_identity2()
247 if ((r = sshkey_from_blob(blob, blen, keyp)) != 0) in deserialise_identity2()
631 u_char *blob = NULL; in ssh_remove_identity() local
638 if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) in ssh_remove_identity()
642 (r = sshbuf_put_string(msg, blob, blen)) != 0) in ssh_remove_identity()
653 if (blob != NULL) in ssh_remove_identity()
654 freezero(blob, blen); in ssh_remove_identity()
H A Dsshkey.c1053 if (blob != NULL) in sshkey_fingerprint_raw()
1345 struct sshbuf *blob; in sshkey_read() local
1394 sshbuf_free(blob); in sshkey_read()
1399 sshbuf_free(blob); in sshkey_read()
1404 sshbuf_free(blob); in sshkey_read()
1407 sshbuf_free(blob); in sshkey_read()
4035 sshbuf_reset(blob); in sshkey_private_to_blob2()
4082 cp = sshbuf_ptr(blob); in private2_uudecode()
4406 struct sshbuf *blob; in sshkey_private_to_blob_pem_pkcs8() local
4480 sshbuf_free(blob); in sshkey_private_to_blob_pem_pkcs8()
[all …]
H A DPROTOCOL.sshsig9 encoded blob, and a footer.
20 The base64 encoded blob SHOULD be broken up by newlines
74 This blob is encoded as a string using the RFC4253 encoding
79 3. Signed Data, of which the signature goes into the blob above
/dragonfly/sys/dev/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c123 struct drm_property_blob *blob = crtc->base.gamma_lut; in amdgpu_dm_set_regamma_lut() local
132 if (!blob) { in amdgpu_dm_set_regamma_lut()
139 lut = (struct drm_color_lut *)blob->data; in amdgpu_dm_set_regamma_lut()
140 lut_size = blob->length / sizeof(struct drm_color_lut); in amdgpu_dm_set_regamma_lut()
187 struct drm_property_blob *blob = crtc->base.ctm; in amdgpu_dm_set_ctm() local
193 if (!blob) { in amdgpu_dm_set_ctm()
199 ctm = (struct drm_color_ctm *)blob->data; in amdgpu_dm_set_ctm()
244 struct drm_property_blob *blob = crtc_state->degamma_lut; in amdgpu_dm_set_degamma_lut() local
250 if (!blob) { in amdgpu_dm_set_degamma_lut()
257 lut = (struct drm_color_lut *)blob->data; in amdgpu_dm_set_degamma_lut()
[all …]
/dragonfly/contrib/wpa_supplicant/src/eap_peer/
H A Deap_fast_pac.c274 rc->end = (char *) blob->data + blob->len; in eap_fast_init_pac_data()
540 blob = os_zalloc(sizeof(*blob)); in eap_fast_write_pac()
541 if (blob == NULL) in eap_fast_write_pac()
544 blob->len = len; in eap_fast_write_pac()
548 os_free(blob); in eap_fast_write_pac()
769 buf = blob->data; in eap_fast_load_pac_bin()
770 len = blob->len; in eap_fast_load_pac_bin()
782 if (blob == NULL) in eap_fast_load_pac_bin()
791 if (blob == NULL) in eap_fast_load_pac_bin()
845 if (blob == NULL) in eap_fast_load_pac_bin()
[all …]
H A Deap_teap_pac.c268 if (!blob) { in eap_teap_init_pac_data()
276 rc->end = (char *) blob->data + blob->len; in eap_teap_init_pac_data()
542 blob = os_zalloc(sizeof(*blob)); in eap_teap_write_pac()
543 if (!blob) in eap_teap_write_pac()
546 blob->len = len; in eap_teap_write_pac()
550 os_free(blob); in eap_teap_write_pac()
767 if (!blob) { in eap_teap_load_pac_bin()
786 if (!blob) in eap_teap_load_pac_bin()
795 if (!blob) in eap_teap_load_pac_bin()
849 if (!blob) in eap_teap_load_pac_bin()
[all …]
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dconfig_none.c40 struct wpa_config_blob *blob; in wpa_config_write() local
51 for (blob = config->blobs; blob; blob = blob->next) { in wpa_config_write()
H A Dconfig_winreg.c52 struct wpa_config_blob *blob; in wpa_config_read_blobs() local
96 blob = os_zalloc(sizeof(*blob)); in wpa_config_read_blobs()
97 if (blob == NULL) { in wpa_config_read_blobs()
101 blob->name = os_strdup((char *) name); in wpa_config_read_blobs()
103 if (blob->name == NULL || blob->data == NULL) { in wpa_config_read_blobs()
104 wpa_config_free_blob(blob); in wpa_config_read_blobs()
108 blob->len = datalen; in wpa_config_read_blobs()
110 wpa_config_set_blob(config, blob); in wpa_config_read_blobs()
978 blob->len); in wpa_config_write_blob()
1002 struct wpa_config_blob *blob; in wpa_config_write() local
[all …]
H A Dconfig_file.c297 struct wpa_config_blob *blob; in wpa_config_read_blob() local
332 blob = os_zalloc(sizeof(*blob)); in wpa_config_read_blob()
333 if (blob == NULL) { in wpa_config_read_blob()
337 blob->name = os_strdup(name); in wpa_config_read_blob()
338 blob->data = base64_decode(encoded, encoded_len, &blob->len); in wpa_config_read_blob()
341 if (blob->name == NULL || blob->data == NULL) { in wpa_config_read_blob()
342 wpa_config_free_blob(blob); in wpa_config_read_blob()
346 return blob; in wpa_config_read_blob()
365 if (blob == NULL) { in wpa_config_process_blob()
1086 encoded = base64_encode(blob->data, blob->len, NULL); in wpa_config_write_blob()
[all …]
/dragonfly/sys/dev/drm/include/drm/
H A Ddrm_property.h276 bool drm_property_replace_blob(struct drm_property_blob **blob,
278 struct drm_property_blob *drm_property_blob_get(struct drm_property_blob *blob);
279 void drm_property_blob_put(struct drm_property_blob *blob);
289 drm_property_reference_blob(struct drm_property_blob *blob) in drm_property_reference_blob() argument
291 return drm_property_blob_get(blob); in drm_property_reference_blob()
302 drm_property_unreference_blob(struct drm_property_blob *blob) in drm_property_unreference_blob() argument
304 drm_property_blob_put(blob); in drm_property_unreference_blob()
/dragonfly/sys/dev/drm/i915/
H A Di915_guc_submission.c905 } __packed *blob; in guc_ads_create() local
914 vma = intel_guc_allocate_vma(guc, PAGE_ALIGN(sizeof(*blob))); in guc_ads_create()
921 blob = kmap(page); in guc_ads_create()
924 guc_policies_init(&blob->policies); in guc_ads_create()
928 blob->reg_state.white_list[engine->guc_id].mmio_start = in guc_ads_create()
932 blob->reg_state.white_list[engine->guc_id].count = 0; in guc_ads_create()
943 blob->ads.golden_context_lrca = in guc_ads_create()
953 blob->ads.eng_state_size[engine->guc_id] = engine->context_size - skipped_size; in guc_ads_create()
956 blob->ads.scheduler_policies = base + ptr_offset(blob, policies); in guc_ads_create()
957 blob->ads.reg_state_buffer = base + ptr_offset(blob, reg_state_buffer); in guc_ads_create()
[all …]
H A Dintel_guc_ct.c117 void *blob; in ctch_init() local
154 blob = i915_gem_object_pin_map(vma->obj, I915_MAP_WB); in ctch_init()
155 if (IS_ERR(blob)) { in ctch_init()
156 err = PTR_ERR(blob); in ctch_init()
164 ctch->ctbs[i].desc = blob + PAGE_SIZE/4 * i; in ctch_init()
165 ctch->ctbs[i].cmds = blob + PAGE_SIZE/4 * i + PAGE_SIZE/2; in ctch_init()
/dragonfly/contrib/file/magic/Magdir/
H A Dgit6 0 string blob\040
7 >5 regex [0-9a-f]+ Git blob %s
H A Dpolyml11 # [1]: https://github.com/polyml/polyml/blob/master/\
13 # [2]: https://github.com/polyml/polyml/blob/master/\

1234