/php-src/sapi/cgi/ |
H A D | cgi_main.c | 798 char *s1, *s2; local 816 s1 = (char *) doc_root; 820 s1 = path; 830 if (strnicmp(s1, s2, s_len) == 0) { 832 if (strncmp(s1, s2, s_len) == 0) {
|
/php-src/ext/random/ |
H A D | engine_xoshiro256starstar.c | 64 uint64_t s0 = 0, s1 = 0, s2 = 0, s3 = 0; in jump() local 70 s1 ^= state->state[1]; in jump() 80 state->state[1] = s1; in jump() 85 …6(php_random_status_state_xoshiro256starstar *state, uint64_t s0, uint64_t s1, uint64_t s2, uint64… in php_random_xoshiro256starstar_seed256() argument 88 state->state[1] = s1; in php_random_xoshiro256starstar_seed256()
|
H A D | engine_mt19937.c | 149 uint32_t s1; in generate() local 155 s1 = s->state[s->count++]; in generate() 156 s1 ^= (s1 >> 11); in generate() 157 s1 ^= (s1 << 7) & 0x9d2c5680U; in generate() 158 s1 ^= (s1 << 15) & 0xefc60000U; in generate() 162 .result = (uint64_t) (s1 ^ (s1 >> 18)), in generate()
|
H A D | php_random.h | 190 …6(php_random_status_state_xoshiro256starstar *state, uint64_t s0, uint64_t s1, uint64_t s2, uint64…
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 458 #define ADLER32_SCALAR_DO1(buf) {s1 += *(buf); s2 += s1;} 466 unsigned int s1 = *s1_out; in adler32_do16_loop() local 489 accumulate_s1 += s1; in adler32_do16_loop() 493 s1 += _mm_cvtsi128_si32(sum) + _mm_extract_epi16(sum, 4); in adler32_do16_loop() 511 *s1_out = s1; in adler32_do16_loop() 517 unsigned int s1 = checksum & 0xffff; in zend_adler32() local 524 adler32_do16_loop(buf, end, &s1, &s2); in zend_adler32() 526 s1 %= ADLER32_BASE; in zend_adler32() 534 adler32_do16_loop(buf, end, &s1, &s2); in zend_adler32() 544 s1 %= ADLER32_BASE; in zend_adler32() [all …]
|
/php-src/Zend/ |
H A D | zend_builtin_functions.c | 316 zend_string *s1, *s2; in ZEND_FUNCTION() local 319 Z_PARAM_STR(s1) 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 334 Z_PARAM_STR(s1) 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 354 Z_PARAM_STR(s1) 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_strtod.c | 1892 s1 = s; 1905 s = s1; 1967 n = s1 - s0 - 1; 1977 while(s1 > s0) { 1980 s1 -= i; 1984 if (*--s1 == '.') 2612 for(s1 = s; s1 > s0 && *--s1 == '0'; ) 2616 if (c == *s1) { 2618 if (*++s1) { 2625 if (!*++s1) { [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_string.c | 395 … I_REPLACE_SONAME_FNNAME_ZU(NONE,zend_string_equal_val)(const zend_string *s1, const zend_string *… 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 ZEND_API zend_never_inline NOIPA bool ZEND_FASTCALL zend_string_equal_val(const zend_string *s1, co… in zend_string_equal_val() argument 404 const char *ptr = ZSTR_VAL(s1); in zend_string_equal_val() 405 size_t delta = (const char*)s2 - (const char*)s1; in zend_string_equal_val() 406 size_t len = ZSTR_LEN(s1); in zend_string_equal_val() 440 ZEND_API zend_never_inline NOIPA bool ZEND_FASTCALL zend_string_equal_val(const zend_string *s1, co… in zend_string_equal_val() argument 442 const char *ptr = ZSTR_VAL(s1); in zend_string_equal_val() 443 size_t delta = (const char*)s2 - (const char*)s1; in zend_string_equal_val() 444 size_t len = ZSTR_LEN(s1); in zend_string_equal_val()
|
/php-src/ext/opcache/tests/opt/ |
H A D | dce_001.phpt | 14 function foo(string $s1, string $s2, string $s3, string $s4) { 15 $x = ($s1 . $s2) . ($s3 . $s4); 31 0000 CV0($s1) = RECV 1
|
/php-src/Zend/asm/ |
H A D | jump_loongarch64_sysv_elf_gas.S | 62 st.d $s1, $sp, 72 94 ld.d $s1, $sp, 72
|
/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() 82 if (s1 == NULL) { in dom_xml_str_equals_treat_nulls_as_empty() 87 return *s1 == '\0'; 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 static zend_always_inline bool dom_xml_str_equals_treat_nulls_as_nulls(const xmlChar *s1, const xml… 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/ext/fileinfo/tests/ |
H A D | finfo_open_001.phpt | 54 Warning: finfo_open(%s1): Failed to open stream: No such file or directory in %s on line %d 56 Warning: finfo_open(%s1): Failed to open stream: No such file or directory in %s on line %d 58 Warning: finfo_open(): Failed to load magic database at "%s1" in %s on line %d 72 finfo::__construct(%s1): Failed to open stream: No such file or directory
|
/php-src/ext/spl/ |
H A D | spl_observer.c | 377 spl_SplObjectStorageElement *s1 = (spl_SplObjectStorageElement*)Z_PTR_P(e1); in spl_object_storage_compare_info() local 380 return zend_compare(&s1->inf, &s2->inf); in spl_object_storage_compare_info()
|
/php-src/ext/standard/ |
H A D | string.c | 472 zend_string *s1, *s2; in PHP_FUNCTION() local 475 Z_PARAM_STR(s1) in PHP_FUNCTION() 4075 uint8x16_t s01 = vorrq_u8(s0, s1); 5603 zend_string *s1, *s2; local 5606 Z_PARAM_STR(s1) 5610 RETURN_LONG(strnatcmp_ex(ZSTR_VAL(s1), ZSTR_LEN(s1), 6175 zend_string *s1, *s2; local 6182 Z_PARAM_STR(s1) 6200 offset = ZSTR_LEN(s1) + offset; 6204 if ((size_t)offset > ZSTR_LEN(s1)) { [all …]
|
H A D | array.c | 175 const char *s1, *s2; in php_array_key_compare_string_case_unstable_i() local 181 s1 = f->key->val; in php_array_key_compare_string_case_unstable_i() 185 l1 = buf1 + sizeof(buf1) - 1 - s1; in php_array_key_compare_string_case_unstable_i() 200 const char *s1, *s2; in php_array_key_compare_string_unstable_i() local 206 s1 = f->key->val; in php_array_key_compare_string_unstable_i() 210 l1 = buf1 + sizeof(buf1) - 1 - s1; in php_array_key_compare_string_unstable_i() 225 const char *s1, *s2; in php_array_key_compare_string_natural_general() local 231 s1 = f->key->val; in php_array_key_compare_string_natural_general() 274 const char *s1, *s2; in php_array_key_compare_string_locale_unstable_i() local 279 s1 = f->key->val; in php_array_key_compare_string_locale_unstable_i() [all …]
|
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);
|
H A D | var.c | 1115 char *s1 = zend_print_long_to_buf(b1 + sizeof(b1) - 1, ZSTR_LEN(Z_OBJCE_P(struc)->name)); in php_var_serialize_intern() local 1116 size_t l1 = b1 + sizeof(b1) - 1 - s1; in php_var_serialize_intern() 1121 res = zend_mempcpy(res, s1, l1); in php_var_serialize_intern()
|
/php-src/docs/source/core/data-structures/ |
H A D | zend_string.rst | 82 - - ``zend_string_concat2(s1, l1, s2, l2)``
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_internal.h | 204 #define strncmp(s1,s2,m) _strncmp(s1,s2,m) argument
|
/php-src/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 1993 file_strncmp(const char *s1, const char *s2, size_t len, size_t maxlen, in file_strncmp() argument 2002 const unsigned char *a = RCAST(const unsigned char *, s1); in file_strncmp()
|
H A D | apprentice.c | 3603 unsigned int s3, s2, s1, s0; local 3611 s1 = s[1]; 3612 len = (s1 << 8) | s0; 3616 s1 = s[1]; 3617 len = (s0 << 8) | s1; 3621 s1 = s[1]; 3624 len = (s3 << 24) | (s2 << 16) | (s1 << 8) | s0; 3628 s1 = s[1]; 3631 len = (s0 << 24) | (s1 << 16) | (s2 << 8) | s3;
|
/php-src/ext/mbstring/ |
H A D | mb_gpc.c | 187 for (char *s1 = res; *s1; s1++) { in _php_mb_encoding_handler_ex() local 189 if (*s1 == *s2) { in _php_mb_encoding_handler_ex()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 659 char *s1, *s2; in php_cgi_ini_activate_user_config() local 676 s1 = (char *) doc_root; in php_cgi_ini_activate_user_config() 680 s1 = path; in php_cgi_ini_activate_user_config() 689 if (strncmp(s1, s2, s_len) == 0) { in php_cgi_ini_activate_user_config()
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cjk.c | 119 s1++; \ 1720 if (((s1 >= 0 && s1 <= 4 && s1 != 1) || s1 == 7 || (s1 >= 11 && s1 <= 14) || in mbfl_filt_conv_jis2004_wchar() 1903 s1 = ((s1 >> 8) & 0xff) + 0x80; in mbfl_filt_conv_wchar_jis2004() 1914 s1 = (s1 >> 8) & 0x7f; in mbfl_filt_conv_wchar_jis2004() 1998 s1 = ((s1 >> 8) & 0xff) + 0x80; in mbfl_filt_conv_wchar_jis2004() 2008 s1 = (s1 >> 8) & 0xff; in mbfl_filt_conv_wchar_jis2004() 2064 s1 = ((s1 >> 8) & 0xff) | 0x80; in mbfl_filt_conv_wchar_jis2004_flush() 2067 s1 = (s1 >> 8) & 0x7f; in mbfl_filt_conv_wchar_jis2004_flush() 2194 …if (((s1 <= 4 && s1 != 1) || s1 == 7 || (s1 >= 11 && s1 <= 14) || (s1 >= 77 && s1 < 94)) && s2 < 9… in mb_iso2022jp2004_to_wchar() 6364 s1 = (((s1 / 94) + 0x21) << 8) | ((s1 % 94) + 0x21); in mbfl_filt_conv_wchar_sjis_mobile() [all …]
|