Home
last modified time | relevance | path

Searched refs:derrlocs (Results 1 – 2 of 2) sorted by relevance

/external/fec/
Drstest.c70 int errlocs[nn],derrlocs[nn]; in exercise_8() local
94 memset(derrlocs,0,sizeof(derrlocs)); in exercise_8()
109 derrlocs[erasures++] = errloc; in exercise_8()
115 derrors = decode_rs_8(tblock,derrlocs,erasures,0); in exercise_8()
122 if(errlocs[derrlocs[i]] == 0){ in exercise_8()
123 printf("(%d,%d) decoder indicates error in location %d without error\n",nn,kk,derrlocs[i]); in exercise_8()
142 int errlocs[nn],derrlocs[nn]; in exercise_char() local
174 memset(derrlocs,0,sizeof(derrlocs)); in exercise_char()
189 derrlocs[erasures++] = errloc; in exercise_char()
195 derrors = decode_rs_char(rs,tblock,derrlocs,erasures); in exercise_char()
[all …]
Dexercise.c49 int derrlocs[NROOTS]; in EXERCISE() local
72 memset(derrlocs,0,sizeof(derrlocs)); in EXERCISE()
87 derrlocs[erasures++] = errloc; in EXERCISE()
94 derrors = DECODE_RS(tblock,derrlocs,erasures,0); in EXERCISE()
96 derrors = DECODE_RS(rs,tblock,derrlocs,erasures); in EXERCISE()
105 if(errlocs[derrlocs[i]] == 0){ in EXERCISE()
107 printf(" decoder indicates error in location %d without error\n",derrlocs[i]); in EXERCISE()