Home
last modified time | relevance | path

Searched refs:ctype_space (Results 1 – 16 of 16) sorted by relevance

/PHP-7.4/ext/ctype/tests/
H A Dctype_space_basic.phpt2 Test ctype_space() function : basic functionality
7 /* Prototype : bool ctype_space(mixed $c)
12 echo "*** Testing ctype_space() : basic functionality ***\n";
17 var_dump(ctype_space($c1));
20 var_dump(ctype_space($c2));
26 *** Testing ctype_space() : basic functionality ***
H A Dctype_space_variation2.phpt2 Test ctype_space() function : usage variations - different integers
7 /* Prototype : bool ctype_space(mixed $c)
13 * Pass different integers to ctype_space() to test which character codes are considered
17 echo "*** Testing ctype_space() : usage variations ***\n";
22 if (ctype_space($c)) {
30 *** Testing ctype_space() : usage variations ***
H A Dctype_space_variation4.phpt2 Test ctype_space() function : usage variations - octal and hexadecimal values
7 /* Prototype : bool ctype_space(mixed $c)
13 * Pass octal and hexadecimal values as $c to ctype_space() to test behaviour
16 echo "*** Testing ctype_space() : usage variations ***\n";
27 var_dump(ctype_space($c));
35 var_dump(ctype_space($c));
42 *** Testing ctype_space() : usage variations ***
H A Dctype_space_variation3.phpt2 Test ctype_space() function : usage variations - different strings
7 /* Prototype : bool ctype_space(mixed $c)
13 * Pass strings containing different character types to ctype_space() to test
17 echo "*** Testing ctype_space() : usage variations ***\n";
53 var_dump( ctype_space($value) );
61 *** Testing ctype_space() : usage variations ***
H A Dctype_space_variation1.phpt2 Test ctype_space() function : usage variations - different data types as $c argument
7 /* Prototype : bool ctype_space(mixed $c)
13 * Pass different data types as $c argument to ctype_space() to test behaviour
16 echo "*** Testing ctype_space() : usage variations ***\n";
89 // loop through each element of $inputs to check the behavior of ctype_space()
93 var_dump( ctype_space($input) );
103 *** Testing ctype_space() : usage variations ***
H A D001.phpt25 ctype_test_001("ctype_space");
38 ctype_space 6
H A D002.phpt32 ctype_test_002("ctype_space");
47 ctype_space 6 6 0
H A Dbug25745.phpt10 "ctype_space", "ctype_upper", "ctype_xdigit"
/PHP-7.4/ext/ctype/
H A Dctype.c43 static PHP_FUNCTION(ctype_space);
106 PHP_FE(ctype_space, arginfo_ctype_space)
243 static PHP_FUNCTION(ctype_space) in PHP_FUNCTION() argument
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_maketables.c141 if (isspace(i)) x += ctype_space;
H A Dpcre2_match.c2268 if (CHMAX_255(fc) && (mb->ctypes[fc] & ctype_space) != 0) in match()
2280 if (!CHMAX_255(fc) || (mb->ctypes[fc] & ctype_space) == 0) in match()
3024 if (cc < 128 && (mb->ctypes[cc] & ctype_space) != 0) in match()
3041 if (cc >= 128 || (mb->ctypes[cc] & ctype_space) == 0) in match()
3286 if (MAX_255(*Feptr) && (mb->ctypes[*Feptr] & ctype_space) != 0) in match()
3699 if (fc < 256 && (mb->ctypes[fc] & ctype_space) != 0) in match()
3704 if (fc >= 256 || (mb->ctypes[fc] & ctype_space) == 0) in match()
3843 if (MAX_255(fc) && (mb->ctypes[fc] & ctype_space) != 0) in match()
3848 if (!MAX_255(fc) || (mb->ctypes[fc] & ctype_space) == 0) in match()
4345 if (fc < 256 && (mb->ctypes[fc] & ctype_space) != 0) break; in match()
[all …]
H A Dpcre2_auto_possess.c980 if (chr < 256 && (cb->ctypes[chr] & ctype_space) != 0) return FALSE; in compare_opcodes()
984 if (chr > 255 || (cb->ctypes[chr] & ctype_space) == 0) return FALSE; in compare_opcodes()
H A Dpcre2_dfa_match.c276 ctype_space, ctype_space,
284 ctype_space, 0,
H A Dpcre2_internal.h580 #define ctype_space 0x01 macro
H A Dpcre2_compile.c2666 (c < 256 && c != CHAR_NUMBER_SIGN && (cb->ctypes[c] & ctype_space) == 0 in parse_regex()
2766 if (c < 256 && (cb->ctypes[c] & ctype_space) != 0) continue; in parse_regex()
H A Dpcre2_jit_compile.c8460 OP2(SLJIT_AND | SLJIT_SET_Z, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, ctype_space); in compile_char1_matchingpath()

Completed in 110 milliseconds