Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 87) sorted by last modified time

1234

/php-src/ext/mbstring/
H A Dmbstring.c654 char *s, *s2; in php_mb_rfc1867_basename() local
663 s2 = php_mb_safe_strrchr(filename, '/', filename_len, (const mbfl_encoding *)encoding); in php_mb_rfc1867_basename()
665 if (s && s2) { in php_mb_rfc1867_basename()
666 if (s > s2) { in php_mb_rfc1867_basename()
669 return ++s2; in php_mb_rfc1867_basename()
673 } else if (s2) { in php_mb_rfc1867_basename()
674 return ++s2; in php_mb_rfc1867_basename()
H A Dmb_gpc.c188 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/Zend/
H A Dzend_strtod.c2619 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 …]
H A Dzend_config.w32.h44 #define strcasecmp(s1, s2) _stricmp(s1, s2) argument
45 #define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n) argument
H A Dzend_builtin_functions.c316 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 Dzend_string.c395 …_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/sapi/cgi/
H A Dcgi_main.c798 char *s1, *s2; local
817 s2 = path;
821 s2 = (char *) doc_root;
830 if (strnicmp(s1, s2, s_len) == 0) {
832 if (strncmp(s1, s2, s_len) == 0) {
834 char *ptr = s2 + doc_root_len;
/php-src/ext/opcache/tests/opt/
H A Ddce_001.phpt14 function foo(string $s1, string $s2, string $s3, string $s4) {
15 $x = ($s1 . $s2) . ($s3 . $s4);
32 0001 CV1($s2) = RECV 2
/php-src/Zend/asm/
H A Djump_loongarch64_sysv_elf_gas.S63 st.d $s2, $sp, 80
95 ld.d $s2, $sp, 80
/php-src/ext/dom/
H A Dxml_serializer.c77 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/ext/random/
H A Dphp_random.h190 …random_status_state_xoshiro256starstar *state, uint64_t s0, uint64_t s1, uint64_t s2, uint64_t s3);
H A Dengine_xoshiro256starstar.c64 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/spl/
H A Dspl_observer.c378 spl_SplObjectStorageElement *s2 = (spl_SplObjectStorageElement*)Z_PTR_P(e2); 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 Dstring.c472 zend_string *s1, *s2; in PHP_FUNCTION() local
476 Z_PARAM_STR(s2) in PHP_FUNCTION()
480 (const char *) ZSTR_VAL(s2))); in PHP_FUNCTION()
4073 uint8x16_t s2 = vceqq_u8(x, vdupq_n_u8('\"')); local
4076 uint8x16_t s23 = vorrq_u8(s2, s3);
5603 zend_string *s1, *s2; local
5607 Z_PARAM_STR(s2)
5611 ZSTR_VAL(s2), ZSTR_LEN(s2),
6175 zend_string *s1, *s2; local
6183 Z_PARAM_STR(s2)
[all …]
H A Darray.c175 const char *s1, *s2; in php_array_key_compare_string_case_unstable_i() local
188 s2 = s->key->val; in php_array_key_compare_string_case_unstable_i()
192 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string_case_unstable_i()
200 const char *s1, *s2; in php_array_key_compare_string_unstable_i() local
213 s2 = s->key->val; in php_array_key_compare_string_unstable_i()
217 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string_unstable_i()
225 const char *s1, *s2; in php_array_key_compare_string_natural_general() local
238 s2 = s->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
284 s2 = s->key->val; in php_array_key_compare_string_locale_unstable_i()
[all …]
H A Dphp_string.h58 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 Dvar.c1117 char *s2 = zend_print_long_to_buf(b2 + sizeof(b2) - 1, serialized_length); in php_var_serialize_intern() local
1118 size_t l2 = b2 + sizeof(b2) - 1 - s2; in php_var_serialize_intern()
1125 res = zend_mempcpy(res, s2, l2); in php_var_serialize_intern()
/php-src/docs/source/core/data-structures/
H A Dzend_string.rst82 - - ``zend_string_concat2(s1, l1, s2, l2)``
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_internal.h204 #define strncmp(s1,s2,m) _strncmp(s1,s2,m) argument
/php-src/ext/fileinfo/libmagic/
H A Dsoftmagic.c1993 file_strncmp(const char *s1, const char *s2, size_t len, size_t maxlen, in file_strncmp() argument
2003 const unsigned char *b = RCAST(const unsigned char *, s2); in file_strncmp()
H A Dapprentice.c3603 unsigned int s3, s2, s1, s0; local
3622 s2 = s[2];
3624 len = (s3 << 24) | (s2 << 16) | (s1 << 8) | s0;
3629 s2 = s[2];
3631 len = (s0 << 24) | (s1 << 16) | (s2 << 8) | s3;
/php-src/main/
H A Drfc1867.c533 char *s2 = strrchr(path, '/'); in php_ap_basename() local
535 if (s && s2) { in php_ap_basename()
536 if (s > s2) { in php_ap_basename()
539 s = ++s2; in php_ap_basename()
544 } else if (s2) { in php_ap_basename()
545 return ++s2; in php_ap_basename()
/php-src/sapi/fpm/fpm/
H A Dfpm_main.c659 char *s1, *s2; in php_cgi_ini_activate_user_config() local
677 s2 = path; in php_cgi_ini_activate_user_config()
681 s2 = (char *) doc_root; in php_cgi_ini_activate_user_config()
689 if (strncmp(s1, s2, s_len) == 0) { in php_cgi_ini_activate_user_config()
690 ptr = s2 + doc_root_len; in php_cgi_ini_activate_user_config()
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cjk.c94 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/opcache/jit/ir/dynasm/
H A Ddynasm.lua681 for _,s2 in ipairs(s) do
682 out:write(format(" %-12s %s\n", name, s2))

Completed in 212 milliseconds

1234