len1 2167 Zend/zend_operators.c ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ len1 2174 Zend/zend_operators.c retval = memcmp(s1, s2, MIN(len1, len2)); len1 2176 Zend/zend_operators.c return (len1 - len2); len1 2183 Zend/zend_operators.c ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ len1 2190 Zend/zend_operators.c retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); len1 2192 Zend/zend_operators.c return (MIN(length, len1) - MIN(length, len2)); len1 2199 Zend/zend_operators.c ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ len1 2208 Zend/zend_operators.c len = MIN(len1, len2); len1 2217 Zend/zend_operators.c return len1 - len2; len1 2221 Zend/zend_operators.c ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ len1 2229 Zend/zend_operators.c len = MIN(length, MIN(len1, len2)); len1 2238 Zend/zend_operators.c return MIN(length, len1) - MIN(length, len2); len1 2242 Zend/zend_operators.c ZEND_API int zend_binary_strcasecmp_l(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ len1 2251 Zend/zend_operators.c len = MIN(len1, len2); len1 2260 Zend/zend_operators.c return len1 - len2; len1 2264 Zend/zend_operators.c ZEND_API int zend_binary_strncasecmp_l(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ len1 2272 Zend/zend_operators.c len = MIN(length, MIN(len1, len2)); len1 2281 Zend/zend_operators.c return MIN(length, len1) - MIN(length, len2); len1 365 Zend/zend_operators.h ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2); len1 366 Zend/zend_operators.h ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length); len1 367 Zend/zend_operators.h ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2); len1 368 Zend/zend_operators.h ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uint length); len1 369 Zend/zend_operators.h ZEND_API int zend_binary_strncasecmp_l(const char *s1, uint len1, const char *s2, uint len2, uint length); len1 94 ext/bcmath/libbcmath/src/div.c unsigned int len1, len2, scale2, qdigits, extra, count; len1 124 ext/bcmath/libbcmath/src/div.c len1 = n1->n_len + scale2; len1 148 ext/bcmath/libbcmath/src/div.c if (len2 > len1+scale) len1 156 ext/bcmath/libbcmath/src/div.c if (len2>len1) len1 159 ext/bcmath/libbcmath/src/div.c qdigits = len1-len2+scale+1; len1 177 ext/bcmath/libbcmath/src/div.c _one_mult (num1, len1+scale1+extra+1, norm, num1); len1 183 ext/bcmath/libbcmath/src/div.c if (len2 > len1) len1 184 ext/bcmath/libbcmath/src/div.c qptr = (unsigned char *) qval->n_value+len2-len1; len1 189 ext/bcmath/libbcmath/src/div.c while (qdig <= len1+scale-len2) len1 281 ext/bcmath/libbcmath/src/recmul.c int len1, len2; len1 285 ext/bcmath/libbcmath/src/recmul.c len1 = n1->n_len + n1->n_scale; len1 291 ext/bcmath/libbcmath/src/recmul.c _bc_rec_mul (n1, len1, n2, len2, &pval, full_scale TSRMLS_CC); len1 296 ext/bcmath/libbcmath/src/recmul.c pval->n_len = len2 + len1 + 1 - full_scale; len1 982 ext/mbstring/oniguruma/regexec.c int len1, len2; len1 988 ext/mbstring/oniguruma/regexec.c len1 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s1, end1, buf1); len1 990 ext/mbstring/oniguruma/regexec.c if (len1 != len2) return 0; len1 993 ext/mbstring/oniguruma/regexec.c while (len1-- > 0) { len1 1561 ext/odbc/php_odbc.c SQLSMALLINT len1=0, len2=0, fetch_type; len1 1581 ext/odbc/php_odbc.c &len1, len1 1592 ext/odbc/php_odbc.c if (len1 == 0 || len2 == 0) { len1 4854 ext/openssl/openssl.c int i, len1, len2, *eksl, nkeys; len1 4925 ext/openssl/openssl.c if (!EVP_SealInit(&ctx, cipher, eks, eksl, NULL, pkeys, nkeys) || !EVP_SealUpdate(&ctx, buf, &len1, (unsigned char *)data, data_len)) { len1 4932 ext/openssl/openssl.c EVP_SealFinal(&ctx, buf + len1, &len2); len1 4934 ext/openssl/openssl.c if (len1 + len2 > 0) { len1 4936 ext/openssl/openssl.c buf[len1 + len2] = '\0'; len1 4937 ext/openssl/openssl.c buf = erealloc(buf, len1 + len2 + 1); len1 4938 ext/openssl/openssl.c ZVAL_STRINGL(sealdata, (char *)buf, len1 + len2, 0); len1 4960 ext/openssl/openssl.c RETVAL_LONG(len1 + len2); len1 4985 ext/openssl/openssl.c int len1, len2; len1 5017 ext/openssl/openssl.c if (EVP_OpenInit(&ctx, cipher, (unsigned char *)ekey, ekey_len, NULL, pkey) && EVP_OpenUpdate(&ctx, buf, &len1, (unsigned char *)data, data_len)) { len1 5018 ext/openssl/openssl.c if (!EVP_OpenFinal(&ctx, buf + len1, &len2) || (len1 + len2 == 0)) { len1 5023 ext/openssl/openssl.c buf[len1 + len2] = '\0'; len1 5024 ext/openssl/openssl.c ZVAL_STRINGL(opendata, erealloc(buf, len1 + len2 + 1), len1 + len2, 0); len1 539 ext/phar/phar_internal.h size_t len1, len2; len1 543 ext/phar/phar_internal.h len1 = MIN(entry->phar->fname_len, tmp_len); len1 544 ext/phar/phar_internal.h memcpy(tmp, entry->phar->fname, len1); len1 546 ext/phar/phar_internal.h len2 = MIN(tmp_len - len1, entry->filename_len); len1 547 ext/phar/phar_internal.h memcpy(tmp + len1, entry->filename, len2); len1 299 ext/standard/string.c int len1, len2; len1 302 ext/standard/string.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|ll", &s11, &len1, len1 308 ext/standard/string.c len = len1; len1 314 ext/standard/string.c start += len1; len1 318 ext/standard/string.c } else if (start > len1) { len1 323 ext/standard/string.c len += (len1 - start); len1 329 ext/standard/string.c if (len > len1 - start) { len1 330 ext/standard/string.c len = len1 - start; len1 3206 ext/standard/string.c static void php_similar_str(const char *txt1, int len1, const char *txt2, int len2, int *pos1, int *pos2, int *max) len1 3209 ext/standard/string.c char *end1 = (char *) txt1 + len1; len1 3229 ext/standard/string.c static int php_similar_char(const char *txt1, int len1, const char *txt2, int len2) len1 3234 ext/standard/string.c php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max); len1 3240 ext/standard/string.c if ((pos1 + max < len1) && (pos2 + max < len2)) { len1 3241 ext/standard/string.c sum += php_similar_char(txt1 + pos1 + max, len1 - pos1 - max,