/titanic_50/usr/src/lib/libcryptoutil/common/ |
H A D | keyfile.c | 52 void *filebuf = NULL; in pkcs11_read_data() local 94 if ((filebuf = malloc(filesize)) == NULL) { in pkcs11_read_data() 102 if (read(fd, filebuf, filesize) != filesize) { in pkcs11_read_data() 111 char *marker = (char *)filebuf; in pkcs11_read_data() 141 *dbuf = filebuf; in pkcs11_read_data()
|
/titanic_50/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 - 2]) 913 if (strcmp(filebuf, savedfile) || !edited) { 914 unsigned char cmdbuf2[sizeof filebuf + 10]; [all …]
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 1436 char filebuf[BUFSIZ]; in soft_keystore_setpin() local 1481 if (readn_nointr(fd, filebuf, KS_PKCS11_VER_SIZE) in soft_keystore_setpin() 1486 if (writen_nointr(tmp_ks_fd, filebuf, KS_PKCS11_VER_SIZE) in soft_keystore_setpin() 1507 if (readn_nointr(fd, filebuf, KS_COUNTER_SIZE) != KS_COUNTER_SIZE) { in soft_keystore_setpin() 1511 if (writen_nointr(tmp_ks_fd, filebuf, KS_COUNTER_SIZE) in soft_keystore_setpin() 1537 bzero(filebuf, sizeof (filebuf)); in soft_keystore_setpin() 1539 if (memcmp(crypt_salt, filebuf, KS_KEY_SALT_SIZE) == 0) { in soft_keystore_setpin() 2201 char filebuf[BUFSIZ]; in soft_keystore_put_new_obj() local 2240 if (readn_nointr(fd, filebuf, KS_PKCS11_VER_SIZE) in soft_keystore_put_new_obj() 2245 if (writen_nointr(tmp_ks_fd, filebuf, KS_PKCS11_VER_SIZE) in soft_keystore_put_new_obj() [all …]
|
/titanic_50/usr/src/cmd/hal/hald/ |
H A D | device_info.c | 1372 char *filebuf; in process_fdi_file() local 1378 filebuf = NULL; in process_fdi_file() 1398 filebuf = (char *) malloc (filesize); in process_fdi_file() 1399 if (filebuf == NULL) { in process_fdi_file() 1403 read = fread (filebuf, sizeof (char), filesize, file); in process_fdi_file() 1438 rc = XML_Parse (parser, filebuf, filesize, 1); in process_fdi_file() 1456 if (filebuf != NULL) in process_fdi_file() 1457 free (filebuf); in process_fdi_file()
|
/titanic_50/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); in next_extent() 277 xfs.xt = (xfs_bmbt_rec_32_t *)filebuf; in next_extent()
|
/titanic_50/usr/src/cmd/more/ |
H A D | more.c | 975 char filebuf[128]; in command() local 1158 sprintf(filebuf, LOCAL_HELP, loc); in command() 1160 if ((strcmp(loc, "C") == 0) || (helpf = fopen (filebuf, "r")) == NULL) { in command()
|
/titanic_50/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 993 KMF_DATA filebuf = { 0, NULL }; in kmf_get_file_format() local 999 ret = kmf_read_input_file(NULL, filename, &filebuf); in kmf_get_file_format() 1003 if (filebuf.Length < 8) { in kmf_get_file_format() 1008 ret = kmf_get_data_format(&filebuf, fmt); in kmf_get_file_format() 1010 kmf_free_data(&filebuf); in kmf_get_file_format()
|
/titanic_50/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg.c | 2505 char *filebuf; in obj_controller_act() local 2524 filebuf = malloc(statbuf.st_size); in obj_controller_act() 2525 if (filebuf == NULL) { in obj_controller_act() 2530 size = read(image_fd, filebuf, statbuf.st_size); in obj_controller_act() 2533 free(filebuf); in obj_controller_act() 2539 free(filebuf); in obj_controller_act() 2545 free(filebuf); in obj_controller_act() 2550 free(filebuf); in obj_controller_act() 2555 filebuf, size, plugin_err_str); in obj_controller_act()
|
/titanic_50/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 */
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | openssl_spi.c | 804 BerValue filebuf; in readAltFormatPrivateKey() local 816 filebuf.bv_val = (char *)filedata->Data; in readAltFormatPrivateKey() 817 filebuf.bv_len = filedata->Length; in readAltFormatPrivateKey() 819 asn1 = kmfder_init(&filebuf); in readAltFormatPrivateKey()
|