Home
last modified time | relevance | path

Searched refs:set_bit (Results 1 – 25 of 34) sorted by relevance

12

/external/libnetfilter_conntrack/src/conntrack/
Dparse.c29 set_bit(ATTR_ORIG_IPV4_SRC, set); in __parse_ip()
32 set_bit(ATTR_REPL_IPV4_SRC, set); in __parse_ip()
35 set_bit(ATTR_MASTER_IPV4_SRC, set); in __parse_ip()
44 set_bit(ATTR_ORIG_IPV4_DST, set); in __parse_ip()
47 set_bit(ATTR_REPL_IPV4_DST, set); in __parse_ip()
50 set_bit(ATTR_MASTER_IPV4_DST, set); in __parse_ip()
60 set_bit(ATTR_ORIG_IPV6_SRC, set); in __parse_ip()
63 set_bit(ATTR_REPL_IPV6_SRC, set); in __parse_ip()
66 set_bit(ATTR_MASTER_IPV6_SRC, set); in __parse_ip()
76 set_bit(ATTR_ORIG_IPV6_DST, set); in __parse_ip()
[all …]
Dparse_mnl.c58 set_bit(ATTR_ORIG_IPV4_SRC, set); in nfct_parse_ip()
61 set_bit(ATTR_REPL_IPV4_SRC, set); in nfct_parse_ip()
64 set_bit(ATTR_MASTER_IPV4_SRC, set); in nfct_parse_ip()
73 set_bit(ATTR_ORIG_IPV4_DST, set); in nfct_parse_ip()
76 set_bit(ATTR_REPL_IPV4_DST, set); in nfct_parse_ip()
79 set_bit(ATTR_MASTER_IPV4_DST, set); in nfct_parse_ip()
89 set_bit(ATTR_ORIG_IPV6_SRC, set); in nfct_parse_ip()
92 set_bit(ATTR_REPL_IPV6_SRC, set); in nfct_parse_ip()
95 set_bit(ATTR_MASTER_IPV6_SRC, set); in nfct_parse_ip()
105 set_bit(ATTR_ORIG_IPV6_DST, set); in nfct_parse_ip()
[all …]
Dobjopt.c60 set_bit(ATTR_SNAT_IPV4, ct->head.set); in setobjopt_undo_snat()
69 set_bit(ATTR_SNAT_IPV6, ct->head.set); in setobjopt_undo_snat()
83 set_bit(ATTR_DNAT_IPV4, ct->head.set); in setobjopt_undo_dnat()
91 set_bit(ATTR_DNAT_IPV6, ct->head.set); in setobjopt_undo_dnat()
104 set_bit(ATTR_SNAT_PORT, ct->head.set); in setobjopt_undo_spat()
113 set_bit(ATTR_DNAT_PORT, ct->head.set); in setobjopt_undo_dpat()
Dapi.c380 set_bit(type, ct->head.set); in nfct_set_attr_l()
1228 set_bit(i, ct1->head.set); in nfct_copy()
1254 set_bit(cp_orig_mask[i], ct1->head.set); in nfct_copy()
1276 set_bit(cp_repl_mask[i], ct1->head.set); in nfct_copy()
1286 set_bit(i, ct1->head.set); in nfct_copy()
1307 set_bit(type, ct1->head.set); in nfct_copy_attr()
1368 set_bit(type, filter->set); in nfct_filter_add_attr()
1660 set_bit(bit, b->bits); in nfct_bitmask_set_bit()
Dfilter.c17 set_bit(*((int *) value), filter->l4proto_map); in filter_attr_l4proto()
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/devapc/
Ddevapc.c18 uint32_t set_bit; in set_master_transaction() local
25 set_bit = 0x1 << master_set_index; in set_master_transaction()
27 mmio_setbits_32(base, set_bit); in set_master_transaction()
29 mmio_clrbits_32(base, set_bit); in set_master_transaction()
38 uint32_t set_bit; in set_master_domain() local
43 set_bit = domain << (4 * domain_index); in set_master_domain()
46 mmio_clrsetbits_32(base, clr_bit, set_bit); in set_master_domain()
54 uint32_t set_bit; in set_master_domain_remap_infra() local
59 set_bit = domain_infra_view << (domain_emi_view * 3); in set_master_domain_remap_infra()
60 mmio_clrsetbits_32(base, clr_bit, set_bit); in set_master_domain_remap_infra()
[all …]
/external/libnetfilter_conntrack/src/expect/
Dparse.c37 set_bit(ATTR_ORIG_L3PROTO, exp->expected.set); in __parse_expect()
40 set_bit(ATTR_ORIG_L3PROTO, exp->mask.set); in __parse_expect()
43 set_bit(ATTR_ORIG_L3PROTO, exp->master.set); in __parse_expect()
50 set_bit(ATTR_EXP_MASTER, exp->set); in __parse_expect()
57 set_bit(ATTR_EXP_EXPECTED, exp->set); in __parse_expect()
64 set_bit(ATTR_EXP_MASK, exp->set); in __parse_expect()
69 set_bit(ATTR_EXP_TIMEOUT, exp->set); in __parse_expect()
75 set_bit(ATTR_EXP_ZONE, exp->set); in __parse_expect()
80 set_bit(ATTR_EXP_FLAGS, exp->set); in __parse_expect()
85 set_bit(ATTR_EXP_HELPER_NAME, exp->set); in __parse_expect()
[all …]
Dparse_mnl.c60 set_bit(ATTR_ORIG_L3PROTO, exp->expected.set); in nfexp_nlmsg_parse()
64 set_bit(ATTR_EXP_MASTER, exp->set); in nfexp_nlmsg_parse()
68 set_bit(ATTR_ORIG_L3PROTO, exp->mask.set); in nfexp_nlmsg_parse()
72 set_bit(ATTR_EXP_EXPECTED, exp->set); in nfexp_nlmsg_parse()
76 set_bit(ATTR_ORIG_L3PROTO, exp->master.set); in nfexp_nlmsg_parse()
80 set_bit(ATTR_EXP_MASK, exp->set); in nfexp_nlmsg_parse()
84 set_bit(ATTR_EXP_TIMEOUT, exp->set); in nfexp_nlmsg_parse()
89 set_bit(ATTR_EXP_ZONE, exp->set); in nfexp_nlmsg_parse()
94 set_bit(ATTR_EXP_FLAGS, exp->set); in nfexp_nlmsg_parse()
101 set_bit(ATTR_EXP_HELPER_NAME, exp->set); in nfexp_nlmsg_parse()
/external/vixl/src/aarch32/
Doperands-aarch32.cc246 for (uint32_t set_bit = 1 << 3; set_bit != 0; set_bit >>= 1) { in ImmediateVmov() local
248 encoding |= set_bit; in ImmediateVmov()
258 for (uint32_t set_bit = 1 << 7; set_bit != 0; set_bit >>= 1) { in ImmediateVmov() local
260 encoding |= set_bit; in ImmediateVmov()
340 for (uint32_t set_bit = 1 << 7; set_bit != 0; set_bit >>= 1) { in DecodeImmediate() local
342 if ((immediate & set_bit) != 0) { in DecodeImmediate()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dencode_asn1.py276 set_bit = backend._lib.ASN1_BIT_STRING_set_bit
279 res = set_bit(ku, 0, key_usage.digital_signature)
281 res = set_bit(ku, 1, key_usage.content_commitment)
283 res = set_bit(ku, 2, key_usage.key_encipherment)
285 res = set_bit(ku, 3, key_usage.data_encipherment)
287 res = set_bit(ku, 4, key_usage.key_agreement)
289 res = set_bit(ku, 5, key_usage.key_cert_sign)
291 res = set_bit(ku, 6, key_usage.crl_sign)
294 res = set_bit(ku, 7, key_usage.encipher_only)
296 res = set_bit(ku, 8, key_usage.decipher_only)
[all …]
/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages01.c144 set_bit(new_nodes, invalid_node, 1); in test_invalid_nodes()
235 set_bit(sane_old_nodes, node, 1); in setup()
236 set_bit(sane_new_nodes, node, 1); in setup()
Dmigrate_pages03.c71 set_bit(new_nodes[0], nodes[0], 1); in setup()
72 set_bit(new_nodes[1], nodes[1], 1); in setup()
Dmigrate_pages_common.h30 void set_bit(unsigned long *b, unsigned int n, unsigned int v);
Dmigrate_pages_common.c28 void set_bit(unsigned long *b, unsigned int n, unsigned int v) in set_bit() function
Dmigrate_pages02.c90 set_bit(old_nodes, nodes[i], 1); in migrate_to_node()
91 set_bit(new_nodes, node, 1); in migrate_to_node()
/external/rust/crates/bindgen/src/codegen/
Dbitfield_unit.rs37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() function
99 self.set_bit(index + bit_offset, val_bit_is_set); in set()
Dbitfield_unit_tests.rs55 unit.set_bit(i, true); in bitfield_unit_set_bit()
68 unit.set_bit(i, false); in bitfield_unit_set_bit()
/external/libnetfilter_conntrack/include/internal/
Dbitops.h7 static inline void set_bit(int nr, uint32_t *addr) in set_bit() function
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_bitmap.c96 static void set_bit( GLubyte *dest, GLuint bit ) in set_bit() function
145 set_bit(dest, bit ^ 7); in get_bitmap_rect()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_bitmap.c93 static void set_bit( GLubyte *dest, GLuint bit ) in set_bit() function
142 set_bit(dest, bit ^ 7); in get_bitmap_rect()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator_validate.h63 set_bit(unsigned int bit, unsigned long *addr) in set_bit() function
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c45 set_bit((nr) ^ BITOP_LE_SWIZZLE, addr)
54 # define set_bit_le set_bit
/external/crosvm/bit_field/bit_field_derive/
Dbit_field_derive.rs551 pub fn set_bit(&mut self, offset: usize, val: bool) { in get_bits_impl()
588 self.set_bit(i + offset, val_bit_is_set); in get_bits_impl()
702 pub fn set_bit(&mut self, offset: usize, val: bool) { in end_to_end()
731 self.set_bit(i + offset, val_bit_is_set); in end_to_end()
/external/perfetto/src/protozero/protoc_plugin/
Dcppgen_plugin.cc586 auto set_bit = "_has_field_.set(" + std::to_string(field->number()) + ")"; in GenClassDecl() local
593 "n", field->lowercase_name(), "s", set_bit); in GenClassDecl()
602 set_bit); in GenClassDecl()
608 set_bit); in GenClassDecl()
613 "n", field->lowercase_name(), "s", set_bit); in GenClassDecl()
/external/igt-gpu-tools/lib/
Digt_primes.c67 static inline void set_bit(unsigned long nr, unsigned long *addr) in set_bit() function

12