Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 205) sorted by path

123456789

/PHP-5.5/
H A DNEWS5034 wrong num of parameters). (Felipe)
H A DREADME.PARAMETER_PARSING_API104 int num; /* XXX THIS IS WRONG!! Use long instead. */
105 zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num)
218 long num;
223 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a*l", &array, &varargs, &num_varargs, &num) =…
H A DUPGRADING.INTERNALS35 ZEND_INIT_FCALL_BY_NAME, ZEND_INIT_NS_FCALL_BY_NAME use result.num as
38 * opcoes ZEND_DO_FCALL and ZEND_DO_FCALL_BY_NAME use op2.num as
47 stores new offsets in op_array->opcodes[*].op?.num. You can use macros
49 number. You can convert number to offset using EX_TMP_VAR_NUM(0, num) or
/PHP-5.5/Zend/
H A DZEND_CHANGES836 private $num;
842 $this->num = 0;
845 return $this->num < $this->obj->max;
848 return $this->num;
851 switch($this->num) {
855 default: return $this->num."th";
859 $this->num++;
H A Dbench.php366 $num = number_format($end-$start,3);
367 $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
369 echo $name.$pad.$num."\n";
379 $num = number_format($total,3);
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);
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);
279 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
280 echo "Total".$pad.$num."\n";
H A Dzend_compile.c63 #define CALCULATE_LITERAL_HASH(num) do { \ argument
65 Z_HASH_P(&CONSTANT(num)) = INTERNED_HASH(Z_STRVAL(CONSTANT(num))); \
67 Z_HASH_P(&CONSTANT(num)) = zend_hash_func(Z_STRVAL(CONSTANT(num)), Z_STRLEN(CONSTANT(num))+1); \
3331 && op->op1.num == (long)idx) in zend_get_function_declaration()
6447 while (num > 0 && in zend_do_declare_stmt()
6450 --num; in zend_do_declare_stmt()
6453 if (num > 0) { in zend_do_declare_stmt()
6965 int num = CG(active_op_array)->last; in zend_do_begin_namespace() local
6966 while (num > 0 && in zend_do_begin_namespace()
6969 --num; in zend_do_begin_namespace()
[all …]
H A Dzend_compile.h80 zend_uint num; member
H A Dzend_exceptions.c546 int *len, *num; in _build_trace_string() local
558 num = va_arg(args, int*); in _build_trace_string()
561 sprintf(s_tmp, "#%d ", (*num)++); in _build_trace_string()
613 int res_len = 0, *len = &res_len, num = 0; in ZEND_METHOD() local
625 …_arguments(Z_ARRVAL_P(trace) TSRMLS_CC, (apply_func_args_t)_build_trace_string, 3, str, len, &num); in ZEND_METHOD()
628 sprintf(s_tmp, "#%d {main}", num); in ZEND_METHOD()
H A Dzend_execute.h392 #define CACHED_PTR(num) \ argument
393 EG(active_op_array)->run_time_cache[(num)]
395 #define CACHE_PTR(num, ptr) do { \ argument
396 EG(active_op_array)->run_time_cache[(num)] = (ptr); \
399 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
400 ((EG(active_op_array)->run_time_cache[(num)] == (ce)) ? \
401 EG(active_op_array)->run_time_cache[(num) + 1] : \
404 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
405 EG(active_op_array)->run_time_cache[(num)] = (ce); \
406 EG(active_op_array)->run_time_cache[(num) + 1] = (ptr); \
H A Dzend_language_parser.y526 …optional_class_type T_VARIABLE { $$.op_type = IS_UNUSED; $$.u.op.num=1; zend_do_receive_arg(ZEN…
527 …| optional_class_type '&' T_VARIABLE { $$.op_type = IS_UNUSED; $$.u.op.num=1; zend_do_receive_ar…
528 …| optional_class_type '&' T_VARIABLE '=' static_scalar { $$.op_type = IS_UNUSED; $$.u.op.num=1; …
529 …| optional_class_type T_VARIABLE '=' static_scalar { $$.op_type = IS_UNUSED; $$.u.op.num=1; zen…
530 …| non_empty_parameter_list ',' optional_class_type T_VARIABLE { $$=$1; $$.u.op.num++; zend_do_rec…
531 …| non_empty_parameter_list ',' optional_class_type '&' T_VARIABLE { $$=$1; $$.u.op.num++; zend_do_…
532 …',' optional_class_type '&' T_VARIABLE '=' static_scalar { $$=$1; $$.u.op.num++; zend_do_receive_…
533 …ist ',' optional_class_type T_VARIABLE '=' static_scalar { $$=$1; $$.u.op.num++; zend_do_receive_…
H A Dzend_opcode.c699 zend_uint num = opline->op2.constant; in zend_resolve_finally_calls() local
702 opline->op2.constant = num; in zend_resolve_finally_calls()
H A Dzend_vm_def.h2429 call_slot *call = EX(call_slots) + opline->result.num;
2508 call_slot *call = EX(call_slots) + opline->result.num;
2630 call_slot *call = EX(call_slots) + opline->result.num;
2777 call_slot *call = EX(call_slots) + opline->result.num;
2812 call_slot *call = EX(call_slots) + opline->op2.num;
3017 if (opline->result.num) {
3207 zend_uint arg_num = opline->op1.num;
3226 …rgument %u for %s%s%s(), called in %s on line %d and defined", opline->op1.num, class_name, space,…
3228 …zend_error(E_WARNING, "Missing argument %u for %s%s%s()", opline->op1.num, class_name, space, get_…
3249 zend_uint arg_num = opline->op1.num;
H A Dzend_vm_execute.h703 zend_uint arg_num = opline->op1.num; in ZEND_RECV_SPEC_HANDLER()
1227 call_slot *call = EX(call_slots) + opline->result.num; in ZEND_INIT_FCALL_BY_NAME_SPEC_CONST_HANDLER()
1374 call_slot *call = EX(call_slots) + opline->result.num; in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER()
1402 zend_uint arg_num = opline->op1.num; in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
1552 call_slot *call = EX(call_slots) + opline->result.num; in ZEND_INIT_FCALL_BY_NAME_SPEC_TMP_HANDLER()
1739 call_slot *call = EX(call_slots) + opline->result.num; in ZEND_INIT_FCALL_BY_NAME_SPEC_VAR_HANDLER()
1964 call_slot *call = EX(call_slots) + opline->result.num; in ZEND_INIT_FCALL_BY_NAME_SPEC_CV_HANDLER()
2320 call_slot *call = EX(call_slots) + opline->op2.num; in ZEND_DO_FCALL_SPEC_CONST_HANDLER()
3537 call_slot *call = EX(call_slots) + opline->result.num; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
4529 call_slot *call = EX(call_slots) + opline->result.num; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMP_HANDLER()
[all …]
H A Dzend_vm_gen.php571 while ($next != $num) {
600 $next = $num + 1;
656 while ($next != $num) {
672 $next = $num+1;
738 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
741 $num = $dsc["helper"];
746 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
761 $num = $dsc["handler"];
763 …gen_handler($f, 0, $kind, $opcodes[$num]["op"], "ANY", "ANY", isset($opcodes[$num]["use"]), $opcod…
765 $num = $dsc["helper"];
[all …]
/PHP-5.5/Zend/tests/
H A Dbug29896.phpt5 function userErrorHandler($num, $msg, $file, $line, $vars)
H A Dbug40261.phpt7 $num = 100000;
10 for ($i=0; $i<$num; $i++) {
14 for ($i=0; $i<$num; $i++) {
19 for ($i=0; $i<$num; $i++) {
H A Dbug40809.phpt13 $num = 5000;
15 for ($i=0; $i<$num; $i++) {
18 for ($i=0; $i<$num; $i++) {
H A Dbug51827.phpt2 Bug #51827 (Bad warning when register_shutdown_function called with wrong num of parameters)
H A Dnowdoc_015.phpt5 function error_handler($num, $msg, $file, $line, $vars) {
/PHP-5.5/ext/bcmath/
H A Dbcmath.c191 static void php_str2num(bc_num *num, char *str TSRMLS_DC) in php_str2num() argument
196 bc_str2num(num, str, 0 TSRMLS_CC); in php_str2num()
200 bc_str2num(num, str, strlen(p+1) TSRMLS_CC); in php_str2num()
206 static bc_num split_bc_num(bc_num num) { in split_bc_num() argument
208 if (num->n_refs >= 1) { in split_bc_num()
209 return num; in split_bc_num()
212 *newnum = *num; in split_bc_num()
214 num->n_refs--; in split_bc_num()
/PHP-5.5/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));
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));
148 _PROTOTYPE(int bc_sqrt, (bc_num *num, int scale TSRMLS_DC));
[all …]
H A Ddebug.c51 pn (bc_num num TSRMLS_DC) in pn()
53 bc_out_num (num, 10, out_char, 0 TSRMLS_CC); in pn()
60 pv (name, num, len) in pv() argument
62 unsigned char *num;
67 for (i=0; i<len; i++) printf ("%c",BCD_CHAR(num[i]));
H A Ddiv.c48 _one_mult (num, size, digit, result) in _one_mult() argument
49 unsigned char *num; in _one_mult()
61 memcpy (result, num, size);
65 nptr = (unsigned char *) (num+size-1);
H A Dinit.c82 bc_num *num; in _bc_free_num_ex()
85 if (*num == NULL) return;
86 (*num)->n_refs--;
87 if ((*num)->n_refs == 0) {
88 if ((*num)->n_ptr)
91 pefree(*num, persistent);
94 _bc_Free_list = *num;
97 *num = NULL;
117 bc_copy_num (bc_num num) in bc_copy_num() argument
119 num->n_refs++; in bc_copy_num()
[all …]

Completed in 174 milliseconds

123456789