Home
last modified time | relevance | path

Searched refs:s2 (Results 76 – 94 of 94) sorted by relevance

1234

/PHP-5.5/Zend/
H A Dzend_builtin_functions.c496 char *s1, *s2; in ZEND_FUNCTION() local
499 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &s1, &s1_len, &s2, &s2_len) == FAILURE)… in ZEND_FUNCTION()
503 RETURN_LONG(zend_binary_strcmp(s1, s1_len, s2, s2_len)); in ZEND_FUNCTION()
512 char *s1, *s2; in ZEND_FUNCTION() local
516 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssl", &s1, &s1_len, &s2, &s2_len, &len) == F… in ZEND_FUNCTION()
525 RETURN_LONG(zend_binary_strncmp(s1, s1_len, s2, s2_len, len)); in ZEND_FUNCTION()
534 char *s1, *s2; in ZEND_FUNCTION() local
537 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &s1, &s1_len, &s2, &s2_len) == FAILURE)… in ZEND_FUNCTION()
541 RETURN_LONG(zend_binary_strcasecmp(s1, s1_len, s2, s2_len)); in ZEND_FUNCTION()
550 char *s1, *s2; in ZEND_FUNCTION() local
[all …]
/PHP-5.5/main/
H A Drfc1867.c561 char *s2 = strrchr(path, '/'); in php_ap_basename() local
563 if (s && s2) { in php_ap_basename()
564 if (s > s2) { in php_ap_basename()
567 s = ++s2; in php_ap_basename()
572 } else if (s2) { in php_ap_basename()
573 return ++s2; in php_ap_basename()
/PHP-5.5/ext/intl/spoofchecker/
H A Dspoofchecker_class.c101 ZEND_ARG_INFO(0, s2)
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c715 char *s1, *s2; local
733 s2 = path;
737 s2 = (char *) doc_root;
746 if (strnicmp(s1, s2, s_len) == 0) {
748 if (strncmp(s1, s2, s_len) == 0) {
750 ptr = s2 + start; /* start is the point where doc_root ends! */
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c1031 #define ADLER32_DO1(buf) {s1 += *(buf); s2 += s1;}
1040 unsigned int s2 = (checksum >> 16) & 0xffff; local
1051 s2 %= ADLER32_BASE;
1071 s2 %= ADLER32_BASE;
1074 return (s2 << 16) | s1;
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c774 char *s1, *s2; local
792 s2 = path;
796 s2 = (char *) doc_root;
805 if (strnicmp(s1, s2, s_len) == 0) {
807 if (strncmp(s1, s2, s_len) == 0) {
809 ptr = s2 + start; /* start is the point where doc_root ends! */
/PHP-5.5/ext/standard/
H A Dstring.c738 char *s1, *s2; in PHP_FUNCTION() local
746 (const char *) s2)); in PHP_FUNCTION()
1653 PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end) argument
1659 for (spanp = s2; p != s1_end && spanp != s2_end;) {
1671 PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end) argument
1677 spanp = s2;
5034 char *s1, *s2; local
5042 s2, s2_len,
5629 char *s1, *s2; local
5661 RETURN_LONG(zend_binary_strncmp(s1 + offset, (s1_len - offset), s2, s2_len, cmp_len));
[all …]
H A Dstreamsfuncs.c53 php_stream *s1, *s2; in PHP_FUNCTION() local
71 s2 = php_stream_sock_open_from_socket(pair[1], 0); in PHP_FUNCTION()
76 php_stream_auto_cleanup(s2); in PHP_FUNCTION()
79 add_next_index_resource(return_value, php_stream_get_resource_id(s2)); in PHP_FUNCTION()
H A Dbasic_functions.c2428 ZEND_ARG_INFO(0, s2)
2436 ZEND_ARG_INFO(0, s2)
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_auth.c317 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) in php_mysqlnd_crypt() argument
321 *buffer++= *s1++ ^ *s2++; in php_mysqlnd_crypt()
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregexec.c965 #define STRING_CMP(s1,s2,len) do {\ argument
967 if (*s1++ != *s2++) goto fail;\
981 UChar *p1, *p2, *end1, *s2, *end2; in string_cmp_ic() local
984 s2 = *ps2; in string_cmp_ic()
986 end2 = s2 + mblen; in string_cmp_ic()
989 len2 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s2, end2, buf2); in string_cmp_ic()
1000 *ps2 = s2; in string_cmp_ic()
1004 #define STRING_CMP_VALUE(s1,s2,len,is_fail) do {\ argument
1007 if (*s1++ != *s2++) {\
H A Dregparse.h324 extern int onig_strncmp P_((const UChar* s1, const UChar* s2, int n));
H A Dregparse.c207 onig_strncmp(const UChar* s1, const UChar* s2, int n) in onig_strncmp() argument
212 x = *s2++ - *s1++; in onig_strncmp()
/PHP-5.5/ext/ereg/regex/
H A Dengine.c52 #define AT(t, p1, p2, s1, s2) at(m, t, p1, p2, s1, s2) argument
56 #define AT(t, p1, p2, s1, s2) /* nothing */ argument
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeSPARC_common.c105 #define S2(s2) (reg_map[s2]) argument
107 #define S2A(s2) (s2) argument
/PHP-5.5/ext/mbstring/
H A Dmbstring.c1157 char *s, *s2; in php_mb_rfc1867_basename() local
1166 s2 = php_mb_safe_strrchr_ex(filename, '/', filename_len, (const mbfl_encoding *)encoding); in php_mb_rfc1867_basename()
1168 if (s && s2) { in php_mb_rfc1867_basename()
1169 if (s > s2) { in php_mb_rfc1867_basename()
1172 return ++s2; in php_mb_rfc1867_basename()
1176 } else if (s2) { in php_mb_rfc1867_basename()
1177 return ++s2; in php_mb_rfc1867_basename()
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcre_internal.h374 #define strncmp(s1,s2,m) _strncmp(s1,s2,m) argument
/PHP-5.5/ext/fileinfo/libmagic/
H A Dsoftmagic.c1778 file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) in file_strncmp() argument
1787 const unsigned char *b = (const unsigned char *)s2; in file_strncmp()
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c49503 u32 s1, s2;
49509 s2 = aIn[1];
49511 s1 = s2 = 0;
49520 s2 += *aData++ + s1;
49531 aOut[1] = s2;
78757 assert( (s2>0 && s2<7) || s2==8 || s2==9 );
78759 if( s1>7 && s2>7 ){
78760 res = s1 - s2;
78762 if( s1==s2 ){
78776 if( s2>7 ){
[all …]

Completed in 588 milliseconds

1234