Lines Matching refs:tblock
69 unsigned char block[nn],tblock[nn]; in exercise_8() local
88 memcpy(tblock,block,sizeof(block)); in exercise_8()
92 memcpy(tblock,block,sizeof(block)); in exercise_8()
111 tblock[errloc] ^= errval; in exercise_8()
115 derrors = decode_rs_8(tblock,derrlocs,erasures,0); in exercise_8()
127 if(memcmp(tblock,block,sizeof(tblock)) != 0){ in exercise_8()
131 printf(" %02x",tblock[i] ^ block[i]); in exercise_8()
141 unsigned char block[nn],tblock[nn]; in exercise_char() local
168 memcpy(tblock,block,sizeof(block)); in exercise_char()
172 memcpy(tblock,block,sizeof(block)); in exercise_char()
191 tblock[errloc] ^= errval; in exercise_char()
195 derrors = decode_rs_char(rs,tblock,derrlocs,erasures); in exercise_char()
207 if(memcmp(tblock,block,sizeof(tblock)) != 0){ in exercise_char()
211 printf(" %02x",tblock[i] ^ block[i]); in exercise_char()
222 int block[nn],tblock[nn]; in exercise_int() local
246 memcpy(tblock,block,sizeof(block)); in exercise_int()
250 memcpy(tblock,block,sizeof(block)); in exercise_int()
269 tblock[errloc] ^= errval; in exercise_int()
273 derrors = decode_rs_int(rs,tblock,derrlocs,erasures); in exercise_int()
285 if(memcmp(tblock,block,sizeof(tblock)) != 0){ in exercise_int()
289 printf(" %02x",tblock[i] ^ block[i]); in exercise_int()