Searched refs:myfoo (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | fortify_test.cpp | 55 foo myfoo; in TEST_F() local 57 ASSERT_FORTIFY(stpncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F() 61 foo myfoo; in TEST_F() local 62 memset(&myfoo, 0, sizeof(myfoo)); in TEST_F() 63 myfoo.one[0] = 'A'; // not null terminated string in TEST_F() 64 ASSERT_FORTIFY(stpncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F() 68 foo myfoo; in TEST_F() local 70 ASSERT_FORTIFY(strncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F() 74 foo myfoo; in TEST_F() local 75 memset(&myfoo, 0, sizeof(myfoo)); in TEST_F() [all …]
|