/aosp_15_r20/external/libnetfilter_conntrack/src/conntrack/ |
H A D | build_mnl.c | 123 if (!(test_bit(ATTR_TCP_STATE, ct->head.set) || in nfct_build_protoinfo() 124 test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) || in nfct_build_protoinfo() 125 test_bit(ATTR_TCP_FLAGS_REPL, ct->head.set) || in nfct_build_protoinfo() 126 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set) || in nfct_build_protoinfo() 127 test_bit(ATTR_TCP_MASK_REPL, ct->head.set) || in nfct_build_protoinfo() 128 test_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set) || in nfct_build_protoinfo() 129 test_bit(ATTR_TCP_WSCALE_REPL, ct->head.set))) { in nfct_build_protoinfo() 134 if (test_bit(ATTR_TCP_STATE, ct->head.set)) { in nfct_build_protoinfo() 138 if (test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) && in nfct_build_protoinfo() 139 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set)) { in nfct_build_protoinfo() [all …]
|
H A D | build.c | 116 if (!(test_bit(ATTR_TCP_STATE, ct->head.set) || in __build_protoinfo() 117 test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) || in __build_protoinfo() 118 test_bit(ATTR_TCP_FLAGS_REPL, ct->head.set) || in __build_protoinfo() 119 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set) || in __build_protoinfo() 120 test_bit(ATTR_TCP_MASK_REPL, ct->head.set) || in __build_protoinfo() 121 test_bit(ATTR_TCP_WSCALE_ORIG, ct->head.set) || in __build_protoinfo() 122 test_bit(ATTR_TCP_WSCALE_REPL, ct->head.set))) { in __build_protoinfo() 127 if (test_bit(ATTR_TCP_STATE, ct->head.set)) in __build_protoinfo() 132 if (test_bit(ATTR_TCP_FLAGS_ORIG, ct->head.set) && in __build_protoinfo() 133 test_bit(ATTR_TCP_MASK_ORIG, ct->head.set)) in __build_protoinfo() [all …]
|
H A D | snprintf_xml.c | 338 if (test_bit(ATTR_ORIG_COUNTER_PACKETS, ct->head.set) && in __snprintf_tuple_xml() 339 test_bit(ATTR_ORIG_COUNTER_BYTES, ct->head.set)) { in __snprintf_tuple_xml() 407 test_bit(ATTR_ORIG_ZONE, ct->head.set)); in __snprintf_conntrack_xml() 411 test_bit(ATTR_REPL_ZONE, ct->head.set)); in __snprintf_conntrack_xml() 414 if (test_bit(ATTR_TCP_STATE, ct->head.set) || in __snprintf_conntrack_xml() 415 test_bit(ATTR_SCTP_STATE, ct->head.set) || in __snprintf_conntrack_xml() 416 test_bit(ATTR_DCCP_STATE, ct->head.set) || in __snprintf_conntrack_xml() 417 test_bit(ATTR_TIMEOUT, ct->head.set) || in __snprintf_conntrack_xml() 418 test_bit(ATTR_MARK, ct->head.set) || in __snprintf_conntrack_xml() 419 test_bit(ATTR_SECMARK, ct->head.set) || in __snprintf_conntrack_xml() [all …]
|
H A D | snprintf_default.c | 379 if (test_bit(ATTR_TIMEOUT, ct->head.set)) { in __snprintf_conntrack_default() 384 if (test_bit(ATTR_TCP_STATE, ct->head.set)) { in __snprintf_conntrack_default() 389 if (test_bit(ATTR_SCTP_STATE, ct->head.set)) { in __snprintf_conntrack_default() 394 if (test_bit(ATTR_DCCP_STATE, ct->head.set)) { in __snprintf_conntrack_default() 406 if (test_bit(ATTR_ORIG_ZONE, ct->head.set)) { in __snprintf_conntrack_default() 411 if (test_bit(ATTR_ORIG_COUNTER_PACKETS, ct->head.set) && in __snprintf_conntrack_default() 412 test_bit(ATTR_ORIG_COUNTER_BYTES, ct->head.set)) { in __snprintf_conntrack_default() 417 if (test_bit(ATTR_STATUS, ct->head.set)) { in __snprintf_conntrack_default() 429 if (test_bit(ATTR_REPL_ZONE, ct->head.set)) { in __snprintf_conntrack_default() 434 if (test_bit(ATTR_REPL_COUNTER_PACKETS, ct->head.set) && in __snprintf_conntrack_default() [all …]
|
H A D | api.c | 476 if (!test_bit(type, ct->head.set)) { in nfct_get_attr() 567 return test_bit(type, ct->head.set); in nfct_attr_is_set() 592 if (!test_bit(type_array[i], ct->head.set)) in nfct_attr_is_set_array() 1225 if (test_bit(i, ct2->head.set)) { in nfct_copy() 1251 if (test_bit(cp_orig_mask[i], ct2->head.set)) { in nfct_copy() 1273 if (test_bit(cp_repl_mask[i], ct2->head.set)) { in nfct_copy() 1283 if (test_bit(i, ct2->head.set)) { in nfct_copy() 1304 if (test_bit(type, ct2->head.set)) { in nfct_copy_attr() 1674 return bit < bits && test_bit(bit, b->bits); in nfct_bitmask_test_bit()
|
H A D | objopt.c | 146 if (!(test_bit(ATTR_STATUS, ct->head.set))) in getobjopt_is_snat() 168 if (!(test_bit(ATTR_STATUS, ct->head.set))) in getobjopt_is_dnat() 190 return ((test_bit(ATTR_STATUS, ct->head.set) ? in getobjopt_is_spat() 198 return ((test_bit(ATTR_STATUS, ct->head.set) ? in getobjopt_is_dpat()
|
/aosp_15_r20/external/libnetfilter_conntrack/src/expect/ |
H A D | build.c | 61 if (test_bit(ATTR_ORIG_L3PROTO, exp->master.set)) in __build_expect() 63 else if (test_bit(ATTR_ORIG_L3PROTO, exp->expected.set)) in __build_expect() 72 if (test_bit(ATTR_EXP_EXPECTED, exp->set)) { in __build_expect() 76 if (test_bit(ATTR_EXP_MASTER, exp->set)) { in __build_expect() 80 if (test_bit(ATTR_EXP_MASK, exp->set)) { in __build_expect() 84 if (test_bit(ATTR_EXP_NAT_TUPLE, exp->set) && in __build_expect() 85 test_bit(ATTR_EXP_NAT_DIR, exp->set)) { in __build_expect() 95 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) in __build_expect() 97 if (test_bit(ATTR_EXP_FLAGS, exp->set)) in __build_expect() 99 if (test_bit(ATTR_EXP_ZONE, exp->set)) in __build_expect() [all …]
|
H A D | build_mnl.c | 18 if (test_bit(ATTR_EXP_EXPECTED, exp->set)) in nfexp_nlmsg_build() 21 if (test_bit(ATTR_EXP_MASTER, exp->set)) in nfexp_nlmsg_build() 24 if (test_bit(ATTR_EXP_MASK, exp->set)) in nfexp_nlmsg_build() 27 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) in nfexp_nlmsg_build() 30 if (test_bit(ATTR_EXP_FLAGS, exp->set)) in nfexp_nlmsg_build() 33 if (test_bit(ATTR_EXP_ZONE, exp->set)) in nfexp_nlmsg_build() 36 if (test_bit(ATTR_EXP_HELPER_NAME, exp->set)) in nfexp_nlmsg_build()
|
H A D | snprintf_default.c | 16 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) in __snprintf_expect_timeout() 26 if (test_bit(ATTR_EXP_CLASS, exp->set)) in __snprintf_expect_class() 94 if (test_bit(ATTR_EXP_ZONE, exp->set)) { in __snprintf_expect_default() 121 if (test_bit(ATTR_EXP_HELPER_NAME, exp->set)) { in __snprintf_expect_default()
|
H A D | compare.c | 21 int a = test_bit(attr, exp1->set); in exp_cmp() 22 int b = test_bit(attr, exp2->set); in exp_cmp() 29 test_bit(attr, exp1->set)) { in exp_cmp()
|
H A D | snprintf_xml.c | 62 if (test_bit(ATTR_EXP_HELPER_NAME, exp->set)) { in snprintf_expect_meta_xml() 68 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) { in snprintf_expect_meta_xml() 73 if (test_bit(ATTR_EXP_CLASS, exp->set)) { in snprintf_expect_meta_xml() 78 if (test_bit(ATTR_EXP_ZONE, exp->set)) { in snprintf_expect_meta_xml()
|
/aosp_15_r20/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | usb_relay_board_base.py | 46 def test_bit(self, int_type, offset): member in UsbRelayBoardBase 70 return self.test_bit(data, 1) 72 return self.test_bit(data, 3) 74 return self.test_bit(data, 5) 76 return self.test_bit(data, 7) 78 return self.test_bit(data, 2) 80 return self.test_bit(data, 4) 82 return self.test_bit(data, 6) 84 return self.test_bit(data, 8)
|
/aosp_15_r20/bootable/recovery/minui/ |
H A D | events.cpp | 66 static bool test_bit(size_t bit, unsigned long* array) { // NOLINT in test_bit() function 81 if (!test_bit(EV_KEY, ev_bits) && !test_bit(EV_REL, ev_bits) && !test_bit(EV_SW, ev_bits)) { in should_add_input_device() 82 if (!allow_touch_inputs || !test_bit(EV_ABS, ev_bits)) { in should_add_input_device() 282 if (!test_bit(EV_SW, ev_bits)) { in ev_sync_sw_state() 290 if (test_bit(code, sw_bits)) { in ev_sync_sw_state() 311 if (!test_bit(EV_KEY, ev_bits)) { in ev_sync_key_state() 319 if (test_bit(code, key_bits)) { in ev_sync_key_state() 341 if (!test_bit(EV_KEY, ev_bits)) { in ev_iterate_available_keys() 350 if (test_bit(key_code, key_bits)) { in ev_iterate_available_keys() 364 if (!test_bit(EV_ABS, ev_bits)) { in ev_iterate_touch_inputs() [all …]
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/elk/ |
H A D | elk_simd_selection.cpp | 45 test_bit(unsigned mask, unsigned bit) { in test_bit() function 206 simd_state.compiled[i] = test_bit(prog_data->prog_mask, i); in elk_simd_select_for_workgroup_size() 207 simd_state.spilled[i] = test_bit(prog_data->prog_spilled, i); in elk_simd_select_for_workgroup_size() 230 test_bit(prog_data->prog_mask, simd)) { in elk_simd_select_for_workgroup_size() 231 elk_simd_mark_compiled(simd_state, simd, test_bit(prog_data->prog_spilled, simd)); in elk_simd_select_for_workgroup_size()
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/ |
H A D | brw_simd_selection.cpp | 53 test_bit(unsigned mask, unsigned bit) { in test_bit() function 246 simd_state.compiled[i] = test_bit(prog_data->prog_mask, i); in brw_simd_select_for_workgroup_size() 247 simd_state.spilled[i] = test_bit(prog_data->prog_spilled, i); in brw_simd_select_for_workgroup_size() 270 test_bit(prog_data->prog_mask, simd)) { in brw_simd_select_for_workgroup_size() 271 brw_simd_mark_compiled(simd_state, simd, test_bit(prog_data->prog_spilled, simd)); in brw_simd_select_for_workgroup_size()
|
/aosp_15_r20/hardware/interfaces/bluetooth/audio/utils/session/ |
H A D | BluetoothAudioSupportedCodecsDB.cpp | 119 uint32_t test_bit = 0x00000001; in IsSingleBit() local 120 while (test_bit <= bitmasks && test_bit <= bitfield) { in IsSingleBit() 121 if (bitfield & test_bit && bitmasks & test_bit) { in IsSingleBit() 125 if (test_bit == 0x80000000) break; in IsSingleBit() 126 test_bit <<= 1; in IsSingleBit()
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_dirty_log_test.c | 135 TEST_ASSERT(test_bit(0, bmap), "Page 0 incorrectly reported clean\n"); in main() 138 TEST_ASSERT(!test_bit(0, bmap), "Page 0 incorrectly reported dirty\n"); in main() 142 TEST_ASSERT(!test_bit(1, bmap), "Page 1 incorrectly reported dirty\n"); in main() 144 TEST_ASSERT(!test_bit(2, bmap), "Page 2 incorrectly reported dirty\n"); in main()
|
/aosp_15_r20/external/autotest/client/site_tests/hardware_Keyboard/src/ |
H A D | evtest.c | 307 #define test_bit(bit, array) ((array[LONG(bit)] >> OFF(bit)) & 1) macro 356 if (test_bit(keycode, bit[EV_KEY])) { in is_key_supported() 377 if (test_bit(EV_KEY, bit[0])) { in do_check_num_keys() 380 if (test_bit(j,bit[EV_KEY])) { in do_check_num_keys() 414 if (test_bit(i, bit[0])) { in do_evtest_dumpall() 420 if (test_bit(j, bit[i])) { in do_evtest_dumpall() 429 (int)test_bit(j, bit[i])); in do_evtest_dumpall()
|
/aosp_15_r20/hardware/interfaces/bluetooth/audio/2.0/vts/functional/ |
H A D | VtsHalBluetoothAudioV2_0TargetTest.cpp | 92 uint32_t test_bit = 0x00000001; in ExtractValuesFromBitmask() local 93 while (test_bit <= static_cast<uint32_t>(bitmasks) && test_bit <= bitfield) { in ExtractValuesFromBitmask() 94 if ((bitfield & test_bit)) { in ExtractValuesFromBitmask() 95 if ((!(bitmasks & test_bit) && !supported) || in ExtractValuesFromBitmask() 96 ((bitmasks & test_bit) && supported)) { in ExtractValuesFromBitmask() 97 retval.push_back(static_cast<T>(test_bit)); in ExtractValuesFromBitmask() 100 if (test_bit == 0x80000000) { in ExtractValuesFromBitmask() 103 test_bit <<= 1; in ExtractValuesFromBitmask()
|
/aosp_15_r20/hardware/interfaces/bluetooth/audio/2.1/vts/functional/ |
H A D | VtsHalBluetoothAudioV2_1TargetTest.cpp | 95 uint32_t test_bit = 0x00000001; in ExtractValuesFromBitmask() local 96 while (test_bit <= static_cast<uint32_t>(bitmasks) && test_bit <= bitfield) { in ExtractValuesFromBitmask() 97 if ((bitfield & test_bit)) { in ExtractValuesFromBitmask() 98 if ((!(bitmasks & test_bit) && !supported) || in ExtractValuesFromBitmask() 99 ((bitmasks & test_bit) && supported)) { in ExtractValuesFromBitmask() 100 retval.push_back(static_cast<T>(test_bit)); in ExtractValuesFromBitmask() 103 if (test_bit == 0x80000000) { in ExtractValuesFromBitmask() 106 test_bit <<= 1; in ExtractValuesFromBitmask()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/stdarch/crates/std_detect/src/detect/ |
H A D | cache.rs | 18 const fn test_bit(x: u64, bit: u32) -> bool { in test_bit() function 47 test_bit(self.0, bit) in test() 105 Some(test_bit(cached as u64, bit)) in test()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/stdarch/crates/std_detect/src/detect/ |
H A D | cache.rs | 18 const fn test_bit(x: u64, bit: u32) -> bool { in test_bit() function 47 test_bit(self.0, bit) in test() 105 Some(test_bit(cached as u64, bit)) in test()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/stdarch/crates/std_detect/src/detect/ |
H A D | cache.rs | 18 const fn test_bit(x: u64, bit: u32) -> bool { in test_bit() function 47 test_bit(self.0, bit) in test() 105 Some(test_bit(cached as u64, bit)) in test()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/stdarch/crates/std_detect/src/detect/ |
H A D | cache.rs | 18 const fn test_bit(x: u64, bit: u32) -> bool { in test_bit() function 47 test_bit(self.0, bit) in test() 105 Some(test_bit(cached as u64, bit)) in test()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/stdarch/crates/std_detect/src/detect/ |
H A D | cache.rs | 18 const fn test_bit(x: u64, bit: u32) -> bool { in test_bit() function 47 test_bit(self.0, bit) in test() 105 Some(test_bit(cached as u64, bit)) in test()
|