/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/ |
H A D | md5.c | 49 byte buf[64]; member in struct:__anon566 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...] |
/osnet-11/usr/src/grub/grub2/grub-core/loader/efi/ |
H A D | chainloader.c | 80 char *buf; local 82 buf = grub_malloc (exit_data_size * 4 + 1); 83 if (buf) 85 *grub_utf16_to_utf8 ((grub_uint8_t *) buf, 88 grub_error (GRUB_ERR_BAD_OS, buf); 89 grub_free (buf);
|
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | auth.c | 157 grub_username_get (char buf[], unsigned buf_size) argument 186 buf[cur_len++] = key; 191 grub_memset (buf + cur_len, 0, buf_size - cur_len);
|
/osnet-11/usr/src/grub/grub2/include/grub/lib/ |
H A D | LzmaDec.h | 74 const Byte *buf; member in struct:__anon777
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-editenv.c | 113 char *buf; local 116 buf = malloc (DEFAULT_ENVBLK_SIZE); 117 if (! buf) 125 memcpy (buf, GRUB_ENVBLK_SIGNATURE, sizeof (GRUB_ENVBLK_SIGNATURE) - 1); 126 memset (buf + sizeof (GRUB_ENVBLK_SIGNATURE) - 1, '#', 129 if (fwrite (buf, 1, DEFAULT_ENVBLK_SIZE, fp) != DEFAULT_ENVBLK_SIZE) 133 free (buf); 145 char *buf; local 167 buf = malloc (size); 168 if (! buf) [all...] |
H A D | grub-version-check.c | 61 static char buf[1024]; variable 106 while (fgets (buf, sizeof (buf), fp)) 110 buf[strlen (buf) - 1] = '\0'; 112 p = strchr (buf, ':'); 119 if (strcmp (buf, version_type) != 0)
|
H A D | resolve.c | 46 static char buf[1024]; variable 83 while (fgets (buf, sizeof (buf), fp)) 89 p = strchr (buf, ':'); 91 grub_util_error (_("invalid line format: %s"), buf); 96 dep->name = xstrdup (buf);
|
/osnet-11/usr/src/lib/abi/apptrace/common/ |
H A D | abienv.c | 262 build_interceptor_path(char *buf, size_t l, char const *path) argument 317 ret = snprintf(buf, l, "%s/abi/%s/abi_%s", p, m, f); 318 if (access(buf, R_OK) != 0 && strncmp(buf, "/usr/", 5) != 0) 319 ret = snprintf(buf, l, "/usr%s/abi/%s/abi_%s", p, m, f); 321 ret = snprintf(buf, l, "%s/abi/abi_%s", p, f); 322 if (access(buf, R_OK) != 0 && strncmp(buf, "/usr/", 5) != 0) 323 ret = snprintf(buf, l, "/usr%s/abi/abi_%s", p, f);
|
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test.h | 38 void *buf; member in struct:mtest_alloc_ent
|
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 43 * This function searches for "srch_str" (of length "slen") in "buf" (of length 44 * "buflen"). If it is not found, "write_offset" has the offset in "buf" where 45 * "srch_str" would have to be added in "buf". If "srch_str" is found in "buf", 46 * "write_offset" has its offset in "buf" 49 * buf - buffer to search in 54 * - It is the offset in buf where srch_str is or should be 56 * - It is the # of bytes left beyond write_offset in buf 59 * - This function assumes "buf" is sorted in ascending order 65 * Zero - "srch_str" found in "buf" 74 search_line(char *buf, int buflen, char *srch_str, int slen, int *write_offset, int *bytes_left) argument [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | macro.c | 138 char buf[5]; local 142 buf[0] = m->metaval; 143 buf[1] = '\0'; 144 macdefine(&e->e_macro, A_TEMP, m->metaname, buf); 146 buf[0] = MATCHREPL; 147 buf[2] = '\0'; 150 buf[1] = c; 151 macdefine(&e->e_macro, A_TEMP, c, buf); 171 ** buf -- the place to put the expansion. 186 doexpand(s, buf, bufsiz 351 xputs(sm_debug_file(), buf); local 639 char buf[2]; local 643 xputs(sm_debug_file(), buf); local [all...] |
/osnet-11/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 46 static void itoa (char *buf, int base, int d); 174 itoa (char *buf, int base, int d) argument 176 char *p = buf; 185 buf++; 204 p1 = buf; 245 char buf[20]; local 263 itoa (buf, c, *((int *) arg++)); 264 p = buf;
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | misc.c | 127 etherboot_vsprintf (char *buf, const char *fmt, const int *dp) argument 131 s = buf; 136 buf ? *s++ = *fmt : grub_putchar (*fmt); 143 buf ? *s++ = *p : grub_putchar (*p); 254 buf ? *s++ = *p : grub_putchar (*p); 258 if (buf) 261 return (s - buf); 265 etherboot_sprintf (char *buf, const char *fmt, ...) argument 267 return etherboot_vsprintf (buf, fmt, ((const int *) &fmt) + 1);
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_ffs.c | 145 ffs_read (char *buf, int len) argument 165 devread (fsbtodb (SUPERBLOCK, map), off, size, buf); local 169 buf += size;
|
H A D | fsys_iso9660.c | 70 iso9660_devread (int sector, int byte_offset, int byte_len, char *buf) argument 103 return rawread(current_drive, part_start + sector, byte_offset, byte_len, buf); 415 iso9660_read (char *buf, int len) argument 433 if (!iso9660_devread(INODE->file_start + sector, blkoffset, size, buf)) 439 buf += size;
|
H A D | fsys_ufs2.c | 169 ufs2_read (char *buf, int len) argument 190 devread (fsbtodb (SUPERBLOCK, map), off, size, buf); local 194 buf += size;
|
H A D | zfs_sha256.c | 98 zio_checksum_SHA256(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 107 SHA256Transform(H, (uint8_t *)buf + i); 110 pad[i] = ((uint8_t *)buf)[i];
|
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/t/ |
H A D | randtest.c | 69 char buf[LINESZ]; local 87 (void) snprintf(buf, LINESZ, " %s #%d len=%d", 92 (void) snprintf(buf, LINESZ, " %s #%d", 96 (void) strlcat(log[log_pos], buf, LINESZ); 104 char buf[LINESZ]; local 106 bzero(buf, sizeof (buf)); 108 (void) strlcat(buf, strerror(errno), sizeof (buf)); 112 ea_errstr[ea_error()], buf); [all...] |
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mailstats.c | 68 char buf[MAXLINE]; local 136 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL) 142 b = strchr(buf, '#'); 144 b = strchr(buf, '\n'); 146 b = &buf[strlen(buf)]; 151 b = buf;
|
H A D | praliases.c | 68 char buf[MAXLINE]; local 125 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL) 129 b = strchr(buf, '\n'); 133 b = buf;
|
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_appinit.c | 82 char *lp, buf[MAXPATHLEN * 2]; local 134 strlen(CONFIG_NAME) + 1 > sizeof(buf)) { 138 (void)strcpy(buf, dbenv->db_home); 139 (void)strcat(buf, CONFIG_NAME); 140 if ((fp = fopen(buf, "r")) != NULL) { 141 while (fgets(buf, sizeof(buf), fp) != NULL) { 142 if ((lp = strchr(buf, '\n')) == NULL) { 149 if (buf[0] == '\0' || 150 buf[ [all...] |
H A D | db_overflow.c | 357 void *buf; local 368 buf = NULL; 372 &local_dbt, tlen, pgno, &buf, &bufsize)) != 0) 375 __os_free(buf, bufsize);
|
H A D | db_region.c | 745 char buf[DB_VMPAGESIZE]; local 752 memset(buf, 0, sizeof(buf)); 763 __os_write(infop->fd, buf, sizeof(buf), &nw)) != 0) 765 if (nw != sizeof(buf)) 782 if ((ret = __os_write(infop->fd, buf, sizeof(buf), &nw)) != 0) 784 if (nw != sizeof(buf)) 812 __os_write(infop->fd, buf, [all...] |
/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log_archive.c | 50 char **array, **arrayp, *name, *p, *pref, buf[MAXPATHLEN]; local 75 if ((pref = getcwd(buf, sizeof(buf))) == NULL)
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | vfscanf.c | 131 char buf[BUF]; /* buffer for numeric conversions */ local 500 if (width == 0 || width > sizeof(buf) - 1) 501 width = sizeof(buf) - 1; 504 if (--width > sizeof(buf) - 2) 505 width = sizeof(buf) - 2; 509 for (p = buf; width > 0; width--) 584 if (flags & PFXOK && p == buf + 1) 617 if (p > buf) 633 res = (*ccfn)(buf, (char **)NULL, base); 647 nread += p - buf; [all...] |