| /dflybsd-src/sys/dev/drm/ |
| H A D | drm_property.c | 510 struct drm_property_blob *blob = in drm_property_free_blob() local 513 mutex_lock(&blob->dev->mode_config.blob_lock); in drm_property_free_blob() 514 list_del(&blob->head_global); in drm_property_free_blob() 515 mutex_unlock(&blob->dev->mode_config.blob_lock); in drm_property_free_blob() 517 drm_mode_object_unregister(blob->dev, &blob->base); in drm_property_free_blob() 519 kfree(blob); in drm_property_free_blob() 540 struct drm_property_blob *blob; in drm_property_create_blob() local 546 blob = kzalloc(sizeof(struct drm_property_blob)+length, GFP_KERNEL); in drm_property_create_blob() 547 if (!blob) in drm_property_create_blob() 552 INIT_LIST_HEAD(&blob->head_file); in drm_property_create_blob() [all …]
|
| H A D | drm_plane.c | 66 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()
|
| /dflybsd-src/contrib/ncurses/ncurses/base/ |
| H A D | MKunctrl.awk | 46 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 …]
|
| /dflybsd-src/contrib/dialog/ |
| H A D | argv.c | 32 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() 54 (int) (n - k), blob + k)); in dlg_string_to_argv() 62 char *param = blob; in dlg_string_to_argv() 66 if (quoted && blob[n] == '"') { in dlg_string_to_argv() 68 } else if (blob[n] == '"') { in dlg_string_to_argv() 77 } else if (!quoted && isspace(UCH(blob[n]))) { in dlg_string_to_argv() 86 if (blob[n] == '\\') { in dlg_string_to_argv() [all …]
|
| H A D | prgbox.c | 42 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 D | editbox.c | 56 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 …]
|
| /dflybsd-src/crypto/openssh/ |
| H A D | sshbuf-io.c | 40 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 D | krl.c | 76 u_char *blob; member 125 if ((r = memcmp(a->blob, b->blob, MINIMUM(a->len, b->len))) != 0) in blob_cmp() 129 return memcmp(a->blob, b->blob, a->len); in blob_cmp() 176 free(rb->blob); in ssh_krl_free() 181 free(rb->blob); in ssh_krl_free() 186 free(rb->blob); in ssh_krl_free() 367 plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen) in plain_key_blob() argument 380 r = sshkey_to_blob(kcopy, blob, blen); in plain_key_blob() 387 revoke_blob(struct revoked_blob_tree *rbt, u_char *blob, size_t len) in revoke_blob() argument 393 rb->blob = blob; in revoke_blob() [all …]
|
| H A D | ssh-pkcs11-client.c | 257 u_char *blob = NULL, *signature = NULL; in rsa_encrypt() local 275 if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) { in rsa_encrypt() 282 (r = sshbuf_put_string(msg, blob, blen)) != 0 || in rsa_encrypt() 299 free(blob); in rsa_encrypt() 334 u_char *blob = NULL, *signature = NULL; in ecdsa_do_sign() local 358 if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) { in ecdsa_do_sign() 365 (r = sshbuf_put_string(msg, blob, blen)) != 0 || in ecdsa_do_sign() 381 free(blob); in ecdsa_do_sign() 590 u_char *blob; in pkcs11_add_provider() local 619 if ((r = sshbuf_get_string(msg, &blob, &blen)) != 0 || in pkcs11_add_provider() [all …]
|
| H A D | ssh-pkcs11-helper.c | 124 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 D | sshkey.c | 855 u_char *blob = NULL, *ret = NULL; in sshkey_fingerprint_raw() local 867 if ((r = to_blob(k, &blob, &blob_len, 1, SSHKEY_SERIALIZE_DEFAULT)) in sshkey_fingerprint_raw() 874 if ((r = ssh_digest_memory(dgst_alg, blob, blob_len, in sshkey_fingerprint_raw() 887 if (blob != NULL) in sshkey_fingerprint_raw() 888 freezero(blob, blob_len); in sshkey_fingerprint_raw() 1181 struct sshbuf *blob; in sshkey_read() local 1203 if ((blob = sshbuf_new()) == NULL) in sshkey_read() 1209 sshbuf_free(blob); in sshkey_read() 1212 if ((r = sshbuf_b64tod(blob, blobcopy)) != 0) { in sshkey_read() 1214 sshbuf_free(blob); in sshkey_read() [all …]
|
| H A D | sshsig.c | 49 sshsig_armor(const struct sshbuf *blob, struct sshbuf **out) in sshsig_armor() argument 67 if ((r = sshbuf_dtob64(blob, buf, 1)) != 0) { in sshsig_armor() 172 struct sshbuf *blob = NULL; in sshsig_wrap_sign() local 177 (blob = sshbuf_new()) == NULL) { in sshsig_wrap_sign() 212 if ((r = sshbuf_put(blob, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 || in sshsig_wrap_sign() 213 (r = sshbuf_put_u32(blob, SIG_VERSION)) != 0 || in sshsig_wrap_sign() 214 (r = sshkey_puts(key, blob)) != 0 || in sshsig_wrap_sign() 215 (r = sshbuf_put_cstring(blob, sig_namespace)) != 0 || in sshsig_wrap_sign() 216 (r = sshbuf_put_string(blob, NULL, 0)) != 0 || /* reserved */ in sshsig_wrap_sign() 217 (r = sshbuf_put_cstring(blob, hashalg)) != 0 || in sshsig_wrap_sign() [all …]
|
| H A D | authfd.c | 240 const u_char *blob; in deserialise_identity2() local 243 if ((r = sshbuf_get_string_direct(ids, &blob, &blen)) != 0 || in deserialise_identity2() 246 if ((r = sshkey_from_blob(blob, blen, keyp)) != 0) in deserialise_identity2() 652 u_char *blob = NULL; in ssh_remove_identity() local 659 if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) in ssh_remove_identity() 663 (r = sshbuf_put_string(msg, blob, blen)) != 0) in ssh_remove_identity() 674 if (blob != NULL) in ssh_remove_identity() 675 freezero(blob, blen); in ssh_remove_identity()
|
| H A D | PROTOCOL.sshsig | 9 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
|
| /dflybsd-src/sys/dev/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_color.c | 123 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 …]
|
| /dflybsd-src/contrib/wpa_supplicant/src/eap_peer/ |
| H A D | eap_teap_pac.c | 265 const struct wpa_config_blob *blob; in eap_teap_init_pac_data() local 267 blob = eap_get_config_blob(sm, pac_file + 7); in eap_teap_init_pac_data() 268 if (!blob) { in eap_teap_init_pac_data() 275 rc->pos = (char *) blob->data; in eap_teap_init_pac_data() 276 rc->end = (char *) blob->data + blob->len; in eap_teap_init_pac_data() 540 struct wpa_config_blob *blob; in eap_teap_write_pac() local 542 blob = os_zalloc(sizeof(*blob)); in eap_teap_write_pac() 543 if (!blob) in eap_teap_write_pac() 545 blob->data = (u8 *) buf; in eap_teap_write_pac() 546 blob->len = len; in eap_teap_write_pac() [all …]
|
| H A D | eap_fast_pac.c | 264 const struct wpa_config_blob *blob; in eap_fast_init_pac_data() local 265 blob = eap_get_config_blob(sm, pac_file + 7); in eap_fast_init_pac_data() 266 if (blob == NULL) { in eap_fast_init_pac_data() 273 rc->pos = (char *) blob->data; in eap_fast_init_pac_data() 274 rc->end = (char *) blob->data + blob->len; in eap_fast_init_pac_data() 539 struct wpa_config_blob *blob; in eap_fast_write_pac() local 540 blob = os_zalloc(sizeof(*blob)); in eap_fast_write_pac() 541 if (blob == NULL) in eap_fast_write_pac() 543 blob->data = (u8 *) buf; in eap_fast_write_pac() 544 blob->len = len; in eap_fast_write_pac() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/ |
| H A D | config_none.c | 40 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 D | config_winreg.c | 52 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() 102 blob->data = os_memdup(data, datalen); 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() 961 static int wpa_config_write_blob(HKEY hk, struct wpa_config_blob *blob) in wpa_config_write_blob() argument [all …]
|
| H A D | config_file.c | 297 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() 354 struct wpa_config_blob *blob; in wpa_config_process_blob() local 364 blob = wpa_config_read_blob(f, line, bname); in wpa_config_process_blob() [all …]
|
| /dflybsd-src/sys/dev/drm/include/drm/ |
| H A D | drm_property.h | 276 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()
|
| /dflybsd-src/sys/dev/drm/i915/ |
| H A D | i915_guc_submission.c | 905 } __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 D | intel_guc_ct.c | 117 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()
|
| /dflybsd-src/contrib/file/magic/Magdir/ |
| H A D | git | 6 0 string blob\040 7 >5 regex [0-9a-f]+ Git blob %s
|
| H A D | polyml | 11 # [1]: https://github.com/polyml/polyml/blob/master/\ 13 # [2]: https://github.com/polyml/polyml/blob/master/\
|