/PHP-7.4/Zend/tests/ |
H A D | add_006.phpt | 10 $s2 = "876222numeric"; 17 $c = $i + $s2; 29 $c = $s2 + $i;
|
H A D | bug79934.phpt | 13 eval("\$s2 = <<<HEREDOC\n a\n\n b\n HEREDOC;"); 14 var_dump(addcslashes($s2, "\n"));
|
H A D | not_001.phpt | 9 $s2 = "some"; 14 $s1 = ~$s2;
|
H A D | self_and.phpt | 8 $s2 = "45345some"; 18 $s2 &= 33; 19 var_dump($s2);
|
H A D | self_mod.phpt | 8 $s2 = "45345some"; 16 $s2 %= 33; 17 var_dump($s2);
|
H A D | self_or.phpt | 8 $s2 = "45345some"; 18 $s2 |= 33; 19 var_dump($s2);
|
H A D | self_xor.phpt | 8 $s2 = "45345some"; 18 $s2 ^= 33; 19 var_dump($s2);
|
H A D | shift_001.phpt | 8 $s2 = "45345some"; 16 $s2 <<= 3; 17 var_dump($s2);
|
H A D | shift_002.phpt | 8 $s2 = "45345some"; 16 $s2 >>= 3; 17 var_dump($s2);
|
/PHP-7.4/Zend/ |
H A D | zend_builtin_functions.c | 601 zend_string *s1, *s2; in ZEND_FUNCTION() local 605 Z_PARAM_STR(s2) in ZEND_FUNCTION() 608 RETURN_LONG(zend_binary_strcmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2))); in ZEND_FUNCTION() 616 zend_string *s1, *s2; in ZEND_FUNCTION() local 621 Z_PARAM_STR(s2) in ZEND_FUNCTION() 630 RETURN_LONG(zend_binary_strncmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2), len)); in ZEND_FUNCTION() 638 zend_string *s1, *s2; in ZEND_FUNCTION() local 642 Z_PARAM_STR(s2) in ZEND_FUNCTION() 645 RETURN_LONG(zend_binary_strcasecmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2))); in ZEND_FUNCTION() 653 zend_string *s1, *s2; in ZEND_FUNCTION() local [all …]
|
H A D | zend_config.w32.h | 48 #define strcasecmp(s1, s2) _stricmp(s1, s2) argument 49 #define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n) argument
|
H A D | zend_operators.c | 2725 if (s1 == s2) { in zend_binary_strcmp() 2741 if (s1 == s2) { in zend_binary_strncmp() 2758 if (s1 == s2) { in zend_binary_strcasecmp() 2780 if (s1 == s2) { in zend_binary_strncasecmp() 2801 if (s1 == s2) { in zend_binary_strcasecmp_l() 2823 if (s1 == s2) { in zend_binary_strncasecmp_l() 2841 return zend_binary_strcmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2)); in zend_binary_zval_strcmp() 2853 return zend_binary_strcasecmp_l(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2)); in zend_binary_zval_strcasecmp() 2871 (ret2 = is_numeric_string_ex(s2->val, s2->len, &lval2, &dval2, 0, &oflow2))) { 2919 (ret2 = is_numeric_string_ex(s2->val, s2->len, &lval2, &dval2, 0, &oflow2))) { [all …]
|
H A D | zend_operators.h | 407 ZEND_API int ZEND_FASTCALL zend_binary_zval_strcmp(zval *s1, zval *s2); 408 ZEND_API int ZEND_FASTCALL zend_binary_zval_strncmp(zval *s1, zval *s2, zval *s3); 409 ZEND_API int ZEND_FASTCALL zend_binary_zval_strcasecmp(zval *s1, zval *s2); 410 ZEND_API int ZEND_FASTCALL zend_binary_zval_strncasecmp(zval *s1, zval *s2, zval *s3); 418 ZEND_API int ZEND_FASTCALL zendi_smart_streq(zend_string *s1, zend_string *s2); 419 ZEND_API int ZEND_FASTCALL zendi_smart_strcmp(zend_string *s1, zend_string *s2); 832 static zend_always_inline int zend_fast_equal_strings(zend_string *s1, zend_string *s2) in zend_fast_equal_strings() argument 834 if (s1 == s2) { in zend_fast_equal_strings() 836 } else if (ZSTR_VAL(s1)[0] > '9' || ZSTR_VAL(s2)[0] > '9') { in zend_fast_equal_strings() 837 return zend_string_equal_content(s1, s2); in zend_fast_equal_strings() [all …]
|
H A D | zend_string.c | 328 ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2) in zend_string_equal_val() argument 331 size_t delta = (char*)s2 - (char*)s1; in zend_string_equal_val() 366 …ZEND_FASTCALL I_WRAP_SONAME_FNNAME_ZU(NONE,zend_string_equal_val)(zend_string *s1, zend_string *s2) in I_WRAP_SONAME_FNNAME_ZU() 370 char *ptr2 = ZSTR_VAL(s2); in I_WRAP_SONAME_FNNAME_ZU() 396 ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2) in zend_string_equal_val() argument 399 size_t delta = (char*)s2 - (char*)s1; in zend_string_equal_val() 434 …ZEND_FASTCALL I_WRAP_SONAME_FNNAME_ZU(NONE,zend_string_equal_val)(zend_string *s1, zend_string *s2) in I_WRAP_SONAME_FNNAME_ZU() 438 char *ptr2 = ZSTR_VAL(s2); in I_WRAP_SONAME_FNNAME_ZU()
|
H A D | zend_string.h | 306 ZEND_API zend_bool ZEND_FASTCALL zend_string_equal_val(zend_string *s1, zend_string *s2); 309 static zend_always_inline zend_bool zend_string_equal_val(zend_string *s1, zend_string *s2) in END_EXTERN_C() 311 return !memcmp(ZSTR_VAL(s1), ZSTR_VAL(s2), ZSTR_LEN(s1)); in END_EXTERN_C() 315 static zend_always_inline zend_bool zend_string_equal_content(zend_string *s1, zend_string *s2) 317 return ZSTR_LEN(s1) == ZSTR_LEN(s2) && zend_string_equal_val(s1, s2); 320 static zend_always_inline zend_bool zend_string_equals(zend_string *s1, zend_string *s2) in zend_string_equals() argument 322 return s1 == s2 || zend_string_equal_content(s1, s2); in zend_string_equals() 325 #define zend_string_equals_ci(s1, s2) \ argument 326 …(ZSTR_LEN(s1) == ZSTR_LEN(s2) && !zend_binary_strcasecmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2),…
|
H A D | zend_strtod.c | 2633 s2 = s; 2640 s = s2; 3913 s2 = j; 3917 s2 = 0; 3922 s2 += k; 4164 s2 += i; 4168 i = m2 < s2 ? m2 : s2; 4171 s2 -= i; 4206 s2 += Log2P; 4221 s2 += i; [all …]
|
/PHP-7.4/ext/date/lib/ |
H A D | timelib.c | 232 int timelib_strcasecmp(const char *s1, const char *s2) in timelib_strcasecmp() argument 236 size_t len2 = strlen(s2); in timelib_strcasecmp() 239 if (s1 == s2) { in timelib_strcasecmp() 246 c2 = timelib_tolower(*(unsigned char *)s2++); in timelib_strcasecmp() 255 int timelib_strncasecmp(const char *s1, const char *s2, size_t length) in timelib_strncasecmp() argument 259 size_t len2 = strlen(s2); in timelib_strncasecmp() 262 if (s1 == s2) { in timelib_strncasecmp() 268 c2 = timelib_tolower(*(unsigned char *)s2++); in timelib_strncasecmp()
|
H A D | timelib_private.h | 137 int timelib_strcasecmp(const char *s1, const char *s2); 138 int timelib_strncasecmp(const char *s1, const char *s2, size_t n);
|
/PHP-7.4/ext/date/tests/ |
H A D | bug62852_var2.phpt | 7 $s2 = 'O:3:"Foo":3:{s:4:"date";s:20:"10007-06-07 03:51:49";s:13:"timezone_type";i:3;s:8:"timezone";… 20 unserialize( $s2 );
|
H A D | bug62852_var3.phpt | 7 $s2 = 'O:3:"Foo":3:{s:4:"date";s:19:"0000-00-00 00:00:00";s:13:"timezone_type";i:0;s:8:"timezone";s… 20 unserialize( $s2 );
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 3400 unsigned int s3, s2, s1, s0; local 3419 s2 = s[2]; 3421 len = (s3 << 24) | (s2 << 16) | (s1 << 8) | s0; 3426 s2 = s[2]; 3428 len = (s0 << 24) | (s1 << 16) | (s2 << 8) | s3;
|
H A D | softmagic.c | 1828 file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) in file_strncmp() argument 1837 const unsigned char *b = RCAST(const unsigned char *, s2); in file_strncmp()
|
H A D | strcasestr.c | 49 _strncasecmp(const char *s1, const char *s2, size_t n) in _strncasecmp() argument 53 *us2 = (const unsigned char *)s2; in _strncasecmp()
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | magic | 3187 >>>>3 regex \^(lh[0-9a-ex]|lz[s2-8]|pm[012]|pc1) \b
|
H A D | magic私はガラスを食べられます | 3187 >>>>3 regex \^(lh[0-9a-ex]|lz[s2-8]|pm[012]|pc1) \b
|