Lines Matching refs:s1
1945 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ in zend_binary_strcmp() argument
1949 if (s1 == s2) { in zend_binary_strcmp()
1952 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp()
1961 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length)… in zend_binary_strncmp() argument
1965 if (s1 == s2) { in zend_binary_strncmp()
1968 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); in zend_binary_strncmp()
1977 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ in zend_binary_strcasecmp() argument
1982 if (s1 == s2) { in zend_binary_strcasecmp()
1988 c1 = zend_tolower((int)*(unsigned char *)s1++); in zend_binary_strcasecmp()
1999 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uint len… in zend_binary_strncasecmp() argument
2004 if (s1 == s2) { in zend_binary_strncasecmp()
2009 c1 = zend_tolower((int)*(unsigned char *)s1++); in zend_binary_strncasecmp()
2020 ZEND_API int zend_binary_zval_strcmp(zval *s1, zval *s2) /* {{{ */ in zend_binary_zval_strcmp() argument
2022 return zend_binary_strcmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2)); in zend_binary_zval_strcmp()
2026 ZEND_API int zend_binary_zval_strncmp(zval *s1, zval *s2, zval *s3) /* {{{ */ in zend_binary_zval_strncmp() argument
2028 …return zend_binary_strncmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2), Z_LVAL_… in zend_binary_zval_strncmp()
2032 ZEND_API int zend_binary_zval_strcasecmp(zval *s1, zval *s2) /* {{{ */ in zend_binary_zval_strcasecmp() argument
2034 return zend_binary_strcasecmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2)); in zend_binary_zval_strcasecmp()
2038 ZEND_API int zend_binary_zval_strncasecmp(zval *s1, zval *s2, zval *s3) /* {{{ */ in zend_binary_zval_strncasecmp() argument
2040 …return zend_binary_strncasecmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_P(s2), Z_L… in zend_binary_zval_strncasecmp()
2044 ZEND_API void zendi_smart_strcmp(zval *result, zval *s1, zval *s2) /* {{{ */ argument
2051 if ((ret1=is_numeric_string_ex(Z_STRVAL_P(s1), Z_STRLEN_P(s1), &lval1, &dval1, 0, &oflow1)) &&
2090 Z_LVAL_P(result) = zend_binary_zval_strcmp(s1, s2);