Home
last modified time | relevance | path

Searched refs:lineno (Results 1 – 25 of 50) sorted by relevance

12

/PHP-7.1/Zend/
H A Dzend_dtrace.c59 int lineno; in dtrace_execute_ex() local
67 lineno = zend_get_executed_lineno(); in dtrace_execute_ex()
76 DTRACE_EXECUTE_ENTRY((char *)filename, lineno); in dtrace_execute_ex()
80 …DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope… in dtrace_execute_ex()
86 …DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scop… in dtrace_execute_ex()
90 DTRACE_EXECUTE_RETURN((char *)filename, lineno); in dtrace_execute_ex()
96 int lineno; in dtrace_execute_internal() local
100 lineno = zend_get_executed_lineno(); in dtrace_execute_internal()
104 DTRACE_EXECUTE_ENTRY((char *)filename, lineno); in dtrace_execute_internal()
110 DTRACE_EXECUTE_RETURN((char *)filename, lineno); in dtrace_execute_internal()
H A Dzend_dtrace.d28 probe error(char *errormsg, char *request_file, int lineno);
29 probe execute__entry(char* request_file, int lineno);
30 probe execute__return(char* request_file, int lineno);
31 …probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* …
32 …probe function__return(char* function_name, char* request_file, int lineno, char* classname, char*…
H A Dzend_vm_gen.php971 out($f, "#line $lineno \"$definition_file\"\n");
1454 foreach ($list as $lineno => $dsc) {
1484 foreach ($list as $lineno => $dsc) {
1536 $lineno = 0;
1878 function parse_ext_spec($def, $lineno, $str) { argument
1893 function parse_spec_rules($def, $lineno, $str) { argument
1962 $lineno = 0;
1970 ++$lineno;
2014 $list[$lineno] = array("handler"=>$handler);
2056 $list[$lineno] = array("handler"=>$handler);
[all …]
H A Dzend_ini_scanner.l230 SCNG(lineno) = 1; in init_ini_scanner()
262 return SCNG(lineno); in zend_ini_scanner_get_lineno()
353 SCNG(lineno)++; in zend_ini_escape_string()
429 SCNG(lineno)++;
552 SCNG(lineno)++;
642 SCNG(lineno)++;
648 SCNG(lineno)++;
H A Dzend_ast.h156 uint32_t lineno; /* Line number */ member
164 uint32_t lineno; member
192 ZEND_API zend_ast *zend_ast_create_zval_with_lineno(zval *zv, zend_ast_attr attr, uint32_t lineno);
241 return zv->u2.lineno; in zend_ast_get_lineno()
243 return ast->lineno; in zend_ast_get_lineno()
H A Dzend_language_scanner.h37 uint lineno; member
H A Dzend_ast.c55 ast->lineno = CG(zend_lineno); in zend_ast_create_znode()
67 ast->val.u2.lineno = lineno; in zend_ast_create_zval_with_lineno()
105 ast->lineno = (uint32_t) -1; in zend_ast_create_from_va_list()
111 if (lineno < ast->lineno) { in zend_ast_create_from_va_list()
112 ast->lineno = lineno; in zend_ast_create_from_va_list()
117 if (ast->lineno == UINT_MAX) { in zend_ast_create_from_va_list()
118 ast->lineno = CG(zend_lineno); in zend_ast_create_from_va_list()
154 list->lineno = CG(zend_lineno); in zend_ast_create_list()
165 uint32_t lineno = zend_ast_get_lineno(child); in zend_ast_create_list() local
166 if (lineno < ast->lineno) { in zend_ast_create_list()
[all …]
H A Dzend_alloc.c373 uint lineno, in zend_mm_safe_error() argument
385 lineno, in zend_mm_safe_error()
1350 dbg->lineno = __zend_lineno;
1986 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
1990 dbg->lineno = 0;
2019 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
2041 if (p->dbg.filename == list->dbg.filename && p->dbg.lineno == list->dbg.lineno) {
2073 leak.lineno = list->dbg.lineno;
2106 leak.lineno = dbg->lineno;
2114 dbg->lineno = 0;
[all …]
H A Dzend_exceptions.c338 zend_long code = 0, severity = E_ERROR, lineno; in ZEND_METHOD() local
343 …!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, zend_c… in ZEND_METHOD()
382 lineno = 0; /* invalidate lineno */ in ZEND_METHOD()
384 ZVAL_LONG(&tmp, lineno); in ZEND_METHOD()
823 ZEND_ARG_INFO(0, lineno)
966 static void zend_error_va(int type, const char *file, uint lineno, const char *format, ...) /* {{{ … in zend_error_va() argument
971 zend_error_cb(type, file, lineno, format, args); in zend_error_va()
976 static void zend_error_helper(int type, const char *filename, const uint lineno, const char *format… in zend_error_helper() argument
981 zend_error_cb(type, filename, lineno, format, va); in zend_error_helper()
H A Dzend_builtin_functions.c2388 int lineno, frameno = 0; in ZEND_FUNCTION() local
2437 lineno = EG(opline_before_exception)->lineno; in ZEND_FUNCTION()
2439 lineno = skip->func->op_array.line_end; in ZEND_FUNCTION()
2442 lineno = skip->opline->lineno; in ZEND_FUNCTION()
2446 lineno = 0; in ZEND_FUNCTION()
2586 int lineno, frameno = 0; in zend_fetch_debug_backtrace() local
2646 lineno = EG(opline_before_exception)->lineno; in zend_fetch_debug_backtrace()
2648 lineno = skip->func->op_array.line_end; in zend_fetch_debug_backtrace()
2651 lineno = skip->opline->lineno; in zend_fetch_debug_backtrace()
2655 ZVAL_LONG(&tmp, lineno); in zend_fetch_debug_backtrace()
[all …]
H A Dzend_opcode.c447 op->lineno = CG(zend_lineno); in init_op()
493 opline->lineno = (opline+1)->lineno; in zend_update_extended_info()
521 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
529 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
H A Dzend_globals.h252 int lineno; member
H A Dzend_ini_scanner.c232 SCNG(lineno) = 1; in init_ini_scanner()
264 return SCNG(lineno); in zend_ini_scanner_get_lineno()
355 SCNG(lineno)++; in zend_ini_escape_string()
556 SCNG(lineno)++; in ini_lex()
767 SCNG(lineno)++; in ini_lex()
1712 SCNG(lineno)++; in ini_lex()
1771 SCNG(lineno)++; in ini_lex()
1870 SCNG(lineno)++; in ini_lex()
2173 SCNG(lineno)++; in ini_lex()
2504 SCNG(lineno)++; in ini_lex()
[all …]
/PHP-7.1/sapi/cli/tests/
H A Dbug67741.phpt13 echo "primary lineno: ", __LINE__, "\n";
16 prepend lineno: 2
17 primary lineno: 3
H A Dbug67741_stub.inc2 echo "prepend lineno: ", __LINE__, "\n";
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_php_trace.c82 uint lineno = 0; in fpm_php_trace_dump() local
169 if (0 > fpm_trace_get_long(opline + offsetof(struct _zend_op, lineno), &l)) { in fpm_php_trace_dump()
173 lineno = *lu; in fpm_php_trace_dump()
185 fprintf(slowlog, " %s:%u\n", *buf ? buf : "unknown", lineno); in fpm_php_trace_dump()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_bp.h128 PHPDBG_API void phpdbg_set_breakpoint_file(const char* filename, long lineno);
129 PHPDBG_API void phpdbg_set_breakpoint_file_ex(const char* filename, size_t path_len, long lineno);
H A Dphpdbg_opcode.c153 opline->lineno, in phpdbg_print_opline_ex()
161 opline->lineno, in phpdbg_print_opline_ex()
H A Dphpdbg_prompt.c668 if (opline->lineno != ex->opline->lineno in phpdbg_skip_line_helper()
1859 …EPPING && (PHPDBG_G(flags) & PHPDBG_STEP_OPCODE || execute_data->opline->lineno != PHPDBG_G(last_l… in phpdbg_execute_ex()
1878 … && (brake->type != PHPDBG_BREAK_FILE || execute_data->opline->lineno != PHPDBG_G(last_line))) { in phpdbg_execute_ex()
1894 PHPDBG_G(last_line) = execute_data->opline->lineno; in phpdbg_execute_ex()
1928 …p_array.opcodes) / sizeof(data->opline), data->func->op_array.filename->val, data->opline->lineno); in phpdbg_force_interruption()
/PHP-7.1/Zend/tests/
H A Dexception_020.phpt11 …ng $message [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Throwable $pre…
/PHP-7.1/sapi/cli/
H A Dphp_cli.c612 static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno) in cli_seek_file_begin() argument
616 *lineno = 1; in cli_seek_file_begin()
640 *lineno = 2; in cli_seek_file_begin()
674 int lineno = 0; in do_cli() local
933 if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) { in do_cli()
971 CG(start_lineno) = lineno; in do_cli()
1055 if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) { in do_cli()
1058 CG(start_lineno) = lineno; in do_cli()
/PHP-7.1/ext/fileinfo/libmagic/
H A Dfuncs.c91 size_t lineno) in file_error_core() argument
98 if (lineno != 0) { in file_error_core()
101 file_printf(ms, "line %" SIZE_T_FORMAT "u: ", lineno); in file_error_core()
H A Dapprentice.c911 ml->magic[magindex].lineno, in apprentice_list()
1031 size_t lineno = 0; in load_1() local
1054 lineno++; in load_1()
1094 switch (parse(ms, &me, line, lineno, action)) { in load_1()
1168 ms->line = me[i].mp->lineno; in set_last_default()
1704 size_t lineno, int action) in parse() argument
1776 m->lineno = CAST(uint32_t, lineno); in parse()
3192 m->lineno = swap4((uint32_t)m->lineno);
/PHP-7.1/ext/standard/
H A Dassert.c218 uint lineno = zend_get_executed_lineno(); in PHP_FUNCTION() local
222 ZVAL_LONG (&args[1], lineno); in PHP_FUNCTION()
/PHP-7.1/ext/opcache/
H A Dzend_accelerator_util_funcs.c505 CG(zend_lineno) = function1->op_array.opcodes[0].lineno; in zend_accel_function_hash_copy()
511 (int)function2->op_array.opcodes[0].lineno); in zend_accel_function_hash_copy()
549 CG(zend_lineno) = function1->op_array.opcodes[0].lineno; in zend_accel_function_hash_copy_from_shm()
555 (int)function2->op_array.opcodes[0].lineno); in zend_accel_function_hash_copy_from_shm()

Completed in 87 milliseconds

12