Searched defs:num (Results 1 - 25 of 59) 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.c665 uint32_t num = opline->op2.constant; local
669 opline->op2.constant = num;
H A Dzend_operators.h1104 static zend_always_inline char *zend_print_ulong_to_buf(char *buf, zend_ulong num) { argument
1107 *--buf = (char) (num % 10) + '0';
1108 num /= 10;
1109 } while (num > 0);
1114 static zend_always_inline char *zend_print_long_to_buf(char *buf, zend_long num) { argument
1115 if (num < 0) {
1116 char *result = zend_print_ulong_to_buf(buf, ~((zend_ulong) num) + 1);
1120 return zend_print_ulong_to_buf(buf, num);
1124 ZEND_API zend_string *zend_long_to_str(zend_long num);
/PHP_TRUNK/ext/mbstring/oniguruma/enc/
H A Dmktable.c60 int num; member in struct:__anon215
1112 enc = einfo->num;
/PHP_TRUNK/ext/bcmath/
H A Dbcmath.c197 static void php_str2num(bc_num *num, char *str) argument
202 bc_str2num(num, str, 0);
206 bc_str2num(num, str, strlen(p+1));
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Ddebug.c51 pn (bc_num num) argument
53 bc_out_num (num, 10, out_char, 0);
60 pv (name, num, len)
62 unsigned char *num;
67 for (i=0; i<len; i++) printf ("%c",BCD_CHAR(num[i]));
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
127 bc_init_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) argument
92 bc_out_num (bc_num num, int o_base, void (*out_char)(), int leading_zero)
101 if (num->n_sign == MINUS) (*out_char) ('-');
104 if (bc_is_zero (num))
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))
121 if (num->n_scale > 0)
124 for (index=0; index<num
[all...]
H A Dsqrt.c45 bc_sqrt (bc_num *num, int scale) 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) 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;
H A Dzero.c44 bc_is_zero (bc_num num) argument
50 if (num == BCG(_zero_)) return TRUE;
53 count = num->n_len + num->n_scale;
54 nptr = num->n_value;
/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/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...]
/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::__anon148
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.c315 register zend_ulong num; local
324 num = (zend_ulong) number;
328 numbuf[--i] = chartable[(num & andbits)];
329 num >>= n;
331 while (num > 0);
344 register zend_long num = ZEND_STRTOL(&buffer[*pos], &endptr, 10); local
353 if (num >= INT_MAX || num < 0) {
356 return (int) num;
H A Dmath.c400 double num; local
403 if (zend_parse_parameters(ZEND_NUM_ARGS(), "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(), "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(), "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
992 zend_long num = 0; local
1368 double num; local
[all...]
H A Dtype.c140 zval *num; local
147 if (zend_parse_parameters(ZEND_NUM_ARGS(), "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(), "z", &num) == FAILURE) {
173 RETVAL_ZVAL(num, 1, 0);
196 zval *num; local
197 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &num) == FAILURE) {
201 RETVAL_STR(zval_get_string(num));
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.h55 long num; member in struct:_phpdbg_param
74 (v)->num = 0; \
115 int num; member in struct:__anon299
H A Dphpdbg_frame.c31 if (PHPDBG_FRAME(num) == 0) {
35 PHPDBG_FRAME(num) = 0;
45 zend_execute_data *execute_data = PHPDBG_FRAME(num)?PHPDBG_FRAME(execute_data):EG(current_execute_data);
48 if (PHPDBG_FRAME(num) == frame) {
76 PHPDBG_FRAME(num) = frame;
169 void phpdbg_dump_backtrace(size_t num) /* {{{ */ argument
175 int i = 0, limit = num;
H A Dphpdbg_watch.h78 unsigned int num; member in struct:__anon311
/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;

Completed in 20 milliseconds

123