/external/fec/ |
H A D | encode_rs_ccsds.c | 11 void encode_rs_ccsds(data_t *data,data_t *parity,int pad){ argument 19 encode_rs_8(cdata,parity,pad); 21 /* Convert parity from conventional to dual basis */ 23 parity[i] = Taltab[parity[i]];
|
H A D | encode_rs.h | 7 * data_t parity[] - an array of NROOTS and type data_t to be written with parity symbols 9 * which is the same as the number of parity symbols in a block. 37 memset(parity,0,NROOTS*sizeof(data_t)); 40 feedback = INDEX_OF[data[i] ^ parity[0]]; 49 parity[j] ^= ALPHA_TO[MODNN(feedback + GENPOLY[NROOTS-j])]; 52 memmove(&parity[0],&parity[1],sizeof(data_t)*(NROOTS-1)); 54 parity[NROOTS-1] = ALPHA_TO[MODNN(feedback + GENPOLY[0])]; 56 parity[NROOT [all...] |
H A D | encode_rs_char.c | 10 void encode_rs_char(void *p,data_t *data, data_t *parity){ argument
|
H A D | encode_rs_int.c | 10 void encode_rs_int(void *p,data_t *data, data_t *parity){ argument
|
H A D | encode_rs_8.c | 14 static void encode_rs_8_c(data_t *data, data_t *parity,int pad); 16 static void encode_rs_8_av(data_t *data, data_t *parity,int pad); 22 void encode_rs_8(data_t *data, data_t *parity,int pad){ argument 54 encode_rs_8_av(data,parity,pad); 63 encode_rs_8_c(data,parity,pad); 79 static void encode_rs_8_av(data_t *data, data_t *parity,int pad){ argument 100 parity[NROOTS-i-1] = shift_register.c[i]; 105 static void encode_rs_8_c(data_t *data, data_t *parity,int pad){ argument
|
H A D | encode_rs_av.c | 39 void encode_rs_av(unsigned char *data,unsigned char *parity,int pad){ argument 60 parity[NROOTS-i-1] = shift_register.c[i];
|
H A D | viterbi27_sse.c | 49 Branchtab27_sse[0].c[state] = (polys[0] < 0) ^ parity((2*state) & abs(polys[0])) ? 255 : 0; 50 Branchtab27_sse[1].c[state] = (polys[1] < 0) ^ parity((2*state) & abs(polys[1])) ? 255 : 0;
|
H A D | viterbi29_sse.c | 51 Branchtab29_sse[0].c[state] = (polys[0] < 0) ^ parity((2*state) & abs(polys[0])) ? 255 : 0; 52 Branchtab29_sse[1].c[state] = (polys[1] < 0) ^ parity((2*state) & abs(polys[1])) ? 255 : 0;
|
H A D | viterbi29_sse2.c | 47 Branchtab29_sse2[0].c[state] = (polys[0] < 0) ^ parity((2*state) & abs(polys[0])) ? 255 : 0; 48 Branchtab29_sse2[1].c[state] = (polys[1] < 0) ^ parity((2*state) & abs(polys[1])) ? 255 : 0;
|
H A D | vtest615.c | 122 symbols[6*i+0] = addnoise(parity(sr & V615POLYA),gain,Gain,OFFSET,CLIP); 123 symbols[6*i+1] = addnoise(parity(sr & V615POLYB),gain,Gain,OFFSET,CLIP); 124 symbols[6*i+2] = addnoise(parity(sr & V615POLYC),gain,Gain,OFFSET,CLIP); 125 symbols[6*i+3] = addnoise(parity(sr & V615POLYD),gain,Gain,OFFSET,CLIP); 126 symbols[6*i+4] = addnoise(parity(sr & V615POLYE),gain,Gain,OFFSET,CLIP); 127 symbols[6*i+5] = addnoise(parity(sr & V615POLYF),gain,Gain,OFFSET,CLIP);
|
H A D | viterbi39_port.c | 46 Branchtab39[0].c[state] = (polys[0] < 0) ^ parity((2*state) & abs(polys[0])) ? 255 : 0; 47 Branchtab39[1].c[state] = (polys[1] < 0) ^ parity((2*state) & abs(polys[1])) ? 255 : 0; 48 Branchtab39[2].c[state] = (polys[2] < 0) ^ parity((2*state) & abs(polys[2])) ? 255 : 0;
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
H A D | sermsdos.py | 74 parity: enable parity checking 85 parity = PARITY_NONE, 103 if parity == PARITY_NONE: 104 self.parity = 'N' 105 elif parity == PARITY_EVEN: 106 self.parity = 'E' 107 elif parity == PARITY_ODD: 108 self.parity = 'O' 109 elif parity [all...] |
H A D | serialutil.py | 242 parity=PARITY_NONE, # enable parity checking 272 self.parity = parity 367 def setParity(self, parity): 368 """Change parity setting.""" 369 if parity not in self.PARITIES: raise ValueError("Not a valid parity: %r" % (parity,)) 370 self._parity = parity 377 parity = property(getParity, setParity, doc="Parity setting") variable in class:SerialBase [all...] |
/external/libvpx/libvpx/test/ |
H A D | vp9_boolcoder_test.cc | 36 const int parity = i & 1; local 42 (method == 4) ? (parity ? 0 : 255) : 44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : 46 (parity ? rnd(64) : 255 - rnd(64)) : 47 (parity ? rnd(32) : 255 - rnd(32));
|
H A D | vp8_boolcoder_test.cc | 63 const int parity = i & 1; local 69 (method == 4) ? (parity ? 0 : 255) : 71 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : 73 (parity ? rnd(64) : 255 - rnd(64)) : 74 (parity ? rnd(32) : 255 - rnd(32));
|
/external/syslinux/com32/lib/ |
H A D | strspn.c | 24 static size_t strxspn(const char *s, const char *map, int parity) argument 35 if (parity) 39 while (test_bit(matchmap, (unsigned char)*s++) ^ parity)
|
/external/python/cpython2/Demo/turtle/ |
H A D | tdemo_fractalcurves.py | 22 def hilbert(self, size, level, parity): 25 # rotate and draw first subcurve with opposite parity to big curve 26 self.left(parity * 90) 27 self.hilbert(size, level - 1, -parity) 28 # interface to and draw second subcurve with same parity as big curve 30 self.right(parity * 90) 31 self.hilbert(size, level - 1, parity) 34 self.hilbert(size, level - 1, parity) 36 self.right(parity * 90) 38 self.hilbert(size, level - 1, -parity) [all...] |
/external/valgrind/none/tests/x86/ |
H A D | aad_aam.c | 6 int parity(int v) { function 53 if (pf != parity(out&0xff)) { 100 if (pf != parity(out&0xff)) {
|
/external/valgrind/memcheck/tests/ppc32/ |
H A D | power_ISA2_05.c | 10 * the parity instrs 28 int i, parity; local 34 __asm__ volatile ("prtyd %0, %1":"=r" (parity):"r"(long_word)); 35 printf("prtyd (%x) => parity=%x\n", i, parity); 37 __asm__ volatile ("prtyw %0, %1":"=r" (parity):"r"(word)); 38 printf("prtyw (%x) => parity=%x\n", i, parity);
|
/external/valgrind/memcheck/tests/ppc64/ |
H A D | power_ISA2_05.c | 10 * the parity instrs 29 int i, parity; local 34 __asm__ volatile ("prtyd %0, %1":"=r" (parity):"r"(long_word)); 35 printf("prtyd (%x) => parity=%x\n", i, parity); 36 __asm__ volatile ("prtyw %0, %1":"=r" (parity):"r"(word)); 37 printf("prtyw (%x) => parity=%x\n", i, parity);
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
H A D | miniterm.py | 56 --- n e o s m change parity (None, Even, Odd, Space, Mark) 169 def __init__(self, port, baudrate, parity, rtscts, xonxoff, echo=False, convert_outgoing=CONVERT_CRLF, repr_mode=0): 171 self.serial = serial.serial_for_url(port, baudrate, parity=parity, rtscts=rtscts, xonxoff=xonxoff, timeout=1) 175 self.serial = serial.Serial(port, baudrate, parity=parity, rtscts=rtscts, xonxoff=xonxoff, timeout=1) 219 self.serial.parity, 413 elif c in 'eE': # E -> change to even parity 414 self.serial.parity = serial.PARITY_EVEN 416 elif c in 'oO': # O -> change to odd parity [all...] |
/external/iproute2/include/linux/hdlc/ |
H A D | ioctl.h | 23 #define PARITY_NONE 1 /* No parity */ 54 unsigned short parity; member in struct:__anon7884
|
/external/kernel-headers/original/uapi/linux/dvb/ |
H A D | ca.h | 72 unsigned int parity; /* 0 == even, 1 == odd */ member in struct:ca_descr
|
/external/kernel-headers/original/uapi/linux/hdlc/ |
H A D | ioctl.h | 23 #define PARITY_NONE 1 /* No parity */ 54 unsigned short parity; member in struct:__anon8736
|
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_rendertmp.h | 199 GLuint parity = 0; local 204 for (j=start+2;j<count;j++,parity^=1) { 208 ej2 = ELT(j-2+parity); 209 ej1 = ELT(j-1-parity); 213 ej2 = ELT(j-1+parity); 214 ej1 = ELT(j-parity); 232 for (j=start+2; j<count ; j++, parity^=1) { 234 RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) ); 236 RENDER_TRI( ELT(j-1+parity), EL [all...] |