Home
last modified time | relevance | path

Searched refs:hbuf (Results 1 – 10 of 10) sorted by relevance

/external/clearsilver/mod_ecs/
Dmod_ecs.c101 HEADER_BUF hbuf; member
131 HEADER_BUF *hbuf = (HEADER_BUF *)h; in h_getline() local
135 if (hbuf->loc > hbuf->len) in h_getline()
138 ret = buf_getline (hbuf->buf + hbuf->loc, hbuf->len - hbuf->loc, buf, len, &(hbuf->nonl)); in h_getline()
139 hbuf->loc += ret; in h_getline()
146 static int header_write (HEADER_BUF *hbuf, const char *data, int dlen) in header_write() argument
150 int nonl = hbuf->nonl; in header_write()
155 nonl = hbuf->nonl; in header_write()
156 len = buf_getline (data + done, dlen - done, buf, sizeof(buf), &(hbuf->nonl)); in header_write()
160 if (hbuf->len + len > hbuf->max) in header_write()
[all …]
/external/libvpx/vpx_scale/dm642/
Dbicubic_scaler_c64.c27 unsigned char *restrict hbuf; in bicubic_scale_c64() local
59 hbuf = g_b_scaler.hbuf; in bicubic_scale_c64()
116 _amem4(&hbuf[w]) = _spacku4(s2, s1); in bicubic_scale_c64()
120 hbuf = ip; in bicubic_scale_c64()
131 *op_w++ = hbuf[0]; in bicubic_scale_c64()
146 hbuf_both = _mem4_const(&hbuf[lw-1]); in bicubic_scale_c64()
160 sum = hbuf[lw]; in bicubic_scale_c64()
/external/libvpx/vpx_scale/generic/
Dbicubic_scaler.c365 g_b_scaler.hbuf = g_hbuf; in bicubic_coefficient_setup()
491 unsigned char *RESTRICT hbuf; in bicubic_scale() local
520 hbuf = g_b_scaler.hbuf; in bicubic_scale()
529 hbuf[w] = temp_sum >> 12; in bicubic_scale()
533 hbuf = ip; in bicubic_scale()
548 temp_sum = c_w[phase_offset_w*4] * hbuf[lw - 1]; in bicubic_scale()
549 temp_sum += c_w[phase_offset_w*4+1] * hbuf[lw]; in bicubic_scale()
550 temp_sum += c_w[phase_offset_w*4+2] * hbuf[lw + 1]; in bicubic_scale()
551 temp_sum += c_w[phase_offset_w*4+3] * hbuf[lw + 2]; in bicubic_scale()
559 temp_sum = hbuf[lw]; in bicubic_scale()
[all …]
/external/dropbear/
Ddbutil.c396 char hbuf[NI_MAXHOST], sbuf[NI_MAXSERV]; in getaddrstring() local
417 ret = getnameinfo((struct sockaddr*)addr, len, hbuf, sizeof(hbuf), in getaddrstring()
427 len = strlen(hbuf) + 2 + strlen(sbuf); in getaddrstring()
429 snprintf(retstring, len, "%s:%s", hbuf, sbuf); in getaddrstring()
431 retstring = m_strdup(hbuf); in getaddrstring()
442 char hbuf[NI_MAXHOST]; in getaddrhostname() local
467 ret = getnameinfo((struct sockaddr*)addr, len, hbuf, sizeof(hbuf), in getaddrhostname()
477 return m_strdup(hbuf); in getaddrhostname()
/external/ipsec-tools/src/racoon/
Disakmp_quick.c315 vchar_t *hbuf = NULL; /* for hash computing. */ local
381 hbuf = vmalloc(tlen);
382 if (hbuf == NULL) {
387 p = hbuf->v + iph2->nonce->l; /* retain the space for Ni_b */
484 memcpy(hbuf->v, iph2->nonce->v, iph2->nonce->l);
487 hbuf->l, tlen + iph2->nonce->l);
489 hbuf->l = iph2->nonce->l + tlen;
502 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
529 if (hbuf)
530 vfree(hbuf);
[all …]
/external/qemu/distrib/zlib-1.2.3/
Dinflate.c387 hbuf[0] = (unsigned char)(word); \
388 hbuf[1] = (unsigned char)((word) >> 8); \
389 check = crc32(check, hbuf, 2); \
394 hbuf[0] = (unsigned char)(word); \
395 hbuf[1] = (unsigned char)((word) >> 8); \
396 hbuf[2] = (unsigned char)((word) >> 16); \
397 hbuf[3] = (unsigned char)((word) >> 24); \
398 check = crc32(check, hbuf, 4); \
572 unsigned char hbuf[4]; /* buffer for gzip header crc calculation */ local
/external/chromium/third_party/zlib/
Dinflate.c387 hbuf[0] = (unsigned char)(word); \
388 hbuf[1] = (unsigned char)((word) >> 8); \
389 check = crc32(check, hbuf, 2); \
394 hbuf[0] = (unsigned char)(word); \
395 hbuf[1] = (unsigned char)((word) >> 8); \
396 hbuf[2] = (unsigned char)((word) >> 16); \
397 hbuf[3] = (unsigned char)((word) >> 24); \
398 check = crc32(check, hbuf, 4); \
572 unsigned char hbuf[4]; /* buffer for gzip header crc calculation */ local
/external/tcpdump/
Dprint-icmp6.c1158 char hbuf[NI_MAXHOST]; in icmp6_rrenum_print() local
1226 if (inet_ntop(AF_INET6, &match->rpm_prefix, hbuf, sizeof(hbuf))) in icmp6_rrenum_print()
1227 printf(",%s/%u", hbuf, match->rpm_matchlen); in icmp6_rrenum_print()
1269 if (inet_ntop(AF_INET6, &use->rpu_prefix, hbuf, in icmp6_rrenum_print()
1270 sizeof(hbuf))) in icmp6_rrenum_print()
1271 printf("%s/%u/%u", hbuf, use->rpu_uselen, in icmp6_rrenum_print()
/external/zlib/
Dinflate.c422 hbuf[0] = (unsigned char)(word); \
423 hbuf[1] = (unsigned char)((word) >> 8); \
424 check = crc32(check, hbuf, 2); \
429 hbuf[0] = (unsigned char)(word); \
430 hbuf[1] = (unsigned char)((word) >> 8); \
431 hbuf[2] = (unsigned char)((word) >> 16); \
432 hbuf[3] = (unsigned char)((word) >> 24); \
433 check = crc32(check, hbuf, 4); \
607 unsigned char hbuf[4]; /* buffer for gzip header crc calculation */ local
/external/libvpx/vpx_scale/include/generic/
Dvpxscale_arbitrary.h42 unsigned char *hbuf; member