Searched defs:filebuf (Results 1 - 10 of 10) sorted by relevance
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | keyfile.c | 52 void *filebuf = NULL; local 94 if ((filebuf = malloc(filesize)) == NULL) { 102 if (read(fd, filebuf, filesize) != filesize) { 111 char *marker = (char *)filebuf; 141 *dbuf = filebuf;
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_xfs.c | 64 #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;
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_cmdsub.c | 620 unsigned char filebuf[FNSIZE]; local 757 lp = filebuf; 759 if (lp < &filebuf[sizeof filebuf - 2]) 785 if (strcmp(filebuf, savedfile) || !edited) { 786 unsigned char cmdbuf2[sizeof filebuf + 10]; 801 strcat(cmdbuf2, filebuf); 885 lp = filebuf; 887 if (lp < &filebuf[sizeof filebuf [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device_info.c | 1372 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);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 1436 char filebuf[BUFSIZ]; local 1481 if (readn_nointr(fd, filebuf, KS_PKCS11_VER_SIZE) 1486 if (writen_nointr(tmp_ks_fd, filebuf, KS_PKCS11_VER_SIZE) 1507 if (readn_nointr(fd, filebuf, KS_COUNTER_SIZE) != KS_COUNTER_SIZE) { 1511 if (writen_nointr(tmp_ks_fd, filebuf, KS_COUNTER_SIZE) 1537 bzero(filebuf, sizeof (filebuf)); 1539 if (memcmp(crypt_salt, filebuf, KS_KEY_SALT_SIZE) == 0) { 2201 char filebuf[BUFSIZ]; local 2240 if (readn_nointr(fd, filebuf, KS_PKCS11_VER_SIZ [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 993 KMF_DATA filebuf = { 0, NULL }; local 999 ret = kmf_read_input_file(NULL, filename, &filebuf); 1003 if (filebuf.Length < 8) { 1008 ret = kmf_get_data_format(&filebuf, fmt); 1010 kmf_free_data(&filebuf);
|
/illumos-gate/usr/src/cmd/more/ |
H A D | more.c | 975 char filebuf[128]; local 1158 sprintf(filebuf, LOCAL_HELP, loc); 1160 if ((strcmp(loc, "C") == 0) || (helpf = fopen (filebuf, "r")) == NULL) {
|
/illumos-gate/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg.c | 2505 char *filebuf; local 2524 filebuf = malloc(statbuf.st_size); 2525 if (filebuf == NULL) { 2530 size = read(image_fd, filebuf, statbuf.st_size); 2533 free(filebuf); 2539 free(filebuf); 2545 free(filebuf); 2550 free(filebuf); 2555 filebuf, size, plugin_err_str);
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lemon.c | 2287 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 */
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 804 BerValue filebuf; local 816 filebuf.bv_val = (char *)filedata->Data; 817 filebuf.bv_len = filedata->Length; 819 asn1 = kmfder_init(&filebuf);
|
Completed in 2177 milliseconds