Home
last modified time | relevance | path

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

/PHP-7.3/ext/ctype/tests/
H A Dctype_space_error.phpt2 Test ctype_space() function : error conditions - Incorrect number of args
7 /* Prototype : bool ctype_space(mixed $c)
13 * Pass an incorrect number of arguments to ctype_space() to test behaviour
16 echo "*** Testing ctype_space() : error conditions ***\n";
21 echo "\n-- Testing ctype_space() function with Zero arguments --\n";
22 var_dump( ctype_space() );
24 //Test ctype_space with one more than the expected number of arguments
28 var_dump( ctype_space($c, $extra_arg) );
34 *** Testing ctype_space() : error conditions ***
36 -- Testing ctype_space() function with Zero arguments --
[all …]
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_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 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 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.3/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.3/ext/pcre/pcre2lib/
H A Dpcre2_maketables.c139 if (isspace(i)) x += ctype_space;
H A Dpcre2_match.c2195 if (CHMAX_255(fc) && (mb->ctypes[fc] & ctype_space) != 0) in match()
2207 if (!CHMAX_255(fc) || (mb->ctypes[fc] & ctype_space) == 0) in match()
2951 if (cc < 128 && (mb->ctypes[cc] & ctype_space) != 0) in match()
2968 if (cc >= 128 || (mb->ctypes[cc] & ctype_space) == 0) in match()
3213 if (MAX_255(*Feptr) && (mb->ctypes[*Feptr] & ctype_space) != 0) in match()
3626 if (fc < 256 && (mb->ctypes[fc] & ctype_space) != 0) in match()
3631 if (fc >= 256 || (mb->ctypes[fc] & ctype_space) == 0) in match()
3770 if (MAX_255(fc) && (mb->ctypes[fc] & ctype_space) != 0) in match()
3775 if (!MAX_255(fc) || (mb->ctypes[fc] & ctype_space) == 0) in match()
4272 if (fc < 256 && (mb->ctypes[fc] & ctype_space) != 0) break; in match()
[all …]
H A Dpcre2_auto_possess.c961 if (chr < 256 && (cb->ctypes[chr] & ctype_space) != 0) return FALSE; in compare_opcodes()
965 if (chr > 255 || (cb->ctypes[chr] & ctype_space) == 0) return FALSE; in compare_opcodes()
H A Dpcre2_dfa_match.c269 ctype_space, ctype_space,
277 ctype_space, 0,
H A Dpcre2_internal.h572 #define ctype_space 0x01 macro
H A Dpcre2_compile.c2485 (c < 256 && c != CHAR_NUMBER_SIGN && (cb->ctypes[c] & ctype_space) == 0 in parse_regex()
2580 if (c < 256 && (cb->ctypes[c] & ctype_space) != 0) continue; in parse_regex()
H A Dpcre2_jit_compile.c7378 OP2(SLJIT_AND | SLJIT_SET_Z, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, ctype_space); in compile_char1_matchingpath()

Completed in 90 milliseconds