Lines Matching refs:is

6 /* PCRE is a library of functions to support regular expressions whose syntax
55 /* PCRE is compiled as an 8 bit library if it is not requested otherwise. */
61 /* If SUPPORT_UCP is defined, SUPPORT_UTF must also be defined. The
68 /* We define SUPPORT_UTF if SUPPORT_UTF8 is enabled for compatibility
76 Until then we define it if SUPPORT_UTF is defined. */
86 #error The use of both EBCDIC and SUPPORT_UTF is not supported.
106 setjmp and stdarg are used is when NO_RECURSE is set. */
126 setting in pcre.h (which is included below); it defines only PCRE_EXP_DECL,
127 which is all that is needed for applications (they just import the symbols). We
134 The reason for the two DEFN macros is that in non-Windows environments, one
139 The reason for wrapping this in #ifndef PCRE_EXP_DECL is so that pcretest,
140 which is an application, but needs to import this file in order to "peek" at
174 /* When compiling with the MSVC compiler, it is sometimes necessary to include
175 a "calling convention" before exported function names. (This is secondhand
181 PCRE_CALL_CONVENTION just before their names. It is rarely needed; if not
190 part of "configure") because PCRE is often cross-compiled for use on other
225 large integers. If a 64-bit integer type is available, we can use that.
228 stdint.h is available, include it; it may define INT64_MAX. Systems that do not
247 because that should make things easier for callers. This character type is
254 The MAX_255 macro checks whether its pcre_uchar input is less than 256.
256 The TABLE_GET macro is designed for accessing elements of tables whose contain
257 exactly 256 items. When the character is able to contain more than 256
258 items, some check is needed before accessing these tables.
271 /* This is a warning message. Change PCRE_UCHAR16 to a 16 bit data type in
273 #error Warning: PCRE_UCHAR16 is not a 16 bit data type.
294 /* This is an unsigned int value that no character can ever have. UTF-8
300 /* PCRE is able to support several different kinds of newline (CR, LF, CRLF,
306 #define NLTYPE_FIXED 0 /* Newline is a fixed length string */
307 #define NLTYPE_ANY 1 /* Newline is any Unicode line ending */
308 #define NLTYPE_ANYCRLF 2 /* Newline is CR, LF, or CRLF */
338 /* When PCRE is compiled as a C++ library, the subject pointer can be replaced
343 normal case, for sign-unspecified and unsigned char pointers. The former is
344 used for the external interface and appears in pcre.h, which is why its name
360 /* Assert that the public PCRE_UCHAR32 is a 32-bit type */
378 define a macro for memmove() if HAVE_MEMMOVE is false, provided that HAVE_BCOPY
379 is set. Otherwise, include an emulating function for those systems that have
380 neither (there some non-Unix environments where this is the case). */
415 offset limits the size of the compiled regex to around 64K, which is big enough
418 loading of offsets from the byte string is now handled by the macros that are
423 is automated on Unix systems via the "configure" command. */
508 /* Only supported LINK_SIZE is 4 */
543 /* For reasons that I do not understand, the expression in this GET2 macro is
544 treated by gcc as a signed expression, even when a is declared as unsigned. It
576 /* The maximum length of a MARK name is currently one data unit; it may be
585 /* There is a proposed future special "UTF-21" mode, in which only the lowest
591 library, the macros all have the same simple definitions. When the new mode is
592 implemented, it is expected that these definitions will be varied appropriately
600 /* When UTF encoding is being used, a character is no longer just a single
604 used when UTF is not supported. To make sure they can never even appear when
605 UTF support is omitted, we don't even define them. */
700 /* Returns with the additional number of characters if IS_MULTICHAR(c) is TRUE.
705 /* Returns TRUE, if the given character is not the first character
710 /* Get the next UTF-8 character, not advancing the pointer. This is called when
724 /* Get the next UTF-8 character, advancing the pointer. This is called when we
732 This is called when we don't know if we are in UTF-8 mode. */
776 if there are extra bytes. This is called when we know we are in UTF-8 mode. */
783 pointer, incrementing length if there are extra bytes. This is called when we
790 /* If the pointer is not at the start of a character, move it back until
791 it is. This is called only in UTF-8 mode - we don't put a test within the macro
813 /* Returns with the additional number of characters if IS_MULTICHAR(c) is TRUE.
818 /* Returns TRUE, if the given character is not the first character
829 /* Get the next UTF-16 character, not advancing the pointer. This is called when
849 /* Get the next UTF-16 character, advancing the pointer. This is called when we
857 This is called when we don't know if we are in UTF-16 mode. */
870 length if there is a low surrogate. This is called when we know we are in
878 pointer, incrementing length if there is a low surrogate. This is called when
885 /* If the pointer is not at the start of a character, move it back until
886 it is. This is called only in UTF-16 mode - we don't put a test within the
908 /* Get the next UTF-32 character, not advancing the pointer. This is called when
920 /* Get the next UTF-32 character, advancing the pointer. This is called when we
927 This is called when we don't know if we are in UTF-32 mode. */
933 length (since all UTF-32 is of length 1). This is called when we know we are in
940 pointer, not incrementing the length (since all UTF-32 is of length 1).
941 This is called when we do not know if we are in UTF-32 mode. */
946 /* If the pointer is not at the start of a character, move it back until
947 it is. This is called only in UTF-32 mode - we don't put a test within the
970 remain in step, we use macros so that there is only one place where the lists
977 NOTACHAR (which is 0xffffffff).
1073 32-bit flags word. From release 8.00, PCRE_NOPARTIAL is unused, as the
1080 #define PCRE_FIRSTSET 0x00000010 /* first_char is set */
1082 #define PCRE_REQCHSET 0x00000040 /* req_byte is set */
1144 /* This variable is used to detect a loaded regular expression
1154 /* Miscellaneous definitions. The #ifndef is to pacify compiler warnings in
1156 is no way to do the same for the typedef. */
1165 /* If PCRE is to support UTF-8 on EBCDIC platforms, we cannot use normal
1167 which is different from their ASCII/UTF-8 code. Instead we define macros for
1169 is enabled. When UTF-8 support is not enabled, the definitions use character
1178 for) in a minority area (EBCDIC platforms), this is not sensible. Any
1184 /* UTF-8 support is not enabled; use the platform-dependent character literals
1189 (0x25) character is used instead, according to this Unicode document:
1194 instead. Whichever is *not* chosen is defined as NEL.
1223 /* In ASCII/Unicode, linefeed is '\n' and we equate this to NL for
1224 compatibility. NEL is the Unicode newline character; make sure it is
1497 /* UTF-8 support is enabled; always use UTF-8 (=ASCII) character codes. This
1781 /* We can't officially use ESC_t because it is a POSIX reserved identifier
1804 classes are specified and PCRE_UCP is set - in other words, for Unicode
1816 #define XCL_NOT 0x01 /* Flag: this is a negative class */
1817 #define XCL_MAP 0x02 /* Flag: a 32-byte map is present */
1830 corresponds to "." in DOTALL mode rather than an escape sequence. It is also
1835 when PCRE_UCP is set and replacement of \d etc by \p sequences is required.
1862 Whenever this list is updated, the two macro definitions that follow must be
1924 the offset from the first one is used to generate the others. */
2039 class - the difference is relevant only when a
2040 character > 255 is encountered. */
2117 /* This is used to skip a subpattern with a {0} quantifier */
2121 /* This is not an opcode, but is used to check that tables indexed by opcode
2128 /* *** NOTE NOTE NOTE *** Whenever the list above is updated, the two macro
2135 for debugging, and some of them are only partial names. The macro is referenced
2273 easily be tracked. When a new number is added, the table called eint in
2286 /* JIT compiling modes. The function list is indexed by them. */
2293 offset to the name table so that if a regex is compiled on one host, saved, and
2294 then run on another where the size of pointers is different, all might still
2298 compiled-on-4 and run-on-8, we include an extra pointer that is always NULL so
2302 It is necessary to fork the struct for the 32 bit library, since it needs to
2309 pcre_byte_order.c that is concerned with swapping the byte order of the fields
2310 when a compiled regex is reloaded on a host with different endianness.
2312 There is also similar byte-flipping code in pcretest.c, which is used for
2333 pcre_uint16 dummy1; /* To ensure size is a multiple of 8 */
2334 pcre_uint16 dummy2; /* To ensure size is a multiple of 8 */
2335 pcre_uint16 dummy3; /* To ensure size is a multiple of 8 */
2359 pcre_uint16 dummy; /* To ensure size is a multiple of 8 */
2372 /* Assert that the size of REAL_PCRE is divisible by 8 */
2395 compiling, so that instructions to close them can be compiled when (*ACCEPT) is
2396 encountered. This is also used to identify subpatterns that contain recursive
2523 BOOL bsr_anycrlf; /* \R is just any CRLF, not full Unicode */
2548 /* A similar structure is used for the same purpose by the DFA matching
2641 but are not part of the PCRE public API. The data for these tables is in the