/freebsd-10.0-release/contrib/nvi/common/ |
H A D | mem.h | 22 #define BINC_GOTO(sp, type, lp, llen, nlen) { \ 25 if ((nlen) > llen) { \ 26 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \ 35 #define BINC_GOTOC(sp, lp, llen, nlen) \ 36 BINC_GOTO(sp, char, lp, llen, nlen) 37 #define BINC_GOTOW(sp, lp, llen, nlen) \ 38 BINC_GOTO(sp, CHAR_T, lp, llen, (nlen) * sizeof(CHAR_T)) 39 #define BINC_RET(sp, type, lp, llen, nlen) { \ 42 if ((nlen) > llen) { \ 43 if ((L__bincp = binc(sp, lp, &(llen), nlen)) [all...] |
H A D | key.h | 15 #define FILE2INT5(sp,buf,n,nlen,w,wlen) \ 16 sp->conv.file2int(sp, n, nlen, &buf, &wlen, &w) 17 #define INT2FILE(sp,w,wlen,n,nlen) \ 18 sp->conv.int2file(sp, w, wlen, &sp->cw, &nlen, &n) 19 #define CHAR2INT5(sp,buf,n,nlen,w,wlen) \ 20 sp->conv.sys2int(sp, n, nlen, &buf, &wlen, &w) 21 #define INT2CHAR(sp,w,wlen,n,nlen) \ 22 sp->conv.int2sys(sp, w, wlen, &sp->cw, &nlen, &n) 23 #define INPUT2INT5(sp,cw,n,nlen,w,wlen) \ 24 sp->conv.input2int(sp, n, nlen, [all...] |
H A D | seq.h | 33 size_t nlen; /* Name length. */ member in struct:_seq
|
H A D | delete.c | 43 size_t blen, len, nlen, tlen; local 130 nlen = (len - (tm->cno + 1)) + tlen; 131 if (tlen > nlen) { 136 GET_SPACE_RETW(sp, bp, blen, nlen); 138 ADD_SPACE_RETW(sp, bp, blen, nlen);
|
H A D | conv.c | 111 ssize_t nlen = len; local 120 BINC_RETW(NULL, *tostr, *blen, nlen); 135 nlen += 256; 136 BINC_RETW(NULL, *tostr, *blen, nlen); 205 ssize_t nlen = len + MB_CUR_MAX; local 227 nlen += 256; \ 228 BINC_RETC(NULL, cw->bp1.c, cw->blen1, nlen); \ 243 BINC_RETC(NULL, *tostr, *blen, nlen); 260 nlen += 256; 261 BINC_RETC(NULL, *tostr, *blen, nlen); [all...] |
H A D | msg.c | 60 size_t blen, len, mlen, nlen; local 121 nlen = 1024; 124 nlen *= 2; 128 GET_SPACE_GOTOC(sp, bp, blen, nlen); 240 if ((rbp = malloc(nlen)) == NULL) 280 if (len >= nlen) 368 size_t nlen; local 375 INT2CHAR(sp, str, STRLEN(str) + 1, nstr, nlen); 872 size_t blen, nlen; local 887 nlen [all...] |
/freebsd-10.0-release/contrib/wpa/src/utils/ |
H A D | ext_password_test.c | 48 size_t nlen; local 55 nlen = os_strlen(name); 58 if (os_strncmp(pos, name, nlen) == 0 && pos[nlen] == '=') { 60 pos += nlen + 1;
|
/freebsd-10.0-release/usr.bin/systat/ |
H A D | fetch.c | 63 size_t nlen = len; local 64 if (sysctlbyname(name, ptr, &nlen, NULL, 0) != 0) { 68 if (nlen != len) { 70 (unsigned long)len, (unsigned long)nlen);
|
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | snprintf.c | 148 int nstart, nlen; local 159 nlen = 0; 164 ++nlen; 170 nlen--; 194 if(prec <= nlen && nstr[nstart] != '0' && nstr[nstart] != '\0') 195 prec = nlen + 1; 207 if(prec > nlen) 210 width -= nlen; 232 if(prec - nlen > width - len - nlen) [all...] |
/freebsd-10.0-release/sys/compat/linux/ |
H A D | linux_sysctl.c | 137 if (la.nlen <= 0 || la.nlen > LINUX_CTL_MAXNAME) { 138 LIN_SDT_PROBE2(sysctl, linux_sysctl, wrong_length, la.nlen, 144 mib = malloc(la.nlen * sizeof(l_int), M_TEMP, M_WAITOK); 145 error = copyin(PTRIN(la.name), mib, la.nlen * sizeof(l_int)); 155 if (la.nlen < 2) 172 sb = sbuf_new(NULL, NULL, 20 + la.nlen * 5, SBUF_AUTOEXTEND); 179 for (i = 0; i < la.nlen; i++)
|
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/ |
H A D | autoscan.c | 50 size_t nlen; local 63 nlen = os_strlen(name); 65 nlen = params - name; 70 if (os_strncmp(name, autoscan_modules[i]->name, nlen) == 0) {
|
H A D | bgscan.c | 38 size_t nlen; local 49 nlen = os_strlen(name); 51 nlen = params - name; 56 if (os_strncmp(name, bgscan_modules[i]->name, nlen) == 0) {
|
/freebsd-10.0-release/lib/libkvm/ |
H A D | kvm_cptime.c | 68 size_t nlen; local 70 nlen = len; 71 if (sysctlbyname(name, buf, &nlen, NULL, 0) < 0) { 76 if (nlen != len) {
|
/freebsd-10.0-release/contrib/nvi/ex/ |
H A D | ex_file.c | 41 size_t nlen; local 53 np, nlen); 54 if ((p = v_strdup(sp, np, nlen - 1)) == NULL)
|
H A D | ex_preserve.c | 74 size_t nlen; local 79 INT2CHAR(sp, ap->bp, ap->len+1, np, nlen); 90 INT2CHAR(sp, ap->bp, ap->len+1, np, nlen);
|
H A D | ex_args.c | 54 size_t nlen; local 95 INT2CHAR(sp, argv[0]->bp, argv[0]->len, np, nlen); 96 if ((*ap = v_strdup(sp, np, nlen)) == NULL) 137 size_t nlen; local 148 INT2CHAR(sp, cmdp->argv[0]->bp, cmdp->argv[0]->len + 1, np, nlen); 311 size_t nlen; local 324 INT2CHAR(sp, argv[0]->bp, argv[0]->len, np, nlen); 325 if ((*ap = v_strdup(sp, np, nlen)) == NULL)
|
H A D | ex_source.c | 44 size_t nlen; local 49 INT2CHAR(sp, cmdp->argv[0]->bp, cmdp->argv[0]->len + 1, name, nlen);
|
/freebsd-10.0-release/sys/boot/ofw/libofw/ |
H A D | ofw_copy.c | 53 size_t nlen; local 57 nlen = len; 72 nlen -= (last_dest + last_len) - dest; 83 if ((nlen + resid) < PAGE_SIZE*MAPMEM_PAGE_INC) { 86 dlen = roundup(nlen + resid, PAGE_SIZE);
|
/freebsd-10.0-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_info.c | 108 int i,nlen; 117 nlen = strlen(objtmp) + strlen(vtmp->name) + 5; 118 ntmp = OPENSSL_malloc(nlen); 124 BUF_strlcpy(ntmp, objtmp, nlen); 125 BUF_strlcat(ntmp, " - ", nlen); 126 BUF_strlcat(ntmp, vtmp->name, nlen);
|
/freebsd-10.0-release/contrib/wpa/src/eap_common/ |
H A D | eap_ikev2_common.c | 24 size_t nlen; local 30 nlen = i_nonce_len + r_nonce_len; 31 nonces = os_malloc(nlen); 37 if (ikev2_prf_plus(prf, keys->SK_d, keys->SK_d_len, nonces, nlen,
|
/freebsd-10.0-release/sys/geom/ |
H A D | geom_ctl.h | 43 u_int nlen; member in struct:gctl_req_arg
|
/freebsd-10.0-release/bin/pax/ |
H A D | tables.h | 163 int nlen; /* length of the directory name (includes \0) */ member in struct:dirdata
|
/freebsd-10.0-release/lib/libz/ |
H A D | inflate.h | 112 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | inflate.h | 110 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
|
/freebsd-10.0-release/contrib/nvi/vi/ |
H A D | v_increment.c | 58 size_t beg, blen, end, len, nlen, wlen; local 205 nlen = SPRINTF(nbuf, sizeof(nbuf), ntype, lval); 227 nlen = SPRINTF(nbuf, sizeof(nbuf), ntype, wlen, ulval); 232 MEMMOVE(bp + beg, nbuf, nlen); 233 MEMMOVE(bp + beg + nlen, p + end, len - beg - (end - beg)); 234 len = beg + nlen + (len - beg - (end - beg));
|