Home
last modified time | relevance | path

Searched refs:cw (Results 1 – 25 of 172) sorted by relevance

1234567

/external/mesa3d/src/mesa/math/
Dm_clip_tmp.h62 const GLfloat cw = from[3]; in TAG() local
66 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG()
67 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG()
68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG()
69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG()
71 mask |= (((cw < cz) << CLIP_FAR_SHIFT)); in TAG()
72 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT)); in TAG()
76 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG()
77 if ( cx + cw < 0) mask |= CLIP_LEFT_BIT; in TAG()
78 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG()
[all …]
/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java47 ClassWriter cw = new ClassWriter(0); in methods() local
48 cw.visitAnnotation("Ljava/lang/Deprecated;", true); in methods()
49 cw.visit( in methods()
56 cw.visitMethod( in methods()
62 cw.visitMethod( in methods()
68 cw.visitMethod(0, "h", "(I)V", null, null); in methods()
69 byte[] bytes = cw.toByteArray(); in methods()
107 ClassWriter cw = new ClassWriter(0); in annotationDeclaration() local
108 cw.visit( in annotationDeclaration()
115 AnnotationVisitor av = cw.visitAnnotation("Ljava/lang/annotation/Retention;", true); in annotationDeclaration()
[all …]
/external/turbine/javatests/com/google/turbine/deps/
DAbstractTransitiveTest.java182 ClassWriter cw = new ClassWriter(0); in anonymous() local
183 cw.visit(52, Opcodes.ACC_SUPER | Opcodes.ACC_PUBLIC, "a/A", null, "java/lang/Object", null); in anonymous()
184 cw.visitMethod(Opcodes.ACC_PUBLIC, "<init>", "()V", null, null); in anonymous()
185 cw.visitInnerClass("a/A$1", "a/A", null, Opcodes.ACC_STATIC | Opcodes.ACC_SYNTHETIC); in anonymous()
186 cw.visitInnerClass("a/A$I", "a/A", "I", Opcodes.ACC_STATIC); in anonymous()
187 jos.write(cw.toByteArray()); in anonymous()
191 ClassWriter cw = new ClassWriter(0); in anonymous() local
192 cw.visit( in anonymous()
194 cw.visitMethod(Opcodes.ACC_PUBLIC, "<init>", "()V", null, null); in anonymous()
195 cw.visitInnerClass("a/A$1", "a/A", "I", Opcodes.ACC_STATIC | Opcodes.ACC_SYNTHETIC); in anonymous()
[all …]
/external/libevent/test/
Dregress_thread.c77 struct cond_wait *cw = arg; in wake_all_timeout() local
78 EVLOCK_LOCK(cw->lock, 0); in wake_all_timeout()
79 EVTHREAD_COND_BROADCAST(cw->cond); in wake_all_timeout()
80 EVLOCK_UNLOCK(cw->lock, 0); in wake_all_timeout()
87 struct cond_wait *cw = arg; in wake_one_timeout() local
88 EVLOCK_LOCK(cw->lock, 0); in wake_one_timeout()
89 EVTHREAD_COND_SIGNAL(cw->cond); in wake_one_timeout()
90 EVLOCK_UNLOCK(cw->lock, 0); in wake_one_timeout()
101 struct cond_wait cw; in basic_thread() local
106 EVTHREAD_ALLOC_LOCK(cw.lock, 0); in basic_thread()
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DBug62060793TestDataGenerator.java105 ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS); in createClass() local
107 cw.visit( in createClass()
112 cw.visitInnerClass( in createClass()
118 cw.visitInnerClass( in createClass()
125 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in createClass()
133 mv = cw.visitMethod( in createClass()
146 mv = cw.visitMethod( in createClass()
240 mv = cw.visitMethod( in createClass()
284 cw.visitEnd(); in createClass()
286 return cw.toByteArray(); in createClass()
[all …]
/external/python/cpython2/Python/
Dpymath.c22 unsigned short cw; in _Py_get_387controlword() local
23 __asm__ __volatile__ ("fnstcw %0" : "=m" (cw)); in _Py_get_387controlword()
24 return cw; in _Py_get_387controlword()
27 void _Py_set_387controlword(unsigned short cw) { in _Py_set_387controlword() argument
28 __asm__ __volatile__ ("fldcw %0" : : "m" (cw)); in _Py_set_387controlword()
/external/rust/crates/unicode-width/src/
Dlib.rs59 use tables::charwidth as cw;
92 fn width(self) -> Option<usize> { cw::width(self, false) } in width()
95 fn width_cjk(self) -> Option<usize> { cw::width(self, true) } in width_cjk()
124 self.chars().map(|c| cw::width(c, false).unwrap_or(0)).fold(0, Add::add) in width()
129 self.chars().map(|c| cw::width(c, true).unwrap_or(0)).fold(0, Add::add) in width_cjk()
/external/python/cpython3/Python/
Dpymath.c24 unsigned short cw; in _Py_get_387controlword() local
25 __asm__ __volatile__ ("fnstcw %0" : "=m" (cw)); in _Py_get_387controlword()
26 return cw; in _Py_get_387controlword()
29 void _Py_set_387controlword(unsigned short cw) { in _Py_set_387controlword() argument
30 __asm__ __volatile__ ("fldcw %0" : : "m" (cw)); in _Py_set_387controlword()
/external/mockito/src/test/java/org/mockitoutil/
DSimpleClassGenerator.java16 ClassWriter cw = new ClassWriter(0); in makeMarkerInterface() local
17cw.visit(V1_6, ACC_PUBLIC + ACC_ABSTRACT + ACC_INTERFACE, relativePath, null, "java/lang/Object", … in makeMarkerInterface()
18 cw.visitEnd(); in makeMarkerInterface()
20 return cw.toByteArray(); in makeMarkerInterface()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/data/
DCRC64Test.java48 final ClassWriter cw = new ClassWriter(0); in createClass() local
49 cw.visit(version, 0, "Foo", null, "java/lang/Object", null); in createClass()
50 cw.visitEnd(); in createClass()
51 cw.toByteArray(); in createClass()
52 return cw.toByteArray(); in createClass()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/
DResizeInstructionsTest.java65 final ClassWriter cw = new ClassWriter(0); in should_not_loose_InnerClasses_attribute() local
66 cr.accept(new ClassVisitor(InstrSupport.ASM_API_VERSION, cw) { in should_not_loose_InnerClasses_attribute()
79 source = cw.toByteArray(); in should_not_loose_InnerClasses_attribute()
103 final ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES) { in should_not_require_computation_of_common_superclass() local
112 cw.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC, className, null, in should_not_require_computation_of_common_superclass()
114 final MethodVisitor mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "m", "()V", in should_not_require_computation_of_common_superclass()
121 cw.visitEnd(); in should_not_require_computation_of_common_superclass()
122 final byte[] original = cw.toByteArray(); in should_not_require_computation_of_common_superclass()
/external/OpenCL-CTS/test_common/harness/
Drounding_mode.cpp25 #define _FPU_GETCW(cw) __asm__("MRS %0,FPCR" : "=r"(cw)) argument
26 #define _FPU_SETCW(cw) __asm__("MSR FPCR,%0" : : "ri"(cw)) argument
28 #define _FPU_GETCW(cw) __asm__("VMRS %0,FPSCR" : "=r"(cw)) argument
29 #define _FPU_SETCW(cw) __asm__("VMSR FPSCR,%0" : : "ri"(cw)) argument
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DAnalyzerTest.java81 final ClassWriter cw = new ClassWriter(0); in should_ignore_module_info() local
82 cw.visit(Opcodes.V9, Opcodes.ACC_MODULE, "module-info", null, null, in should_ignore_module_info()
84 cw.visitModule("module", 0, null).visitEnd(); in should_ignore_module_info()
85 cw.visitEnd(); in should_ignore_module_info()
86 final byte[] bytes = cw.toByteArray(); in should_ignore_module_info()
95 final ClassWriter cw = new ClassWriter(0); in should_ignore_synthetic_classes() local
96 cw.visit(Opcodes.V1_5, Opcodes.ACC_SYNTHETIC, "Foo", null, in should_ignore_synthetic_classes()
98 cw.visitEnd(); in should_ignore_synthetic_classes()
99 final byte[] bytes = cw.toByteArray(); in should_ignore_synthetic_classes()
121 final ClassWriter cw = new ClassWriter(0); in createClass() local
[all …]
/external/strace/tests-mx32/
Dcount.test56 grep_log ' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep' -cw
57 grep_log ' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep' -cw -O1
58 grep_log '100\.00 +(1\.[01]|0\.99)[^n]*nanosleep' -cw -enanosleep
59 grep_log '100\.00 +(1\.[01]|0\.99)[^n]*nanosleep' -cw -O1 -enanosleep
/external/strace/tests-m32/
Dcount.test56 grep_log ' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep' -cw
57 grep_log ' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep' -cw -O1
58 grep_log '100\.00 +(1\.[01]|0\.99)[^n]*nanosleep' -cw -enanosleep
59 grep_log '100\.00 +(1\.[01]|0\.99)[^n]*nanosleep' -cw -O1 -enanosleep
/external/strace/tests/
Dcount.test56 grep_log ' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep' -cw
57 grep_log ' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep' -cw -O1
58 grep_log '100\.00 +(1\.[01]|0\.99)[^n]*nanosleep' -cw -enanosleep
59 grep_log '100\.00 +(1\.[01]|0\.99)[^n]*nanosleep' -cw -O1 -enanosleep
/external/pdfium/third_party/libopenjpeg20/
D0019-tcd_init_tile.patch9 + if (l_current_precinct->cw && ((OPJ_UINT32)-1) / l_current_precinct->cw < l_cu…
12 l_nb_code_blocks = l_current_precinct->cw * l_current_precinct->ch;
13 …tderr, "\t\t\t\t precinct_cw = %d x recinct_ch = %d\n",l_current_precinct->cw, l_current_precinct-…
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DInjectedClassRuntime.java75 final ClassWriter cw = new ClassWriter(0); in createClass() local
76 cw.visit(Opcodes.V9, Opcodes.ACC_SYNTHETIC | Opcodes.ACC_PUBLIC, in createClass()
78 cw.visitField(Opcodes.ACC_PUBLIC | Opcodes.ACC_STATIC, FIELD_NAME, in createClass()
80 cw.visitEnd(); in createClass()
81 return cw.toByteArray(); in createClass()
/external/python/cpython3/Tools/scripts/
Dbyext.py91 cw = max(minwidth, len(col))
99 cw = max(cw, w)
100 cw = max(cw, len(str(total)))
101 colwidth[col] = cw
/external/python/cpython2/Tools/scripts/
Dbyext.py93 cw = max(minwidth, len(col))
101 cw = max(cw, w)
102 cw = max(cw, len(str(total)))
103 colwidth[col] = cw
/external/libxaac/decoder/
Dixheaacd_rev_vlc.c107 static int ixheaacd_rvlc_decode(short cw, int len, int *found) { in ixheaacd_rvlc_decode() argument
112 if (cw == 0) in ixheaacd_rvlc_decode()
118 switch (cw) { in ixheaacd_rvlc_decode()
130 if (cw == 9) in ixheaacd_rvlc_decode()
136 switch (cw) { in ixheaacd_rvlc_decode()
148 switch (cw) { in ixheaacd_rvlc_decode()
160 switch (cw) { in ixheaacd_rvlc_decode()
175 switch (cw) { in ixheaacd_rvlc_decode()
187 switch (cw) { in ixheaacd_rvlc_decode()
205 static int ixheaacd_rvlc_decode_esc(int cw, int len, int *found) { in ixheaacd_rvlc_decode_esc() argument
[all …]
/external/pdfium/fxbarcode/datamatrix/
DBC_EdifactEncoder.cpp46 wchar_t cw[kBuflen]; in EncodeToEdifactCodewords() local
47 cw[0] = static_cast<wchar_t>((v >> 16) & 255); in EncodeToEdifactCodewords()
48 cw[1] = static_cast<wchar_t>((v >> 8) & 255); in EncodeToEdifactCodewords()
49 cw[2] = static_cast<wchar_t>(v & 255); in EncodeToEdifactCodewords()
50 return WideString(cw, std::min(len, kBuflen)); in EncodeToEdifactCodewords()
/external/llvm-project/compiler-rt/lib/builtins/i386/
Dfp_mode.c19 unsigned short cw; in __fe_getround() local
20 __asm__ __volatile__ ("fnstcw %0" : "=m" (cw)); in __fe_getround()
22 switch (cw & X87_RMODE_MASK) { in __fe_getround()
/external/jacoco/org.jacoco.core.test.validation.java8/src/org/jacoco/core/test/validation/java8/
DBootstrapMethodReferenceTest.java64 final ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES); in test() local
65 cw.visit(Opcodes.V1_7, Opcodes.ACC_PUBLIC, className, null, in test()
68 final MethodVisitor mv = cw.visitMethod( in test()
83 cw.visitEnd(); in test()
85 final byte[] original = cw.toByteArray(); in test()
/external/ltp/testcases/realtime/perf/latency/
Dpthread_cond_many.c81 volatile int *cw; in childfunc() local
84 cw = &child_waiting[myid]; in childfunc()
85 while (*cw == 0) { in childfunc()
87 *cw = 1; in childfunc()
93 *cw = 2; in childfunc()
95 while (*cw == 2) { in childfunc()

1234567