Searched refs:num (Results 1 - 25 of 70) sorted by relevance

123

/PHP_5_4/ext/bcmath/libbcmath/src/
H A Dbcmath.h106 _PROTOTYPE(void _bc_free_num_ex, (bc_num *num, int persistent));
108 _PROTOTYPE(bc_num bc_copy_num, (bc_num num));
110 _PROTOTYPE(void bc_init_num, (bc_num *num TSRMLS_DC));
112 _PROTOTYPE(void bc_str2num, (bc_num *num, char *str, int scale TSRMLS_DC));
114 _PROTOTYPE(char *bc_num2str, (bc_num num));
116 _PROTOTYPE(void bc_int2num, (bc_num *num, int val));
118 _PROTOTYPE(long bc_num2long, (bc_num num));
122 _PROTOTYPE(char bc_is_zero, (bc_num num TSRMLS_DC));
124 _PROTOTYPE(char bc_is_near_zero, (bc_num num, int scale));
126 _PROTOTYPE(char bc_is_neg, (bc_num num));
[all...]
H A Ddebug.c51 pn (bc_num num TSRMLS_DC)
53 bc_out_num (num, 10, out_char, 0 TSRMLS_CC);
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
[all...]
H A Dint2num.c45 bc_int2num (num, val)
46 bc_num *num;
75 bc_free_num (num);
76 *num = bc_new_num (ix, 0);
77 if (neg) (*num)->n_sign = MINUS;
80 vptr = (*num)->n_value;
H A Dnearzero.c46 bc_is_near_zero (num, scale)
47 bc_num num;
54 if (scale > num->n_scale)
55 scale = num->n_scale;
58 count = num->n_len + scale;
59 nptr = num->n_value;
H A Dneg.c44 bc_is_neg (num)
45 bc_num num;
47 return num->n_sign == MINUS;
H A Dnum2long.c47 bc_num2long (num)
48 bc_num num;
56 nptr = num->n_value;
57 for (index=num->n_len; (index>0) && (val<=(LONG_MAX/BASE)); index--)
65 if (num->n_sign == PLUS)
H A Dnum2str.c44 *bc_num2str (num)
45 bc_num num;
52 signch = ( num->n_sign == PLUS ? 0 : 1 ); /* Number of sign chars. */
53 if (num->n_scale > 0)
54 str = (char *) safe_emalloc (1, num->n_len + num->n_scale, 2 + signch);
56 str = (char *) safe_emalloc (1, num->n_len, 1 + signch);
64 nptr = num->n_value;
65 for (index=num->n_len; index>0; index--)
69 if (num
[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 Dprivate.h43 void _bc_rm_leading_zeros (bc_num num);
H A Drmzero.c46 _bc_rm_leading_zeros (num)
47 bc_num num;
50 while (*num->n_value == 0 && num->n_len > 1) {
51 num->n_value++;
52 num->n_len--;
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;
H A Dzero.c44 bc_is_zero (bc_num num TSRMLS_DC)
50 if (num == BCG(_zero_)) return TRUE;
53 count = num->n_len + num->n_scale;
54 nptr = num->n_value;
/PHP_5_4/ext/intl/collator/
H A Dcollator_convert.c330 zval* num = collator_convert_string_to_number_if_possible( str ); local
331 if( num == str )
334 zval_ptr_dtor( &num );
336 ALLOC_INIT_ZVAL( num );
337 ZVAL_LONG( num, 0 );
340 return num;
354 zval* num = collator_convert_string_to_number( str ); local
355 if( Z_TYPE_P(num) == IS_LONG )
357 ZVAL_DOUBLE( num, Z_LVAL_P( num ) );
375 zval* num = NULL; local
[all...]
/PHP_5_4/ext/standard/
H A Dmath.c385 double num; local
387 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) {
390 RETURN_DOUBLE(sin(num));
398 double num; local
400 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) {
403 RETURN_DOUBLE(cos(num));
411 double num; local
413 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) {
416 RETURN_DOUBLE(tan(num));
424 double num; local
437 double num; local
450 double num; local
476 double num; local
489 double num; local
502 double num; local
515 double num; local
528 double num; local
541 double num; local
651 double num; local
669 double num; local
686 double num; local
699 double num, base = 0; local
723 double num; local
736 double num; local
796 long num = 0, digit, onum; local
841 long num = 0; local
1233 double num; local
[all...]
H A Dphp_smart_str.h122 #define smart_str_print_unsigned4(buf, num, vartype, result) do { \
124 vartype __num = (num); \
134 #define smart_str_print_long4(buf, num, vartype, result) do { \
135 if (num < 0) { \
139 smart_str_print_unsigned4((buf), -(num), vartype, (result)); \
142 smart_str_print_unsigned4((buf), (num), vartype, (result)); \
153 static inline char *smart_str_print_long(char *buf, long num) { argument
155 smart_str_print_long4(buf, num, unsigned long, r);
159 static inline char *smart_str_print_unsigned(char *buf, long num) { argument
161 smart_str_print_unsigned4(buf, num, unsigne
[all...]
H A Dtype.c136 zval **num; local
142 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &num) == FAILURE) {
149 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zl", &num, &arg_base) == FAILURE) {
159 RETVAL_ZVAL(*num, 1, 0);
168 zval **num; local
170 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &num) == FAILURE) {
174 RETVAL_ZVAL(*num, 1, 0);
183 zval **num, *tmp; local
187 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &num) == FAILURE) {
191 zend_make_printable_zval(*num,
[all...]
/PHP_5_4/main/
H A Dsnprintf.h89 PHPAPI char * php_conv_fp(register char format, register double num,
155 extern char * ap_php_conv_10(register wide_int num, register bool_int is_unsigned,
158 extern char * ap_php_conv_p2(register u_wide_int num, register int nbits,
/PHP_5_4/ext/dba/libcdb/
H A Dcdb_make.c81 if (!head || (head->num >= CDB_HPLIST)) {
85 head->num = 0;
89 head->hp[head->num].h = h;
90 head->hp[head->num].p = c->pos;
91 ++head->num;
154 i = x->num;
187 i = x->num;
H A Dcdb_make.h39 int num; member in struct:cdb_hplist
/PHP_5_4/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_5_4/ext/filter/
H A Dlogical_filters.c310 char *num, *p; local
340 num = p = emalloc(len+1);
388 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
395 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) {
404 efree(num);
407 efree(num);
560 int num, m; local
570 num
[all...]
/PHP_5_4/Zend/
H A Dzend_vm_gen.php555 foreach($opcodes as $num => $dsc) {
556 while ($next != $num) {
585 $next = $num + 1;
611 out($f,$prolog."(opcode_handler_t)".((string)($num*25+$typecode[$op1]*5+$typecode[$op2])).",\n");
640 foreach($opcodes as $num => $dsc) {
641 while ($next != $num) {
657 $next = $num+1;
664 out($f,$prolog."(opcode_handler_t)".((string)$num).",\n");
717 $num = $dsc["handler"]; variable
719 if (isset($opcodes[$num]["op
725 $num = $dsc["helper"]; variable
745 $num = $dsc["handler"]; variable
749 $num = $dsc["helper"]; variable
[all...]
/PHP_5_4/ext/pcre/pcrelib/sljit/
H A DsljitNativeTILEGX-encoder.c1257 get_BFEnd_X0(tilegx_bundle_bits num) argument
1259 const unsigned int n = (unsigned int)num;
1264 get_BFOpcodeExtension_X0(tilegx_bundle_bits num) argument
1266 const unsigned int n = (unsigned int)num;
1271 get_BFStart_X0(tilegx_bundle_bits num) argument
1273 const unsigned int n = (unsigned int)num;
1298 get_Dest_X0(tilegx_bundle_bits num) argument
1300 const unsigned int n = (unsigned int)num;
1311 get_Dest_Y0(tilegx_bundle_bits num) argument
1313 const unsigned int n = (unsigned int)num;
1324 get_Imm16_X0(tilegx_bundle_bits num) argument
1337 get_Imm8OpcodeExtension_X0(tilegx_bundle_bits num) argument
1350 get_Imm8_X0(tilegx_bundle_bits num) argument
1363 get_Imm8_Y0(tilegx_bundle_bits num) argument
1407 get_Opcode_X0(tilegx_bundle_bits num) argument
1420 get_Opcode_Y0(tilegx_bundle_bits num) argument
1440 get_RRROpcodeExtension_X0(tilegx_bundle_bits num) argument
1453 get_RRROpcodeExtension_Y0(tilegx_bundle_bits num) argument
1466 get_ShAmt_X0(tilegx_bundle_bits num) argument
1479 get_ShAmt_Y0(tilegx_bundle_bits num) argument
1492 get_ShiftOpcodeExtension_X0(tilegx_bundle_bits num) argument
1505 get_ShiftOpcodeExtension_Y0(tilegx_bundle_bits num) argument
1518 get_SrcA_X0(tilegx_bundle_bits num) argument
1531 get_SrcA_Y0(tilegx_bundle_bits num) argument
1544 get_SrcA_Y2(tilegx_bundle_bits num) argument
1557 get_SrcB_X0(tilegx_bundle_bits num) argument
1570 get_SrcB_Y0(tilegx_bundle_bits num) argument
1583 get_UnaryOpcodeExtension_X0(tilegx_bundle_bits num) argument
1596 get_UnaryOpcodeExtension_Y0(tilegx_bundle_bits num) argument
1616 create_BFEnd_X0(int num) argument
1623 create_BFOpcodeExtension_X0(int num) argument
1630 create_BFStart_X0(int num) argument
1637 create_BrOff_X1(int num) argument
1645 create_BrType_X1(int num) argument
1652 create_Dest_Imm8_X1(int num) argument
1660 create_Dest_X0(int num) argument
1667 create_Dest_X1(int num) argument
1674 create_Dest_Y0(int num) argument
1681 create_Dest_Y1(int num) argument
1688 create_Imm16_X0(int num) argument
1695 create_Imm16_X1(int num) argument
1702 create_Imm8OpcodeExtension_X0(int num) argument
1709 create_Imm8OpcodeExtension_X1(int num) argument
1716 create_Imm8_X0(int num) argument
1723 create_Imm8_X1(int num) argument
1730 create_Imm8_Y0(int num) argument
1737 create_Imm8_Y1(int num) argument
1744 create_JumpOff_X1(int num) argument
1751 create_JumpOpcodeExtension_X1(int num) argument
1758 create_MF_Imm14_X1(int num) argument
1765 create_MT_Imm14_X1(int num) argument
1773 create_Mode(int num) argument
1780 create_Opcode_X0(int num) argument
1787 create_Opcode_X1(int num) argument
1794 create_Opcode_Y0(int num) argument
1801 create_Opcode_Y1(int num) argument
1808 create_Opcode_Y2(int num) argument
1816 create_RRROpcodeExtension_X0(int num) argument
1823 create_RRROpcodeExtension_X1(int num) argument
1830 create_RRROpcodeExtension_Y0(int num) argument
1837 create_RRROpcodeExtension_Y1(int num) argument
1844 create_ShAmt_X0(int num) argument
1851 create_ShAmt_X1(int num) argument
1858 create_ShAmt_Y0(int num) argument
1865 create_ShAmt_Y1(int num) argument
1872 create_ShiftOpcodeExtension_X0(int num) argument
1879 create_ShiftOpcodeExtension_X1(int num) argument
1886 create_ShiftOpcodeExtension_Y0(int num) argument
1893 create_ShiftOpcodeExtension_Y1(int num) argument
1900 create_SrcA_X0(int num) argument
1907 create_SrcA_X1(int num) argument
1914 create_SrcA_Y0(int num) argument
1921 create_SrcA_Y1(int num) argument
1928 create_SrcA_Y2(int num) argument
1935 create_SrcBDest_Y2(int num) argument
1942 create_SrcB_X0(int num) argument
1949 create_SrcB_X1(int num) argument
1956 create_SrcB_Y0(int num) argument
1963 create_SrcB_Y1(int num) argument
1970 create_UnaryOpcodeExtension_X0(int num) argument
1977 create_UnaryOpcodeExtension_X1(int num) argument
1984 create_UnaryOpcodeExtension_Y0(int num) argument
1991 create_UnaryOpcodeExtension_Y1(int num) argument
10046 get_tilegx_spr_name(int num) argument
10122 unsigned long long num; local
[all...]

Completed in 128 milliseconds

123