Home
last modified time | relevance | path

Searched refs:patlen (Results 1 – 25 of 32) sorted by relevance

12

/external/libedit/src/
Dsearch.c74 el->el_search.patlen = 0; in search_init()
179 el->el_search.patlen = in c_setpat()
181 if (el->el_search.patlen >= EL_BUFSIZ) in c_setpat()
182 el->el_search.patlen = EL_BUFSIZ - 1; in c_setpat()
183 if (el->el_search.patlen != 0) { in c_setpat()
185 el->el_search.patlen); in c_setpat()
186 el->el_search.patbuf[el->el_search.patlen] = '\0'; in c_setpat()
188 el->el_search.patlen = Strlen(el->el_search.patbuf); in c_setpat()
193 (void) fprintf(el->el_errfile, "patlen = %d\n", el->el_search.patlen); in c_setpat()
219 size_t oldpatlen = el->el_search.patlen; in ce_inc_search()
[all …]
Dsearch.h47 size_t patlen; /* Length of the pattern buffer */ member
Demacs.c470 el->el_search.patlen = 0; in em_inc_search_next()
483 el->el_search.patlen = 0; in em_inc_search_prev()
Dvi.c693 if (el->el_search.patlen == 0) in vi_repeat_search_next()
709 if (el->el_search.patlen == 0) in vi_repeat_search_prev()
/external/iw/
Dcoalesce.c25 size_t patlen; in handle_coalesce_enable() local
118 if (parse_hex_mask(value2, &pat, &patlen, &mask)) in handle_coalesce_enable()
123 DIV_ROUND_UP(patlen, 8), mask); in handle_coalesce_enable()
124 NLA_PUT(msg, NL80211_PKTPAT_PATTERN, patlen, pat); in handle_coalesce_enable()
238 int i, patlen, masklen, pkt_offset; in print_coalesce_handler() local
251 patlen = nla_len(patattr[NL80211_PKTPAT_PATTERN]); in print_coalesce_handler()
253 if (DIV_ROUND_UP(patlen, 8) != masklen) { in print_coalesce_handler()
261 for (i = 0; i < patlen; i++) { in print_coalesce_handler()
266 if (i != patlen - 1) in print_coalesce_handler()
Dwowlan.c100 size_t patlen; in wowlan_parse_tcp_file() local
102 if (parse_hex_mask(buf + 5, &pat, &patlen, &mask)) in wowlan_parse_tcp_file()
105 DIV_ROUND_UP(patlen, 8), mask); in wowlan_parse_tcp_file()
107 patlen, pat); in wowlan_parse_tcp_file()
212 size_t patlen; in handle_wowlan_enable() local
285 if (parse_hex_mask(value2, &pat, &patlen, &mask)) { in handle_wowlan_enable()
292 DIV_ROUND_UP(patlen, 8), mask); in handle_wowlan_enable()
293 NLA_PUT(patterns, NL80211_PKTPAT_PATTERN, patlen, pat); in handle_wowlan_enable()
433 int i, patlen, masklen; in print_wowlan_handler() local
443 patlen = nla_len(patattr[NL80211_PKTPAT_PATTERN]); in print_wowlan_handler()
[all …]
/external/iptables/extensions/
Dlibxt_string.c85 info->patlen = strnlen(s, XT_STRING_MAX_PATTERN_SIZE); in parse_string()
166 info->patlen = sindex; in parse_hex_string()
261 if (is_hex_string(info->pattern, info->patlen)) { in string_print()
263 print_hex_string(info->pattern, info->patlen); in string_print()
266 print_string(info->pattern, info->patlen); in string_print()
285 if (is_hex_string(info->pattern, info->patlen)) { in string_save()
287 print_hex_string(info->pattern, info->patlen); in string_save()
290 print_string(info->pattern, info->patlen); in string_save()
/external/iptables/include/linux/netfilter/
Dxt_string.h19 __u8 patlen; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_string.h19 __u8 patlen; member
/external/ltrace/
Doptions.c620 size_t patlen = strlen(optarg); in process_options() local
621 char buf[patlen + 2]; in process_options()
/external/pcre/dist/
Dpcregrep.c2488 int patlen = strlen(ps); in compile_pattern() local
2496 char *eop = ps + patlen; in compile_pattern()
2502 patlen = (int)(pe - ps - ellength); in compile_pattern()
2506 sprintf(buffer, "%s%.*s%s", prefix[popts], patlen, ps, suffix[popts]); in compile_pattern()
2513 if (errptr > patlen) errptr = patlen; in compile_pattern()
/external/mksh/src/
Dedit.c765 size_t pathlen, patlen, oldsize, newsize, i, j; in glob_path() local
768 patlen = strlen(pat); in glob_path()
769 checkoktoadd(patlen, 129 + X_EXTRA); in glob_path()
770 ++patlen; in glob_path()
771 Xinit(xs, xp, patlen + 128, ATEMP); in glob_path()
794 XcheckN(xs, xp, patlen); in glob_path()
795 memcpy(xp, pat, patlen); in glob_path()
/external/regex-re2/re2/testing/
Dre2_test.cc373 int patlen = strlen(pattern); in TestRecursion() local
375 domain[i] = pattern[i % patlen]; in TestRecursion()
/external/vulkan-validation-layers/tests/gtest-1.7.0/build-aux/
Dltmain.sh4790 size_t len, patlen;
4796 patlen = strlen (pat);
4798 if (patlen <= len)
4800 str += len - patlen;
/external/libedit/
Dltmain.sh4790 size_t len, patlen;
4796 patlen = strlen (pat);
4798 if (patlen <= len)
4800 str += len - patlen;
/external/protobuf/
Dltmain.sh4790 size_t len, patlen;
4796 patlen = strlen (pat);
4798 if (patlen <= len)
4800 str += len - patlen;
/external/libcap-ng/libcap-ng-0.7/
Dltmain.sh4790 size_t len, patlen;
4796 patlen = strlen (pat);
4798 if (patlen <= len)
4800 str += len - patlen;
/external/protobuf/gtest/build-aux/
Dltmain.sh4790 size_t len, patlen;
4796 patlen = strlen (pat);
4798 if (patlen <= len)
4800 str += len - patlen;
/external/google-tv-pairing-protocol/cpp/
Dlibtool4320 size_t len, patlen;
4326 patlen = strlen (pat);
4328 if (patlen <= len)
4330 str += len - patlen;
Dltmain.sh3819 size_t len, patlen;
3825 patlen = strlen (pat);
3827 if (patlen <= len)
3829 str += len - patlen;
/external/libvorbis/
Dltmain.sh3819 size_t len, patlen;
3825 patlen = strlen (pat);
3827 if (patlen <= len)
3829 str += len - patlen;
/external/c-ares/
Dltmain.sh4784 size_t len, patlen;
4790 patlen = strlen (pat);
4792 if (patlen <= len)
4794 str += len - patlen;
/external/libexif/
Dltmain.sh4787 size_t len, patlen;
4793 patlen = strlen (pat);
4795 if (patlen <= len)
4797 str += len - patlen;
/external/libmicrohttpd/
Dltmain.sh4790 size_t len, patlen;
4796 patlen = strlen (pat);
4798 if (patlen <= len)
4800 str += len - patlen;
/external/libopus/
Dltmain.sh4790 size_t len, patlen;
4796 patlen = strlen (pat);
4798 if (patlen <= len)
4800 str += len - patlen;

12