Searched refs:genpoly (Results 1 – 9 of 9) sorted by relevance
/external/fec/ |
D | init_rs.h | 70 rs->genpoly = (data_t *)malloc(sizeof(data_t)*(nroots+1)); 71 if(rs->genpoly == NULL){ 87 rs->genpoly[0] = 1; 89 rs->genpoly[i+1] = 1; 93 if (rs->genpoly[j] != 0) 94 rs->genpoly[j] = rs->genpoly[j-1] ^ rs->alpha_to[modnn(rs,rs->index_of[rs->genpoly[j]] + root)]; 96 rs->genpoly[j] = rs->genpoly[j-1]; 99 rs->genpoly[0] = rs->alpha_to[modnn(rs,rs->index_of[rs->genpoly[0]] + root)]; 103 rs->genpoly[i] = rs->index_of[rs->genpoly[i]];
|
D | rstest.c | 17 int genpoly; member 157 rs = init_rs_char(e->symsize,e->genpoly,e->fcs,e->prim,e->nroots,0); in exercise_char() 235 rs = init_rs_int(e->symsize,e->genpoly,e->fcs,e->prim,e->nroots,0); in exercise_int()
|
D | init_rs_char.c | 16 free(rs->genpoly); in free_rs_char()
|
D | init_rs_int.c | 16 free(rs->genpoly); in free_rs_int()
|
D | init_rs.c | 20 free(rs->genpoly); in free_rs()
|
D | rs-common.h | 12 data_t *genpoly; /* Generator polynomial */ member
|
D | int.h | 14 #define GENPOLY (rs->genpoly)
|
D | char.h | 14 #define GENPOLY (rs->genpoly)
|
D | gen_ccsds.c | 35 printf("%3d,",rs->genpoly[i]); in main()
|