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

12

/PHP_5_3/Zend/
H A Dbench.php367 $num = number_format($end-$start,3); variable
368 $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
370 echo $name.$pad.$num."\n";
380 $num = number_format($total,3); variable
381 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
382 echo "Total".$pad.$num."\n";
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...]
H A Dzend_exceptions.c451 int *len, *num; local
463 num = va_arg(args, int*);
466 sprintf(s_tmp, "#%d ", (*num)++);
518 int res_len = 0, *len = &res_len, num = 0; local
526 zend_hash_apply_with_arguments(Z_ARRVAL_P(trace) TSRMLS_CC, (apply_func_args_t)_build_trace_string, 3, str, len, &num);
529 sprintf(s_tmp, "#%d {main}", num);
/PHP_5_3/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_5_3/ext/standard/
H A Dcrypt_sha256.c379 const char *num = salt + sizeof(sha256_rounds_prefix) - 1; local
381 unsigned long int srounds = strtoul(num, &endp, 10);
H A Dcrypt_sha512.c412 const char *num = salt + sizeof(sha512_rounds_prefix) - 1; local
414 unsigned long int srounds = strtoul(num, &endp, 10);
H A Dformatted_print.c304 register unsigned long num; local
313 num = (unsigned long) number;
317 numbuf[--i] = chartable[(num & andbits)];
318 num >>= n;
320 while (num > 0);
333 register long num = strtol(&buffer[*pos], &endptr, 10); local
342 if (num >= INT_MAX || num < 0) {
345 return (int) num;
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
1209 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_3/ext/fileinfo/libmagic/
H A Dreadelf.c294 int num, size_t size, off_t fsize, int *flags)
311 for ( ; num; num--) {
843 doshn(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, argument
860 for ( ; num; num--) {
1032 int num, size_t size, off_t fsize, int *flags, int sh_num)
1048 for ( ; num; num--) {
293 dophn_core(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, size_t size, off_t fsize, int *flags) argument
1031 dophn_exec(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, size_t size, off_t fsize, int *flags, int sh_num) argument
/PHP_5_3/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_3/ext/mbstring/oniguruma/enc/
H A Dmktable.c56 int num; member in struct:__anon194
1073 enc = einfo->num;
/PHP_5_3/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_5_3/ext/dba/libcdb/
H A Dcdb_make.h39 int num; member in struct:cdb_hplist
/PHP_5_3/ext/dba/libflatfile/
H A Dflatfile.c112 size_t num; local
121 num = atoi(buf);
122 if (num >= buf_size) {
123 buf_size = num + FLATFILE_BLOCK_SIZE;
129 num = php_stream_read(dba->fp, buf, num);
130 if (num < 0) {
134 if (size == num && !memcmp(buf, key, size)) {
147 num = atoi(buf);
148 if (num >
168 size_t num; local
215 size_t num; local
263 size_t num; local
[all...]
/PHP_5_3/ext/filter/
H A Dlogical_filters.c302 char *num, *p; local
332 num = p = emalloc(len+1);
380 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
387 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) {
396 efree(num);
399 efree(num);
556 int num, m; local
566 num
[all...]
/PHP_5_3/ext/mbstring/
H A Dmb_gpc.c201 int n, num, *len_list = NULL; local
227 num = 1;
231 num++;
235 num *= 2; /* need space for variable name and value */
237 val_list = (char **)ecalloc(num, sizeof(char *));
238 len_list = (int *)ecalloc(num, sizeof(int));
271 num = n; /* make sure to process initilized vars only */
284 while (n < num) {
321 while (n < num) {
/PHP_5_3/main/
H A Dsnprintf.c302 * Convert num to its decimal format.
314 char * ap_php_conv_10(register wide_int num, register bool_int is_unsigned, argument
321 magnitude = (u_wide_int) num;
324 *is_negative = (num < 0);
336 wide_int t = num + 1;
339 magnitude = (u_wide_int) num;
372 PHPAPI char * php_conv_fp(register char format, register double num, argument
384 p_orig = p = php_fcvt(num, precision, &decimal_point, is_negative);
386 p_orig = p = php_ecvt(num, precision + 1, &decimal_point, is_negative);
401 if (num !
477 ap_php_conv_p2(register u_wide_int num, register int nbits, char format, char *buf_end, register int *len) argument
[all...]
/PHP_5_3/win32/
H A Dregistry.c104 ulong num; local
109 zend_hash_get_current_key_ex(parent_ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING;
257 ulong num; local
262 zend_hash_get_current_key_ex(ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING;
/PHP_5_3/ext/spl/
H A Dspl_fixedarray.c644 int num; local
652 num = zend_hash_num_elements(Z_ARRVAL_P(data));
654 if (num > 0 && save_indexes) {
695 } else if (num > 0 && !save_indexes) {
699 spl_fixedarray_init(array, num TSRMLS_CC);
/PHP_5_3/ext/phar/
H A Dtar.c24 php_uint32 num = 0; local
32 num = num * 8 + (buf[i] - '0');
36 return num;

Completed in 44 milliseconds

12