Home
last modified time | relevance | path

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

1234567

/freebsd-12-stable/contrib/ncurses/ncurses/base/
DMKunctrl.awk45 blob=""
58 blob = blob "\""
59 blob = blob "\n \""
88 blob = blob part "\\0";
94 blob = blob "\"";
99 blob = blob "\n/* printable values in 128-255 range */"
108 blob = blob "\""
110 blob = blob "\n \""
115 blob = blob part
133 blob = blob "\"\n"
[all …]
/freebsd-12-stable/contrib/dtc/
Dfdtput.c167 static int store_key_value(char **blob, const char *node_name, in store_key_value() argument
173 node = fdt_path_offset(*blob, node_name); in store_key_value()
179 err = fdt_setprop(*blob, node, property, buf, len); in store_key_value()
181 *blob = realloc_property(*blob, node, property, len); in store_key_value()
182 err = fdt_setprop(*blob, node, property, buf, len); in store_key_value()
201 static int create_paths(char **blob, const char *in_path) in create_paths() argument
217 node = fdt_subnode_offset_namelen(*blob, offset, path, in create_paths()
220 *blob = realloc_node(*blob, path); in create_paths()
221 node = fdt_add_subnode_namelen(*blob, offset, path, in create_paths()
244 static int create_node(char **blob, const char *node_name) in create_node() argument
[all …]
Dfdtget.c122 static int list_properties(const void *blob, int node) in list_properties() argument
128 prop = fdt_first_property_offset(blob, node); in list_properties()
133 data = fdt_get_property_by_offset(blob, prop, NULL); in list_properties()
134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
137 prop = fdt_next_property_offset(blob, prop); in list_properties()
150 static int list_subnodes(const void *blob, int node) in list_subnodes() argument
159 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
162 pathp = fdt_get_name(blob, node, NULL); in list_subnodes()
206 static int show_data_for_item(const void *blob, struct display_info *disp, in show_data_for_item() argument
214 err = list_properties(blob, node); in show_data_for_item()
[all …]
Dflattree.c373 struct data blob = empty_data; in dt_to_blob() local
428 blob = data_append_data(blob, &fdt, vi->hdr_size); in dt_to_blob()
429 blob = data_append_align(blob, 8); in dt_to_blob()
430 blob = data_merge(blob, reservebuf); in dt_to_blob()
431 blob = data_append_zeroes(blob, sizeof(struct fdt_reserve_entry)); in dt_to_blob()
432 blob = data_merge(blob, dtbuf); in dt_to_blob()
433 blob = data_merge(blob, strbuf); in dt_to_blob()
439 blob = data_append_zeroes(blob, padlen); in dt_to_blob()
441 if (fwrite(blob.val, blob.len, 1, f) != 1) { in dt_to_blob()
453 data_free(blob); in dt_to_blob()
[all …]
Dfdtdump.c45 static void dump_blob(void *blob, bool debug) in dump_blob() argument
47 uintptr_t blob_off = (uintptr_t)blob; in dump_blob()
48 struct fdt_header *bph = blob; in dump_blob()
53 (struct fdt_reserve_entry *)((char *)blob + off_mem_rsvmap); in dump_blob()
54 const char *p_struct = (const char *)blob + off_dt; in dump_blob()
55 const char *p_strings = (const char *)blob + off_str; in dump_blob()
Dutil.c297 int utilfdt_write_err(const char *filename, const void *blob) in utilfdt_write_err() argument
303 const char *ptr = blob; in utilfdt_write_err()
311 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
329 int utilfdt_write(const char *filename, const void *blob) in utilfdt_write() argument
331 int ret = utilfdt_write_err(filename, blob); in utilfdt_write()
/freebsd-12-stable/contrib/dialog/
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()
43 char *param = blob; in dlg_string_to_argv()
47 if (quoted && blob[n] == '"') { in dlg_string_to_argv()
49 } else if (blob[n] == '"') { in dlg_string_to_argv()
57 } else if (blob[n] == '\\') { in dlg_string_to_argv()
58 if (quoted && !isspace(UCH(blob[n + 1]))) { in dlg_string_to_argv()
60 *param++ = blob[n]; in dlg_string_to_argv()
61 *param++ = blob[n + 1]; in dlg_string_to_argv()
65 } else if (!quoted && isspace(UCH(blob[n]))) { in dlg_string_to_argv()
[all …]
Dprgbox.c40 char *blob; in dlg_popen() local
70 if ((blob = malloc(4 + strlen(command))) != 0) { in dlg_popen()
71 sprintf(blob, "-c %s", command); in dlg_popen()
72 argv = dlg_string_to_argv(blob); in dlg_popen()
Deditbox.c58 char *blob = 0; in load_list() local
72 if ((blob = dlg_malloc(char, size + 1)) == 0) { in load_list()
75 blob[size] = '\0'; in load_list()
79 size = fread(blob, sizeof(char), size, fp); in load_list()
87 (*list)[need] = blob + n; in load_list()
90 if (blob[n] == '\n') { in load_list()
94 blob[n] = '\0'; in load_list()
111 free(blob); in load_list()
/freebsd-12-stable/contrib/bearssl/T0/
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-12-stable/crypto/openssh/
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()
Dkrl.c77 u_char *blob; member
126 if ((r = memcmp(a->blob, b->blob, MINIMUM(a->len, b->len))) != 0) in blob_cmp()
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()
187 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 …]
Dssh-pkcs11-client.c122 u_char *blob = NULL, *signature = NULL; in rsa_encrypt() local
136 if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) { in rsa_encrypt()
143 (r = sshbuf_put_string(msg, blob, blen)) != 0 || in rsa_encrypt()
160 free(blob); in rsa_encrypt()
175 u_char *blob = NULL, *signature = NULL; in ecdsa_do_sign() local
195 if ((r = sshkey_to_blob(key, &blob, &blen)) != 0) { in ecdsa_do_sign()
202 (r = sshbuf_put_string(msg, blob, blen)) != 0 || in ecdsa_do_sign()
218 free(blob); in ecdsa_do_sign()
320 u_char *blob; in pkcs11_add_provider() local
347 if ((r = sshbuf_get_string(msg, &blob, &blen)) != 0 || in pkcs11_add_provider()
[all …]
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()
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()
201 if ((r = sshbuf_put(blob, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 || 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()
204 (r = sshbuf_put_cstring(blob, sig_namespace)) != 0 || in sshsig_wrap_sign()
205 (r = sshbuf_put_string(blob, NULL, 0)) != 0 || /* reserved */ in sshsig_wrap_sign()
206 (r = sshbuf_put_cstring(blob, hashalg)) != 0 || in sshsig_wrap_sign()
[all …]
/freebsd-12-stable/crypto/openssh/regress/unittests/sshbuf/
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-12-stable/contrib/wpa/src/eap_peer/
Deap_fast_pac.c264 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 …]
Deap_teap_pac.c265 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 …]
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
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()
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()
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()
976 static int wpa_config_write_blob(HKEY hk, struct wpa_config_blob *blob) in wpa_config_write_blob() argument
[all …]
Dconfig_file.c213 struct wpa_config_blob *blob; in wpa_config_read_blob() local
248 blob = os_zalloc(sizeof(*blob)); in wpa_config_read_blob()
249 if (blob == NULL) { in wpa_config_read_blob()
253 blob->name = os_strdup(name); in wpa_config_read_blob()
254 blob->data = base64_decode(encoded, encoded_len, &blob->len); in wpa_config_read_blob()
257 if (blob->name == NULL || blob->data == NULL) { in wpa_config_read_blob()
258 wpa_config_free_blob(blob); in wpa_config_read_blob()
262 return blob; in wpa_config_read_blob()
270 struct wpa_config_blob *blob; in wpa_config_process_blob() local
280 blob = wpa_config_read_blob(f, line, bname); in wpa_config_process_blob()
[all …]
/freebsd-12-stable/contrib/dtc/Documentation/
Ddtc-paper.tex48 The ``blob'' representing the device tree can be created using \dtc
51 the kernel. The compiler can produce either a binary ``blob'' or an
114 compact, flattened format. The resulting device tree ``blob'' is then
116 its runtime form. This blob is the only data communicated between the
122 device tree blob must be passed in from outside, rather than generated
124 \texttt{kexec} tools build the blob from the runtime device tree
125 before invoking the new kernel. For embedded systems the blob can
137 move the blob around as a whole, without needing to parse or adjust
139 within the blob.
144 practice this means limiting the use of internal offsets in the blob
[all …]
/freebsd-12-stable/crypto/openssl/crypto/store/
Dloader_file.c162 const unsigned char *blob,
197 const unsigned char *blob, in try_decode_PKCS12() argument
215 if ((p12 = d2i_PKCS12(NULL, &blob, len)) != NULL) { in try_decode_PKCS12()
325 const unsigned char *blob, in try_decode_PKCS8Encrypted() argument
347 if ((p8 = d2i_X509_SIG(NULL, &blob, len)) == NULL) in try_decode_PKCS8Encrypted()
402 const unsigned char *blob, in try_decode_PrivateKey() argument
415 d2i_PKCS8_PRIV_KEY_INFO(NULL, &blob, len); in try_decode_PrivateKey()
428 pkey = d2i_PrivateKey(ameth->pkey_id, NULL, &blob, len); in try_decode_PrivateKey()
447 const unsigned char *tmp_blob = blob; in try_decode_PrivateKey()
472 const unsigned char *tmp_blob = blob; in try_decode_PrivateKey()
[all …]
/freebsd-12-stable/contrib/wpa/wpa_supplicant/examples/
Dwpas-dbus-new-signals.py99 def blobAdded(blob): argument
100 print("BlobAdded(%s)" % (blob))
102 def blobRemoved(blob): argument
103 print("BlobRemoved(%s)" % (blob))
/freebsd-12-stable/contrib/file/magic/Magdir/
Dgit6 0 string blob\040
7 >5 regex [0-9a-f]+ Git blob %s

1234567