Searched refs:len1 (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Ddiv.c94 unsigned int len1, len2, scale2, qdigits, extra, count; local
124 len1 = n1->n_len + scale2;
148 if (len2 > len1+scale)
156 if (len2>len1)
159 qdigits = len1-len2+scale+1;
177 _one_mult (num1, len1+scale1+extra+1, norm, num1);
183 if (len2 > len1)
184 qptr = (unsigned char *) qval->n_value+len2-len1;
189 while (qdig <= len1+scale-len2)
H A Drecmul.c281 int len1, len2; local
285 len1 = n1->n_len + n1->n_scale;
291 _bc_rec_mul (n1, len1, n2, len2, &pval, full_scale);
296 pval->n_len = len2 + len1 + 1 - full_scale;
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregexec.c982 int len1, len2; local
988 len1 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s1, end1, buf1);
990 if (len1 != len2) return 0;
993 while (len1-- > 0) {
/PHP_TRUNK/Zend/
H A Dzend_operators.h350 ZEND_API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t len2);
351 ZEND_API int ZEND_FASTCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
352 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size_t len2);
353 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
354 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2);
355 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
H A Dzend_operators.c2484 ZEND_API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t len2) /* {{{ */ argument
2491 retval = memcmp(s1, s2, MIN(len1, len2));
2493 return (int)(len1 - len2);
2500 ZEND_API int ZEND_FASTCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length) /* {{{ */ argument
2507 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2)));
2509 return (int)(MIN(length, len1) - MIN(length, len2));
2516 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size_t len2) /* {{{ */ argument
2525 len = MIN(len1, len2);
2534 return (int)(len1 - len2);
2538 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp(const char *s1, size_t len1, cons argument
2559 zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2) argument
2581 zend_binary_strncasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2, size_t length) argument
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1564 SQLSMALLINT len1=0, len2=0, fetch_type; local
1586 &len1,
1597 if (len1 == 0 || len2 == 0) {
/PHP_TRUNK/ext/phar/
H A Dphar_internal.h527 size_t len1, len2; local
531 len1 = MIN(entry->phar->fname_len, tmp_len);
532 memcpy(tmp, entry->phar->fname, len1);
534 len2 = MIN(tmp_len - len1, entry->filename_len);
535 memcpy(tmp + len1, entry->filename, len2);
/PHP_TRUNK/ext/standard/
H A Dstring.c3535 static void php_similar_str(const char *txt1, size_t len1, const char *txt2, size_t len2, size_t *pos1, size_t *pos2, size_t *max) argument
3538 char *end1 = (char *) txt1 + len1;
3558 static size_t php_similar_char(const char *txt1, size_t len1, const char *txt2, size_t len2) argument
3563 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max);
3569 if ((pos1 + max < len1) && (pos2 + max < len2)) {
3570 sum += php_similar_char(txt1 + pos1 + max, len1 - pos1 - max,
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c4892 int i, len1, len2, *eksl, nkeys; local
4958 if (!EVP_SealInit(&ctx, cipher, eks, eksl, NULL, pkeys, nkeys) || !EVP_SealUpdate(&ctx, buf, &len1, (unsigned char *)data, (int)data_len)) {
4965 EVP_SealFinal(&ctx, buf + len1, &len2);
4967 if (len1 + len2 > 0) {
4969 buf[len1 + len2] = '\0';
4970 ZVAL_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0));
4995 RETVAL_LONG(len1 + len2);
5020 int len1, len2; local
5057 if (EVP_OpenInit(&ctx, cipher, (unsigned char *)ekey, (int)ekey_len, NULL, pkey) && EVP_OpenUpdate(&ctx, buf, &len1, (unsigned char *)data, (int)data_len)) {
5058 if (!EVP_OpenFinal(&ctx, buf + len1,
[all...]

Completed in 103 milliseconds