/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca_rsa.c | 55 static int dca_pkcs1_padding(dca_t *dca, caddr_t buf, int flen, int tlen, 57 static int dca_pkcs1_unpadding(char *buf, int *tlen, int flen, int mode); 58 static int dca_x509_padding(caddr_t buf, int flen, int tlen); 59 static int dca_x509_unpadding(char *buf, int tlen, int flen, int mode); 681 dca_pkcs1_padding(dca_t *dca, caddr_t buf, int flen, int tlen, int private) argument 686 "dca_pkcs1_padding: tlen: %d, flen: %d: private: %d\n", 687 tlen, flen, private); 689 if (flen > tlen - 11) 694 buf[flen] = '\0'; 695 for (i = flen 716 dca_pkcs1_unpadding(char *buf, int *tlen, int flen, int mode) argument 786 dca_x509_padding(caddr_t buf, int flen, int tlen) argument 798 dca_x509_unpadding(char *buf, int tlen, int flen, int mode) argument [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | fio.c | 228 int flen, retries = 0; local 237 alen = fwrblk(fn, fp1, &flen); 238 fbytes += flen; 268 int flen; local 279 flen = frdblk(ibuf, fn, &alen); 280 if (flen < 0) 282 if (eof = flen > FIBUFSIZ) 283 flen -= FIBUFSIZ + 1; 284 fbytes += flen; 285 if (fwrite(ibuf, sizeof (char), flen, fp [all...] |
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/ |
H A D | mkbusy.c | 98 int arglen, dlen, flen; local 127 flen = strlen(fname); 134 if ((fpath = (char *)malloc(dlen + 1 + flen + 1)) == NULL) 136 (void) memset(fpath, '\0', dlen + 1 + flen + 1); 140 (void) strncat(fpath, fname, flen);
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 92 Elf32_Off flen; /* file length for segment mapping */ local 237 flen = pptr->p_memsz + (pptr->p_offset - foff); 273 if ((caddr_t)MMAP((caddr_t)addr, flen, i, 305 maddr = addr + ROUND(flen, page_size);
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 91 Elf32_Off flen; /* file length for segment mapping */ local 237 flen = pptr->p_memsz + (pptr->p_offset - foff); 273 if ((caddr_t)MMAP((caddr_t)addr, flen, i, 306 maddr = addr + ROUND(flen, page_size);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_log.h | 96 void _nscd_get_log_info(char *level, int llen, char *file, int flen);
|
H A D | nscd_log.c | 484 int flen) 489 (void) strlcpy(file, _nscd_logfile, flen); 480 _nscd_get_log_info( char *level, int llen, char *file, int flen) argument
|
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | frontend.c | 123 int nfiles, flen, findex, retval = 0, errors = 0; local 128 flen = strlen(filelist[findex]); 129 if ((flen <= 5) || 130 strcmp(&filelist[findex][flen-5], ".spec") != 0) {
|
/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | vroot.cc | 198 int flen = strlen(filename); local 199 if(flen >= MAXPATHLEN) { 214 if((1 + flen + vp->length) >= MAXPATHLEN) { 233 if((1 + flen + pp1->length) >= MAXPATHLEN) {
|
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ec.c | 642 int flen = 0; /* length in bytes of the field size */ local 665 flen = (ecParams->fieldID.size + 7) >> 3; 706 kGpoint.len = 2*flen + 1; 707 kGpoint.data = PORT_Alloc(2*flen + 1, kmflag); 719 (mp_size) flen) ); 809 PORT_ZFree(kGpoint.data, 2*flen + 1); 880 int flen; /* length in bytes of the field size */ local 906 flen = (ecParams->fieldID.size + 7) >> 3; 915 SECITEM_AllocItem(NULL, &pointC, 2*flen + 1, kmflag); 1005 CHECK_MPI_OK( mp_read_unsigned_octets(&x1, pointC.data + 1, flen) ); [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 170 size_t len, flen, slen; local 173 flen = strlen(filename); 175 len = slen + flen + 1; 190 d->fslen = flen;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 1429 size_t flen; local 1465 flen = (size_t)stbuf.st_size; 1466 if (flen < sizeof (struct tzhead)) { 1477 cp = bufp = lmalloc(flen); 1483 if ((cnt = read(fid, bufp, flen)) != flen) { 1484 lfree(bufp, flen); 1490 lfree(bufp, flen); 1515 lfree(bufp, flen); 1526 lfree(bufp, flen); [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getfilter.c | 332 auto size_t flen = flimit - f; local 333 if ( vlen > flen ) { /* flimit is too small */ 334 if ( flen > 0 ) SAFEMEMCPY( f, v, flen );
|
/illumos-gate/usr/src/cmd/rpcinfo/ |
H A D | rpcinfo.c | 1064 int cnt, flen; local 1143 flen = strlen(fieldbuf); 1145 spaces((int)((TABSTOP * (1 + flen / TABSTOP)) 1148 fieldbuf, spaces(cnt = ((TABSTOP * (1 + flen / TABSTOP)) 1149 - flen))); 1150 lp += (flen + cnt); 1197 flen = strlen(fieldbuf); 1199 spaces((int)((TABSTOP * (1 + flen / TABSTOP)) 1202 fieldbuf, spaces(cnt = ((TABSTOP * (1 + flen / TABSTOP)) 1203 - flen))); [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/ |
H A D | rtld.4.x.c | 232 Elf32_Off flen; /* file length for segment mapping */ local 483 flen = pptr->p_memsz + (pptr->p_offset - foff); 510 if ((caddr_t)mmap((caddr_t)addr, flen, i, 537 maddr = addr + ROUND(flen, page_size);
|
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 650 uchar_t *flen; local 661 flen = optstart++; 711 *flen = (optstart - flen) - 1; 712 if (*flen > 0) 713 flen = optstart++; 732 *flen = (optstart - flen) - 1; 743 if (*flen > 0 && *valuep != '\0')
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioFile.cc | 218 int flen; local 229 flen = strlen(filename); 271 pathname = new char[strlen(prefix) + flen + 2];
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | expand.c | 1409 int flen = strlen(file); local 1413 if(write_fn(data, file, flen) != flen) 1428 int npad = fmt->column_width + EF_COL_SEP - flen;
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | nldaputils.c | 307 int flen, ulen, wksid = 0; local 380 flen = snprintf(NULL, 0, filter, qs->nldap_winname_attr, 385 flen = snprintf(NULL, 0, filter, qs->nldap_winname_attr, 391 q->filter = malloc(flen); 403 (void) snprintf(q->filter, flen, filter, 408 (void) snprintf(q->filter, flen, filter,
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_nisdbquery.c | 548 int len, flen; local 576 flen = fq->components.components_val[j].index_value-> 578 if (len != flen) { 589 if (!(len > 0 && len == (flen+1) && 602 flen) != 0) {
|
H A D | ldap_util.c | 74 int flen = slen(fmt); local 81 if (flen > 0 && fmt[flen-1] != '\n')
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | cgrep.c | 104 int flen; /* Number of following lit expressions */ member in struct:Expr 621 e->flen = fpos->count; 622 e->follow = (ID *)egmalloc(e->flen * sizeof (ID)); 625 printf("ID = %d LIT %c FLEN = %d\n", e->id, e->lit, e->flen); 633 if (p != e->follow + e->flen) { 718 for (q = e->follow, eq = q + e->flen; q < eq; q++) { 774 spr(e->flen, e->follow, r1); 942 e->flen = 0;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 350 int flen; local 368 flen = strlen(failed); 387 len += (strlen(p) + flen); 399 len += (strlen(p) + strlen(q) + flen);
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | namemaps.c | 648 int flen; local 670 flen = snprintf(NULL, 0, FILTER, winname) + 1; 671 if ((filter = (char *)malloc(flen)) == NULL) { 675 (void) snprintf(filter, flen, FILTER, winname);
|
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf.c | 1254 uint_t flen, size; local 1271 flen = fp->bf_len; 1272 if (flen > BPF_MAXINSNS) 1275 size = flen * sizeof (*fp->bf_insns); 1280 if (bpf_validate(fcode, (int)flen)) {
|