Searched defs:parity (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dvp9_boolcoder_test.cc37 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 Dvp8_boolcoder_test.cc64 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/libvpx/libvpx/test/
H A Dvp9_boolcoder_test.cc37 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 Dvp8_boolcoder_test.cc64 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/valgrind/main/none/tests/x86/
H A Daad_aam.c6 int parity(int v) { function
53 if (pf != parity(out&0xff)) {
100 if (pf != parity(out&0xff)) {
/external/chromium_org/third_party/libsrtp/srtp/test/
H A Dlfsr.c46 parity(uint32_t x) { function
75 if (parity(mask.value & lfsr.value))
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/
H A Dt_dd_dmatmp2.h324 int parity = 0; local
341 for ( i = j ; i+2 < j+nr ; i++, parity^=1 ) {
342 EMIT_ELT( dest, 0, (i+0+parity) );
343 EMIT_ELT( dest, 1, (i+1-parity) );
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Dserialjava.py114 raise ValueError("unsupported parity type: %r" % self._parity)
247 parity=PARITY_EVEN, # enable parity checking variable in class:.Serial
H A Dserialutil.py242 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/mesa3d/src/mesa/tnl_dd/
H A Dt_dd_dmatmp2.h324 int parity = 0; local
341 for ( i = j ; i+2 < j+nr ; i++, parity^=1 ) {
342 EMIT_ELT( dest, 0, (i+0+parity) );
343 EMIT_ELT( dest, 1, (i+1-parity) );
/external/srtp/test/
H A Dlfsr.c11 parity(uint32_t x) { function
40 if (parity(mask.value & lfsr.value))
/external/valgrind/main/memcheck/tests/ppc32/
H A Dpower_ISA2_05.c10 * 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/main/memcheck/tests/ppc64/
H A Dpower_ISA2_05.c10 * 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_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vb_rendertmp.h198 GLuint parity = 0; local
203 for (j=start+2;j<count;j++,parity^=1) {
207 ej2 = ELT(j-2+parity);
208 ej1 = ELT(j-1-parity);
212 ej2 = ELT(j-1+parity);
213 ej1 = ELT(j-parity);
231 for (j=start+2; j<count ; j++, parity^=1) {
233 RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) );
235 RENDER_TRI( ELT(j-1+parity), EL
[all...]
/external/chromium_org/third_party/smhasher/src/
H A DBitvec.cpp112 uint32_t parity ( uint32_t v ) function
/external/iproute2/include/linux/hdlc/
H A Dioctl.h23 #define PARITY_NONE 1 /* No parity */
52 unsigned short parity; member in struct:__anon22264
/external/kernel-headers/original/uapi/linux/dvb/
H A Dca.h72 unsigned int parity; /* 0 == even, 1 == odd */ member in struct:ca_descr
/external/kernel-headers/original/uapi/linux/hdlc/
H A Dioctl.h23 #define PARITY_NONE 1 /* No parity */
54 unsigned short parity; member in struct:__anon23013
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_rendertmp.h198 GLuint parity = 0; local
203 for (j=start+2;j<count;j++,parity^=1) {
207 ej2 = ELT(j-2+parity);
208 ej1 = ELT(j-1-parity);
212 ej2 = ELT(j-1+parity);
213 ej1 = ELT(j-parity);
231 for (j=start+2; j<count ; j++, parity^=1) {
233 RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) );
235 RENDER_TRI( ELT(j-1+parity), EL
[all...]
/external/qemu/include/sysemu/
H A Dchar.h24 int parity; member in struct:__anon29914
/external/chromium_org/v8/src/arm64/
H A Dcodegen-arm64.cc391 MarkingParity* parity) {
394 *parity = NO_MARKING_PARITY;
398 GetCodeAgeAndParity(stub, age, parity);
406 MarkingParity parity) {
412 Code * stub = GetCodeAgeStub(isolate, age, parity);
390 GetCodeAgeAndParity(Isolate* isolate, byte* sequence, Age* age, MarkingParity* parity) argument
403 PatchPlatformCodeAge(Isolate* isolate, byte* sequence, Code::Age age, MarkingParity parity) argument
/external/chromium_org/v8/src/x64/
H A Dcodegen-x64.cc660 MarkingParity* parity) {
663 *parity = NO_MARKING_PARITY;
669 GetCodeAgeAndParity(stub, age, parity);
677 MarkingParity parity) {
683 Code* stub = GetCodeAgeStub(isolate, age, parity);
659 GetCodeAgeAndParity(Isolate* isolate, byte* sequence, Age* age, MarkingParity* parity) argument
674 PatchPlatformCodeAge(Isolate* isolate, byte* sequence, Code::Age age, MarkingParity parity) argument
/external/jemalloc/test/src/
H A DSFMT.c114 /** a parity check vector which certificate the period of 2^{MEXP} */
115 static uint32_t parity[4] = {PARITY1, PARITY2, PARITY3, PARITY4}; variable
390 inner ^= psfmt32[idxof(i)] & parity[i];
402 if ((work & parity[i]) != 0) {
/external/kernel-headers/original/uapi/linux/
H A Dserial.h99 int frame, overrun, parity, brk; member in struct:serial_icounter_struct
/external/chromium_org/v8/src/arm/
H A Dcodegen-arm.cc904 MarkingParity* parity) {
907 *parity = NO_MARKING_PARITY;
912 GetCodeAgeAndParity(stub, age, parity);
920 MarkingParity parity) {
926 Code* stub = GetCodeAgeStub(isolate, age, parity);
903 GetCodeAgeAndParity(Isolate* isolate, byte* sequence, Age* age, MarkingParity* parity) argument
917 PatchPlatformCodeAge(Isolate* isolate, byte* sequence, Code::Age age, MarkingParity parity) argument

Completed in 597 milliseconds

12