Lines Matching refs:memset

120   memset(buf, 0, sizeof(buf));  in TEST()
264 memset(state.ptr2, '\2', state.MAX_LEN); in TEST()
268 memset(state.ptr1, 'L', state.len[i]); in TEST()
293 memset(buf, 'A', sizeof(buf)); in TEST()
307 memset(buf, 'A', sizeof(buf)); in TEST()
326 memset(buf, 'A', sizeof(buf)); in TEST()
340 memset(buf, 'A', sizeof(buf)); in TEST()
348 memset(buf, 'A', sizeof(buf)); in TEST()
361 memset(buf, 'A', sizeof(buf)); in TEST()
371 memset(buf, 'A', sizeof(buf)); in TEST()
384 memset(buf, 'A', sizeof(buf)); in TEST()
397 memset(buf, 'A', sizeof(buf)); in TEST()
407 memset(buf, 'A', sizeof(buf)); in TEST()
424 memset(str, 'a', sizeof(str) - 1); in TEST()
447 memset(state.ptr1, ~seek_char, state.len[i]); in TEST()
449 memset(state.ptr1, '\1', state.len[i]); in TEST()
482 memset(state.ptr1, 'v', state.MAX_LEN); in TEST()
483 memset(state.ptr2, 'n', state.MAX_LEN); in TEST()
518 memset(state.ptr1, '\2', pos); in TEST()
524 memset(state.ptr2, '\1', state.MAX_LEN); in TEST()
527 memset(state.ptr + state.MAX_LEN, '\1', state.MAX_LEN); in TEST()
542 memset(state.ptr1, '\2', pos); in TEST()
548 memset(state.ptr2, '\1', state.MAX_LEN); in TEST()
551 memset(state.ptr + state.MAX_LEN, '\1', state.MAX_LEN); in TEST()
566 memset(state.ptr2, '\2', state.MAX_LEN + state.len[i]); in TEST()
571 memset(state.ptr1, '\3', pos); in TEST()
595 memset(state.ptr1, rand, state.MAX_LEN); in TEST()
603 memset(state.ptr2, 'I', state.MAX_LEN); in TEST()
626 memset(state.ptr2, '\2', state.MAX_LEN); in TEST()
630 memset(state.ptr1, 'I', state.len[i]); in TEST()
650 memset(state.ptr1, 'v', state.MAX_LEN); in TEST()
651 memset(state.ptr2, 'n', state.MAX_LEN); in TEST()
684 memset(state.ptr1, 'J', state.MAX_LEN); in TEST()
691 memset(state.ptr2, '\1', state.MAX_LEN); in TEST()
697 memset(state.ptr + state.MAX_LEN, '\1', state.MAX_LEN); in TEST()
701 memset(state.ptr + state.MAX_LEN + ptr1_len, '\0', copy_len - ptr1_len); in TEST()
721 memset(state.ptr1, 'K', state.MAX_LEN); in TEST()
728 memset(state.ptr2, '\1', state.MAX_LEN); in TEST()
734 memset(state.ptr + state.MAX_LEN, '\1', state.MAX_LEN); in TEST()
738 memset(state.ptr + state.MAX_LEN + ptr1_len, '\0', copy_len - ptr1_len); in TEST()
759 memset(state.ptr1, ~seek_char, state.len[i]); in TEST()
761 memset(state.ptr1, '\1', state.len[i]); in TEST()
788 memset(state.ptr1, ~seek_char, state.len[i]); in TEST()
807 memset(buffer, 10, 64); in TEST()
817 memset(state.ptr1, ~seek_char, state.len[i]); in TEST()
839 memset(state.ptr1, c1, state.MAX_LEN); in TEST()
840 memset(state.ptr2, c1, state.MAX_LEN); in TEST()
882 memset(state.ptr1, rand, state.len[i]); in TEST()
883 memset(state.ptr1 + state.len[i], ~rand, state.MAX_LEN - state.len[i]); in TEST()
885 memset(state.ptr2, rand, state.len[i]); in TEST()
886 memset(state.ptr2 + state.len[i], ~rand, state.MAX_LEN - state.len[i]); in TEST()
887 memset(state.ptr2 + pos, '\0', state.len[i]); in TEST()
895 TEST(STRING_TEST, memset) { in TEST() argument
900 memset(state.ptr1, ~ch, state.MAX_LEN); in TEST()
908 ASSERT_TRUE(memset(state.ptr2 + pos, ch, state.len[i]) == state.ptr2 + pos); in TEST()
919 memset(state.ptr1, 'Q', 2 * state.MAX_LEN); in TEST()
923 memset(state.ptr1, 'R', state.len[i]); in TEST()
949 memset(ptr1, 'S', 2 * len); in TEST()
950 memset(ptr1, 'T', len); in TEST()
964 memset(dst, 0, size); in verify_memmove()
1017 memset(state.ptr1, '4', state.MAX_LEN); in TEST()
1018 memset(state.ptr1 + state.MAX_LEN, 'a', state.MAX_LEN); in TEST()
1033 memset(state.ptr1, 'R', state.MAX_LEN); in TEST()
1039 memset(state.ptr2 + start, '\0', end - start); in TEST()
1049 memset(src, (len % 255) + 1, len); in DoMemcpyTest()
1050 memset(dst, 0, len); in DoMemcpyTest()
1065 memset(src, (len % 255) + 1, len); in DoMemmoveTest()
1066 memset(dst, 0, len); in DoMemmoveTest()
1085 ASSERT_EQ(buf, memset(buf, value, len)); in DoMemsetTest()
1097 memset(buf, (32 + (len % 96)), len - 1); in DoStrlenTest()
1113 memset(src, (32 + (len % 96)), len - 1); in DoStrcpyTest()
1115 memset(dst, 0, len); in DoStrcpyTest()
1133 memset(src, (32 + (len % 96)), len - 1); in DoStrlcpyTest()
1135 memset(dst, 0, len); in DoStrlcpyTest()
1162 memset(src, (32 + (len % 96)), len - 1); in DoStpcpyTest()
1164 memset(dst, 0, len); in DoStpcpyTest()
1196 memset(src, value, len - 1); in DoStrcatTest()
1204 memset(cmp_buf, value2, sizeof(cmp_buf)); in DoStrcatTest()
1207 memset(dst, value2, i-1); in DoStrcatTest()
1208 memset(dst+i-1, 0, len-i); in DoStrcatTest()
1243 memset(src, value, len - 1); in DoStrlcatTest()
1251 memset(cmp_buf, value2, sizeof(cmp_buf)); in DoStrlcatTest()
1254 memset(dst, value2, i-1); in DoStrlcatTest()
1255 memset(dst+i-1, 0, len-i); in DoStrlcatTest()
1297 memset(buf1, (32 + (len % 96)), len - 1); in DoStrcmpTest()
1299 memset(buf2, (32 + (len % 96)), len - 1); in DoStrcmpTest()
1309 memset(buf1, c, len1 - 1); in DoStrcmpFailTest()
1311 memset(buf2, c, len2 - 1); in DoStrcmpFailTest()
1349 memset(buf1, len+1, len); in DoMemcmpTest()
1350 memset(buf2, len+1, len); in DoMemcmpTest()
1362 memset(buf1, len2+1, len); in DoMemcmpFailTest()
1364 memset(buf2, len2+1, len); in DoMemcmpFailTest()
1384 memset(buf, value, len); in DoMemchrTest()
1412 memset(buf, value, len - 1); in DoStrchrTest()
1446 memset(buf, value, len - 1); in DoStrrchrTest()
1656 memset(dst, 0, sizeof(dst)); in TEST()
1661 memset(dst, 0, sizeof(dst)); in TEST()