Home
last modified time | relevance | path

Searched refs:match_size (Results 1 – 21 of 21) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt08.c113 const size_t match_size = 1024 - 64 - 112 - 4 - tgt_size - 4; in run() local
115 ((struct xt_entry_target *) (&ipt_entry->elems[0] + match_size)); in run()
119 xt_entry_match->u.user.match_size = (u_int16_t)match_size; in run()
126 (__builtin_offsetof(struct ipt_entry, elems) + match_size); in run()
Dsetsockopt03.c61 p.match.u.match_size = OFFSET_OVERWRITE; in run()
/third_party/iptables/include/linux/netfilter/
Dx_tables.h13 __u16 match_size; member
20 __u16 match_size; member
27 __u16 match_size; member
135 __i += __m->u.match_size) { \
182 (pos)->u.match_size))
/third_party/ltp/include/lapi/
Dip_tables.h15 uint16_t match_size; member
20 uint16_t match_size; member
23 uint16_t match_size; member
/third_party/pcre2/pcre2/src/
Dpcre2_fuzzsupport.c63 size_t match_size; in LLVMFuzzerTestOneInput() local
73 match_size = (size > MAX_MATCH_SIZE)? MAX_MATCH_SIZE : size; in LLVMFuzzerTestOneInput()
205 errorcode = pcre2_match(code, (PCRE2_SPTR)data, (PCRE2_SIZE)match_size, 0, in LLVMFuzzerTestOneInput()
242 (PCRE2_SIZE)match_size, 0, match_options, match_data, match_context, in LLVMFuzzerTestOneInput()
/third_party/gettext/gettext-tools/libgrep/
Dm-regex.c151 size_t *match_size, bool exact) in EGexecute() argument
180 *match_size = len; in EGexecute()
238 *match_size = end - beg; in EGexecute()
Dm-fgrep.c157 size_t *match_size, bool exact) in Fexecute() argument
190 *match_size = len; in Fexecute()
252 *match_size = end - beg; in Fexecute()
Dlibgrep.h40 size_t *match_size, bool exact);
/third_party/iptables/libiptc/
Dlibip4tc.c229 assert(m->u.match_size >= sizeof(STRUCT_ENTRY_MATCH));
230 assert(ALIGN(m->u.match_size) == m->u.match_size);
232 (*off) += m->u.match_size;
Dlibiptc.c1894 if (a->u.match_size != b->u.match_size) in match_different()
1902 for (i = 0; i < a->u.match_size - ALIGN(sizeof(*a)); i++) in match_different()
/third_party/alsa-lib/src/ucm/
Ducm_regex.c57 unsigned int match_size, regmatch_t *match, in set_variables() argument
75 for (i = 1; i < match_size; i++) { in set_variables()
/third_party/iptables/extensions/
Dlibebt_among.c175 memcpy(new_match, *match, (*match)->u.match_size); in bramong_parse()
176 new_match->u.match_size = new_size; in bramong_parse()
/third_party/iptables/iptables/
Dnft-shared.c364 m->u.match_size = mt_len + XT_ALIGN(sizeof(struct xt_entry_match)); in nft_parse_match()
583 match->m->u.match_size = size; in nft_parse_limit()
672 m->u.match_size = size; in nft_rule_to_iptables_command_state()
942 if (m1->u.user.match_size != m2->u.user.match_size) { in compare_matches()
Dxtables-eb.c486 m->m->u.match_size = size; in ebt_load_match()
572 m2 = xtables_calloc(1, newm->m->u.match_size); in ebt_add_match()
573 memcpy(m2, newm->m, newm->m->u.match_size); in ebt_add_match()
Dip6tables.c845 if (e->u.match_size) { in print_match_save()
1040 size += matchp->match->m->u.match_size; in generate_entry()
1049 memcpy(e->elems + size, matchp->match->m, matchp->match->m->u.match_size); in generate_entry()
1050 size += matchp->match->m->u.match_size; in generate_entry()
Diptables.c842 if (e->u.match_size) { in print_match_save()
1036 size += matchp->match->m->u.match_size; in generate_entry()
1045 memcpy(e->elems + size, matchp->match->m, matchp->match->m->u.match_size); in generate_entry()
1046 size += matchp->match->m->u.match_size; in generate_entry()
Dxshared.c155 m->m->u.match_size = size; in command_default()
657 m->m->u.match_size = size; in command_match()
Dnft.c998 info = calloc(1, m->u.match_size); in __add_match()
1002 memcpy(info, m->data, m->u.match_size - sizeof(*m)); in __add_match()
1003 nftnl_expr_set(e, NFTNL_EXPR_MT_INFO, info, m->u.match_size - sizeof(*m)); in __add_match()
Dnft-bridge.c463 match->m->u.match_size = size; in nft_bridge_parse_lookup()
/third_party/gettext/gettext-tools/src/
Dmsggrep.c691 size_t match_size; in is_string_selected() local
696 &match_size, false); in is_string_selected()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c921 const lit_utf8_size_t match_size = ecma_string_get_size (matched_p); in ecma_builtin_replace_substitute() local
922 … const lit_utf8_byte_t *const begin_p = ctx_p->string_p + ctx_p->match_byte_pos + match_size; in ecma_builtin_replace_substitute()