Home
last modified time | relevance | path

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

1234567891011

/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 …]
Dm_debug_clip.c85 const GLfloat cw = from[3]; in ref_cliptest_points4() local
87 if ( -cx + cw < 0 ) mask |= CLIP_RIGHT_BIT; in ref_cliptest_points4()
88 if ( cx + cw < 0 ) mask |= CLIP_LEFT_BIT; in ref_cliptest_points4()
89 if ( -cy + cw < 0 ) mask |= CLIP_TOP_BIT; in ref_cliptest_points4()
90 if ( cy + cw < 0 ) mask |= CLIP_BOTTOM_BIT; in ref_cliptest_points4()
92 if ( -cz + cw < 0 ) mask |= CLIP_FAR_BIT; in ref_cliptest_points4()
93 if ( cz + cw < 0 ) mask |= CLIP_NEAR_BIT; in ref_cliptest_points4()
105 GLfloat oow = 1.0F / cw; in ref_cliptest_points4()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java46 ClassWriter cw = new ClassWriter(0); in methods() local
47 cw.visitAnnotation("Ljava/lang/Deprecated;", true); in methods()
48 cw.visit( in methods()
55 cw.visitMethod( in methods()
61 cw.visitMethod( in methods()
67 cw.visitMethod(0, "h", "(I)V", null, null); in methods()
68 byte[] bytes = cw.toByteArray(); in methods()
106 ClassWriter cw = new ClassWriter(0); in annotationDeclaration() local
107 cw.visit( in annotationDeclaration()
114 AnnotationVisitor av = cw.visitAnnotation("Ljava/lang/annotation/Retention;", true); in annotationDeclaration()
[all …]
/external/turbine/javatests/com/google/turbine/deps/
DAbstractTransitiveTest.java184 ClassWriter cw = new ClassWriter(0); in anonymous() local
185 cw.visit(52, Opcodes.ACC_SUPER | Opcodes.ACC_PUBLIC, "a/A", null, "java/lang/Object", null); in anonymous()
186 cw.visitMethod(Opcodes.ACC_PUBLIC, "<init>", "()V", null, null); in anonymous()
187 cw.visitInnerClass("a/A$1", "a/A", null, Opcodes.ACC_STATIC | Opcodes.ACC_SYNTHETIC); in anonymous()
188 cw.visitInnerClass("a/A$I", "a/A", "I", Opcodes.ACC_STATIC); in anonymous()
189 jos.write(cw.toByteArray()); in anonymous()
193 ClassWriter cw = new ClassWriter(0); in anonymous() local
194 cw.visit( in anonymous()
196 cw.visitMethod(Opcodes.ACC_PUBLIC, "<init>", "()V", null, null); in anonymous()
197 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/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/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DResizeInstructionsTest.java62 final ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES); in should_not_loose_InnerClasses_attribute() local
65 cr.accept(new ClassVisitor(InstrSupport.ASM_API_VERSION, cw) { in should_not_loose_InnerClasses_attribute()
78 final byte[] bytes = instrumenter.instrument(cw.toByteArray(), ""); in should_not_loose_InnerClasses_attribute()
100 final ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES) { in should_not_require_computation_of_common_superclass() local
109 cw.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC, className, null, in should_not_require_computation_of_common_superclass()
111 final MethodVisitor mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "m", "()V", in should_not_require_computation_of_common_superclass()
118 cw.visitEnd(); in should_not_require_computation_of_common_superclass()
119 final byte[] original = cw.toByteArray(); in should_not_require_computation_of_common_superclass()
DClassFileVersionsTest.java127 ClassWriter cw = new ClassWriter(0); in createClass() local
130 cw.visit(version, ACC_PUBLIC + ACC_SUPER, "org/jacoco/test/Sample", in createClass()
133 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in createClass()
142 cw.visitEnd(); in createClass()
144 return cw.toByteArray(); in createClass()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/data/
DCRC64Test.java45 final ClassWriter cw = new ClassWriter(0); in createClass() local
46 cw.visit(version, 0, "Foo", null, "java/lang/Object", null); in createClass()
47 cw.visitEnd(); in createClass()
48 cw.toByteArray(); in createClass()
49 return cw.toByteArray(); in createClass()
/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/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/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/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/third_party/libopenjpeg20/
D0019-tcd_init_tile.patch10 + if (l_current_precinct->cw && ((OPJ_UINT32)-1) / l_current_precinct->cw < l_cu…
13 l_nb_code_blocks = l_current_precinct->cw * l_current_precinct->ch;
14 …tderr, "\t\t\t\t precinct_cw = %d x recinct_ch = %d\n",l_current_precinct->cw, l_current_precinct-…
/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/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/pdfium/fxbarcode/datamatrix/
DBC_EdifactEncoder.cpp47 wchar_t cw[kBuflen]; in EncodeToEdifactCodewords() local
48 cw[0] = static_cast<wchar_t>((v >> 16) & 255); in EncodeToEdifactCodewords()
49 cw[1] = static_cast<wchar_t>((v >> 8) & 255); in EncodeToEdifactCodewords()
50 cw[2] = static_cast<wchar_t>(v & 255); in EncodeToEdifactCodewords()
51 return WideString(cw, std::min(len, kBuflen)); in EncodeToEdifactCodewords()
DBC_C40Encoder.cpp39 wchar_t cw[2]; in EncodeToC40Codewords() local
40 cw[0] = static_cast<wchar_t>(v / 256); in EncodeToC40Codewords()
41 cw[1] = static_cast<wchar_t>(v % 256); in EncodeToC40Codewords()
42 return WideString(cw, FX_ArraySize(cw)); in EncodeToC40Codewords()
/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()
/external/syzkaller/vendor/golang.org/x/net/http2/
Dhttp2.go239 func (cw *closeWaiter) Init() {
240 *cw = make(chan struct{})
244 func (cw closeWaiter) Close() {
245 close(cw)
249 func (cw closeWaiter) Wait() {
250 <-cw
/external/jacoco/org.jacoco.core.test/src-java8/org/jacoco/core/test/validation/
DBootstrapMethodReferenceTest.java62 final ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES); in test() local
63 cw.visit(Opcodes.V1_7, Opcodes.ACC_PUBLIC, className, null, in test()
66 final MethodVisitor mv = cw.visitMethod( in test()
81 cw.visitEnd(); in test()
83 final byte[] original = cw.toByteArray(); in test()
/external/guice/core/test/com/google/inject/internal/util/
DLineNumbersTest.java101 org.objectweb.asm.ClassWriter cw = in generate() local
103 cw.visit( in generate()
114 cw.visitMethod(Modifier.PUBLIC, "<init>", sig, null, null); in generate()
127 cw.visitEnd(); in generate()
129 byte[] buf = cw.toByteArray(); in generate()

1234567891011