Searched defs:filebuf (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c51 void *filebuf = NULL; local
93 if ((filebuf = malloc(filesize)) == NULL) {
101 if (read(fd, filebuf, filesize) != filesize) {
110 char *marker = (char *)filebuf;
140 *dbuf = filebuf;
145 if (filebuf != NULL) {
146 free(filebuf);
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_xfs.c64 #define filebuf ((char *)FSYS_BUF + 4096) macro
276 devread (xfs.daddr, xfs.fpos, sizeof(xfs_bmbt_rec_t), filebuf);
277 xfs.xt = (xfs_bmbt_rec_32_t *)filebuf;
/osnet-11/usr/src/cmd/hal/hald/
H A Ddevice_info.c1372 char *filebuf; local
1378 filebuf = NULL;
1398 filebuf = (char *) malloc (filesize);
1399 if (filebuf == NULL) {
1403 read = fread (filebuf, sizeof (char), filesize, file);
1438 rc = XML_Parse (parser, filebuf, filesize, 1);
1456 if (filebuf != NULL)
1457 free (filebuf);
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1036 KMF_DATA filebuf = {NULL, 0}; local
1042 ret = kmf_read_input_file(NULL, filename, &filebuf);
1046 if (filebuf.Length < 8) {
1051 ret = kmf_get_data_format(&filebuf, fmt);
1053 kmf_free_data(&filebuf);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Ddoio.c1214 Stat_t filebuf; local
1216 if (PerlLIO_fstat(fd, &filebuf) < 0)
1219 if (filebuf.st_size < length) {
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c1441 char filebuf[BUFSIZ]; local
1486 if (readn_nointr(fd, filebuf, KS_PKCS11_VER_SIZE)
1491 if (writen_nointr(tmp_ks_fd, filebuf, KS_PKCS11_VER_SIZE)
1512 if (readn_nointr(fd, filebuf, KS_COUNTER_SIZE) != KS_COUNTER_SIZE) {
1516 if (writen_nointr(tmp_ks_fd, filebuf, KS_COUNTER_SIZE)
1542 bzero(filebuf, sizeof (filebuf));
1544 if (memcmp(crypt_salt, filebuf, KS_KEY_SALT_SIZE) == 0) {
2208 char filebuf[BUFSIZ]; local
2247 if (readn_nointr(fd, filebuf, KS_PKCS11_VER_SIZ
[all...]
/osnet-11/usr/src/lib/libraidcfg/common/
H A Draidcfg.c2507 char *filebuf; local
2526 filebuf = malloc(statbuf.st_size);
2527 if (filebuf == NULL) {
2532 size = read(image_fd, filebuf, statbuf.st_size);
2535 free(filebuf);
2541 free(filebuf);
2547 free(filebuf);
2552 free(filebuf);
2557 filebuf, size, plugin_err_str);
/osnet-11/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c798 BerValue filebuf; local
810 filebuf.bv_val = (char *)filedata->Data;
811 filebuf.bv_len = filedata->Length;
813 asn1 = kmfder_init(&filebuf);
/osnet-11/usr/src/lib/libsqlite/tool/
H A Dlemon.c2287 char *filebuf; local
2309 filebuf = (char *)malloc( filesize+1 );
2310 if( filebuf==0 ){
2316 if( fread(filebuf,1,filesize,fp)!=filesize ){
2319 free(filebuf);
2324 filebuf[filesize] = 0;
2328 for(cp=filebuf; (c= *cp)!=0; ){
2416 free(filebuf); /* Release the buffer after parsing */

Completed in 78 milliseconds