Searched defs:num (Results 1 - 25 of 56) sorted by relevance

123

/PHP_TRUNK/Zend/
H A Dbench.php366 $num = number_format($end-$start,3); variable
367 $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
369 echo $name.$pad.$num."\n";
379 $num = number_format($total,3); variable
380 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
381 echo "Total".$pad.$num."\n";
H A Dmicro_bench.php261 $num = number_format($last_time,3); variable
262 $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
264 echo $name.$pad.$num."\n";
267 echo $name.$pad.$num." ".$num2."\n";
278 $num = number_format($total,3); variable
279 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
280 echo "Total".$pad.$num."\n";
H A Dzend_smart_str.h107 static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, zend_bool persistent) { argument
109 char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num);
113 static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, zend_bool persistent) { argument
115 char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num);
H A Dzend_opcode.c655 uint32_t num = opline->op2.constant; local
658 opline->op2.constant = num;
H A Dzend_exceptions.c459 static void _build_trace_string(smart_str *str, HashTable *ht, uint32_t num TSRMLS_DC) /* {{{ */
464 smart_str_append_long(str, num);
525 uint32_t num = 0; local
536 _build_trace_string(&str, Z_ARRVAL_P(frame), num++ TSRMLS_CC);
540 smart_str_append_long(&str, num);
H A Dzend_operators.h930 static zend_always_inline char *zend_print_ulong_to_buf(char *buf, zend_ulong num) { argument
933 *--buf = (char) (num % 10) + '0';
934 num /= 10;
935 } while (num > 0);
940 static zend_always_inline char *zend_print_long_to_buf(char *buf, zend_long num) { argument
941 if (num < 0) {
942 char *result = zend_print_ulong_to_buf(buf, ~((zend_ulong) num) + 1);
946 return zend_print_ulong_to_buf(buf, num);
950 ZEND_API zend_string *zend_long_to_str(zend_long num);
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dinit.c81 _bc_free_num_ex (num, persistent)
82 bc_num *num;
85 if (*num == NULL) return;
86 (*num)->n_refs--;
87 if ((*num)->n_refs == 0) {
88 if ((*num)->n_ptr)
90 pefree ((*num)->n_ptr, persistent);
91 pefree(*num, persistent);
93 (*num)->n_next = _bc_Free_list;
94 _bc_Free_list = *num;
117 bc_copy_num(bc_num num) argument
[all...]
H A Doutput.c90 bc_out_num (bc_num num, int o_base, void (*out_char)(int), int leading_zero TSRMLS_DC) argument
92 bc_out_num (bc_num num, int o_base, void (*out_char)(), int leading_zero TSRMLS_DC)
101 if (num->n_sign == MINUS) (*out_char) ('-');
104 if (bc_is_zero (num TSRMLS_CC))
110 nptr = num->n_value;
111 if (num->n_len > 1 || *nptr != 0)
112 for (index=num->n_len; index>0; index--)
117 if (leading_zero && bc_is_zero (num TSRMLS_CC))
121 if (num->n_scale > 0)
124 for (index=0; index<num
[all...]
H A Dsqrt.c45 bc_sqrt (bc_num *num, int scale TSRMLS_DC) argument
52 cmp_res = bc_compare (*num, BCG(_zero_));
59 bc_free_num (num);
60 *num = bc_copy_num (BCG(_zero_));
64 cmp_res = bc_compare (*num, BCG(_one_));
67 bc_free_num (num);
68 *num = bc_copy_num (BCG(_one_));
73 rscale = MAX (scale, (*num)->n_scale);
86 cscale = (*num)->n_scale;
93 bc_int2num (&guess1,(*num)
[all...]
H A Dstr2num.c44 bc_str2num (bc_num *num, char *str, int scale TSRMLS_DC) argument
50 /* Prepare num. */
51 bc_free_num (num);
65 *num = bc_copy_num (BCG(_zero_));
76 *num = bc_new_num (digits, strscale);
82 (*num)->n_sign = MINUS;
87 (*num)->n_sign = PLUS;
91 nptr = (*num)->n_value;
/PHP_TRUNK/ext/mbstring/oniguruma/enc/
H A Dmktable.c60 int num; member in struct:__anon215
1112 enc = einfo->num;
/PHP_TRUNK/ext/phar/
H A Dtar.c24 php_uint32 num = 0; local
32 num = num * 8 + (buf[i] - '0');
36 return num;
/PHP_TRUNK/ext/dba/libcdb/
H A Dcdb_make.h39 int num; member in struct:cdb_hplist
/PHP_TRUNK/ext/dba/libflatfile/
H A Dflatfile.c111 size_t num; local
120 num = atoi(buf);
121 if (num >= buf_size) {
122 buf_size = num + FLATFILE_BLOCK_SIZE;
128 num = php_stream_read(dba->fp, buf, num);
129 if (num < 0) {
133 if (size == num && !memcmp(buf, key, size)) {
146 num = atoi(buf);
147 if (num >
167 size_t num; local
214 size_t num; local
262 size_t num; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c199 int n, num, *len_list = NULL; local
217 num = 1;
221 num++;
225 num *= 2; /* need space for variable name and value */
227 val_list = (char **)ecalloc(num, sizeof(char *));
228 len_list = (int *)ecalloc(num, sizeof(int));
261 num = n; /* make sure to process initialized vars only */
274 while (n < num) {
311 while (n < num) {
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dcompact_literals.c59 int num; /* variable number or class name literal number */ member in union:_literal_info::__anon1
72 info[n].u.num = (_num); \
77 info[n].u.num = (_num); \
401 key->len = snprintf(key->val, key->len-1, "%d->%s", info[i].u.num, Z_STRVAL(op_array->literals[i]));
404 zval *class_name = &op_array->literals[(info[i].u.num < i) ? map[info[i].u.num] : info[i].u.num];
/PHP_TRUNK/ext/standard/
H A Dformatted_print.c298 register zend_ulong num; local
307 num = (zend_ulong) number;
311 numbuf[--i] = chartable[(num & andbits)];
312 num >>= n;
314 while (num > 0);
327 register zend_long num = ZEND_STRTOL(&buffer[*pos], &endptr, 10); local
336 if (num >= INT_MAX || num < 0) {
339 return (int) num;
H A Dmath.c400 double num; local
403 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) {
408 Z_PARAM_DOUBLE(num)
411 RETURN_DOUBLE(sin(num));
419 double num; local
422 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) {
427 Z_PARAM_DOUBLE(num)
430 RETURN_DOUBLE(cos(num));
438 double num; local
441 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num)
457 double num; local
476 double num; local
495 double num; local
534 double num; local
553 double num; local
572 double num; local
591 double num; local
610 double num; local
629 double num; local
727 double num; local
751 double num; local
775 double num; local
795 double num, base = 0; local
840 double num; local
860 double num; local
948 zend_long num = 0, digit, onum; local
993 zend_long num = 0; local
1369 double num; local
[all...]
H A Dtype.c140 zval *num; local
147 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &num, &base) == FAILURE) {
152 Z_PARAM_ZVAL(num)
158 RETVAL_ZVAL(num, 1, 0);
167 zval *num; local
169 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &num) == FAILURE) {
173 RETVAL_ZVAL(num, 1, 0);
196 zval *num; local
197 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &num) == FAILURE) {
201 RETVAL_STR(zval_get_string(num));
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_watch.h78 unsigned int num; member in struct:__anon23
H A Dphpdbg_cmd.h55 long num; member in struct:_phpdbg_param
74 (v)->num = 0; \
115 int num; member in struct:__anon8
/PHP_TRUNK/win32/
H A Dregistry.c94 ulong num; local
97 ZEND_HASH_FOREACH_KEY_VAL(parent_ht, num, index, tmpdata) {
242 zend_ulong num; local
245 ZEND_HASH_FOREACH_KEY_VAL(ht, num, index, data) {
251 zend_hash_get_current_key_ex(ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING;
/PHP_TRUNK/ext/bcmath/
H A Dbcmath.c191 static void php_str2num(bc_num *num, char *str TSRMLS_DC) argument
196 bc_str2num(num, str, 0 TSRMLS_CC);
200 bc_str2num(num, str, strlen(p+1) TSRMLS_CC);
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c324 char *num, *p; local
354 num = p = emalloc(len+1);
402 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
408 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) {
416 efree(num);
419 efree(num);
572 int num, m; local
582 num
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c316 zval* num = collator_convert_string_to_number_if_possible( str, rv ); local
317 if( num == str )
320 zval_ptr_dtor( num );
322 num = rv;
323 ZVAL_LONG( num, 0 );
326 return num;
340 zval* num = collator_convert_string_to_number( str, rv ); local
341 if( Z_TYPE_P(num) == IS_LONG )
343 ZVAL_DOUBLE( num, Z_LVAL_P( num ) );
[all...]

Completed in 58 milliseconds

123