Searched defs:buf (Results 401 - 425 of 1270) sorted by relevance

<<11121314151617181920>>

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_decode.c52 retval = asn1_get_tag_2(buf,&tinfo); \
61 asn1_decode_integer(asn1buf *buf, long int *val) argument
71 retval = asn1buf_remove_octet(buf, &o);
87 asn1_decode_unsigned_integer(asn1buf *buf, long unsigned int *val) argument
97 retval = asn1buf_remove_octet(buf, &o);
122 asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val) argument
136 retval = asn1buf_remove_octet(buf, &o);
157 asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet **val) argument
161 retval = asn1buf_remove_octetstring(buf, length, val);
168 asn1_decode_octetstring(asn1buf *buf, unsigne argument
179 asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, char **val) argument
191 asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, char **val) argument
203 asn1_decode_null(asn1buf *buf) argument
212 asn1_decode_printablestring(asn1buf *buf, int *retlen, char **val) argument
223 asn1_decode_ia5string(asn1buf *buf, int *retlen, char **val) argument
234 asn1_decode_generaltime(asn1buf *buf, time_t *val) argument
276 asn1_decode_boolean(asn1buf *buf, unsigned *val) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnsglue.c209 char *buf, int len)
215 p, buf, (size_t)len);
219 p, buf, len);
356 struct k5buf buf; local
362 krb5int_buf_init_fixed(&buf, host, sizeof(host));
364 krb5int_buf_add(&buf, prefix);
366 krb5int_buf_add_fmt(&buf, "%s.%s", prefix, name);
378 len = krb5int_buf_len(&buf);
380 krb5int_buf_add(&buf, ".");
382 if (krb5int_buf_data(&buf)
208 krb5int_dns_expand(struct krb5int_dns_state *ds, const unsigned char *p, char *buf, int len) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Doid_ops.c222 struct k5buf buf; local
242 krb5int_buf_init_dynamic(&buf);
243 krb5int_buf_add_fmt(&buf, "{ %lu %lu ", (unsigned long)number/40,
250 krb5int_buf_add_fmt(&buf, "%lu ", (unsigned long)number);
254 krb5int_buf_add(&buf, "}");
255 bp = krb5int_buf_data(&buf);
260 oid_str->length = krb5int_buf_len(&buf)+1;
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_debug.c66 char buf[1024]; local
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dacpihalt.c240 unsigned char *buf; local
252 buf = malloc (len);
253 if (!buf)
259 if (fread (buf, 1, len, f) != len)
262 free (buf);
267 printf ("Sleep type = %d\n", get_sleep_type (buf, buf + len));
268 free (buf);
H A Dls.c147 char buf[20]; local
161 grub_snprintf (buf, sizeof (buf),
165 grub_printf ("%-12s", buf);
H A Dparttool.c196 char *buf = 0; local
197 for (;; grub_free(buf))
201 buf = grub_file_getline (file);
203 if (! buf)
206 name = buf;
H A Dsearch.c72 char *buf; local
83 buf = grub_xasprintf ("(%s)%s", name, tempkey);
84 if (! buf)
88 file = grub_file_open (buf);
94 grub_free (buf);
H A Dsetpci.c123 char buf[sizeof ("XXXXXXXX")]; local
124 grub_snprintf (buf, sizeof (buf), "%x", regval);
125 grub_env_set (varname, buf);
/osnet-11/usr/src/grub/grub2/grub-core/disk/ieee1275/
H A Dnand.c58 grub_size_t size, char *buf);
142 grub_size_t size, char *buf)
155 grub_ieee1275_cell_t buf; member in struct:read_args
162 args.buf = (grub_ieee1275_cell_t) buf;
184 args.buf += len;
195 const char *buf __attribute ((unused))) function
141 grub_nand_read(grub_disk_t disk, grub_disk_addr_t sector, grub_size_t size, char *buf) argument
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dloopback.c178 grub_size_t size, char *buf)
185 grub_file_read (file, buf, size << GRUB_DISK_SECTOR_BITS);
196 grub_memset (buf + (size << GRUB_DISK_SECTOR_BITS) - amount, 0, amount);
206 const char *buf __attribute ((unused)))
176 grub_loopback_read(grub_disk_t disk, grub_disk_addr_t sector, grub_size_t size, char *buf) argument
205 const char *buf __attribute ((unused))) function
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dntfscomp.c179 read_block (struct grub_ntfs_rlst *ctx, char *buf, int num) argument
223 if (buf)
225 grub_memset (buf, 0, nn * GRUB_NTFS_COM_LEN);
226 buf += nn * GRUB_NTFS_COM_LEN;
233 if (decomp_block (&ctx->comp, buf))
235 if (buf)
236 buf += GRUB_NTFS_COM_LEN;
254 if (buf)
261 tt * (ctx->comp.spc << GRUB_NTFS_BLK_SHR), buf))
263 buf
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs_sha256.c111 zio_checksum_SHA256(const void *buf, grub_uint64_t size, argument
121 SHA256Transform(H, (grub_uint8_t *)buf + i);
124 pad[i] = ((grub_uint8_t *)buf)[i];
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dargp-fmtstream.c75 fs->buf = (char *) malloc (INIT_BUF_SIZE);
76 if (! fs->buf)
83 fs->p = fs->buf;
84 fs->end = fs->buf + INIT_BUF_SIZE;
102 if (fs->p > fs->buf)
105 __fxprintf (fs->stream, "%.*s", (int) (fs->p - fs->buf), fs->buf);
107 fwrite_unlocked (fs->buf, 1, fs->p - fs->buf, fs->stream);
110 free (fs->buf);
124 char *buf, *nl; local
[all...]
H A Dgettext.h212 char buf[1024]; local
214 (msgctxt_len + msgid_len <= sizeof (buf)
215 ? buf
225 if (msg_ctxt_id != buf)
258 char buf[1024]; local
260 (msgctxt_len + msgid_len <= sizeof (buf)
261 ? buf
271 if (msg_ctxt_id != buf)
H A Dlocalcharset.c378 static char buf[2 + 10 + 1]; local
402 if (modifier - dot < sizeof (buf))
404 memcpy (buf, dot, modifier - dot);
405 buf [modifier - dot] = '\0';
406 return buf;
422 sprintf (buf, "CP%u", GetACP ());
423 codeset = buf;
459 static char buf[2 + 10 + 1]; local
468 sprintf (buf, "CP%u", GetACP ());
469 codeset = buf;
474 static char buf[2 + 10 + 1]; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/io/
H A Dxzio.c39 struct xz_buf buf; member in struct:grub_xzio
50 decode_vli (const grub_uint8_t buf[], grub_size_t size_max, argument
59 *num = buf[0] & 0x7F;
62 while (buf[i++] & 0x80)
64 if (i >= size_max || buf[i] == 0x00)
67 *num |= (uint64_t) (buf[i] & 0x7F) << (i * 7);
76 grub_uint8_t buf[VLI_MAX_DIGITS]; local
80 read = grub_file_read (file, buf, VLI_MAX_DIGITS);
84 dec = decode_vli (buf, read, num);
97 xzio->buf
245 grub_xzio_read(grub_file_t file, char *buf, grub_size_t len) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dfile.c199 grub_file_read (grub_file_t file, void *buf, grub_size_t len) argument
230 res = (file->fs->read) (file, buf, len);
237 char *buffer = buf;
H A Dpartition.c233 char buf[grub_strlen (part->partmap->name) + 25]; local
235 grub_snprintf (buf, sizeof (buf), "%s%d", part->partmap->name,
237 strl = grub_strlen (buf);
243 grub_memcpy (out, buf, strl);
250 out = grub_strdup (buf);
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dcrc.c134 const char *buf = buf_arg; local
138 crc = crc32_table[(crc ^ buf[n]) & 0xff] ^ (crc >> 8);
146 byte buf[4]; member in struct:__anon500
172 return ctx->buf;
180 ctx->buf[0] = (ctx->CRC >> 24) & 0xFF;
181 ctx->buf[1] = (ctx->CRC >> 16) & 0xFF;
182 ctx->buf[2] = (ctx->CRC >> 8) & 0xFF;
183 ctx->buf[3] = (ctx->CRC ) & 0xFF;
198 ctx->buf[0] = (ctx->CRC >> 24) & 0xFF;
199 ctx->buf[
[all...]
H A Dmd4.c65 byte buf[64]; member in struct:__anon519
203 transform( hd, hd->buf );
214 hd->buf[hd->count++] = *inbuf++;
230 hd->buf[hd->count++] = *inbuf++;
266 hd->buf[hd->count++] = 0x80; /* pad */
268 hd->buf[hd->count++] = 0; /* pad */
272 hd->buf[hd->count++] = 0x80; /* pad character */
274 hd->buf[hd->count++] = 0;
276 memset(hd->buf, 0, 56 ); /* fill next block with zeroes */
279 hd->buf[5
[all...]
H A Dmd5.c49 byte buf[64]; member in struct:__anon520
228 transform( hd, hd->buf );
239 hd->buf[hd->count++] = *inbuf++;
255 hd->buf[hd->count++] = *inbuf++;
292 hd->buf[hd->count++] = 0x80; /* pad */
294 hd->buf[hd->count++] = 0; /* pad */
298 hd->buf[hd->count++] = 0x80; /* pad character */
300 hd->buf[hd->count++] = 0;
302 memset(hd->buf, 0, 56 ); /* fill next block with zeroes */
305 hd->buf[5
[all...]
H A Dtiger.c37 byte buf[64]; member in struct:__anon544
727 transform( hd, hd->buf );
737 hd->buf[hd->count++] = *inbuf++;
753 hd->buf[hd->count++] = *inbuf++;
785 hd->buf[hd->count++] = 0x01; /* pad */
787 hd->buf[hd->count++] = 0; /* pad */
791 hd->buf[hd->count++] = 0x01; /* pad character */
793 hd->buf[hd->count++] = 0;
795 memset(hd->buf, 0, 56 ); /* fill next block with zeroes */
798 hd->buf[5
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Dcrc.c134 const char *buf = buf_arg; local
138 crc = crc32_table[(crc ^ buf[n]) & 0xff] ^ (crc >> 8);
146 byte buf[4]; member in struct:__anon551
172 return ctx->buf;
180 ctx->buf[0] = (ctx->CRC >> 24) & 0xFF;
181 ctx->buf[1] = (ctx->CRC >> 16) & 0xFF;
182 ctx->buf[2] = (ctx->CRC >> 8) & 0xFF;
183 ctx->buf[3] = (ctx->CRC ) & 0xFF;
198 ctx->buf[0] = (ctx->CRC >> 24) & 0xFF;
199 ctx->buf[
[all...]
H A Dmd4.c65 byte buf[64]; member in struct:__anon565
203 transform( hd, hd->buf );
214 hd->buf[hd->count++] = *inbuf++;
230 hd->buf[hd->count++] = *inbuf++;
266 hd->buf[hd->count++] = 0x80; /* pad */
268 hd->buf[hd->count++] = 0; /* pad */
272 hd->buf[hd->count++] = 0x80; /* pad character */
274 hd->buf[hd->count++] = 0;
276 memset(hd->buf, 0, 56 ); /* fill next block with zeroes */
279 hd->buf[5
[all...]

Completed in 63 milliseconds

<<11121314151617181920>>