Home
last modified time | relevance | path

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

123456789

/external/perfetto/src/trace_processor/containers/
Dbit_vector_unittest.cc29 BitVector bv(2049, true); in TEST() local
32 ASSERT_TRUE(bv.IsSet(0)); in TEST()
33 ASSERT_TRUE(bv.IsSet(1)); in TEST()
34 ASSERT_TRUE(bv.IsSet(511)); in TEST()
35 ASSERT_TRUE(bv.IsSet(512)); in TEST()
36 ASSERT_TRUE(bv.IsSet(2047)); in TEST()
37 ASSERT_TRUE(bv.IsSet(2048)); in TEST()
41 BitVector bv(2049, false); in TEST() local
44 ASSERT_FALSE(bv.IsSet(0)); in TEST()
45 ASSERT_FALSE(bv.IsSet(1)); in TEST()
[all …]
Dbit_vector_benchmark.cc54 BitVector bv; in BvWithSizeAndSetPercentage() local
57 bv.AppendTrue(); in BvWithSizeAndSetPercentage()
59 bv.AppendFalse(); in BvWithSizeAndSetPercentage()
62 return bv; in BvWithSizeAndSetPercentage()
68 BitVector bv; in BM_BitVectorAppendTrue() local
70 bv.AppendTrue(); in BM_BitVectorAppendTrue()
77 BitVector bv; in BM_BitVectorAppendFalse() local
79 bv.AppendFalse(); in BM_BitVectorAppendFalse()
92 BitVector bv = BvWithSizeAndSetPercentage(size, set_percentage); in BM_BitVectorSet() local
104 bv.Set(row_pool[pool_idx]); in BM_BitVectorSet()
[all …]
Dbit_vector_iterators.cc23 BaseIterator::BaseIterator(BitVector* bv) : bv_(bv) { in BaseIterator() argument
24 size_ = bv->size(); in BaseIterator()
69 AllBitsIterator::AllBitsIterator(const BitVector* bv) in AllBitsIterator() argument
70 : BaseIterator(const_cast<BitVector*>(bv)) {} in AllBitsIterator()
72 SetBitsIterator::SetBitsIterator(const BitVector* bv) in SetBitsIterator() argument
73 : BaseIterator(const_cast<BitVector*>(bv)) { in SetBitsIterator()
74 set_bit_count_ = bv->GetNumBitsSet(); in SetBitsIterator()
97 addr.block_idx == bv().counts_.size() - 1 in ReadSetBitBatch()
99 : bv().counts_[addr.block_idx + 1]; in ReadSetBitBatch()
113 const auto& block = bv().blocks_[addr.block_idx]; in ReadSetBitBatch()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bitvector_test.cpp31 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()
83 BV bv, bv1, t_bv; in TestBitVector() local
[all …]
/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 …]
/external/marisa-trie/tests/
Dvector-test.cc356 marisa::grimoire::BitVector bv; in TestBitVector() local
358 ASSERT(bv.size() == 0); in TestBitVector()
359 ASSERT(bv.empty()); in TestBitVector()
360 ASSERT(bv.total_size() == 0); in TestBitVector()
361 ASSERT(bv.io_size() == sizeof(marisa::UInt64) * 5); in TestBitVector()
368 bv.push_back(bit); in TestBitVector()
370 ASSERT(bv[i] == bits[i]); in TestBitVector()
373 ASSERT(bv.size() == bits.size()); in TestBitVector()
374 ASSERT((size == 0) || !bv.empty()); in TestBitVector()
376 bv.build(true, true); in TestBitVector()
[all …]
/external/oboe/docs/reference/
Djquery.js16bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2… argument
23 …;e=bv}e("parentNode",bR,bS,bT,bU,bV)},"~":function(bT,bR,bV){var bU,bS=bI++,e=bN;if(typeof bR==="s… argument
/external/tinyxml2/docs/
Djquery.js16bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2… argument
23 …;e=bv}e("parentNode",bR,bS,bT,bU,bV)},"~":function(bT,bR,bV){var bU,bS=bI++,e=bN;if(typeof bR==="s… function
/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/llvm-project/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/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.int8.frag67 bvec2 bv;
106 i8v = i8vec2(bv); // bool -> int8
107 u8v = u8vec2(bv); // bool -> uint8
108 bv = bvec2(i8v); // int8 -> bool
109 bv = bvec2(u8v); // uint8 -> bool
176 bvec3 bv;
227 bv = lessThan(u8v, u8vec3(u8));
228 bv.xy = lessThan(i8v, i8vec2(i8));
231 bv = lessThanEqual(u8v, u8vec3(u8));
232 bv.xy = lessThanEqual(i8v, i8vec2(i8));
[all …]
Dspv.int16.frag67 bvec2 bv;
106 i16v = i16vec2(bv); // bool -> int16
107 u16v = u16vec2(bv); // bool -> uint16
108 bv = bvec2(i16v); // int16 -> bool
109 bv = bvec2(u16v); // uint16 -> bool
175 bvec3 bv;
225 bv = lessThan(u16v, u16vec3(u16));
226 bv.xy = lessThan(i16v, i16vec2(i16));
229 bv = lessThanEqual(u16v, u16vec3(u16));
230 bv.xy = lessThanEqual(i16v, i16vec2(i16));
[all …]
Dspv.vulkan110.int16.frag67 bvec2 bv;
106 i16v = i16vec2(bv); // bool -> int16
107 u16v = u16vec2(bv); // bool -> uint16
108 bv = bvec2(i16v); // int16 -> bool
109 bv = bvec2(u16v); // uint16 -> bool
175 bvec3 bv;
225 bv = lessThan(u16v, u16vec3(u16));
226 bv.xy = lessThan(i16v, i16vec2(i16));
229 bv = lessThanEqual(u16v, u16vec3(u16));
230 bv.xy = lessThanEqual(i16v, i16vec2(i16));
[all …]
Dspv.int64.frag44 bvec2 bv;
53 i64v = i64vec2(bv); // bool -> int64
54 u64v = u64vec2(bv); // bool -> uint64
74 bv = bvec2(i64v); // int64 -> bool
75 bv = bvec2(u64v); // uint64 -> bool
149 bvec3 bv;
209 bv = lessThan(u64v, u64vec3(u64));
210 bv.xy = lessThan(i64v, i64vec2(i64));
213 bv = lessThanEqual(u64v, u64vec3(u64));
214 bv.xy = lessThanEqual(i64v, i64vec2(i64));
[all …]
Dspv.int32.frag68 bvec2 bv;
104 i32v = i32vec2(bv); // bool -> int32
105 u32v = u32vec2(bv); // bool -> uint32
106 bv = bvec2(i32v); // int32 -> bool
107 bv = bvec2(u32v); // uint32 -> bool
174 bvec3 bv;
224 bv = lessThan(u32v, u32vec3(u32));
225 bv.xy = lessThan(i32v, i32vec2(i32));
228 bv = lessThanEqual(u32v, u32vec3(u32));
229 bv.xy = lessThanEqual(i32v, i32vec2(i32));
[all …]
Dspv.int16.amd.frag101 bvec2 bv;
113 i16v = i16vec2(bv); // bool -> int16
114 u16v = u16vec2(bv); // bool -> uint16
115 bv = bvec2(i16v); // int16 -> bool
116 bv = bvec2(u16v); // uint16 -> bool
162 bvec3 bv;
241 bv = lessThan(u16v, u16vec3(u16));
242 bv.xy = lessThan(i16v, i16vec2(i16));
245 bv = lessThanEqual(u16v, u16vec3(u16));
246 bv.xy = lessThanEqual(i16v, i16vec2(i16));
[all …]
/external/deqp-deps/glslang/Test/
Dspv.int8.frag67 bvec2 bv;
106 i8v = i8vec2(bv); // bool -> int8
107 u8v = u8vec2(bv); // bool -> uint8
108 bv = bvec2(i8v); // int8 -> bool
109 bv = bvec2(u8v); // uint8 -> bool
176 bvec3 bv;
227 bv = lessThan(u8v, u8vec3(u8));
228 bv.xy = lessThan(i8v, i8vec2(i8));
231 bv = lessThanEqual(u8v, u8vec3(u8));
232 bv.xy = lessThanEqual(i8v, i8vec2(i8));
[all …]
Dspv.int64.frag44 bvec2 bv;
53 i64v = i64vec2(bv); // bool -> int64
54 u64v = u64vec2(bv); // bool -> uint64
74 bv = bvec2(i64v); // int64 -> bool
75 bv = bvec2(u64v); // uint64 -> bool
149 bvec3 bv;
209 bv = lessThan(u64v, u64vec3(u64));
210 bv.xy = lessThan(i64v, i64vec2(i64));
213 bv = lessThanEqual(u64v, u64vec3(u64));
214 bv.xy = lessThanEqual(i64v, i64vec2(i64));
[all …]
Dspv.int16.frag67 bvec2 bv;
106 i16v = i16vec2(bv); // bool -> int16
107 u16v = u16vec2(bv); // bool -> uint16
108 bv = bvec2(i16v); // int16 -> bool
109 bv = bvec2(u16v); // uint16 -> bool
175 bvec3 bv;
225 bv = lessThan(u16v, u16vec3(u16));
226 bv.xy = lessThan(i16v, i16vec2(i16));
229 bv = lessThanEqual(u16v, u16vec3(u16));
230 bv.xy = lessThanEqual(i16v, i16vec2(i16));
[all …]
Dspv.int32.frag68 bvec2 bv;
104 i32v = i32vec2(bv); // bool -> int32
105 u32v = u32vec2(bv); // bool -> uint32
106 bv = bvec2(i32v); // int32 -> bool
107 bv = bvec2(u32v); // uint32 -> bool
174 bvec3 bv;
224 bv = lessThan(u32v, u32vec3(u32));
225 bv.xy = lessThan(i32v, i32vec2(i32));
228 bv = lessThanEqual(u32v, u32vec3(u32));
229 bv.xy = lessThanEqual(i32v, i32vec2(i32));
[all …]
Dspv.vulkan110.int16.frag67 bvec2 bv;
106 i16v = i16vec2(bv); // bool -> int16
107 u16v = u16vec2(bv); // bool -> uint16
108 bv = bvec2(i16v); // int16 -> bool
109 bv = bvec2(u16v); // uint16 -> bool
175 bvec3 bv;
225 bv = lessThan(u16v, u16vec3(u16));
226 bv.xy = lessThan(i16v, i16vec2(i16));
229 bv = lessThanEqual(u16v, u16vec3(u16));
230 bv.xy = lessThanEqual(i16v, i16vec2(i16));
[all …]
Dspv.int16.amd.frag101 bvec2 bv;
113 i16v = i16vec2(bv); // bool -> int16
114 u16v = u16vec2(bv); // bool -> uint16
115 bv = bvec2(i16v); // int16 -> bool
116 bv = bvec2(u16v); // uint16 -> bool
162 bvec3 bv;
241 bv = lessThan(u16v, u16vec3(u16));
242 bv.xy = lessThan(i16v, i16vec2(i16));
245 bv = lessThanEqual(u16v, u16vec3(u16));
246 bv.xy = lessThanEqual(i16v, i16vec2(i16));
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStackColoring.h59 BitVector bv; member
61 void SetMaximum(int size) { bv.resize(size); } in SetMaximum()
62 void AddRange(unsigned start, unsigned end) { bv.set(start, end); } in AddRange()
65 return bv.anyCommon(Other.bv); in Overlaps()
68 void Join(const LiveRange &Other) { bv |= Other.bv; } in Join()
158 return OS << R.bv;
/external/llvm/lib/CodeGen/
DSafeStackColoring.h50 BitVector bv; member
51 void SetMaximum(int size) { bv.resize(size); } in SetMaximum()
52 void AddRange(unsigned start, unsigned end) { bv.set(start, end); } in AddRange()
54 return bv.anyCommon(Other.bv); in Overlaps()
56 void Join(const LiveRange &Other) { bv |= Other.bv; } in Join()
143 return OS << R.bv;
/external/libaom/libaom/examples/
Dlightfield_encoder.c139 int bu, bv; in pass0() local
156 for (bv = 0; bv < v_blocks; ++bv) { in pass0()
159 const int block_v_min = bv * lf_blocksize; in pass0()
161 int block_v_end = (bv + 1) * lf_blocksize; in pass0()
193 for (bv = 0; bv < v_blocks; ++bv) { in pass0()
196 const int block_v_min = bv * lf_blocksize; in pass0()
198 int block_v_end = (bv + 1) * lf_blocksize; in pass0()
246 int bu, bv; in pass1() local
308 for (bv = 0; bv < v_blocks; ++bv) { in pass1()
311 const int block_v_min = bv * lf_blocksize; in pass1()
[all …]

123456789