亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pcre_dfa_exec.c

?? SDL文件。SDL_ERROwenjian.....
?? C
?? 第 1 頁 / 共 5 頁
字號:
/**************************************************      Perl-Compatible Regular Expressions       **************************************************//* PCRE is a library of functions to support regular expressions whose syntaxand semantics are as close as possible to those of the Perl 5 language.                       Written by Philip Hazel           Copyright (c) 1997-2007 University of Cambridge-----------------------------------------------------------------------------Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditions are met:    * Redistributions of source code must retain the above copyright notice,      this list of conditions and the following disclaimer.    * Redistributions in binary form must reproduce the above copyright      notice, this list of conditions and the following disclaimer in the      documentation and/or other materials provided with the distribution.    * Neither the name of the University of Cambridge nor the names of its      contributors may be used to endorse or promote products derived from      this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSEARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BELIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, ORCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OFSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESSINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER INCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THEPOSSIBILITY OF SUCH DAMAGE.-----------------------------------------------------------------------------*//* This module contains the external function pcre_dfa_exec(), which is analternative matching function that uses a sort of DFA algorithm (not a trueFSM). This is NOT Perl- compatible, but it has advantages in certainapplications. */#ifdef HAVE_CONFIG_H#include "config.h"#endif#define NLBLOCK md             /* Block containing newline information */#define PSSTART start_subject  /* Field containing processed string start */#define PSEND   end_subject    /* Field containing processed string end */#include "pcre_internal.h"/* For use to indent debugging output */#define SP "                   "/**************************************************      Code parameters and static tables         **************************************************//* These are offsets that are used to turn the OP_TYPESTAR and friends opcodesinto others, under special conditions. A gap of 20 between the blocks should beenough. The resulting opcodes don't have to be less than 256 because they arenever stored, so we push them well clear of the normal opcodes. */#define OP_PROP_EXTRA       300#define OP_EXTUNI_EXTRA     320#define OP_ANYNL_EXTRA      340#define OP_HSPACE_EXTRA     360#define OP_VSPACE_EXTRA     380/* This table identifies those opcodes that are followed immediately by acharacter that is to be tested in some way. This makes is possible tocentralize the loading of these characters. In the case of Type * etc, the"character" is the opcode for \D, \d, \S, \s, \W, or \w, which will always be asmall value. ***NOTE*** If the start of this table is modified, the two tablesthat follow must also be modified. */static uschar coptable[] = {  0,                             /* End                                    */  0, 0, 0, 0, 0,                 /* \A, \G, \K, \B, \b                     */  0, 0, 0, 0, 0, 0,              /* \D, \d, \S, \s, \W, \w                 */  0, 0,                          /* Any, Anybyte                           */  0, 0, 0,                       /* NOTPROP, PROP, EXTUNI                  */  0, 0, 0, 0, 0,                 /* \R, \H, \h, \V, \v                     */  0, 0, 0, 0, 0,                 /* \Z, \z, Opt, ^, $                      */  1,                             /* Char                                   */  1,                             /* Charnc                                 */  1,                             /* not                                    */  /* Positive single-char repeats                                          */  1, 1, 1, 1, 1, 1,              /* *, *?, +, +?, ?, ??                    */  3, 3, 3,                       /* upto, minupto, exact                   */  1, 1, 1, 3,                    /* *+, ++, ?+, upto+                      */  /* Negative single-char repeats - only for chars < 256                   */  1, 1, 1, 1, 1, 1,              /* NOT *, *?, +, +?, ?, ??                */  3, 3, 3,                       /* NOT upto, minupto, exact               */  1, 1, 1, 3,                    /* NOT *+, ++, ?+, updo+                  */  /* Positive type repeats                                                 */  1, 1, 1, 1, 1, 1,              /* Type *, *?, +, +?, ?, ??               */  3, 3, 3,                       /* Type upto, minupto, exact              */  1, 1, 1, 3,                    /* Type *+, ++, ?+, upto+                 */  /* Character class & ref repeats                                         */  0, 0, 0, 0, 0, 0,              /* *, *?, +, +?, ?, ??                    */  0, 0,                          /* CRRANGE, CRMINRANGE                    */  0,                             /* CLASS                                  */  0,                             /* NCLASS                                 */  0,                             /* XCLASS - variable length               */  0,                             /* REF                                    */  0,                             /* RECURSE                                */  0,                             /* CALLOUT                                */  0,                             /* Alt                                    */  0,                             /* Ket                                    */  0,                             /* KetRmax                                */  0,                             /* KetRmin                                */  0,                             /* Assert                                 */  0,                             /* Assert not                             */  0,                             /* Assert behind                          */  0,                             /* Assert behind not                      */  0,                             /* Reverse                                */  0, 0, 0, 0,                    /* ONCE, BRA, CBRA, COND                  */  0, 0, 0,                       /* SBRA, SCBRA, SCOND                     */  0,                             /* CREF                                   */  0,                             /* RREF                                   */  0,                             /* DEF                                    */  0, 0,                          /* BRAZERO, BRAMINZERO                    */  0, 0, 0, 0,                    /* PRUNE, SKIP, THEN, COMMIT              */  0, 0                           /* FAIL, ACCEPT                           */};/* These 2 tables allow for compact code for testing for \D, \d, \S, \s, \W,and \w */static uschar toptable1[] = {  0, 0, 0, 0, 0, 0,  ctype_digit, ctype_digit,  ctype_space, ctype_space,  ctype_word,  ctype_word,  0                               /* OP_ANY */};static uschar toptable2[] = {  0, 0, 0, 0, 0, 0,  ctype_digit, 0,  ctype_space, 0,  ctype_word,  0,  1                               /* OP_ANY */};/* Structure for holding data about a particular state, which is in effect thecurrent data for an active path through the match tree. It must consistentirely of ints because the working vector we are passed, and which we putthese structures in, is a vector of ints. */typedef struct stateblock {  int offset;                     /* Offset to opcode */  int count;                      /* Count for repeats */  int ims;                        /* ims flag bits */  int data;                       /* Some use extra data */} stateblock;#define INTS_PER_STATEBLOCK  (sizeof(stateblock)/sizeof(int))#ifdef DEBUG/**************************************************             Print character string             **************************************************//* Character string printing function for debugging.Arguments:  p            points to string  length       number of bytes  f            where to printReturns:       nothing*/static voidpchars(unsigned char *p, int length, FILE *f){int c;while (length-- > 0)  {  if (isprint(c = *(p++)))    fprintf(f, "%c", c);  else    fprintf(f, "\\x%02x", c);  }}#endif/**************************************************    Execute a Regular Expression - DFA engine   **************************************************//* This internal function applies a compiled pattern to a subject string,starting at a given point, using a DFA engine. This function is called from theexternal one, possibly multiple times if the pattern is not anchored. Thefunction calls itself recursively for some kinds of subpattern.Arguments:  md                the match_data block with fixed information  this_start_code   the opening bracket of this subexpression's code  current_subject   where we currently are in the subject string  start_offset      start offset in the subject string  offsets           vector to contain the matching string offsets  offsetcount       size of same  workspace         vector of workspace  wscount           size of same  ims               the current ims flags  rlevel            function call recursion level  recursing         regex recursive call levelReturns:            > 0 =>                    = 0 =>                     -1 => failed to match                   < -1 => some kind of unexpected problemThe following macros are used for adding states to the two state vectors (onefor the current character, one for the following character). */#define ADD_ACTIVE(x,y) \  if (active_count++ < wscount) \    { \    next_active_state->offset = (x); \    next_active_state->count  = (y); \    next_active_state->ims    = ims; \    next_active_state++; \    DPRINTF(("%.*sADD_ACTIVE(%d,%d)\n", rlevel*2-2, SP, (x), (y))); \    } \  else return PCRE_ERROR_DFA_WSSIZE#define ADD_ACTIVE_DATA(x,y,z) \  if (active_count++ < wscount) \    { \    next_active_state->offset = (x); \    next_active_state->count  = (y); \    next_active_state->ims    = ims; \    next_active_state->data   = (z); \    next_active_state++; \    DPRINTF(("%.*sADD_ACTIVE_DATA(%d,%d,%d)\n", rlevel*2-2, SP, (x), (y), (z))); \    } \  else return PCRE_ERROR_DFA_WSSIZE#define ADD_NEW(x,y) \  if (new_count++ < wscount) \    { \    next_new_state->offset = (x); \    next_new_state->count  = (y); \    next_new_state->ims    = ims; \    next_new_state++; \    DPRINTF(("%.*sADD_NEW(%d,%d)\n", rlevel*2-2, SP, (x), (y))); \    } \  else return PCRE_ERROR_DFA_WSSIZE#define ADD_NEW_DATA(x,y,z) \  if (new_count++ < wscount) \    { \    next_new_state->offset = (x); \    next_new_state->count  = (y); \    next_new_state->ims    = ims; \    next_new_state->data   = (z); \    next_new_state++; \    DPRINTF(("%.*sADD_NEW_DATA(%d,%d,%d)\n", rlevel*2-2, SP, (x), (y), (z))); \    } \  else return PCRE_ERROR_DFA_WSSIZE/* And now, here is the code */static intinternal_dfa_exec(  dfa_match_data *md,  const uschar *this_start_code,  const uschar *current_subject,  int start_offset,  int *offsets,  int offsetcount,  int *workspace,  int wscount,  int ims,  int  rlevel,  int  recursing){stateblock *active_states, *new_states, *temp_states;stateblock *next_active_state, *next_new_state;const uschar *ctypes, *lcc, *fcc;const uschar *ptr;const uschar *end_code, *first_op;int active_count, new_count, match_count;/* Some fields in the md block are frequently referenced, so we load them intoindependent variables in the hope that this will perform better. */const uschar *start_subject = md->start_subject;const uschar *end_subject = md->end_subject;const uschar *start_code = md->start_code;#ifdef SUPPORT_UTF8BOOL utf8 = (md->poptions & PCRE_UTF8) != 0;#elseBOOL utf8 = FALSE;#endifrlevel++;offsetcount &= (-2);wscount -= 2;wscount = (wscount - (wscount % (INTS_PER_STATEBLOCK * 2))) /          (2 * INTS_PER_STATEBLOCK);DPRINTF(("\n%.*s---------------------\n"  "%.*sCall to internal_dfa_exec f=%d r=%d\n",  rlevel*2-2, SP, rlevel*2-2, SP, rlevel, recursing));ctypes = md->tables + ctypes_offset;lcc = md->tables + lcc_offset;fcc = md->tables + fcc_offset;match_count = PCRE_ERROR_NOMATCH;   /* A negative number */active_states = (stateblock *)(workspace + 2);next_new_state = new_states = active_states + wscount;new_count = 0;first_op = this_start_code + 1 + LINK_SIZE +  ((*this_start_code == OP_CBRA || *this_start_code == OP_SCBRA)? 2:0);/* The first thing in any (sub) pattern is a bracket of some sort. Push allthe alternative states onto the list, and find out where the end is. Thismakes is possible to use this function recursively, when we want to stop at amatching internal ket rather than at the end.If the first opcode in the first alternative is OP_REVERSE, we are dealing witha backward assertion. In that case, we have to find out the maximum amount tomove back, and set up each alternative appropriately. */if (*first_op == OP_REVERSE)  {  int max_back = 0;  int gone_back;  end_code = this_start_code;  do    {    int back = GET(end_code, 2+LINK_SIZE);    if (back > max_back) max_back = back;    end_code += GET(end_code, 1);    }  while (*end_code == OP_ALT);  /* If we can't go back the amount required for the longest lookbehind  pattern, go back as far as we can; some alternatives may still be viable. */#ifdef SUPPORT_UTF8  /* In character mode we have to step back character by character */  if (utf8)    {    for (gone_back = 0; gone_back < max_back; gone_back++)      {      if (current_subject <= start_subject) break;      current_subject--;      while (current_subject > start_subject &&             (*current_subject & 0xc0) == 0x80)        current_subject--;      }    }  else#endif  /* In byte-mode we can do this quickly. */    {    gone_back = (current_subject - max_back < start_subject)?      current_subject - start_subject : max_back;    current_subject -= gone_back;    }  /* Now we can process the individual branches. */  end_code = this_start_code;  do    {    int back = GET(end_code, 2+LINK_SIZE);    if (back <= gone_back)      {      int bstate = end_code - start_code + 2 + 2*LINK_SIZE;      ADD_NEW_DATA(-bstate, 0, gone_back - back);      }    end_code += GET(end_code, 1);    }  while (*end_code == OP_ALT); }/* This is the code for a "normal" subpattern (not a backward assertion). Thestart of a whole pattern is always one of these. If we are at the top level,we may be asked to restart matching from the same point that we reached for aprevious partial match. We still have to scan through the top-level branches tofind the end state. */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本午夜一区二区| 91精品国模一区二区三区| 高清不卡在线观看av| 久久激五月天综合精品| 视频一区欧美日韩| 日韩在线一二三区| 婷婷国产v国产偷v亚洲高清| 亚洲二区在线观看| 亚洲v精品v日韩v欧美v专区| 亚洲成人激情av| 日产国产高清一区二区三区| 七七婷婷婷婷精品国产| 免费成人在线视频观看| 久久99国内精品| 韩国av一区二区三区| 国产精品一区二区视频| 成人少妇影院yyyy| 99久久精品国产毛片| 91老师国产黑色丝袜在线| 色就色 综合激情| 欧美日本精品一区二区三区| 91精品欧美福利在线观看| 精品久久久网站| 国产精品色哟哟网站| 亚洲视频一区在线观看| 亚洲综合色自拍一区| 日韩专区一卡二卡| 精品中文字幕一区二区小辣椒 | 精品影视av免费| 国产精品一区二区你懂的| 99精品视频一区二区| 91久久香蕉国产日韩欧美9色| 欧美伊人久久久久久午夜久久久久| 欧美日韩成人激情| 精品国产乱码久久久久久浪潮 | 亚洲色图在线视频| 午夜亚洲福利老司机| 国内精品视频一区二区三区八戒| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 国产午夜亚洲精品不卡| 国产精品久久久一本精品| 亚洲一区二区美女| 国产综合久久久久久鬼色| 93久久精品日日躁夜夜躁欧美| 欧美日韩国产精品自在自线| 久久亚洲捆绑美女| 樱花草国产18久久久久| 黄色日韩三级电影| 色欧美片视频在线观看在线视频| 69精品人人人人| 国产精品久久久久久久久搜平片 | 91性感美女视频| 欧美一区二区三区成人| 国产精品高潮久久久久无| 人人爽香蕉精品| 色综合久久久久| 国产欧美精品国产国产专区| 亚洲成人综合网站| 不卡大黄网站免费看| 欧美一区二区三区公司| 亚洲久草在线视频| 国产精品99久久久久| 9191久久久久久久久久久| 亚洲欧洲精品天堂一级| 日精品一区二区三区| av网站一区二区三区| 精品欧美一区二区在线观看| 亚洲美女少妇撒尿| 丁香五精品蜜臀久久久久99网站| 91精品国产综合久久福利软件| 中文字幕五月欧美| 国产精品一区三区| 日韩三级视频在线观看| 五月激情综合色| 欧美三级视频在线观看| 国产精品久久久久精k8| 国内成+人亚洲+欧美+综合在线| 欧美放荡的少妇| 一二三区精品视频| 成人国产视频在线观看| 久久精品夜色噜噜亚洲aⅴ| 日韩影院免费视频| 欧美影视一区二区三区| 亚洲三级小视频| 成人精品一区二区三区中文字幕| 精品国产第一区二区三区观看体验| 五月天一区二区三区| 91国产成人在线| 亚洲男人天堂av| 91丨九色丨国产丨porny| 国产精品视频第一区| 国产精品1区二区.| 久久综合色综合88| 蜜桃视频在线观看一区| 欧美精品v日韩精品v韩国精品v| 亚洲日本在线看| 99久久精品99国产精品| 中文字幕中文字幕一区| 99vv1com这只有精品| 亚洲色图清纯唯美| 91看片淫黄大片一级在线观看| 国产精品国产三级国产普通话三级| 懂色av一区二区在线播放| 国产区在线观看成人精品| 国产成人午夜电影网| 国产精品色婷婷| 一本一道久久a久久精品| 亚洲欧美激情插| 欧美午夜精品一区二区三区| 亚洲国产精品久久久久婷婷884| 欧美日韩极品在线观看一区| 天天射综合影视| 7777女厕盗摄久久久| 久久精品国产久精国产爱| 精品国产第一区二区三区观看体验| 国产精品综合二区| 中文字幕乱码久久午夜不卡| 91亚洲男人天堂| 一区二区三区欧美亚洲| 在线播放一区二区三区| 久久综合综合久久综合| 国产天堂亚洲国产碰碰| 99久久综合狠狠综合久久| 亚洲激情图片小说视频| 91精品一区二区三区久久久久久| 激情欧美日韩一区二区| 国产精品情趣视频| 欧美在线一区二区三区| 蜜臀精品一区二区三区在线观看 | 中文字幕综合网| 日本电影欧美片| 日本视频一区二区三区| 久久久91精品国产一区二区三区| 国产乱理伦片在线观看夜一区| 国产精品乱码一区二区三区软件 | 欧美大片顶级少妇| 成人高清在线视频| 亚洲国产成人porn| 精品国精品自拍自在线| 99久久免费精品高清特色大片| 亚洲高清不卡在线| 久久蜜桃av一区二区天堂| 色婷婷激情一区二区三区| 美女国产一区二区三区| 国产精品福利在线播放| 欧美美女视频在线观看| 国产精品白丝jk黑袜喷水| 亚洲一区二区欧美日韩| 久久亚洲免费视频| 欧美性色欧美a在线播放| 国内成+人亚洲+欧美+综合在线| 亚洲精选免费视频| 欧美精品一区二区在线播放| 91老师国产黑色丝袜在线| 韩国欧美一区二区| 亚洲综合视频在线| 国产人伦精品一区二区| 91精品国产色综合久久不卡电影 | 日韩午夜小视频| av中文一区二区三区| 麻豆成人综合网| 亚洲一区二区三区影院| 国产丝袜在线精品| 欧美一级电影网站| 在线免费观看视频一区| 国产精品18久久久久久久久 | 国产精品主播直播| 婷婷开心激情综合| 亚洲女厕所小便bbb| 国产午夜精品在线观看| 欧美一区二区精美| 欧洲亚洲精品在线| 成人精品在线视频观看| 麻豆91免费观看| 午夜视频在线观看一区二区| 日韩美女精品在线| 久久久久9999亚洲精品| 日韩丝袜美女视频| 欧美色国产精品| 色综合久久66| 99视频精品免费视频| 国产mv日韩mv欧美| 国产一区二区三区av电影| 日韩av电影免费观看高清完整版在线观看 | 6080yy午夜一二三区久久| 色综合色综合色综合色综合色综合 | 日韩三级高清在线| 欧美日韩一区二区在线观看| 色综合天天做天天爱| 成人高清视频免费观看| 丰满少妇在线播放bd日韩电影| 黄色日韩网站视频| 久久国产免费看| 久久国产夜色精品鲁鲁99| 免费成人小视频| 久久精品av麻豆的观看方式| 蜜臀av一区二区在线免费观看 | 色狠狠av一区二区三区| 91美女在线视频| 色综合久久天天综合网|