Searched defs:len1 (Results 1 - 8 of 8) sorted by relevance

/PHP_5_6/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 TSRMLS_CC);
296 pval->n_len = len2 + len1 + 1 - full_scale;
/PHP_5_6/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_5_6/Zend/
H A Dzend_operators.c2167 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ argument
2174 retval = memcmp(s1, s2, MIN(len1, len2));
2176 return (len1 - len2);
2183 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ argument
2190 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2)));
2192 return (MIN(length, len1) - MIN(length, len2));
2199 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ argument
2208 len = MIN(len1, len2);
2217 return len1 - len2;
2221 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, cons argument
2242 zend_binary_strcasecmp_l(const char *s1, uint len1, const char *s2, uint len2) argument
2264 zend_binary_strncasecmp_l(const char *s1, uint len1, const char *s2, uint len2, uint length) argument
[all...]
/PHP_5_6/ext/odbc/
H A Dphp_odbc.c1557 SQLSMALLINT len1=0, len2=0, fetch_type; local
1577 &len1,
1588 if (len1 == 0 || len2 == 0) {
/PHP_5_6/ext/standard/
H A Dstring.c299 int len1, len2; local
302 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|ll", &s11, &len1,
308 len = len1;
314 start += len1;
318 } else if (start > len1) {
323 len += (len1 - start);
329 if (len > len1 - start) {
330 len = len1 - start;
3206 static void php_similar_str(const char *txt1, int len1, const char *txt2, int len2, int *pos1, int *pos2, int *max) argument
3209 char *end1 = (char *) txt1 + len1;
3229 php_similar_char(const char *txt1, int len1, const char *txt2, int len2) argument
[all...]
/PHP_5_6/ext/phar/
H A Dphar_internal.h539 size_t len1, len2; local
543 len1 = MIN(entry->phar->fname_len, tmp_len);
544 memcpy(tmp, entry->phar->fname, len1);
546 len2 = MIN(tmp_len - len1, entry->filename_len);
547 memcpy(tmp + len1, entry->filename, len2);
/PHP_5_6/ext/openssl/
H A Dopenssl.c4848 int i, len1, len2, *eksl, nkeys; local
4915 if (!EVP_SealInit(&ctx, cipher, eks, eksl, NULL, pkeys, nkeys) || !EVP_SealUpdate(&ctx, buf, &len1, (unsigned char *)data, data_len)) {
4922 EVP_SealFinal(&ctx, buf + len1, &len2);
4924 if (len1 + len2 > 0) {
4926 buf[len1 + len2] = '\0';
4927 buf = erealloc(buf, len1 + len2 + 1);
4928 ZVAL_STRINGL(sealdata, (char *)buf, len1 + len2, 0);
4950 RETVAL_LONG(len1 + len2);
4975 int len1, len2; local
5007 if (EVP_OpenInit(&ctx, cipher, (unsigned char *)ekey, ekey_len, NULL, pkey) && EVP_OpenUpdate(&ctx, buf, &len1, (unsigne
[all...]

Completed in 57 milliseconds