Searched defs:enclen (Results 1 - 3 of 3) sorted by relevance

/external/c-ares/
H A Dares_expand_string.c45 long *enclen)
71 *enclen = (long)(elen.sig+1);
41 ares_expand_string(const unsigned char *encoded, const unsigned char *abuf, int alen, unsigned char **s, long *enclen) argument
H A Dares_expand_name.c43 * *s, which is set to a NUL-terminated allocated buffer. *enclen is
66 int alen, char **s, long *enclen)
94 *enclen = 2;
96 *enclen = 1; /* the caller should move one byte to get past this */
109 *enclen = p + 2 - encoded;
129 *enclen = p + 1 - encoded;
194 char **s, long *enclen)
196 int status = ares_expand_name(encoded, abuf, alen, s, enclen);
65 ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, int alen, char **s, long *enclen) argument
192 ares__expand_name_for_response(const unsigned char *encoded, const unsigned char *abuf, int alen, char **s, long *enclen) argument
/external/webrtc/webrtc/base/
H A Dstringencode_unittest.cc22 size_t encsize, enclen; member in struct:rtc::Utf8Test
40 ASSERT_EQ(kTests[i].enclen, utf8_decode(kTests[i].encoded,
43 unsigned long result = (kTests[i].enclen == 0) ? 0 : kTests[i].decoded;
53 ASSERT_EQ(kTests[i].enclen, utf8_encode(buffer,
56 ASSERT_TRUE(memcmp(buffer, kTests[i].encoded, kTests[i].enclen) == 0);
58 ASSERT_TRUE(memory_check(buffer + kTests[i].enclen,
60 arraysize(buffer) - kTests[i].enclen));

Completed in 97 milliseconds