Home
last modified time | relevance | path

Searched refs:len2 (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/net/
Dgetservent.c62 int len2 = q[0]; in getservent_r() local
63 total += 1 + len2; in getservent_r()
64 q += 1 + len2; in getservent_r()
93 int len2 = p[0]; in getservent_r() local
95 memcpy( p2, p+1, len2 ); in getservent_r()
96 p2[len2] = 0; in getservent_r()
97 p2 += len2 + 1; in getservent_r()
98 p += len2 + 1; in getservent_r()
/bionic/tests/
Dbuffer_tests.cpp348 for (size_t len2 = len+1; len2 < len+32; len2++) { in RunCmpBufferAlignTest() local
349 test_miscmp_func(buf1_align, buf2_align, len, len2); in RunCmpBufferAlignTest()
350 test_miscmp_func(buf1_align, buf2_align, len2, len); in RunCmpBufferAlignTest()
Dstring_test.cpp1313 static void DoStrcmpFailTest(uint8_t* buf1, uint8_t* buf2, size_t len1, size_t len2) { in DoStrcmpFailTest() argument
1318 memset(buf2, c, len2 - 1); in DoStrcmpFailTest()
1319 buf2[len2-1] = '\0'; in DoStrcmpFailTest()
1325 if (len1 > len2) { in DoStrcmpFailTest()
1326 len = len2; in DoStrcmpFailTest()
1361 static void DoMemcmpFailTest(uint8_t* buf1, uint8_t* buf2, size_t len1, size_t len2) { in DoMemcmpFailTest() argument
1363 if (len1 > len2) { in DoMemcmpFailTest()
1364 len = len2; in DoMemcmpFailTest()
1369 memset(buf1, len2+1, len); in DoMemcmpFailTest()
1370 buf1[len-1] = len2; in DoMemcmpFailTest()
[all …]