Searched defs:len2 (Results 1 - 9 of 9) sorted by relevance

/PHP_5_3/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.c284 int len1, len2; local
289 len2 = n2->n_len + n2->n_scale;
294 _bc_rec_mul (n1, len1, n2, len2, &pval, full_scale TSRMLS_CC);
299 pval->n_len = len2 + len1 + 1 - full_scale;
/PHP_5_3/ext/mbstring/oniguruma/
H A Dregexec.c1037 int len1, len2; local
1044 len2 = ONIGENC_MBC_TO_NORMALIZE(enc, ambig_flag, &s2, end2, buf2);
1045 if (len1 != len2) return 0;
/PHP_5_3/ext/standard/
H A Dvar_unserializer.c549 size_t len, len2, len3, maxlen; local
568 len2 = len = parse_uiv(start + 2);
599 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
630 if (zend_lookup_class(class_name, len2, &pce TSRMLS_CC) == SUCCESS) {
649 php_store_class_name(*rval, class_name, len2);
658 php_store_class_name(*rval, class_name, len2);
H A Dstring.c220 int len1, len2; local
224 &s22, &len2, &start, &len) == FAILURE) {
262 s22 + len2 /*str2_end*/));
267 s22 + len2 /*str2_end*/));
2870 static void php_similar_str(const char *txt1, int len1, const char *txt2, int len2, int *pos1, int *pos2, int *max) argument
2874 char *end2 = (char *) txt2 + len2;
2893 static int php_similar_char(const char *txt1, int len1, const char *txt2, int len2) argument
2898 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max);
2904 if ((pos1 + max < len1) && (pos2 + max < len2)) {
2906 txt2 + pos2 + max, len2
[all...]
/PHP_5_3/Zend/
H A Dzend_operators.c1904 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ argument
1908 retval = memcmp(s1, s2, MIN(len1, len2));
1910 return (len1 - len2);
1917 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ argument
1921 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2)));
1923 return (MIN(length, len1) - MIN(length, len2));
1930 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ argument
1935 len = MIN(len1, len2);
1945 return len1 - len2;
1949 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uin argument
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_log.c103 size_t len, len2; local
167 len2 = 0;
172 len2 = 1;
196 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.);
205 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec + proc.duration.tv_usec / 1000000.);
211 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%.3f", proc.duration.tv_sec * 1000. + proc.duration.tv_usec / 1000.);
217 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%lu", proc.duration.tv_sec * 1000000UL + proc.duration.tv_usec);
235 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-");
242 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", *proc.script_filename ? proc.script_filename : "-");
248 len2
[all...]
/PHP_5_3/ext/openssl/
H A Dopenssl.c4212 int i, len1, len2, *eksl, nkeys; local
4283 EVP_SealFinal(&ctx, buf + len1, &len2);
4285 if (len1 + len2 > 0) {
4287 buf[len1 + len2] = '\0';
4288 buf = erealloc(buf, len1 + len2 + 1);
4289 ZVAL_STRINGL(sealdata, (char *)buf, len1 + len2, 0); local
4311 RETVAL_LONG(len1 + len2);
4335 int len1, len2; local
4368 if (!EVP_OpenFinal(&ctx, buf + len1, &len2) || (len1 + len2
[all...]
/PHP_5_3/ext/odbc/
H A Dphp_odbc.c1524 SQLSMALLINT len1=0, len2=0, fetch_type; local
1547 &len2);
1555 if (len1 == 0 || len2 == 0) {

Completed in 31 milliseconds