Home
last modified time | relevance | path

Searched refs:bits2 (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DITypBitsetTests.cpp146 Bitset bits2 = bits & Bitset{1 << 0 | 1 << 3 | 1 << 7}; in TEST_F() local
147 ExpectBits(bits2, {7}); in TEST_F()
159 Bitset bits2 = bits | Bitset{1 << 0 | 1 << 3 | 1 << 7}; in TEST_F()
160 ExpectBits(bits2, {0, 1, 2, 3, 7}); in TEST_F()
172 Bitset bits2 = bits ^ Bitset { 1 << 0 | 1 << 3 | 1 << 7 }; in TEST_F()
173 ExpectBits(bits2, {0, 1, 2, 3}); in TEST_F()
/third_party/openssl/crypto/bn/
Dbn_exp2.c20 int i, j, bits, b, bits1, bits2, ret = in BN_mod_exp2_mont() local
40 bits2 = BN_num_bits(p2); in BN_mod_exp2_mont()
41 if ((bits1 == 0) && (bits2 == 0)) { in BN_mod_exp2_mont()
46 bits = (bits1 > bits2) ? bits1 : bits2; in BN_mod_exp2_mont()
66 window2 = BN_window_bits_for_exponent_size(bits2); in BN_mod_exp2_mont()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLBitField.h43 bool areMutuallyExclusive(cl_bitfield bits1, cl_bitfield bits2) const in areMutuallyExclusive() argument
45 return (isSet(bits1) ? 1 : 0) + (isSet(bits2) ? 1 : 0) <= 1; in areMutuallyExclusive()
48 bool areMutuallyExclusive(cl_bitfield bits1, cl_bitfield bits2, cl_bitfield bits3) const in areMutuallyExclusive() argument
50 return (isSet(bits1) ? 1 : 0) + (isSet(bits2) ? 1 : 0) + (isSet(bits3) ? 1 : 0) <= 1; in areMutuallyExclusive()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dbit_stream.cpp446 const std::string bits2 = "10100001010101010000111111111111111111111111111"; in TEST() local
447 writer.WriteStream(bits2); in TEST()
450 EXPECT_EQ(bits1 + bits2, writer.GetStreamRaw()); in TEST()
495 const std::string bits2 = "10100011000010010101"; in TEST() local
496 writer.WriteBitset(StreamToBitset<20>(bits2)); in TEST()
502 const std::string expected = bits1 + bits2 + bits3; in TEST()
609 std::bitset<24> bits2(i); in TEST() local
611 writer1.WriteBitset(bits2); in TEST()
613 writer2.WriteBitset(bits2); in TEST()
858 uint64_t bits1 = 0, bits2 = 0; in TEST() local
[all …]
/third_party/ffmpeg/libavcodec/
Dopus.c569 int bits2[CELT_MAX_BANDS]; in ff_celt_bitalloc() local
700 bits2[i] = high >= CELT_VECTORS ? f->caps[i] : in ff_celt_bitalloc()
705 if (bits2[i]) in ff_celt_bitalloc()
706 bits2[i] = FFMAX(bits2[i] + trim_offset[i], 0); in ff_celt_bitalloc()
710 bits2[i] += boost[i]; in ff_celt_bitalloc()
714 bits2[i] = FFMAX(bits2[i] - bits1[i], 0); in ff_celt_bitalloc()
725 bandbits = bits1[j] + (center * bits2[j] >> CELT_ALLOC_STEPS); in ff_celt_bitalloc()
742 bandbits = bits1[i] + (low * bits2[i] >> CELT_ALLOC_STEPS); in ff_celt_bitalloc()
Daacenc_ltp.c182 int bits1 = 0, bits2 = 0; in ff_aac_search_for_ltp() local
203 bits2 += bits_tmp2; in ff_aac_search_for_ltp()
205 if (dist2 < dist1 && bits2 < bits1) { in ff_aac_search_for_ltp()
210 saved_bits += bits1 - bits2; in ff_aac_search_for_ltp()
Dg723_1dec.c616 int num, denom, gain, bits1, bits2; in gain_scale() local
629 bits2 = ff_g723_1_normalize_bits(denom, 31); in gain_scale()
631 denom <<= bits2; in gain_scale()
633 bits2 = 5 + bits1 - bits2; in gain_scale()
634 bits2 = av_clip_uintp2(bits2, 5); in gain_scale()
637 gain = square_root(gain << 16 >> bits2); in gain_scale()
Daactab.c159 static const uint8_t bits2[81] = { variable
442 bits1, bits2, bits3, bits4, bits5, bits6, bits7, bits8,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferMemoryRequirementsTestsUtils.hpp173 for (const auto& bits2 : flags) in mergeFlags() local
174 bits1.insert(bits2.begin(), bits2.end()); in mergeFlags()
/third_party/libsnd/src/ALAC/
Dalac_encoder.c227 uint32_t bits1, bits2 ; in EncodeStereo() local
319 status = dyn_comp (&agParams, p->mPredictorV, &workBits, numSamples / dilate, chanBits, &bits2) ; in EncodeStereo()
323 if ((bits1 + bits2) < minBits1) in EncodeStereo()
325 minBits1 = bits1 + bits2 ; in EncodeStereo()
383 status = dyn_comp (&agParams, p->mPredictorV, &workBits, numSamples / dilate, chanBits, &bits2) ; in EncodeStereo()
385 if ((bits2 * dilate + 16 * numUV) < minBits2) in EncodeStereo()
387 minBits2 = bits2 * dilate + 16 * numUV ; in EncodeStereo()
470 status = dyn_comp (&agParams, p->mPredictorV, bitstream, numSamples, chanBits, &bits2) ; in EncodeStereo()
508 uint32_t bits1, bits2 ; in EncodeStereoFast() local
632 status = dyn_comp (&agParams, p->mPredictorV, bitstream, numSamples, chanBits, &bits2) ; in EncodeStereoFast()
[all …]
Dalac_decoder.c140 uint32_t bits1, bits2 ; in alac_decode() local
427 status = dyn_decomp (&agParams, bits, p->mPredictor, numSamples, chanBits, &bits2) ; in alac_decode()
478 bits2 = chanBits * numSamples ; in alac_decode()
/third_party/boost/boost/gil/extension/dynamic_image/
Dreduce.hpp215 …lt_type inline apply(const Bits1& bits1, std::size_t index1, const Bits2& bits2, std::size_t index…
216 std::pair<const void*,const void*> pr(&bits1, &bits2);
225 …lt_type inline apply(const Bits1& bits1, std::size_t index1, const Bits2& bits2, std::size_t index… in apply()
226 … return apply_operation_base<Unary1::unique_t,Unary2::unique_t>(bits1, index1, bits2, index2, op); in apply()
245 …lt_type inline apply(const Bits1& bits1, std::size_t index1, const Bits2& bits2, std::size_t index…
246 return impl::apply(bits1,index1,bits2,index2,op);
/third_party/ltp/testcases/kernel/device-drivers/include/
DincludeTest.c285 int bits = 0, bits2 = 0; in test_sunrpc_svc() local
298 hash_mem(name, bits, bits2); in test_sunrpc_svc()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h389 GLuint bits = 0, bits2 = 0; in storedxtencodedblock() local
473 bits2 |= (uint32_t)enc << (2 * (j * 4 + i)); in storedxtencodedblock()
486 *blkaddr++ = bits2 & 0xff; in storedxtencodedblock()
487 *blkaddr++ = ( bits2 >> 8) & 0xff; in storedxtencodedblock()
488 *blkaddr++ = ( bits2 >> 16) & 0xff; in storedxtencodedblock()
489 *blkaddr = bits2 >> 24; in storedxtencodedblock()
/third_party/skia/third_party/externals/angle2/src/common/
Dbitset_utils_unittest.cpp511 std::set<std::size_t> bits2 = {5, 45, 50, 63}; in TYPED_TEST() local
523 for (std::size_t bit : bits2) in TYPED_TEST()