/php-src/Zend/asm/ |
H A D | jump_loongarch64_sysv_elf_gas.S | 63 st.d $s2, $sp, 80 95 ld.d $s2, $sp, 80
|
H A D | jump_mips32_o32_elf_gas.S | 53 sw $s2, 56($sp) # save S2 90 lw $s2, 56($sp) # restore S2
|
H A D | jump_mips64_n64_elf_gas.S | 60 sd $s2, 80($sp) # save S2 100 ld $s2, 80($sp) # restore S2
|
H A D | jump_riscv64_sysv_elf_gas.S | 86 sd s2, 0x70(sp) 124 ld s2, 0x70(sp)
|
/php-src/Zend/tests/ |
H A D | add_006.phpt | 10 $s2 = "876222numeric"; 20 $c = $i + $s2; 36 $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"; 22 $s2 &= 33; 23 var_dump($s2);
|
H A D | self_mod.phpt | 8 $s2 = "45345some"; 20 $s2 %= 33; 21 var_dump($s2);
|
H A D | self_or.phpt | 8 $s2 = "45345some"; 22 $s2 |= 33; 23 var_dump($s2);
|
H A D | self_xor.phpt | 8 $s2 = "45345some"; 22 $s2 ^= 33; 23 var_dump($s2);
|
H A D | shift_001.phpt | 8 $s2 = "45345some"; 20 $s2 <<= 3; 21 var_dump($s2);
|
H A D | shift_002.phpt | 8 $s2 = "45345some"; 20 $s2 >>= 3; 21 var_dump($s2);
|
/php-src/Zend/ |
H A D | zend_builtin_functions.c | 316 zend_string *s1, *s2; in ZEND_FUNCTION() local 320 Z_PARAM_STR(s2) in ZEND_FUNCTION() 323 RETURN_LONG(zend_binary_strcmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2))); in ZEND_FUNCTION() 330 zend_string *s1, *s2; in ZEND_FUNCTION() local 335 Z_PARAM_STR(s2) in ZEND_FUNCTION() 344 RETURN_LONG(zend_binary_strncmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2), len)); in ZEND_FUNCTION() 351 zend_string *s1, *s2; in ZEND_FUNCTION() local 355 Z_PARAM_STR(s2) in ZEND_FUNCTION() 358 RETURN_LONG(zend_binary_strcasecmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2))); in ZEND_FUNCTION() 365 zend_string *s1, *s2; in ZEND_FUNCTION() local [all …]
|
H A D | zend_config.w32.h | 44 #define strcasecmp(s1, s2) _stricmp(s1, s2) argument 45 #define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n) argument
|
H A D | zend_operators.c | 3149 if (s1 == s2) { in zend_binary_strcmp() 3165 if (s1 == s2) { in zend_binary_strncmp() 3182 if (s1 == s2) { in zend_binary_strcasecmp() 3204 if (s1 == s2) { in zend_binary_strncasecmp() 3225 if (s1 == s2) { in zend_binary_strcasecmp_l() 3247 if (s1 == s2) { in zend_binary_strncasecmp_l() 3265 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() 3271 …return zend_binary_strncmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2), Z_LVAL_… in zend_binary_zval_strncmp() 3283 (ret2 = is_numeric_string_ex(s2->val, s2->len, &lval2, &dval2, false, &oflow2, NULL))) { 3331 (ret2 = is_numeric_string_ex(s2->val, s2->len, &lval2, &dval2, false, &oflow2, NULL))) { [all …]
|
H A D | zend_operators.h | 472 ZEND_API int ZEND_FASTCALL zend_binary_zval_strcmp(zval *s1, zval *s2); 473 ZEND_API int ZEND_FASTCALL zend_binary_zval_strncmp(zval *s1, zval *s2, zval *s3); 474 ZEND_API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t l… 476 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size… 481 ZEND_API bool ZEND_FASTCALL zendi_smart_streq(zend_string *s1, zend_string *s2); 482 ZEND_API int ZEND_FASTCALL zendi_smart_strcmp(zend_string *s1, zend_string *s2); 812 static zend_always_inline bool zend_fast_equal_strings(zend_string *s1, zend_string *s2) in zend_fast_equal_strings() argument 814 if (s1 == s2) { in zend_fast_equal_strings() 816 } else if (ZSTR_VAL(s1)[0] > '9' || ZSTR_VAL(s2)[0] > '9') { in zend_fast_equal_strings() 817 return zend_string_equal_content(s1, s2); in zend_fast_equal_strings() [all …]
|
H A D | zend_string.c | 395 …_REPLACE_SONAME_FNNAME_ZU(NONE,zend_string_equal_val)(const zend_string *s1, const zend_string *s2) in I_REPLACE_SONAME_FNNAME_ZU() 397 return !memcmp(ZSTR_VAL(s1), ZSTR_VAL(s2), ZSTR_LEN(s1)); in I_REPLACE_SONAME_FNNAME_ZU() 402 …inline NOIPA bool ZEND_FASTCALL zend_string_equal_val(const zend_string *s1, const zend_string *s2) in zend_string_equal_val() argument 405 size_t delta = (const char*)s2 - (const char*)s1; in zend_string_equal_val() 440 …inline NOIPA bool ZEND_FASTCALL zend_string_equal_val(const zend_string *s1, const zend_string *s2) in zend_string_equal_val() argument 443 size_t delta = (const char*)s2 - (const char*)s1; in zend_string_equal_val()
|
H A D | zend_string.h | 94 #define ZSTR_GET_COPYABLE_CONCAT_PROPERTIES_BOTH(s1, s2) (GC_FLAGS(s1) & GC_FLAGS(s2) & ZSTR_COPYAB… in END_EXTERN_C() argument 370 return ZSTR_LEN(s1) == s2_length && !memcmp(ZSTR_VAL(s1), s2, s2_length); in zend_string_equals_cstr() 375 ZEND_API bool ZEND_FASTCALL zend_string_equal_val(const zend_string *s1, const zend_string *s2); 378 static zend_always_inline bool zend_string_equal_val(const zend_string *s1, const zend_string *s2) in END_EXTERN_C() 380 return !memcmp(ZSTR_VAL(s1), ZSTR_VAL(s2), ZSTR_LEN(s1)); in END_EXTERN_C() 384 …tic zend_always_inline bool zend_string_equal_content(const zend_string *s1, const zend_string *s2) 386 return ZSTR_LEN(s1) == ZSTR_LEN(s2) && zend_string_equal_val(s1, s2); 389 static zend_always_inline bool zend_string_equals(const zend_string *s1, const zend_string *s2) in zend_string_equals() argument 391 return s1 == s2 || zend_string_equal_content(s1, s2); in zend_string_equals() 394 #define zend_string_equals_ci(s1, s2) \ argument [all …]
|
H A D | zend_strtod.c | 2619 s2 = s; 2626 s = s2; 3893 s2 = j; in zend_dtoa() 3897 s2 = 0; in zend_dtoa() 3902 s2 += k; in zend_dtoa() 4144 s2 += i; in zend_dtoa() 4148 i = m2 < s2 ? m2 : s2; in zend_dtoa() 4151 s2 -= i; in zend_dtoa() 4186 s2 += Log2P; in zend_dtoa() 4201 s2 += i; in zend_dtoa() [all …]
|
/php-src/docs/source/core/data-structures/ |
H A D | zend_string.rst | 82 - - ``zend_string_concat2(s1, l1, s2, l2)``
|
/php-src/ext/date/lib/ |
H A D | timelib.c | 257 int timelib_strcasecmp(const char *s1, const char *s2) in timelib_strcasecmp() argument 261 size_t len2 = strlen(s2); in timelib_strcasecmp() 264 if (s1 == s2) { in timelib_strcasecmp() 271 c2 = timelib_tolower(*(unsigned char *)s2++); in timelib_strcasecmp() 280 int timelib_strncasecmp(const char *s1, const char *s2, size_t length) in timelib_strncasecmp() argument 284 size_t len2 = strlen(s2); in timelib_strncasecmp() 287 if (s1 == s2) { in timelib_strncasecmp() 293 c2 = timelib_tolower(*(unsigned char *)s2++); in timelib_strncasecmp()
|
H A D | timelib_private.h | 170 int timelib_strcasecmp(const char *s1, const char *s2); 171 int timelib_strncasecmp(const char *s1, const char *s2, size_t n);
|
/php-src/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 );
|