Searched refs:blob (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-10.0-release/contrib/ncurses/ncurses/base/
H A DMKunctrl.awk52 blob=""
65 blob = blob "\""
66 blob = blob "\n \""
95 blob = blob part "\\0";
101 blob = blob "\"";
106 blob
[all...]
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/
H A Dconfig_none.c35 struct wpa_config_blob *blob; local
46 for (blob = config->blobs; blob; blob = blob->next) {
H A Dconfig_file.c269 struct wpa_config_blob *blob; local
275 wpa_printf(MSG_MSGDUMP, "Line: %d - start of a new named blob '%s'",
288 "blob", *line);
298 wpa_printf(MSG_ERROR, "Line %d: blob was not terminated "
304 blob = os_zalloc(sizeof(*blob));
305 if (blob == NULL) {
309 blob->name = os_strdup(name);
310 blob->data = base64_decode(encoded, encoded_len, &blob
326 struct wpa_config_blob *blob; local
760 wpa_config_write_blob(FILE *f, struct wpa_config_blob *blob) argument
985 struct wpa_config_blob *blob; local
[all...]
H A Dconfig.h103 * Alternatively, a named configuration blob can be used by setting
104 * this to blob://blob_name.
130 * Alternatively, a named configuration blob can be used by setting
131 * this to blob://blob_name.
828 struct wpa_config_blob *blob);
829 void wpa_config_free_blob(struct wpa_config_blob *blob);
/freebsd-10.0-release/contrib/dialog/
H A Dargv.c33 dlg_string_to_argv(char *blob) argument
37 size_t length = strlen(blob);
43 char *param = blob;
47 if (quoted && blob[n] == '"') {
49 } else if (blob[n] == '"') {
57 } else if (blob[n] == '\\') {
58 if (quoted && !isspace(UCH(blob[n + 1]))) {
60 *param++ = blob[n];
61 *param++ = blob[n + 1];
65 } else if (!quoted && isspace(UCH(blob[
[all...]
H A Dprgbox.c40 char *blob; local
70 if ((blob = malloc(4 + strlen(command))) != 0) {
71 sprintf(blob, "-c %s", command);
72 argv = dlg_string_to_argv(blob);
H A Deditbox.c58 char *blob = 0; local
72 if ((blob = dlg_malloc(char, size + 1)) == 0) {
75 blob[size] = '\0';
79 size = fread(blob, sizeof(char), size, fp);
87 (*list)[need] = blob + n;
90 if (blob[n] == '\n') {
94 blob[n] = '\0';
111 free(blob);
/freebsd-10.0-release/contrib/dtc/
H A Dfdtput.c134 static int store_key_value(void *blob, const char *node_name, argument
140 node = fdt_path_offset(blob, node_name);
146 err = fdt_setprop(blob, node, property, buf, len);
160 * @param blob FDT blob to write into
164 static int create_paths(void *blob, const char *in_path) argument
180 node = fdt_subnode_offset_namelen(blob, offset, path,
183 node = fdt_add_subnode_namelen(blob, offset, path,
202 * @param blob FDT blob t
206 create_node(void *blob, const char *node_name) argument
239 char *blob; local
[all...]
H A Dfdtget.c118 * @param blob FDT blob
122 static int list_properties(const void *blob, int node) argument
128 prop = fdt_first_property_offset(blob, node);
133 data = fdt_get_property_by_offset(blob, prop, NULL);
134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff));
137 prop = fdt_next_property_offset(blob, prop);
146 * @param blob FDT blob
150 static int list_subnodes(const void *blob, in argument
206 show_data_for_item(const void *blob, struct display_info *disp, int node, const char *property) argument
253 char *blob; local
[all...]
H A Dutil.h102 * @param blob Poiner to buffer containing fdt
105 int utilfdt_write(const char *filename, const void *blob);
113 * @param blob Poiner to buffer containing fdt
116 int utilfdt_write_err(const char *filename, const void *blob);
H A Dfdtdump.c45 static void dump_blob(void *blob) argument
47 struct fdt_header *bph = blob;
52 (struct fdt_reserve_entry *)((char *)blob + off_mem_rsvmap);
53 const char *p_struct = (const char *)blob + off_dt;
54 const char *p_strings = (const char *)blob + off_str;
H A Dutil.c244 fprintf(stderr, "Couldn't open blob from '%s': %s\n", filename,
252 int utilfdt_write_err(const char *filename, const void *blob) argument
258 const char *ptr = blob;
266 totalsize = fdt_totalsize(blob);
284 int utilfdt_write(const char *filename, const void *blob) argument
286 int ret = utilfdt_write_err(filename, blob);
289 fprintf(stderr, "Couldn't write blob to '%s': %s\n", filename,
H A Dflattree.c370 struct data blob = empty_data; local
382 die("Unknown device tree blob version %d\n", version);
400 "Warning: blob size %d >= minimum size %d\n",
414 * Assemble the blob: start with the header, add with alignment
418 blob = data_append_data(blob, &fdt, vi->hdr_size);
419 blob = data_append_align(blob, 8);
420 blob = data_merge(blob, reservebu
807 char *blob; local
[all...]
/freebsd-10.0-release/crypto/openssh/
H A Dssh-pkcs11-client.c108 u_char *blob, *signature = NULL; local
117 if (key_to_blob(&key, &blob, &blen) == 0)
121 buffer_put_string(&msg, blob, blen);
124 free(blob);
189 u_char *blob; local
207 blob = buffer_get_string(&msg, &blen);
209 k = key_from_blob(blob, blen);
212 free(blob);
H A Dauthfile.c79 * Serialises the authentication (private) key to a blob, encrypting it with
80 * passphrase. The identification of the blob (lowest 64 bits of n) will
85 key_private_rsa1_to_blob(Key *key, Buffer *blob, const char *passphrase, argument
161 buffer_append(blob, buffer_ptr(&encrypted), buffer_len(&encrypted));
169 key_private_pem_to_blob(Key *key, Buffer *blob, const char *_passphrase, argument
211 buffer_append(blob, bptr, blen);
217 /* Save a key blob to a file */
239 /* Serialise "key" to buffer "blob" */
241 key_private_to_blob(Key *key, Buffer *blob, const char *passphrase, argument
246 return key_private_rsa1_to_blob(key, blob, passphras
279 key_parse_public_rsa1(Buffer *blob, char **commentp) argument
322 key_load_file(int fd, const char *filename, Buffer *blob) argument
418 key_parse_private_rsa1(Buffer *blob, const char *passphrase, char **commentp) argument
519 key_parse_private_pem(Buffer *blob, int type, const char *passphrase, char **commentp) argument
641 key_parse_private_type(Buffer *blob, int type, const char *passphrase, char **commentp) argument
[all...]
H A Dkrl.c74 u_char *blob; member in struct:revoked_blob
122 if ((r = memcmp(a->blob, b->blob, MIN(a->len, b->len))) != 0)
126 return memcmp(a->blob, b->blob, a->len);
173 free(rb->blob);
178 free(rb->blob);
351 /* Convert "key" to a public key blob without any certificate information */
353 plain_key_blob(const Key *key, u_char **blob, u_int *blen) argument
367 r = key_to_blob(kcopy, blob, ble
374 revoke_blob(struct revoked_blob_tree *rbt, u_char *blob, u_int len) argument
393 u_char *blob; local
405 u_char *blob; local
756 u_char type, *blob; local
890 u_char type, *blob, *rdata = NULL; local
[all...]
H A Dssh-pkcs11-helper.c119 u_char *blob; local
130 key_to_blob(keys[i], &blob, &blen);
131 buffer_put_string(&msg, blob, blen);
133 free(blob);
169 u_char *blob, *data, *signature = NULL; local
175 blob = get_string(&blen);
179 if ((key = key_from_blob(blob, blen)) != NULL) {
199 free(blob);
H A Dmonitor_wrap.c395 u_char *blob; local
401 /* Convert the key to a blob and the pass it over */
402 if (!key_to_blob(key, &blob, &len))
409 buffer_put_string(&m, blob, len);
410 free(blob);
439 u_char *blob; local
445 /* Convert the key to a blob and the pass it over */
446 if (!key_to_blob(key, &blob, &len))
450 buffer_put_string(&m, blob, len);
453 free(blob);
469 mm_newkeys_from_blob(u_char *blob, int blen) argument
600 u_char *blob, *p; local
1088 u_char *blob; local
1124 u_char *blob; local
1154 u_char *blob; local
[all...]
H A Dauthfd.c318 u_char *blob; local
343 blob = buffer_get_string(&auth->identities, &blen);
345 key = key_from_blob(blob, blen);
346 free(blob);
423 u_char *blob; local
428 if (key_to_blob(key, &blob, &blen) == 0)
436 buffer_put_string(&msg, blob, blen);
439 free(blob);
599 u_char *blob; local
612 key_to_blob(key, &blob,
[all...]
H A Dmonitor.c632 monitor_allowed_key(u_char *blob, u_int bloblen) argument
636 timingsafe_bcmp(key_blob, blob, key_bloblen))
1152 u_char *blob; local
1162 blob = buffer_get_string(m, &bloblen);
1164 key = key_from_blob(blob, bloblen);
1213 key_blob = blob;
1221 free(blob);
1365 u_char *signature, *data, *blob; local
1370 blob = buffer_get_string(m, &bloblen);
1375 !monitor_allowed_key(blob, bloble
1589 u_char *blob = NULL; local
1635 u_char *blob; local
1673 u_char *blob, *response; local
1843 void *blob; local
1887 u_char *blob, *p; local
[all...]
/freebsd-10.0-release/contrib/wpa/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;
407 * @pac_file: Name of the PAC file/blob to load
536 if (os_strncmp(pac_file, "blob
537 struct wpa_config_blob *blob; local
751 const struct wpa_config_blob *blob = NULL; local
[all...]
/freebsd-10.0-release/contrib/dtc/Documentation/
H A 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-10.0-release/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_old_handlers.c1325 struct wpa_config_blob *blob; local
1347 blob = os_zalloc(sizeof(*blob));
1348 if (blob == NULL) {
1351 "Not enough memory to add blob.");
1354 blob->data = os_zalloc(entry.array_len);
1355 if (blob->data == NULL) {
1358 "Not enough memory to add blob data.");
1359 os_free(blob);
1363 blob
[all...]
H A Ddbus_new_handlers.c1687 * wpas_dbus_handler_add_blob - Store named binary blob (ie, for certificates)
1703 struct wpa_config_blob *blob = NULL; local
1719 blob = os_zalloc(sizeof(*blob));
1720 if (!blob) {
1726 blob->data = os_malloc(blob_len);
1727 if (!blob->data) {
1732 os_memcpy(blob->data, blob_data, blob_len);
1734 blob->len = blob_len;
1735 blob
1772 const struct wpa_config_blob *blob; local
2952 struct wpa_config_blob *blob; local
[all...]
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new-signals.py99 def blobAdded(blob):
100 print "BlobAdded(%s)" % (blob)
102 def blobRemoved(blob):
103 print "BlobRemoved(%s)" % (blob)

Completed in 180 milliseconds

12