Searched refs:len2 (Results 1 - 10 of 10) sorted by relevance

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Ddiv.c94 unsigned int len1, len2, scale2, qdigits, extra, count; local
135 len2 = n2->n_len + scale2;
136 num2 = (unsigned char *) safe_emalloc (1, len2, 1);
138 memcpy (num2, n2->n_value, len2);
139 *(num2+len2) = 0;
144 len2--;
148 if (len2 > len1+scale)
156 if (len2>len1)
159 qdigits = len1-len2+scale+1;
167 mval = (unsigned char *) safe_emalloc (1, len2,
[all...]
H A Drecmul.c281 int len1, len2; local
286 len2 = n2->n_len + n2->n_scale;
291 _bc_rec_mul (n1, len1, n2, len2, &pval, full_scale);
296 pval->n_len = len2 + len1 + 1 - full_scale;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c105 size_t len, len2; local
169 len2 = 0;
174 len2 = 1;
198 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.2f", tms_total / fpm_scoreboard_get_tick() / (proc.cpu_duration.tv_sec + proc.cpu_duration.tv_usec / 1000000.) * 100.);
207 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec + proc.duration.tv_usec / 1000000.);
213 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec * 1000. + proc.duration.tv_usec / 1000.);
219 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.duration.tv_sec * 1000000UL + proc.duration.tv_usec);
237 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-");
244 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.script_filename ? proc.script_filename : "-");
250 len2
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregexec.c982 int len1, len2; local
989 len2 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s2, end2, buf2);
990 if (len1 != len2) return 0;
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c671 size_t len, len2, len3, maxlen; local
689 len2 = len = parse_uiv(start + 2);
799 php_store_class_name(rval, class_name->val, len2);
808 php_store_class_name(rval, class_name->val, len2);
H A Dstring.c3571 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
3575 char *end2 = (char *) txt2 + len2;
3594 static size_t php_similar_char(const char *txt1, size_t len1, const char *txt2, size_t len2) argument
3599 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max);
3605 if ((pos1 + max < len1) && (pos2 + max < len2)) {
3607 txt2 + pos2 + max, len2 - pos2 - max);
/PHP_TRUNK/Zend/
H A Dzend_operators.h346 ZEND_API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t len2);
347 ZEND_API int ZEND_FASTCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
348 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size_t len2);
349 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
350 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2);
351 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.c2382 ZEND_API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t len2) /* {{{ */ argument
2389 retval = memcmp(s1, s2, MIN(len1, len2));
2391 return (int)(len1 - len2);
2398 ZEND_API int ZEND_FASTCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length) /* {{{ */ argument
2405 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2)));
2407 return (int)(MIN(length, len1) - MIN(length, len2));
2414 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size_t len2) /* {{{ */ argument
2423 len = MIN(len1, len2);
2432 return (int)(len1 - len2);
2436 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, size_t len2, size_ argument
2457 zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2) argument
2479 zend_binary_strncasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2, size_t length) argument
[all...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c4854 int i, len1, len2, *eksl, nkeys; local
4928 EVP_SealFinal(&ctx, buf + len1, &len2);
4930 if (len1 + len2 > 0) {
4932 buf[len1 + len2] = '\0';
4933 ZVAL_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0));
4958 RETVAL_LONG(len1 + len2);
4983 int len1, len2; local
5024 if (!EVP_OpenFinal(&ctx, buf + len1, &len2) || (len1 + len2 == 0)) {
5029 buf[len1 + len2]
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1536 SQLSMALLINT len1=0, len2=0, fetch_type; local
1561 &len2);
1569 if (len1 == 0 || len2 == 0) {

Completed in 49 milliseconds