/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/sapi/fpm/fpm/ |
H A D | fpm_env.c | 103 static char * nvmatch(char *s1, char *s2) /* {{{ */ in nvmatch() argument 105 while(*s1 == *s2++) in nvmatch() 108 return s2; in nvmatch() 111 if(*s1 == '\0' && *(s2-1) == '=') { in nvmatch() 112 return s2; in nvmatch()
|
/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 );
|
/php-src/ext/soap/tests/interop/Round4/GroupH/ |
H A D | r4_groupH_complex_doclit_008w.phpt | 29 $s2 = new ExtendedStruct(new SOAPStruct("s2",2,2.2),2,"arg",-3,5); 34 "param2" => $s2, 43 …s2:shortMessage></ns1:param1><ns1:param2><ns2:structMessage><ns2:varString>s2</ns2:varString><ns2:… 45 …ltstring><detail><ns2:ExtendedStructPart><ns1:structMessage><ns1:varString>s2</ns1:varString><ns1:…
|
H A D | r4_groupH_complex_doclit_007w.phpt | 29 $s2 = new ExtendedStruct(new SOAPStruct("s2",2,2.2),2,"arg",-3,5); 34 "param2" => $s2, 43 …s2:shortMessage></ns1:param1><ns1:param2><ns2:structMessage><ns2:varString>s2</ns2:varString><ns2:…
|
H A D | r4_groupH_complex_doclit_010w.phpt | 29 $s2 = new ExtendedStruct(new SOAPStruct("s2",2,2.2),2,"arg",-3,5); 34 "param2" => $s2, 43 …s2:shortMessage></ns1:param1><ns1:param2><ns2:structMessage><ns2:varString>s2</ns2:varString><ns2:…
|
H A D | r4_groupH_complex_doclit_009w.phpt | 29 $s2 = new ExtendedStruct(new SOAPStruct("s2",2,2.2),2,"arg",-3,5); 34 "param2" => $s2, 43 …s2:shortMessage></ns1:param1><ns1:param2><ns2:structMessage><ns2:varString>s2</ns2:varString><ns2:…
|
H A D | r4_groupH_complex_doclit_006w.phpt | 17 $s2 = new BaseStruct(new SOAPStruct('arg2',34,325.325),12); 21 "param2" => $s2));
|
H A D | r4_groupH_complex_doclit_004w.phpt | 17 $s2 = new BaseStruct(new SOAPStruct('arg2',34,325.325),12); 21 "param2" => $s2));
|
H A D | r4_groupH_complex_doclit_005w.phpt | 17 $s2 = new BaseStruct(new SOAPStruct('arg2',34,325.325),12); 21 "param2" => $s2));
|
/php-src/ext/random/ |
H A D | engine_xoshiro256starstar.c | 64 uint64_t s0 = 0, s1 = 0, s2 = 0, s3 = 0; in jump() local 71 s2 ^= state->state[2]; in jump() 81 state->state[2] = s2; in jump() 85 …_random_status_state_xoshiro256starstar *state, uint64_t s0, uint64_t s1, uint64_t s2, uint64_t s3) in php_random_xoshiro256starstar_seed256() argument 89 state->state[2] = s2; in php_random_xoshiro256starstar_seed256()
|
/php-src/ext/intl/spoofchecker/ |
H A D | spoofchecker_main.c | 68 char *s1, *s2; in PHP_METHOD() local 74 &s2, &s2_len, &error_code)) { in PHP_METHOD() 82 …ret = uspoof_areConfusableUTF8(co->uspoof, s1, (int32_t)s1_len, s2, (int32_t)s2_len, SPOOFCHECKER_… in PHP_METHOD()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 460 #define ADLER32_SCALAR_DO1(buf) {s1 += *(buf); s2 += s1;} 469 unsigned int s2 = *s2_out; in adler32_do16_loop() local 505 s2 += accumulate_s1 * 16 + _mm_cvtsi128_si32(accumulate_s2); in adler32_do16_loop() 514 *s2_out = s2; in adler32_do16_loop() 520 unsigned int s2 = (checksum >> 16) & 0xffff; in zend_adler32() local 526 adler32_do16_loop(buf, end, &s1, &s2); in zend_adler32() 529 s2 %= ADLER32_BASE; in zend_adler32() 536 adler32_do16_loop(buf, end, &s1, &s2); in zend_adler32() 547 s2 %= ADLER32_BASE; in zend_adler32() 550 return (s2 << 16) | s1; in zend_adler32()
|
/php-src/Zend/tests/ |
H A D | bug79934.phpt | 13 eval("\$s2 = <<<HEREDOC\n a\n\n b\n HEREDOC;"); 14 var_dump(addcslashes($s2, "\n"));
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 100 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_MALLOC_AMOUNT:STAT_MEM_EMALLOC_AMOUNT; in _mysqlnd_pemalloc() 102 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size); in _mysqlnd_pemalloc() 142 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_CALLOC_AMOUNT:STAT_MEM_ECALLOC_AMOUNT; in _mysqlnd_pecalloc() 144 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size); in _mysqlnd_pecalloc() 186 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_REALLOC_AMOUNT:STAT_MEM_EREALLOC_AMOUNT; in _mysqlnd_perealloc() 188 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, new_size); in _mysqlnd_perealloc()
|
/php-src/Zend/ |
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()
|
/php-src/ext/mbstring/ |
H A D | mb_gpc.c | 188 for (const char *s2 = info->separator; *s2; s2++) { in _php_mb_encoding_handler_ex() local 189 if (*s1 == *s2) { in _php_mb_encoding_handler_ex()
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cjk.c | 94 s2 = c2; \ 97 s2--; \ 112 s2 = c2; \ 115 s2++; \ 1181 s2 = 1 1641 s2 = c; in mbfl_filt_conv_jis2004_wchar() 1721 (s1 >= 77 && s1 < 94)) && s2 >= 0 && s2 < 94) { in mbfl_filt_conv_jis2004_wchar() 6314 s2 = 1; in mbfl_filt_conv_wchar_sjis_mobile() 7448 s2 = 0; in mbfl_filt_conv_wchar_cp932() 7464 s2 = 1; in mbfl_filt_conv_wchar_cp932() [all …]
|
/php-src/ext/dom/ |
H A D | xml_serializer.c | 77 static bool dom_xml_str_equals_treat_nulls_as_empty(const xmlChar *s1, const xmlChar *s2) in dom_xml_str_equals_treat_nulls_as_empty() argument 79 if (s1 == s2) { in dom_xml_str_equals_treat_nulls_as_empty() 83 return s2 == NULL || *s2 == '\0'; in dom_xml_str_equals_treat_nulls_as_empty() 85 if (s2 == NULL) { in dom_xml_str_equals_treat_nulls_as_empty() 89 return strcmp((const char *) s1, (const char *) s2) == 0; in dom_xml_str_equals_treat_nulls_as_empty() 92 …nd_always_inline bool dom_xml_str_equals_treat_nulls_as_nulls(const xmlChar *s1, const xmlChar *s2) in dom_xml_str_equals_treat_nulls_as_nulls() argument 94 if (s1 == s2) { in dom_xml_str_equals_treat_nulls_as_nulls() 97 if (s1 == NULL || s2 == NULL) { in dom_xml_str_equals_treat_nulls_as_nulls() 100 return strcmp((const char *) s1, (const char *) s2) == 0; in dom_xml_str_equals_treat_nulls_as_nulls()
|
/php-src/Zend/asm/ |
H A D | jump_riscv64_sysv_elf_gas.S | 86 sd s2, 0x70(sp) 124 ld s2, 0x70(sp)
|
H A D | jump_loongarch64_sysv_elf_gas.S | 63 st.d $s2, $sp, 80 95 ld.d $s2, $sp, 80
|
/php-src/ext/standard/ |
H A D | php_string.h | 58 PHPAPI size_t php_strspn(const char *s1, const char *s2, const char *s1_end, const char *s2_end); 59 PHPAPI size_t php_strcspn(const char *s1, const char *s2, const char *s1_end, const char *s2_end);
|