/third_party/ltp/testcases/kernel/fs/doio/ |
D | pattern.c | 40 int pattern_check(char *buf, int buflen, char *pat, int patlen, int patshift) in pattern_check() argument 45 if (patlen) in pattern_check() 46 patshift = patshift % patlen; in pattern_check() 58 nb = patlen - patshift; in pattern_check() 101 int pattern_fill(char *buf, int buflen, char *pat, int patlen, int patshift) in pattern_fill() argument 106 if (patlen) in pattern_fill() 107 patshift = patshift % patlen; in pattern_fill() 119 trans = patlen - patshift; in pattern_fill()
|
/third_party/toybox/toys/other/ |
D | stat.c | 51 int patlen; 58 sprintf(toybuf, "%.*sll%c", TT.patlen, TT.pattern, c); in out() 65 sprintf(toybuf, "%.*ss", TT.patlen, TT.pattern); in strout() 218 TT.patlen = f-TT.pattern; in stat_main() 219 if (!*f || TT.patlen>99) error_exit("bad %s", TT.pattern); in stat_main()
|
/third_party/nghttp2/src/ |
D | http2.cc | 1092 const char *pat, size_t patlen) { in check_link_param_empty() argument 1093 if (first + patlen <= last) { in check_link_param_empty() 1094 if (std::equal(pat, pat + patlen, first, util::CaseCmp())) { in check_link_param_empty() 1097 if (first + patlen + 2 <= last) { in check_link_param_empty() 1098 if (*(first + patlen) != '"' || *(first + patlen + 1) != '"') { in check_link_param_empty() 1115 const char *pat, size_t patlen) { in check_link_param_without_value() argument 1116 if (first + patlen > last) { in check_link_param_without_value() 1120 if (first + patlen == last) { in check_link_param_without_value() 1121 return std::equal(pat, pat + patlen, first, util::CaseCmp()); in check_link_param_without_value() 1124 switch (*(first + patlen)) { in check_link_param_without_value() [all …]
|
D | shrpx_router.h | 96 void add_node(RNode *node, const char *pattern, size_t patlen, ssize_t index,
|
D | shrpx_router.cc | 66 void Router::add_node(RNode *node, const char *pattern, size_t patlen, in add_node() argument 68 auto pat = make_string_ref(balloc_, StringRef{pattern, patlen}); in add_node()
|
/third_party/pcre2/pcre2/src/ |
D | pcre2grep.c | 680 add_pattern(char *s, PCRE2_SIZE patlen, patstr *after) in add_pattern() argument 691 if (patlen > MAXPATLEN) in add_pattern() 703 p->length = patlen; in add_pattern() 3693 PCRE2_SIZE patlen, erroffset; in compile_pattern() local 3698 patlen = p->length; in compile_pattern() 3703 char *eop = ps + patlen; in compile_pattern() 3708 patlen = pe - ps - ellength; in compile_pattern() 3709 if (add_pattern(pe, p->length-patlen-ellength, p) == NULL) return FALSE; in compile_pattern() 3713 p->compiled = pcre2_compile((PCRE2_SPTR)ps, patlen, options, &errcode, in compile_pattern() 3730 if (erroffset > patlen) erroffset = patlen; in compile_pattern() [all …]
|
D | pcre2posix.c | 285 PCRE2_SIZE patlen; in pcre2_regcomp() local 290 patlen = ((cflags & REG_PEND) != 0)? (PCRE2_SIZE)(preg->re_endp - pattern) : in pcre2_regcomp() 302 preg->re_pcre2_code = pcre2_compile((PCRE2_SPTR)pattern, patlen, options, in pcre2_regcomp()
|
D | pcre2_compile.c | 9764 pcre2_compile(PCRE2_SPTR pattern, PCRE2_SIZE patlen, uint32_t options, in pcre2_compile() argument 9860 if ((zero_terminated = (patlen == PCRE2_ZERO_TERMINATED))) in pcre2_compile() 9861 patlen = PRIV(strlen)(pattern); in pcre2_compile() 9863 if (patlen > ccontext->max_pattern_length) in pcre2_compile() 9886 cb.end_pattern = pattern + patlen; in pcre2_compile() 9937 if (zero_terminated) VALGRIND_MAKE_MEM_NOACCESS(pattern + patlen, CU2BYTES(1)); in pcre2_compile() 9945 while (patlen - skipatstart >= 2 && in pcre2_compile() 9954 if (patlen - skipatstart - 2 >= p->length && in pcre2_compile() 10042 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile() 10134 parsed_size_needed = patlen - skipatstart + big32count; in pcre2_compile() [all …]
|
D | pcre2test.c | 5175 PCRE2_SIZE patlen; in process_pattern() local 5221 patlen = p - buffer - 2; in process_pattern() 5343 patlen = pt - pbuffer8; in process_pattern() 5424 patlen = pt - pbuffer8; in process_pattern() 5434 strncpy((char *)pbuffer8, (char *)(buffer+1), patlen + 1); in process_pattern() 5569 preg.re_endp = (char *)pbuffer8 + patlen; in process_pattern() 5665 if (test_mode == PCRE16_MODE) errorcode = to16(pbuffer8, utf, &patlen); in process_pattern() 5669 if (test_mode == PCRE32_MODE) errorcode = to32(pbuffer8, utf, &patlen); in process_pattern() 5749 PCRE2_PATTERN_CONVERT(rc, pbuffer, patlen, convert_options, in process_pattern() 5765 patlen = converted_length; in process_pattern() [all …]
|
/third_party/mksh/ |
D | edit.c | 798 size_t pathlen, patlen, oldsize, newsize, i, j; in glob_path() local 801 patlen = strlen(pat); in glob_path() 802 checkoktoadd(patlen, 129 + X_EXTRA); in glob_path() 803 ++patlen; in glob_path() 804 Xinit(xs, xp, patlen + 128, ATEMP); in glob_path() 827 XcheckN(xs, xp, patlen); in glob_path() 828 memcpy(xp, pat, patlen); in glob_path() 2012 size_t patlen = strlen(pat); in x_search() local 2015 --patlen; in x_search() 2022 x_goto(xbuf + i + patlen); in x_search()
|
/third_party/toybox/generated/ |
D | globals.h | 412 int patlen; member
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cdattst.c | 1910 … int32_t patlen = udatpg_getBestPattern(dtpgen, testSkeleton, -1, pattern, kUbufMax, &status); in TestForceGannenNumbering() local 1914 …eFormat *testFmt = udat_open(UDAT_PATTERN, UDAT_PATTERN, locID, NULL, 0, pattern, patlen, &status); in TestForceGannenNumbering()
|
/third_party/libabigail/ |
D | ltmain.sh | 4770 size_t len, patlen; 4776 patlen = strlen (pat); 4778 if (patlen <= len) 4780 str += len - patlen;
|
/third_party/skia/third_party/externals/microhttpd/ |
D | ltmain.sh | 4790 size_t len, patlen; 4796 patlen = strlen (pat); 4798 if (patlen <= len) 4800 str += len - patlen;
|
/third_party/curl/ |
D | ltmain.sh | 6417 size_t len, patlen; 6423 patlen = strlen (pat); 6425 if (patlen <= len) 6427 str += len - patlen;
|
/third_party/libevdev/build-aux/ |
D | ltmain.sh | 6161 size_t len, patlen; 6167 patlen = strlen (pat); 6169 if (patlen <= len) 6171 str += len - patlen;
|
/third_party/node/deps/cares/ |
D | ltmain.sh | 6417 size_t len, patlen; 6423 patlen = strlen (pat); 6425 if (patlen <= len) 6427 str += len - patlen;
|
/third_party/lame/ |
D | ltmain.sh | 6168 size_t len, patlen; 6174 patlen = strlen (pat); 6176 if (patlen <= len) 6178 str += len - patlen;
|
/third_party/skia/third_party/externals/libpng/ |
D | ltmain.sh | 6168 size_t len, patlen; 6174 patlen = strlen (pat); 6176 if (patlen <= len) 6178 str += len - patlen;
|
/third_party/node/deps/cares/config/ |
D | ltmain.sh | 6417 size_t len, patlen; 6423 patlen = strlen (pat); 6425 if (patlen <= len) 6427 str += len - patlen;
|