Home
last modified time | relevance | path

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

1234

/external/mockito/cglib-and-asm/src/org/mockito/asm/
DFieldWriter.java47 private final ClassWriter cw; field in FieldWriter
108 final ClassWriter cw, in FieldWriter() argument
115 if (cw.firstField == null) { in FieldWriter()
116 cw.firstField = this; in FieldWriter()
118 cw.lastField.next = this; in FieldWriter()
120 cw.lastField = this; in FieldWriter()
121 this.cw = cw; in FieldWriter()
123 this.name = cw.newUTF8(name); in FieldWriter()
124 this.desc = cw.newUTF8(desc); in FieldWriter()
126 this.signature = cw.newUTF8(signature); in FieldWriter()
[all …]
DAnnotationWriter.java43 private final ClassWriter cw; field in AnnotationWriter
101 final ClassWriter cw, in AnnotationWriter() argument
107 this.cw = cw; in AnnotationWriter()
121 bv.putShort(cw.newUTF8(name)); in visit()
124 bv.put12('s', cw.newUTF8((String) value)); in visit()
126 bv.put12('B', cw.newInteger(((Byte) value).byteValue()).index); in visit()
129 bv.put12('Z', cw.newInteger(v).index); in visit()
131 bv.put12('C', cw.newInteger(((Character) value).charValue()).index); in visit()
133 bv.put12('S', cw.newInteger(((Short) value).shortValue()).index); in visit()
135 bv.put12('c', cw.newUTF8(((Type) value).getDescriptor())); in visit()
[all …]
DFrame.java590 private void push(final ClassWriter cw, final String desc) { in push() argument
591 int type = type(cw, desc); in push()
607 private static int type(final ClassWriter cw, final String desc) { in type() argument
628 return OBJECT | cw.addType(t); in type()
666 data = OBJECT | cw.addType(t); in type()
751 private int init(final ClassWriter cw, final int t) { in init() argument
754 s = OBJECT | cw.addType(cw.thisName); in init()
756 String type = cw.typeTable[t & BASE_VALUE].strVal1; in init()
757 s = OBJECT | cw.addType(type); in init()
787 final ClassWriter cw, in initInputFrame() argument
[all …]
DMethodWriter.java127 final ClassWriter cw; field in MethodWriter
412 final ClassWriter cw, in MethodWriter() argument
421 if (cw.firstMethod == null) { in MethodWriter()
422 cw.firstMethod = this; in MethodWriter()
424 cw.lastMethod.next = this; in MethodWriter()
426 cw.lastMethod = this; in MethodWriter()
427 this.cw = cw; in MethodWriter()
429 this.name = cw.newUTF8(name); in MethodWriter()
430 this.desc = cw.newUTF8(desc); in MethodWriter()
439 this.exceptions[i] = cw.newClass(exceptions[i]); in MethodWriter()
[all …]
DAttribute.java154 final ClassWriter cw, in write() argument
202 final ClassWriter cw, in getSize() argument
211 cw.newUTF8(attr.type); in getSize()
212 size += attr.write(cw, code, len, maxStack, maxLocals).length + 6; in getSize()
239 final ClassWriter cw, in put() argument
248 ByteVector b = attr.write(cw, code, len, maxStack, maxLocals); in put()
249 out.putShort(cw.newUTF8(attr.type)).putInt(b.length); in put()
/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/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
DClassLoaderLocalMap.java155 ClassWriter cw = new ClassWriter(0); in buildHolderByteCode() local
158 cw.visit(V1_2, ACC_PUBLIC + ACC_SUPER, holderClassName, null, "java/lang/Object", null); in buildHolderByteCode()
161 cw.visitField( in buildHolderByteCode()
170 mv = cw.visitMethod(ACC_STATIC, "<clinit>", "()V", null, null); in buildHolderByteCode()
181 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in buildHolderByteCode()
189 cw.visitEnd(); in buildHolderByteCode()
190 return cw.toByteArray(); in buildHolderByteCode()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DDefaultGeneratorStrategy.java24 ClassWriter cw = getClassWriter(); in generate() local
25 transform(cg).generateClass(cw); in generate()
26 return transform(cw.toByteArray()); in generate()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DClassFileVersionsTest.java121 ClassWriter cw = new ClassWriter(0); in createClass() local
124 cw.visit(version, ACC_PUBLIC + ACC_SUPER, "org/jacoco/test/Sample", in createClass()
127 mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null); in createClass()
136 cw.visitEnd(); in createClass()
138 return cw.toByteArray(); in createClass()
DFramesTest.java91 ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
94 rc.accept(new ClassVisitor(JaCoCo.ASM_API_VERSION, cw) {
103 return cw.toByteArray();
/external/guice/core/test/com/google/inject/internal/util/
DLineNumbersTest.java92 org.objectweb.asm.ClassWriter cw = in generate() local
94 cw.visit(org.objectweb.asm.Opcodes.V1_5, in generate()
100 … org.objectweb.asm.MethodVisitor mv = cw.visitMethod(Modifier.PUBLIC, "<init>", sig, null, null); in generate()
110 cw.visitEnd(); in generate()
112 byte[] buf = cw.toByteArray(); in generate()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Dcwutil8 cw = boto.connect_cloudwatch() variable
30 for m in cw.list_metrics():
64 …for m in cw.get_metric_statistics(int(period), start_time, end_time, metric_name, namespace, stati…
87 print cw.put_metric_data(namespace, simplify(metric_name.split(';')),
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_rss.c150 int cw, ccw; in emit_rss() local
158 cw = 1; in emit_rss()
162 cw = 0; in emit_rss()
170 EMIT_RS( svga, curr->stencil[cw].func, STENCILFUNC, fail ); in emit_rss()
171 EMIT_RS( svga, curr->stencil[cw].fail, STENCILFAIL, fail ); in emit_rss()
172 EMIT_RS( svga, curr->stencil[cw].zfail, STENCILZFAIL, fail ); in emit_rss()
173 EMIT_RS( svga, curr->stencil[cw].pass, STENCILPASS, fail ); in emit_rss()
/external/fio/
Dgfio.c499 struct connection_widgets *cw = data; in hostname_cb() local
509 ctext = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(cw->combo)); in hostname_cb()
515 text = gtk_entry_get_text(GTK_ENTRY(cw->hentry)); in hostname_cb()
523 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cw->button), 1); in hostname_cb()
524 gtk_widget_set_sensitive(cw->button, 1); in hostname_cb()
526 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cw->button), 0); in hostname_cb()
527 gtk_widget_set_sensitive(cw->button, 0); in hostname_cb()
534 struct connection_widgets cw; in get_connection_details() local
556 cw.hentry = gtk_entry_new(); in get_connection_details()
557 gtk_entry_set_text(GTK_ENTRY(cw.hentry), "localhost"); in get_connection_details()
[all …]
/external/strace/tests/
Dcount.test53 grep_log ' *[^ ]+ +(1\.0|0\.99)[^n]*nanosleep' -cw sleep 1
54 grep_log '100\.00 +(1\.0|0\.99)[^n]*nanosleep' -cw -enanosleep sleep 1
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java570 private void checkAllocWeights(CollationWeights cw, long lowerLimit, long upperLimit, in checkAllocWeights() argument
573 if (!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
583 long w = cw.nextWeight(); in checkAllocWeights()
619 CollationWeights cw = new CollationWeights(); in TestCollationWeights() local
623 cw.initForPrimary(false); in TestCollationWeights()
625 checkAllocWeights(cw, 0x10000000L, 0x13000000L, 255, 1, 1); in TestCollationWeights()
626 checkAllocWeights(cw, 0x10000000L, 0x13000000L, 255, 2, 254); in TestCollationWeights()
628 checkAllocWeights(cw, 0x10fefe40L, 0x12030300L, 260, 2, 255); in TestCollationWeights()
630 checkAllocWeights(cw, 0x10fefe40L, 0x12030300L, 600, 2, 254); in TestCollationWeights()
636 checkAllocWeights(cw, 0x10fffe00L, 0x12020300L, 1 + 64516 + 254 + 1, 3, 64516); in TestCollationWeights()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java574 private void checkAllocWeights(CollationWeights cw, long lowerLimit, long upperLimit, in checkAllocWeights() argument
577 if (!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
587 long w = cw.nextWeight(); in checkAllocWeights()
623 CollationWeights cw = new CollationWeights(); in TestCollationWeights() local
627 cw.initForPrimary(false); in TestCollationWeights()
629 checkAllocWeights(cw, 0x10000000L, 0x13000000L, 255, 1, 1); in TestCollationWeights()
630 checkAllocWeights(cw, 0x10000000L, 0x13000000L, 255, 2, 254); in TestCollationWeights()
632 checkAllocWeights(cw, 0x10fefe40L, 0x12030300L, 260, 2, 255); in TestCollationWeights()
634 checkAllocWeights(cw, 0x10fefe40L, 0x12030300L, 600, 2, 254); in TestCollationWeights()
640 checkAllocWeights(cw, 0x10fffe00L, 0x12020300L, 1 + 64516 + 254 + 1, 3, 64516); in TestCollationWeights()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp81 void checkAllocWeights(CollationWeights &cw,
504 void CollationTest::checkAllocWeights(CollationWeights &cw, in checkAllocWeights() argument
507 if(!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
515 uint32_t w = cw.nextWeight(); in checkAllocWeights()
540 CollationWeights cw; in TestCollationWeights() local
544 cw.initForPrimary(FALSE); in TestCollationWeights()
546 checkAllocWeights(cw, 0x10000000, 0x13000000, 255, 1, 1); in TestCollationWeights()
547 checkAllocWeights(cw, 0x10000000, 0x13000000, 255, 2, 254); in TestCollationWeights()
549 checkAllocWeights(cw, 0x10fefe40, 0x12030300, 260, 2, 255); in TestCollationWeights()
551 checkAllocWeights(cw, 0x10fefe40, 0x12030300, 600, 2, 254); in TestCollationWeights()
[all …]
/external/opencv3/3rdparty/libwebp/dec/
Dbuffer.c146 const int cw = options->crop_width; in WebPAllocateDecBuffer() local
150 if (x < 0 || y < 0 || cw <= 0 || ch <= 0 || x + cw > w || y + ch > h) { in WebPAllocateDecBuffer()
153 w = cw; in WebPAllocateDecBuffer()
/external/autotest/client/virt/
Dppm_utils.py143 (cw, ch, cdata) = image_crop(width, height, data, x1, y1, dx, dy)
146 image_write_to_ppm_file(cropped_image_filename, cw, ch, cdata)
147 return image_md5sum(cw, ch, cdata)
/external/webp/src/dec/
Dbuffer.c181 const int cw = options->crop_width; in WebPAllocateDecBuffer() local
185 if (x < 0 || y < 0 || cw <= 0 || ch <= 0 || x + cw > w || y + ch > h) { in WebPAllocateDecBuffer()
188 w = cw; in WebPAllocateDecBuffer()
/external/llvm/test/CodeGen/ARM/
Dcarry.ll32 %cw = add i64 %aw, %bw
34 %ch = lshr i64 %cw, 32
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.c233 GLint cx, cy, cw, ch; in intelClearWithBlit() local
256 cw = fb->_Xmax - fb->_Xmin; in intelClearWithBlit()
259 if (cw == 0 || ch == 0) in intelClearWithBlit()
290 x2 = cx + cw + irb->draw_x; in intelClearWithBlit()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_blit.c233 GLint cx, cy, cw, ch; in intelClearWithBlit() local
256 cw = fb->_Xmax - fb->_Xmin; in intelClearWithBlit()
259 if (cw == 0 || ch == 0) in intelClearWithBlit()
290 x2 = cx + cw + irb->draw_x; in intelClearWithBlit()

1234