Home
last modified time | relevance | path

Searched refs:parity (Results 1 – 25 of 175) sorted by relevance

1234567

/external/chromium-trace/catapult/third_party/pyserial/serial/
Dsermsdos.py85 parity = PARITY_NONE, argument
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 == PARITY_MARK:
110 self.parity = 'M'
111 elif parity == PARITY_SPACE:
[all …]
Dserialutil.py242 parity=PARITY_NONE, # enable parity checking argument
272 self.parity = parity
367 def setParity(self, parity): argument
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 SerialBase
515 self.parity,
/external/fec/
Dencode_rs.h37 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[NROOTS-1] = 0;
Dencode_rs_8.c14 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){ in encode_rs_8() argument
54 encode_rs_8_av(data,parity,pad); in encode_rs_8()
63 encode_rs_8_c(data,parity,pad); in encode_rs_8()
79 static void encode_rs_8_av(data_t *data, data_t *parity,int pad){ in encode_rs_8_av() argument
100 parity[NROOTS-i-1] = shift_register.c[i]; in encode_rs_8_av()
105 static void encode_rs_8_c(data_t *data, data_t *parity,int pad){ in encode_rs_8_c() argument
Dencode_rs_ccsds.c11 void encode_rs_ccsds(data_t *data,data_t *parity,int pad){ in encode_rs_ccsds() argument
19 encode_rs_8(cdata,parity,pad); in encode_rs_ccsds()
23 parity[i] = Taltab[parity[i]]; in encode_rs_ccsds()
Dvtest615.c122 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);
/external/python/cpython3/Lib/turtledemo/
Dfractalcurves.py22 def hilbert(self, size, level, parity): argument
26 self.left(parity * 90)
27 self.hilbert(size, level - 1, -parity)
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)
41 self.left(parity * 90)
/external/python/cpython2/Demo/turtle/
Dtdemo_fractalcurves.py22 def hilbert(self, size, level, parity): argument
26 self.left(parity * 90)
27 self.hilbert(size, level - 1, -parity)
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)
41 self.left(parity * 90)
/external/libvpx/libvpx/test/
Dvp9_boolcoder_test.cc36 const int parity = i & 1; in TEST() local
42 (method == 4) ? (parity ? 0 : 255) : in TEST()
44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : in TEST()
46 (parity ? rnd(64) : 255 - rnd(64)) : in TEST()
47 (parity ? rnd(32) : 255 - rnd(32)); in TEST()
Dvp8_boolcoder_test.cc63 const int parity = i & 1; in TEST() local
69 (method == 4) ? (parity ? 0 : 255) : in TEST()
71 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : in TEST()
73 (parity ? rnd(64) : 255 - rnd(64)) : in TEST()
74 (parity ? rnd(32) : 255 - rnd(32)); in TEST()
/external/libiio/src/
Dserial.c293 enum sp_parity parity, enum sp_flowcontrol flow) in apply_settings() argument
309 ret = libserialport_to_errno(sp_set_parity(port, parity)); in apply_settings()
318 enum sp_parity parity, enum sp_flowcontrol flow) in serial_create_context() argument
340 ret = apply_settings(port, baud_rate, bits, 1, parity, flow); in serial_create_context()
424 enum sp_parity *parity, enum sp_flowcontrol *flow) in serial_parse_params() argument
436 *parity = SP_PARITY_NONE; in serial_parse_params()
440 *parity = SP_PARITY_NONE; in serial_parse_params()
443 *parity = SP_PARITY_ODD; in serial_parse_params()
446 *parity = SP_PARITY_EVEN; in serial_parse_params()
449 *parity = SP_PARITY_MARK; in serial_parse_params()
[all …]
/external/pdfium/fxbarcode/oned/
DBC_OnedEANChecksum.cpp12 size_t parity = 1; in EANCalcChecksum() local
14 if (parity % 2) in EANCalcChecksum()
18 parity++; in EANCalcChecksum()
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dminiterm.py169 …def __init__(self, port, baudrate, parity, rtscts, xonxoff, echo=False, convert_outgoing=CONVERT_C… argument
171 …self.serial = serial.serial_for_url(port, baudrate, parity=parity, rtscts=rtscts, xonxoff=xonxoff,…
175 …self.serial = serial.Serial(port, baudrate, parity=parity, rtscts=rtscts, xonxoff=xonxoff, timeout…
219 self.serial.parity,
414 self.serial.parity = serial.PARITY_EVEN
417 self.serial.parity = serial.PARITY_ODD
420 self.serial.parity = serial.PARITY_MARK
423 self.serial.parity = serial.PARITY_SPACE
426 self.serial.parity = serial.PARITY_NONE
600 options.parity = options.parity.upper()
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vb_rendertmp.h199 GLuint parity = 0; in TAG() local
204 for (j=start+2;j<count;j++,parity^=1) { in TAG()
208 ej2 = ELT(j-2+parity); in TAG()
209 ej1 = ELT(j-1-parity); in TAG()
213 ej2 = ELT(j-1+parity); in TAG()
214 ej1 = ELT(j-parity); in TAG()
232 for (j=start+2; j<count ; j++, parity^=1) { in TAG()
234 RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) ); in TAG()
236 RENDER_TRI( ELT(j-1+parity), ELT(j-parity), ELT(j-2) ); in TAG()
/external/libaom/libaom/test/
Dboolcoder_test.cc37 const int parity = i & 1; in TEST() local
43 (method == 4) ? (parity ? 0 : 255) : in TEST()
45 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : in TEST()
47 (parity ? rnd(64) : 255 - rnd(64)) : in TEST()
48 (parity ? rnd(32) : 255 - rnd(32)); in TEST()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dtessellator.cpp720 int parity = edge&0x1; in QuadGeneratePoints() local
729 if( parity ) in QuadGeneratePoints()
756 int parity[QUAD_AXES] = {edge&0x1,((edge+1)&0x1)}; in QuadGeneratePoints() local
757 int perpendicularAxisPoint = (edge < 2) ? startPoint : endPoint[parity[0]]; in QuadGeneratePoints()
759 SetTessellationParity(processedTessFactors.insideTessFactorParity[parity[0]]); in QuadGeneratePoints()
760 …PlacePointIn1D(processedTessFactors.insideTessFactorCtx[parity[0]],perpendicularAxisPoint,fxpPerpP… in QuadGeneratePoints()
761 SetTessellationParity(processedTessFactors.insideTessFactorParity[parity[1]]); in QuadGeneratePoints()
762 …for(int p = startPoint; p < endPoint[parity[1]]; p++, pointOffset++) // don't include end: next ed… in QuadGeneratePoints()
765 int q = ((edge == 1)||(edge==2)) ? p : endPoint[parity[1]] - (p - startPoint); in QuadGeneratePoints()
766 PlacePointIn1D(processedTessFactors.insideTessFactorCtx[parity[1]],q,fxpParam); in QuadGeneratePoints()
[all …]
/external/mesa3d/src/gallium/auxiliary/tessellator/
Dtessellator.cpp734 int parity = edge&0x1; in QuadGeneratePoints() local
743 if( parity ) in QuadGeneratePoints()
770 int parity[QUAD_AXES] = {edge&0x1,((edge+1)&0x1)}; in QuadGeneratePoints() local
771 int perpendicularAxisPoint = (edge < 2) ? startPoint : endPoint[parity[0]]; in QuadGeneratePoints()
773 SetTessellationParity(processedTessFactors.insideTessFactorParity[parity[0]]); in QuadGeneratePoints()
774 …PlacePointIn1D(processedTessFactors.insideTessFactorCtx[parity[0]],perpendicularAxisPoint,fxpPerpP… in QuadGeneratePoints()
775 SetTessellationParity(processedTessFactors.insideTessFactorParity[parity[1]]); in QuadGeneratePoints()
776 …for(int p = startPoint; p < endPoint[parity[1]]; p++, pointOffset++) // don't include end: next ed… in QuadGeneratePoints()
779 int q = ((edge == 1)||(edge==2)) ? p : endPoint[parity[1]] - (p - startPoint); in QuadGeneratePoints()
780 PlacePointIn1D(processedTessFactors.insideTessFactorCtx[parity[1]],q,fxpParam); in QuadGeneratePoints()
[all …]
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dfunnel-shift2.ll7 ; CHECK: call parity
23 %call = call i64 @parity(i64 %1, i64 %2)
31 declare dso_local i64 @parity(i64, i64)
/external/skia/modules/skparagraph/gm/
Dsimple_gm.cpp143 int parity = 0; in onDraw() local
148 fPara->layout(400 + parity); in onDraw()
149 parity = (parity + 1) & 1; in onDraw()
/external/libcups/templates/ja/
Dchoose-serial.tmpl22 <OPTION VALUE="none" {?parity=none?SELECTED:}>なし
23 <OPTION VALUE="even" {?parity=even?SELECTED:}>偶数
24 <OPTION VALUE="odd" {?parity=odd?SELECTED:}>奇数
/external/llvm-project/pstl/test/std/algorithms/alg.nonmodifying/
Dall_of.pass.cpp45 bool parity; member
48 Parity(bool parity_) : parity(parity_) {} in Parity()
52 return (size_t(value) ^ parity) % 2 == 0; in operator ()()
/external/libcups/templates/ru/
Dchoose-serial.tmpl22 <OPTION VALUE="none" {?parity=none?SELECTED:}>None
23 <OPTION VALUE="even" {?parity=even?SELECTED:}>Even
24 <OPTION VALUE="odd" {?parity=odd?SELECTED:}>Odd
/external/libcups/templates/da/
Dchoose-serial.tmpl22 <OPTION VALUE="none" {?parity=none?SELECTED:}>Ingen
23 <OPTION VALUE="even" {?parity=even?SELECTED:}>Lige
24 <OPTION VALUE="odd" {?parity=odd?SELECTED:}>Ulige
/external/libcups/templates/
Dchoose-serial.tmpl22 <OPTION VALUE="none" {?parity=none?SELECTED:}>None
23 <OPTION VALUE="even" {?parity=even?SELECTED:}>Even
24 <OPTION VALUE="odd" {?parity=odd?SELECTED:}>Odd
/external/libcups/templates/de/
Dchoose-serial.tmpl22 <OPTION VALUE="none" {?parity=none?SELECTED:}>Keine
23 <OPTION VALUE="even" {?parity=even?SELECTED:}>Gerade
24 <OPTION VALUE="odd" {?parity=odd?SELECTED:}>Ungerade

1234567