Home
last modified time | relevance | path

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

1234567891011

/freebsd-14.2/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 …]
/freebsd-14.2/contrib/dialog/
H A Dargv.c33 dlg_string_to_argv(char *blob) in dlg_string_to_argv() argument
37 size_t length = strlen(blob); in dlg_string_to_argv()
45 if (blob[n] == '\n') { in dlg_string_to_argv()
48 (int) (n - k), blob + k)); in dlg_string_to_argv()
63 char *param = blob; in dlg_string_to_argv()
69 } else if (blob[n] == '"') { in dlg_string_to_argv()
87 if (blob[n] == '\\') { in dlg_string_to_argv()
93 (blob[n1] == '"') || in dlg_string_to_argv()
99 blob[k] = blob[k + 1]; in dlg_string_to_argv()
100 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()
/freebsd-14.2/contrib/libfido2/tools/
H A Dlargeblob.c98 const struct blob *cred_id, char **pin, struct blob *key) in lookup_key()
201 struct blob key, blob; in blob_set() local
207 memset(&blob, 0, sizeof(blob)); in blob_set()
209 if (read_file(blobf, &blob.ptr, &blob.len) < 0 || in blob_set()
227 freezero(blob.ptr, blob.len); in blob_set()
241 struct blob key, blob; in blob_get() local
247 memset(&blob, 0, sizeof(blob)); in blob_get()
256 if (write_file(blobf, blob.ptr, blob.len) < 0) in blob_get()
262 freezero(blob.ptr, blob.len); in blob_get()
276 struct blob key; in blob_delete()
[all …]
/freebsd-14.2/contrib/bearssl/T0/
H A DWordData.cs30 ConstData blob; field in WordData
36 ConstData blob, int offset) in WordData() argument
39 this.blob = blob; in WordData()
55 if (blob != null) { in Resolve()
70 blob = wd.blob; in Resolve()
78 cpu.Push(new TValue(offset, new TPointerBlob(blob))); in Run()
85 r.Add(blob); in GetDataBlocks()
93 dst.Add(new CodeElementUIntInt(1, blob.Address + offset)); in GenerateCodeElements()
/freebsd-14.2/contrib/libfido2/src/
H A Dlargeblob.c34 blob->origsiz = 0; in largeblob_reset()
40 largeblob_t *blob; in largeblob_free() local
44 largeblob_reset(blob); in largeblob_free()
45 free(blob); in largeblob_free()
79 if (aes256_gcm_dec(key, &blob->nonce, aad, &blob->ciphertext, in largeblob_decrypt()
323 fido_blob_is_empty(&blob->nonce) || blob->origsiz == 0) { in largeblob_decode()
334 largeblob_t *blob; in largeblob_encode() local
352 largeblob_free(&blob); in largeblob_encode()
363 largeblob_t blob; in largeblob_array_lookup() local
366 memset(&blob, 0, sizeof(blob)); in largeblob_array_lookup()
[all …]
/freebsd-14.2/sys/contrib/openzfs/include/sys/zstd/
H A Dzstd.h157 zfs_get_hdrmeta(const zfs_zstdhdr_t *blob, zfs_zstdmeta_t *res) in zfs_get_hdrmeta() argument
159 uint32_t raw = blob->raw_version_level; in zfs_get_hdrmeta()
194 zfs_get_hdrlevel(const zfs_zstdhdr_t *blob) in zfs_get_hdrlevel() argument
198 zfs_get_hdrmeta(blob, &res); in zfs_get_hdrlevel()
204 zfs_get_hdrversion(const zfs_zstdhdr_t *blob) in zfs_get_hdrversion() argument
208 zfs_get_hdrmeta(blob, &res); in zfs_get_hdrversion()
215 zfs_set_hdrversion(zfs_zstdhdr_t *blob, uint32_t version) in zfs_set_hdrversion() argument
218 BF32_SET(blob->raw_version_level, 0, 24, version); in zfs_set_hdrversion()
222 zfs_set_hdrlevel(zfs_zstdhdr_t *blob, uint8_t level) in zfs_set_hdrlevel() argument
225 BF32_SET(blob->raw_version_level, 24, 8, level); in zfs_set_hdrlevel()
/freebsd-14.2/crypto/openssh/
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 Dkrl.c76 u_char *blob; member
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()
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 …]
/freebsd-14.2/contrib/libfido2/fuzz/
H A Dlibfuzzer.c84 uint8_t blob[MAXCORPUS], dgst[SHA256_DIGEST_LENGTH]; in save_corpus() local
89 if ((blob_len = pack(blob, sizeof(blob), p)) == 0 || in save_corpus()
90 blob_len > sizeof(blob)) { in save_corpus()
95 if (SHA256(blob, blob_len, dgst) != dgst) { in save_corpus()
112 if (write(fd, blob, blob_len) != (ssize_t)blob_len) { in save_corpus()
196 uint8_t blob[MAXCORPUS]; in LLVMFuzzerCustomMutator() local
218 if ((blob_len = pack(blob, sizeof(blob), p)) == 0 || in LLVMFuzzerCustomMutator()
219 blob_len > sizeof(blob) || blob_len > maxsize) { in LLVMFuzzerCustomMutator()
227 memcpy(data, blob, blob_len); in LLVMFuzzerCustomMutator()
H A Dmutator_aux.h61 struct blob { struct
77 int unpack_blob(cbor_item_t *, struct blob *); argument
82 cbor_item_t *pack_blob(const struct blob *);
89 void mutate_blob(struct blob *);
107 void set_pcsc_parameters(const struct blob *);
H A Dfuzz_pcsc.c26 struct blob pcsc_list;
27 struct blob tx_apdu;
28 struct blob wiredata_init;
29 struct blob wiredata_msg;
120 uint8_t blob[MAXCORPUS]; in pack_dummy() local
141 assert((blob_len = pack(blob, sizeof(blob), &dummy)) != 0); in pack_dummy()
144 memcpy(ptr, blob, len); in pack_dummy()
148 memcpy(ptr, blob, blob_len); in pack_dummy()
187 test_tx(const char *path, const struct blob *apdu, uint8_t cmd, u_char *rx_buf, in test_tx()
H A Dfuzz_largeblob.c24 struct blob key;
25 struct blob get_wiredata;
26 struct blob set_wiredata;
145 uint8_t blob[MAXCORPUS]; in pack_dummy() local
162 assert((blob_len = pack(blob, sizeof(blob), &dummy)) != 0); in pack_dummy()
165 memcpy(ptr, blob, len); in pack_dummy()
169 memcpy(ptr, blob, blob_len); in pack_dummy()
H A Dmutator_aux.c93 unpack_blob(cbor_item_t *item, struct blob *v) in unpack_blob()
129 pack_blob(const struct blob *v) NO_MSAN in pack_blob()
147 mutate_blob(struct blob *blob) in mutate_blob() argument
149 blob->len = LLVMFuzzerMutate((uint8_t *)blob->body, blob->len, in mutate_blob()
150 sizeof(blob->body)); in mutate_blob()
H A Dfuzz_netlink.c21 struct blob wiredata;
102 uint8_t blob[MAXCORPUS]; in pack_dummy() local
111 assert((blob_len = pack(blob, sizeof(blob), &dummy)) != 0); in pack_dummy()
114 memcpy(ptr, blob, len); in pack_dummy()
118 memcpy(ptr, blob, blob_len); in pack_dummy()
H A Dfuzz_bio.c25 struct blob id;
26 struct blob info_wire_data;
27 struct blob enroll_wire_data;
28 struct blob list_wire_data;
29 struct blob set_name_wire_data;
30 struct blob remove_wire_data;
181 uint8_t blob[MAXCORPUS]; in pack_dummy() local
208 assert((blob_len = pack(blob, sizeof(blob), &dummy)) != 0); in pack_dummy()
211 memcpy(ptr, blob, len); in pack_dummy()
215 memcpy(ptr, blob, blob_len); in pack_dummy()
H A Dfuzz_credman.c25 struct blob cred_id;
26 struct blob del_wire_data;
27 struct blob meta_wire_data;
28 struct blob rk_wire_data;
29 struct blob rp_wire_data;
168 uint8_t blob[MAXCORPUS]; in pack_dummy() local
192 assert((blob_len = pack(blob, sizeof(blob), &dummy)) != 0); in pack_dummy()
195 memcpy(ptr, blob, len); in pack_dummy()
199 memcpy(ptr, blob, blob_len); in pack_dummy()
H A Dfuzz_hid.c20 extern void set_udev_parameters(const char *, const struct blob *);
25 struct blob report_descriptor;
26 struct blob netlink_wiredata;
131 uint8_t blob[MAXCORPUS]; in pack_dummy() local
144 assert((blob_len = pack(blob, sizeof(blob), &dummy)) != 0); in pack_dummy()
148 memcpy(ptr, blob, blob_len); in pack_dummy()
/freebsd-14.2/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_fuzz.c33 attempt_parse_blob(u_char *blob, size_t len) in attempt_parse_blob() argument
51 ASSERT_INT_EQ(sshbuf_put(p1, blob, len), 0); in attempt_parse_blob()
85 u_char blob[] = { in sshbuf_getput_fuzz_tests() local
124 fuzz = fuzz_begin(fuzzers, blob, sizeof(blob)); in sshbuf_getput_fuzz_tests()
127 attempt_parse_blob(blob, sizeof(blob)); in sshbuf_getput_fuzz_tests()
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A Dconfig_none.c41 struct wpa_config_blob *blob; in wpa_config_write() local
52 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()
992 blob->len); in wpa_config_write_blob()
1016 struct wpa_config_blob *blob; in wpa_config_write() local
[all …]
/freebsd-14.2/contrib/wpa/src/eap_peer/
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 …]
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 …]
/freebsd-14.2/contrib/kyua/utils/sqlite/
H A Dstatement.hpp54 class blob { class
69 blob(const void* memory_, const int size_) : in blob() function in utils::sqlite::blob
102 blob column_blob(const int);
109 blob safe_column_blob(const char*);
118 void bind(const int, const blob&);
/freebsd-14.2/sys/contrib/device-tree/Bindings/net/bluetooth/
H A Dbrcm,bcm4377-bluetooth.yaml39 brcm,taurus-cal-blob:
41 description: A per-device calibration blob for the Bluetooth radio. This
44 This blob is used if the chip stepping of the Bluetooth module does not
47 brcm,taurus-bf-cal-blob:
49 description: A per-device calibration blob for the Bluetooth radio. This
52 This blob is used if the chip stepping of the Bluetooth module supports

1234567891011