Home
last modified time | relevance | path

Searched refs:testChar (Results 1 – 4 of 4) sorted by relevance

/test/xts/acts/kernel_lite/mem_posix/src/
DMremapApiTest.cpp71 char testChar = 'A'; variable
86 mem[0] = testChar;
87 mem[len - 1] = testChar + 3;
89 mem[len + 0] = testChar;
90 mem[expandSize - 1] = testChar + 3;
113 char testChar = 'A'; variable
128 mem[0] = testChar;
129 mem[shrinkSize - 1] = testChar + 3;
133 mem[shrinkSize + 4] = testChar;
151 char testChar = 'A'; variable
[all …]
DMmapApiTest.cpp47 char testChar = 'A'; variable
62 mem[0] = testChar;
63 mem[1] = testChar + 3;
72 EXPECT_TRUE(mem[0] != testChar) << "mem[0] = " << mem[0];
73 EXPECT_TRUE(mem[1] != (testChar + 3)) << "mem[1] = " << mem[1];
86 char testChar = 'A'; variable
96 mem[0] = testChar;
97 mem[1] = testChar + 3;
106 EXPECT_TRUE(mem[0] != testChar) << "mem[0] = " << mem[0];
107 EXPECT_TRUE(mem[1] != (testChar + 3)) << "mem[1] = " << mem[1];
[all …]
DMprotectApiTest.cpp78 char testChar = 'A'; variable
91 mem[0] = testChar;
92 mem[1] = testChar + 3;
148 char testChar = 'A'; variable
161 mem[0] = testChar;
162 mem[1] = testChar + 3;
218 char testChar = 'A'; variable
224 char buf[PAGE_SIZE] = {testChar, (char)(testChar + 3)};
242 if (buf[0] != mem[0] || mem[0] != testChar) {
245 if (buf[1] != mem[1] || mem[1] != (testChar + 3)) {
[all …]
DMemApiTest.cpp124 char testChar = 0x36; variable
133 memset(mem, testChar, mlen);
148 if (data[k] != testChar) {
150 … LOG("ERROR: data[k] != testChar, data[%d] = %d, testChar = %d", k, data[k], testChar);