Home
last modified time | relevance | path

Searched refs:bv (Results 1 – 25 of 67) sorted by relevance

123

/external/mockito/cglib-and-asm/src/org/mockito/asm/
DAnnotationWriter.java62 private final ByteVector bv; field in AnnotationWriter
103 final ByteVector bv, in AnnotationWriter() argument
109 this.bv = bv; 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 …]
DFieldWriter.java144 ByteVector bv = new ByteVector(); in visitAnnotation() local
146 bv.putShort(cw.newUTF8(desc)).putShort(0); in visitAnnotation()
147 AnnotationWriter aw = new AnnotationWriter(cw, true, bv, bv, 2); in visitAnnotation()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bitvector_test.cc31 static void CheckBV(const BV &bv, const set<uptr> &s) { in CheckBV() argument
33 t.copyFrom(bv); in CheckBV()
35 uptr last_idx = bv.size(); in CheckBV()
37 for (typename BV::Iterator it(bv); it.hasNext();) { in CheckBV()
40 if (last_idx != bv.size()) in CheckBV()
47 last_idx = bv.size(); in CheckBV()
50 if (last_idx != bv.size()) in CheckBV()
59 void Print(const BV &bv) { in Print() argument
61 t.copyFrom(bv); in Print()
78 BV bv, bv1, t_bv; in TestBitVector() local
[all …]
Dsanitizer_bvgraph_test.cc122 BV bv; in RemoveEdges() local
126 bv.clear(); in RemoveEdges()
137 bv.setBit(idx); in RemoveEdges()
141 g.removeEdgesFrom(bv); in RemoveEdges()
147 g.removeEdgesTo(bv); in RemoveEdges()
/external/marisa-trie/v0_1_5/tests/
Dvector-test.cc215 marisa_alpha::BitVector bv; in TestBitVector() local
217 ASSERT(bv.size() == 0); in TestBitVector()
218 ASSERT(bv.empty()); in TestBitVector()
219 ASSERT(bv.total_size() == sizeof(marisa_alpha::UInt32) * 5); in TestBitVector()
226 bv.push_back(bit); in TestBitVector()
228 ASSERT(bv[i] == bits[i]); in TestBitVector()
231 ASSERT(bv.size() == bits.size()); in TestBitVector()
232 ASSERT((size == 0) || !bv.empty()); in TestBitVector()
234 bv.build(); in TestBitVector()
238 ASSERT(bv[i] == bits[i]); in TestBitVector()
[all …]
/external/marisa-trie/tests/
Dvector-test.cc211 marisa::BitVector bv; in TestBitVector() local
213 ASSERT(bv.size() == 0); in TestBitVector()
214 ASSERT(bv.empty()); in TestBitVector()
215 ASSERT(bv.total_size() == sizeof(marisa::UInt32) * 5); in TestBitVector()
222 bv.push_back(bit); in TestBitVector()
224 ASSERT(bv[i] == bits[i]); in TestBitVector()
227 ASSERT(bv.size() == bits.size()); in TestBitVector()
228 ASSERT((size == 0) || !bv.empty()); in TestBitVector()
230 bv.build(); in TestBitVector()
234 ASSERT(bv[i] == bits[i]); in TestBitVector()
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-local-class-names.cpp15 float bv; in FUNC() member
16 SSSS( const float& from): bv(from) { } in FUNC()
39 float bv; in GORF() member
40 SSSS( const float& from): bv(from) { } in GORF()
62 float bv; in OmittingCode() member
63 SSSS(const float& from): bv(from) { } in OmittingCode()
70 float bv; in OmittingCode() member
71 SSSS(const float& from): bv(from) { } in OmittingCode()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVCoordinatesGenerator.java223 BoundingVolume bv = mesh.getBound(); in getBoundingBox() local
224 if (bv instanceof BoundingBox) { in getBoundingBox()
225 return (BoundingBox) bv; in getBoundingBox()
226 } else if (bv instanceof BoundingSphere) { in getBoundingBox()
227 BoundingSphere bs = (BoundingSphere) bv; in getBoundingBox()
231 throw new IllegalStateException("Unknown bounding volume type: " + bv.getClass().getName()); in getBoundingBox()
262 BoundingVolume bv = mesh.getBound(); in getBoundingSphere() local
263 if (bv instanceof BoundingBox) { in getBoundingSphere()
264 BoundingBox bb = (BoundingBox) bv; in getBoundingSphere()
268 } else if (bv instanceof BoundingSphere) { in getBoundingSphere()
[all …]
/external/ltrace/
Dlens_default.c690 } bv; in bitvect_lens_format_cb() local
700 assert(sz <= sizeof(bv)); in bitvect_lens_format_cb()
701 memmove(bv.buf, data, sz); in bitvect_lens_format_cb()
704 bv.u64 = bv.u8; in bitvect_lens_format_cb()
706 bv.u64 = bv.u16; in bitvect_lens_format_cb()
708 bv.u64 = bv.u32; in bitvect_lens_format_cb()
711 buf[i] = bv.u64 & 0xff; in bitvect_lens_format_cb()
712 bv.u64 >>= 8; in bitvect_lens_format_cb()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHTree.java430 private int collideWithBoundingVolume(BoundingVolume bv, in collideWithBoundingVolume() argument
434 if (bv instanceof BoundingSphere) { in collideWithBoundingVolume()
435 BoundingSphere sphere = (BoundingSphere) bv; in collideWithBoundingVolume()
436 bbox = new BoundingBox(bv.getCenter().clone(), sphere.getRadius(), in collideWithBoundingVolume()
439 } else if (bv instanceof BoundingBox) { in collideWithBoundingVolume()
440 bbox = new BoundingBox((BoundingBox) bv); in collideWithBoundingVolume()
446 return root.intersectWhere(bv, bbox, worldMatrix, this, results); in collideWithBoundingVolume()
458 BoundingVolume bv = (BoundingVolume) other; in collideWith() local
459 return collideWithBoundingVolume(bv, worldMatrix, results); in collideWith()
/external/ipsec-tools/src/racoon/
Disakmp_xauth.c807 struct berval **bv = NULL; local
954 bv = ldap_get_values_len(ld, le, xauth_ldap_config.attr_addr->v);
955 if (bv != NULL) {
958 if ((bv[0]->bv_len < 7)||(bv[0]->bv_len > 15)) {
961 ldap_value_free_len(bv);
964 memcpy(tmpaddr,bv[0]->bv_val,bv[0]->bv_len);
965 tmpaddr[bv[0]->bv_len]=0;
970 ldap_value_free_len(bv);
974 bv = ldap_get_values_len(ld, le, xauth_ldap_config.attr_mask->v);
975 if (bv != NULL) {
[all …]
/external/clang/test/OpenMP/
Datomic_read_codegen.c9 _Bool bv, bx; variable
81 bv = bx; in main()
158 bv = ulx; in main()
235 bv = int4x[0]; in main()
Datomic_write_codegen.c9 _Bool bv, bx; variable
81 bx = bv; in main()
175 ulx = bv; in main()
286 int4x[sv] = bv; in main()
Datomic_update_codegen.cpp9 _Bool bv, bx; variable
390 ulx = ulx & bv; in main()
751 int4x[sv] |= bv; in main()
/external/libpcap/
Dpcap-pf.c533 struct bpf_version bv; in pcap_setfilter_pf() local
543 if (ioctl(p->fd, BIOCVERSION, (caddr_t)&bv) >= 0) { in pcap_setfilter_pf()
549 if (bv.bv_major == BPF_MAJOR_VERSION && in pcap_setfilter_pf()
550 bv.bv_minor >= BPF_MINOR_VERSION) { in pcap_setfilter_pf()
598 bv.bv_major, bv.bv_minor); in pcap_setfilter_pf()
/external/sfntly/cpp/src/test/
Dtest_font_utils.cc55 ByteVector bv; in LoadFontUsingByteVector() local
56 LoadFile(font_path, &bv); in LoadFontUsingByteVector()
60 factory->LoadFonts(&bv, fonts); in LoadFontUsingByteVector()
/external/jemalloc/src/
Dstats.c426 bool bv; in stats_print() local
438 CTL_GET("config.debug", &bv, bool); in stats_print()
440 bv ? "enabled" : "disabled"); in stats_print()
443 if (je_mallctl("opt."#n, &bv, &bsz, NULL, 0) == 0) { \ in stats_print()
445 " opt."#n": %s\n", bv ? "true" : "false"); \ in stats_print()
449 if (je_mallctl("opt."#n, &bv, &bsz, NULL, 0) == 0 && \ in stats_print()
452 " opt."#n": %s ("#m": %s)\n", bv ? "true" \ in stats_print()
543 if (je_mallctl("opt.prof", &bv, &bsz, NULL, 0) == 0 && bv) { in stats_print()
/external/clang/test/SemaCXX/
Doverload-call-copycon.cpp28 void test_copycon2(A a, const A ac, B b, B const bc, B volatile bv) { in test_copycon2() argument
31 copycon2(bv); // expected-error{{no matching constructor}} in test_copycon2()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DLodControl.java151 BoundingVolume bv = spatial.getWorldBound(); in controlRender() local
156 float newDistance = bv.distanceTo(vp.getCamera().getLocation()) / ratio; in controlRender()
169 float area = AreaUtils.calcScreenArea(bv, lastDistance, cam.getWidth()); in controlRender()
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
DShadowUtil.java211 public static BoundingBox computeUnionBound(List<BoundingVolume> bv) { in computeUnionBound() argument
213 for (int i = 0; i < bv.size(); i++) { in computeUnionBound()
214 BoundingVolume vol = bv.get(i); in computeUnionBound()
372 BoundingVolume bv = receiver.getWorldBound(); in updateShadowCamera() local
373 BoundingVolume recvBox = bv.transform(viewProjMatrix, null); in updateShadowCamera()
384 BoundingVolume bv = occluder.getWorldBound(); in updateShadowCamera() local
385 BoundingVolume occBox = bv.transform(viewProjMatrix, null); in updateShadowCamera()
/external/jmonkeyengine/engine/src/core/com/jme3/light/
DPointLight.java62 BoundingVolume bv = owner.getWorldBound(); in computeLastDistance() local
63 lastDistance = bv.distanceSquaredTo(position); in computeLastDistance()
DSpotLight.java80 BoundingVolume bv = owner.getWorldBound(); in computeLastDistance() local
81 lastDistance = bv.distanceSquaredTo(position); in computeLastDistance()
/external/jmonkeyengine/engine/src/test/jme3test/collision/
DTestTriangleCollision.java117 BoundingVolume bv = geom1.getWorldBound(); in simpleUpdate() local
118 golem.collideWith(bv, results); in simpleUpdate()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_bitvector.h91 explicit Iterator(const BasicBitVector &bv) : bv_(bv) {} in Iterator() argument
277 explicit Iterator(const TwoLevelBitVector &bv) : bv_(bv), i0_(0), i1_(0) { in Iterator() argument
/external/llvm/test/Transforms/GVN/
Drle-phi-translate.ll29 %bv = load i32, i32* %b_addr.0, align 4
30 ; CHECK: %bv = phi i32
34 %ret = add i32 %cv, %bv

123