Home
last modified time | relevance | path

Searched refs:s2 (Results 26 – 50 of 87) sorted by last modified time

1234

/php-src/Zend/
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()
H A Dzend_operators.h472 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 …]
/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))
H A Dminilua.c6232 char*s2;
6235 n=strtoul(s1,&s2,base);
6236 if(s1!=s2){
6237 while(isspace((unsigned char)(*s2)))s2++;
6238 if(*s2=='\0'){
7322 const char*s2,size_t l2){
7331 if(memcmp(init,s2+1,l2)==0)
7375 const char*s2=lmemfind(s+init,l1-init,p,l2);
7376 if(s2){
7377 lua_pushinteger(L,s2-s+1);
[all …]
H A Ddasm_arm.lua676 local s, s2 = match(shift, "^(%S+)%s*(.*)$")
679 if sub(s2, 1, 1) == "#" then
680 return parse_imm(s2, 5, 7, 0, false) + shl(s, 5)
683 return shl(parse_gpr(s2), 8) + shl(s, 5) + 16
H A Ddasm_arm64.lua445 local s, s2 = match(expr, "^(%S+)%s*(.*)$")
448 return parse_imm(s2, 6, 10, 0, false) + shl(s, 22)
462 local s, s2 = match(expr, "^(%S+)%s*(.*)$")
469 return (s2 == "" and 0 or parse_imm(s2, 3, 10, 0, false)) + shl(s, 13)
/php-src/ext/standard/
H A Dstreamsfuncs.c56 php_stream *s1, *s2; in PHP_FUNCTION() local
79 s2 = php_stream_sock_open_from_socket(pair[1], 0); in PHP_FUNCTION()
80 if (s2 == NULL) { in PHP_FUNCTION()
92 php_stream_auto_cleanup(s2); in PHP_FUNCTION()
95 add_next_index_resource(return_value, s2->res); in PHP_FUNCTION()
/php-src/ext/opcache/jit/ir/
H A Dir_aarch64.h48 _(V2, d2, s2, h2, b2) \
/php-src/ext/date/lib/
H A Dtimelib.c257 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 Dtimelib_private.h170 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/random/tests/
H A Dengines.inc54 private int $s2,
70 $this->s2 ^= $this->s0;
72 $this->s1 ^= $this->s2;
75 $this->s2 ^= $t;
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます3880 >>>>3 regex \^(lh[0-9a-ex]|lz[s2-8]|pm[012]|pc1) \b
H A Dmagic3880 >>>>3 regex \^(lh[0-9a-ex]|lz[s2-8]|pm[012]|pc1) \b
/php-src/ext/mysqlnd/
H A Dmysqlnd_auth.c518 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) in php_mysqlnd_crypt() argument
522 *buffer++= *s1++ ^ *s2++; in php_mysqlnd_crypt()
H A Dmysqlnd_alloc.c100 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/ext/mbstring/tests/
H A Dmb_convert_variables.phpt46 $s2 = $euc_jp;
50 echo bin2hex("$s1$s2$s3"), "\n"; // Converted to EUC-JP
54 $a = array($s3, $s2, $s1);
60 $a = array($s1, $s2, $s3);
71 public $s2;
79 $this->s2 = $euc_jp;
87 public $s2;
95 $this->s2 = $euc_jp;
116 $s2 = $euc_jp;
118 $a = array($s1, $s2, $s3);
[all …]
/php-src/ext/zend_test/tests/
H A Dstrings_not_marked_as_utf8.phpt28 $s2 = "o";
29 $s = $s1 . $s2;
35 $s2 = "o";
36 $s = $s1 . $s2 . $non_utf8;
55 $s2 = "";
56 $s = $s1 . $s2;
60 $s2 = "";
61 $s = $s2 . $s1;
H A Dstrings_marked_as_utf8.phpt33 $s2 = "o";
34 $s = $s1 . $s2;
40 $s2 = "o";
41 $s = $s1 . $s2 . $s2;
66 $s2 = "";
67 $s = $s1 . $s2;
70 $s2 = "";
71 $s = $s2 . $s1;
/php-src/sapi/fpm/fpm/
H A Dfpm_env.c103 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/intl/spoofchecker/
H A Dspoofchecker_main.c68 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/fileinfo/libmagic/
H A Dstrcasestr.c47 _strncasecmp(const char *s1, const char *s2, size_t n) in _strncasecmp() argument
51 *us2 = (const unsigned char *)s2; in _strncasecmp()
/php-src/ext/standard/tests/strings/
H A Dstrval_variation2.phpt9 $s2 = "\x20\x21\x22\x23\x24\x25\x26\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f";
28 echo bin2hex(strval($s2));
H A Dhtmlspecialchars_basic.phpt8 $s2 = "&&abc<>\"&\n";
14 echo "Test 2: " . htmlspecialchars ($s2);
19 echo "Test 7: " . htmlspecialchars ($s2,ENT_NOQUOTES);
24 echo "Test 12: " . htmlspecialchars ($s2,ENT_COMPAT);
29 echo "Test 17: " . htmlspecialchars ($s2,ENT_QUOTES);
36 echo "Test 22: " . htmlspecialchars ($s2,ENT_COMPAT, "ISO-8859-1");
42 $s2 = "&quot;&amp;123&lt;456&quot;\n";
45 echo "Test 26: " . htmlspecialchars ($s2,ENT_NOQUOTES, "ISO-8859-1", false);
50 echo "Test 29: " . htmlspecialchars ($s2, ENT_NOQUOTES, "ISO-8859-1", true);
/php-src/ext/standard/tests/file/
H A Dfclose_variation1.phpt7 $s2 = $s;
8 separate_zval($s2);
11 echo fread($s2, strlen("<?php"));

Completed in 705 milliseconds

1234