Searched defs:dlen (Results 1 - 25 of 75) sorted by relevance

123

/external/libedit/src/
H A Dstrlcat.c51 size_t dlen; local
59 dlen = d - dst;
60 n = siz - dlen;
63 return(dlen + strlen(s));
73 return(dlen + (s - src)); /* count does not include NUL */
81 size_t dlen = strnlen(dst, siz);
87 return dlen + strlcpy(dst + dlen, src, siz - dlen);
H A Dunvis.c489 strnunvisx(char *dst, size_t dlen, const char *src, int flag) argument
499 if (dlen-- == 0) { \
550 strnunvis(char *dst, size_t dlen, const char *src) argument
552 return strnunvisx(dst, dlen, src, 0);
H A Dvis.c350 istrsenvisx(char *mbdst, size_t *dlen, const char *mbsrc, size_t mblength, argument
442 if (dlen && *dlen == 0) {
478 maxolen = dlen ? *dlen : (wcslen(start) * MB_LEN_MAX + 1);
559 snvis(char *mbdst, size_t dlen, int c, int flags, int nextc, const char *mbextra) argument
567 ret = istrsenvisx(mbdst, &dlen, cc, 1, flags, mbextra, NULL);
580 strsnvis(char *mbdst, size_t dlen, const char *mbsrc, int flags, const char *mbextra) argument
582 return istrsenvisx(mbdst, &dlen, mbsrc, 0, flags, mbextra, NULL);
592 strsnvisx(char *mbdst, size_t dlen, cons argument
599 strsenvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags, const char *mbextra, int *cerr_ptr) argument
626 nvis(char *mbdst, size_t dlen, int c, int flags, int nextc) argument
655 strnvis(char *mbdst, size_t dlen, const char *mbsrc, int flags) argument
678 strnvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags) argument
684 strenvisx(char *mbdst, size_t dlen, const char *mbsrc, size_t len, int flags, int *cerr_ptr) argument
[all...]
H A Drefresh.c356 * at dat, maximum length of d is dlen
361 Char *d, int dat, int dlen, Char *s, int num)
367 if (num > dlen - dat)
368 num = dlen - dat;
372 num, dat, dlen, ct_encode_string(d)));
377 b = d + dlen - 1;
381 d[dlen] = '\0'; /* just in case */
386 num, dat, dlen, ct_encode_string(d)));
390 for (a = d + dat; (a < d + dlen) && (num > 0); num--)
398 num, dat, dlen,
360 re_insert(EditLine *el __attribute__((__unused__)), Char *d, int dat, int dlen, Char *s, int num) argument
409 re_delete(EditLine *el __attribute__((__unused__)), Char *d, int dat, int dlen, int num) argument
[all...]
/external/tcpdump/missing/
H A Dstrlcat.c56 size_t dlen; local
61 dlen = d - dst;
62 n = siz - dlen;
65 return(dlen + strlen(s));
75 return(dlen + (s - src)); /* count does not include NUL */
/external/chromium_org/courgette/third_party/
H A Dbsdiff.h84 uint32 dlen; // Length of the result file. member in struct:courgette::MBSPatchHeader_
/external/kernel-headers/original/uapi/linux/
H A Dpg.h47 int dlen; /* number of bytes expected to transfer */ member in struct:pg_write_hdr
57 int dlen; /* size of device transfer request */ member in struct:pg_read_hdr
/external/openssl/crypto/dsa/
H A Ddsa_sign.c66 DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) argument
76 return dsa->meth->dsa_do_sign(dgst, dlen, dsa);
H A Ddsa_ossl.c69 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
72 const unsigned char *dgst, int dlen);
133 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) argument
159 if (!dsa->meth->dsa_sign_setup(dsa,ctx,&kinv,&r,dgst,dlen))
172 if (dlen > BN_num_bytes(dsa->q))
176 dlen = BN_num_bytes(dsa->q);
177 if (BN_bin2bn(dgst,dlen,&m) == NULL)
221 const unsigned char *dgst, int dlen)
255 dlen, ctx))
219 dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp, const unsigned char *dgst, int dlen) argument
/external/openssl/crypto/ecdsa/
H A Decs_sign.c63 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey) argument
65 return ECDSA_do_sign_ex(dgst, dlen, NULL, NULL, eckey);
68 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, argument
74 return ecdsa->meth->ecdsa_do_sign(dgst, dlen, kinv, rp, eckey);
77 int ECDSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char argument
80 return ECDSA_sign_ex(type, dgst, dlen, sig, siglen, NULL, NULL, eckey);
83 int ECDSA_sign_ex(int type, const unsigned char *dgst, int dlen, unsigned char argument
88 RAND_seed(dgst, dlen);
89 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey);
H A Decs_ossl.c65 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dlen,
69 const unsigned char *dgst, int dlen);
93 const unsigned char *dgst, int dlen)
148 dgst, dlen, ctx))
91 ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp, const unsigned char *dgst, int dlen) argument
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dstrbuf.c55 const void *data, size_t dlen)
64 if (dlen >= len)
65 strbuf_grow(sb, dlen - len);
66 memmove(sb->buf + pos + dlen,
69 memcpy(sb->buf + pos, data, dlen);
70 strbuf_setlen(sb, sb->len + dlen - len);
54 strbuf_splice(struct strbuf *sb, size_t pos, size_t len, const void *data, size_t dlen) argument
/external/openssl/crypto/cmac/
H A Dcmac.c215 int CMAC_Update(CMAC_CTX *ctx, const void *in, size_t dlen) argument
221 return FIPS_cmac_update(ctx, in, dlen);
225 if (dlen == 0)
233 if (dlen < nleft)
234 nleft = dlen;
236 dlen -= nleft;
239 if (dlen == 0)
247 while(dlen > bl)
251 dlen -= bl;
255 memcpy(ctx->last_block, data, dlen);
[all...]
/external/qemu/audio/
H A Dwavcapture.c35 uint8_t dlen[4]; local
41 le_store (dlen, datalen, 4);
47 fwrite(dlen, 4, 1, wav->f);
H A Dwavaudio.c187 uint8_t dlen[4]; local
196 le_store (dlen, datalen, 4);
202 fwrite(dlen, 4, 1, wav->f);
/external/chromium_org/third_party/skia/src/utils/
H A DSkDashPath.cpp270 double dlen = initialDashLength; local
273 SkASSERT(dlen >= 0);
275 if (is_even(index) && dlen > 0 && !skipFirstSegment) {
281 SkDoubleToScalar(distance + dlen),
285 SkDoubleToScalar(distance + dlen),
289 distance += dlen;
301 // fetch our next dlen
302 dlen = intervals[index];
/external/openssl/crypto/evp/
H A Dencode.c189 int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int dlen) argument
194 for (i=dlen; i > 0; i-=3)
/external/skia/src/utils/
H A DSkDashPath.cpp269 double dlen = initialDashLength; local
272 SkASSERT(dlen >= 0);
274 if (is_even(index) && dlen > 0 && !skipFirstSegment) {
280 SkDoubleToScalar(distance + dlen),
284 SkDoubleToScalar(distance + dlen),
288 distance += dlen;
300 // fetch our next dlen
301 dlen = intervals[index];
/external/iproute2/tc/
H A Dm_ematch.c371 int dlen; local
378 dlen = RTA_PAYLOAD(tb[i]) - sizeof(*hdr);
381 if (dlen < 0)
392 if (dlen < sizeof(__u32))
414 if (e->print_eopt(fd, hdr, data, dlen) < 0)
/external/iputils/ninfod/
H A Dni_ifaddrs.c319 size_t dlen, xlen; local
329 icnt = dlen = xlen = 0;
362 + dlen + xlen);
377 xdata = data + dlen;
465 dlen += NLMSG_ALIGN(rtapayload);
506 dlen += NLMSG_ALIGN(ifamap.address_len);
523 if (icnt == 0 && (dlen + xlen == 0)) {
/external/ppp/pppd/
H A Dutils.c119 size_t dlen = strlen(dest); local
121 return dlen + strlcpy(dest + dlen, src, (len > dlen? len - dlen: 0));
/external/tcpdump/
H A Dprint-udp.c142 u_int dlen = EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8; local
161 dlen -= 4;
168 dlen,
/external/ipsec-tools/src/racoon/
H A Disakmp_xauth.c1375 size_t dlen = 0; local
1410 dlen = 0;
1421 dlen = iph1->rmconf->xauth->login->l - 1;
1461 dlen = pwd->l;
1466 dlen = ntohs(attr->lorv);
1467 if (dlen > 0) {
1469 mdata = binsanitize(mraw, dlen);
1489 if ((buffer = vmalloc(sizeof(*attr) + dlen)) == NULL) {
1503 attr->lorv = htons(dlen);
1512 memcpy(data, iph1->rmconf->xauth->login->v, dlen);
1540 size_t dlen = 0; local
[all...]
/external/libpcap/
H A Dpcap-dlpi.c1349 int dlen; local
1354 dlen = DL_HP_RAWDATA_REQ_SIZE;
1364 ctl.len = dlen;
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_cryptoapi.c159 DWORD dlen; local
206 dlen = 8;
207 if (!CryptEncrypt(ckey, 0, FALSE, 0, cypher, &dlen, 8)) {
294 DWORD dlen; local
297 dlen = 16;
298 if (!CryptEncrypt(akey->ckey, 0, FALSE, 0, crypt, &dlen, 16)) {
326 DWORD dlen; local
329 dlen = 16;
331 if (!CryptDecrypt(akey->ckey, 0, FALSE, 0, plain, &dlen)) {
593 DWORD dlen; local
610 DWORD dlen; local
[all...]

Completed in 487 milliseconds

123