Lines Matching refs:FoundMask
104 int FoundMask = 0; in TestEraseByte() local
108 if (NewSize == 7 && !memcmp(REM0, T, 7)) FoundMask |= 1 << 0; in TestEraseByte()
109 if (NewSize == 7 && !memcmp(REM1, T, 7)) FoundMask |= 1 << 1; in TestEraseByte()
110 if (NewSize == 7 && !memcmp(REM2, T, 7)) FoundMask |= 1 << 2; in TestEraseByte()
111 if (NewSize == 7 && !memcmp(REM3, T, 7)) FoundMask |= 1 << 3; in TestEraseByte()
112 if (NewSize == 7 && !memcmp(REM4, T, 7)) FoundMask |= 1 << 4; in TestEraseByte()
113 if (NewSize == 7 && !memcmp(REM5, T, 7)) FoundMask |= 1 << 5; in TestEraseByte()
114 if (NewSize == 7 && !memcmp(REM6, T, 7)) FoundMask |= 1 << 6; in TestEraseByte()
115 if (NewSize == 7 && !memcmp(REM7, T, 7)) FoundMask |= 1 << 7; in TestEraseByte()
117 EXPECT_EQ(FoundMask, 255); in TestEraseByte()
132 int FoundMask = 0; in TestInsertByte() local
144 if (NewSize == 8 && !memcmp(INS0, T, 8)) FoundMask |= 1 << 0; in TestInsertByte()
145 if (NewSize == 8 && !memcmp(INS1, T, 8)) FoundMask |= 1 << 1; in TestInsertByte()
146 if (NewSize == 8 && !memcmp(INS2, T, 8)) FoundMask |= 1 << 2; in TestInsertByte()
147 if (NewSize == 8 && !memcmp(INS3, T, 8)) FoundMask |= 1 << 3; in TestInsertByte()
148 if (NewSize == 8 && !memcmp(INS4, T, 8)) FoundMask |= 1 << 4; in TestInsertByte()
149 if (NewSize == 8 && !memcmp(INS5, T, 8)) FoundMask |= 1 << 5; in TestInsertByte()
150 if (NewSize == 8 && !memcmp(INS6, T, 8)) FoundMask |= 1 << 6; in TestInsertByte()
151 if (NewSize == 8 && !memcmp(INS7, T, 8)) FoundMask |= 1 << 7; in TestInsertByte()
153 EXPECT_EQ(FoundMask, 255); in TestInsertByte()
168 int FoundMask = 0; in TestChangeByte() local
180 if (NewSize == 8 && !memcmp(CH0, T, 8)) FoundMask |= 1 << 0; in TestChangeByte()
181 if (NewSize == 8 && !memcmp(CH1, T, 8)) FoundMask |= 1 << 1; in TestChangeByte()
182 if (NewSize == 8 && !memcmp(CH2, T, 8)) FoundMask |= 1 << 2; in TestChangeByte()
183 if (NewSize == 8 && !memcmp(CH3, T, 8)) FoundMask |= 1 << 3; in TestChangeByte()
184 if (NewSize == 8 && !memcmp(CH4, T, 8)) FoundMask |= 1 << 4; in TestChangeByte()
185 if (NewSize == 8 && !memcmp(CH5, T, 8)) FoundMask |= 1 << 5; in TestChangeByte()
186 if (NewSize == 8 && !memcmp(CH6, T, 8)) FoundMask |= 1 << 6; in TestChangeByte()
187 if (NewSize == 8 && !memcmp(CH7, T, 8)) FoundMask |= 1 << 7; in TestChangeByte()
189 EXPECT_EQ(FoundMask, 255); in TestChangeByte()
204 int FoundMask = 0; in TestChangeBit() local
216 if (NewSize == 8 && !memcmp(CH0, T, 8)) FoundMask |= 1 << 0; in TestChangeBit()
217 if (NewSize == 8 && !memcmp(CH1, T, 8)) FoundMask |= 1 << 1; in TestChangeBit()
218 if (NewSize == 8 && !memcmp(CH2, T, 8)) FoundMask |= 1 << 2; in TestChangeBit()
219 if (NewSize == 8 && !memcmp(CH3, T, 8)) FoundMask |= 1 << 3; in TestChangeBit()
220 if (NewSize == 8 && !memcmp(CH4, T, 8)) FoundMask |= 1 << 4; in TestChangeBit()
221 if (NewSize == 8 && !memcmp(CH5, T, 8)) FoundMask |= 1 << 5; in TestChangeBit()
222 if (NewSize == 8 && !memcmp(CH6, T, 8)) FoundMask |= 1 << 6; in TestChangeBit()
223 if (NewSize == 8 && !memcmp(CH7, T, 8)) FoundMask |= 1 << 7; in TestChangeBit()
225 EXPECT_EQ(FoundMask, 255); in TestChangeBit()
240 int FoundMask = 0; in TestShuffleBytes() local
249 if (NewSize == 7 && !memcmp(CH0, T, 7)) FoundMask |= 1 << 0; in TestShuffleBytes()
250 if (NewSize == 7 && !memcmp(CH1, T, 7)) FoundMask |= 1 << 1; in TestShuffleBytes()
251 if (NewSize == 7 && !memcmp(CH2, T, 7)) FoundMask |= 1 << 2; in TestShuffleBytes()
252 if (NewSize == 7 && !memcmp(CH3, T, 7)) FoundMask |= 1 << 3; in TestShuffleBytes()
253 if (NewSize == 7 && !memcmp(CH4, T, 7)) FoundMask |= 1 << 4; in TestShuffleBytes()
255 EXPECT_EQ(FoundMask, 31); in TestShuffleBytes()
274 int FoundMask = 0; in TestAddWordFromDictionary() local
286 if (NewSize == 7 && !memcmp(CH0, T, 7)) FoundMask |= 1 << 0; in TestAddWordFromDictionary()
287 if (NewSize == 7 && !memcmp(CH1, T, 7)) FoundMask |= 1 << 1; in TestAddWordFromDictionary()
288 if (NewSize == 7 && !memcmp(CH2, T, 7)) FoundMask |= 1 << 2; in TestAddWordFromDictionary()
289 if (NewSize == 7 && !memcmp(CH3, T, 7)) FoundMask |= 1 << 3; in TestAddWordFromDictionary()
290 if (NewSize == 6 && !memcmp(CH4, T, 6)) FoundMask |= 1 << 4; in TestAddWordFromDictionary()
291 if (NewSize == 6 && !memcmp(CH5, T, 6)) FoundMask |= 1 << 5; in TestAddWordFromDictionary()
292 if (NewSize == 6 && !memcmp(CH6, T, 6)) FoundMask |= 1 << 6; in TestAddWordFromDictionary()
293 if (NewSize == 6 && !memcmp(CH7, T, 6)) FoundMask |= 1 << 7; in TestAddWordFromDictionary()
295 EXPECT_EQ(FoundMask, 255); in TestAddWordFromDictionary()
315 int FoundMask = 0; in TestAddWordFromDictionaryWithHint() local
322 FoundMask = 1; in TestAddWordFromDictionaryWithHint()
324 EXPECT_EQ(FoundMask, 1); in TestAddWordFromDictionaryWithHint()
346 int FoundMask = 0; in TestChangeASCIIInteger() local
350 /**/ if (NewSize == 8 && !memcmp(CH0, T, 8)) FoundMask |= 1 << 0; in TestChangeASCIIInteger()
351 else if (NewSize == 8 && !memcmp(CH1, T, 8)) FoundMask |= 1 << 1; in TestChangeASCIIInteger()
352 else if (NewSize == 8 && !memcmp(CH2, T, 8)) FoundMask |= 1 << 2; in TestChangeASCIIInteger()
353 else if (NewSize == 8 && !memcmp(CH3, T, 8)) FoundMask |= 1 << 3; in TestChangeASCIIInteger()
354 else if (NewSize == 8) FoundMask |= 1 << 4; in TestChangeASCIIInteger()
356 EXPECT_EQ(FoundMask, 31); in TestChangeASCIIInteger()