Home
last modified time | relevance | path

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

12

/PHP-7.0/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.php688 out($f, "#line $lineno \"$definition_file\"\n");
723 out($f, "#line $lineno \"$definition_file\"\n");
945 foreach ($list as $lineno => $dsc) {
973 foreach ($list as $lineno => $dsc) {
1022 $lineno = 0;
1334 $lineno = 0;
1341 ++$lineno;
1372 $list[$lineno] = array("handler"=>$handler);
1389 $list[$lineno] = array("helper"=>$helper);
1411 $list[$lineno] = array("helper"=>$helper);
[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)++;
545 SCNG(lineno)++;
635 SCNG(lineno)++;
641 SCNG(lineno)++;
H A Dzend_ast.h157 uint32_t lineno; /* Line number */ member
165 uint32_t lineno; member
193 ZEND_API zend_ast *zend_ast_create_zval_with_lineno(zval *zv, zend_ast_attr attr, uint32_t lineno);
242 return zv->u2.lineno; in zend_ast_get_lineno()
244 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_exceptions.c325 zend_long code = 0, severity = E_ERROR, lineno; in ZEND_METHOD() local
330 …!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, zend_c… in ZEND_METHOD()
361 lineno = 0; /* invalidate lineno */ in ZEND_METHOD()
363 zend_update_property_long(zend_ce_exception, object, "line", sizeof("line")-1, lineno); in ZEND_METHOD()
858 ZEND_ARG_INFO(0, lineno)
993 static void zend_error_va(int type, const char *file, uint lineno, const char *format, ...) /* {{{ … in zend_error_va() argument
998 zend_error_cb(type, file, lineno, format, args); in zend_error_va()
1003 static void zend_error_helper(int type, const char *filename, const uint lineno, const char *format… in zend_error_helper() argument
1008 zend_error_cb(type, filename, lineno, format, va); in zend_error_helper()
H A Dzend_alloc.c380 uint lineno, in zend_mm_safe_error() argument
392 lineno, in zend_mm_safe_error()
1395 dbg->lineno = __zend_lineno;
2030 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
2034 dbg->lineno = 0;
2063 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
2085 if (p->dbg.filename == list->dbg.filename && p->dbg.lineno == list->dbg.lineno) {
2117 leak.lineno = list->dbg.lineno;
2150 leak.lineno = dbg->lineno;
2158 dbg->lineno = 0;
[all …]
H A Dzend_builtin_functions.c2305 int lineno, frameno = 0; in ZEND_FUNCTION() local
2354 lineno = EG(opline_before_exception)->lineno; in ZEND_FUNCTION()
2356 lineno = skip->func->op_array.line_end; in ZEND_FUNCTION()
2359 lineno = skip->opline->lineno; in ZEND_FUNCTION()
2363 lineno = 0; in ZEND_FUNCTION()
2467 zend_printf(") called at [%s:%d]\n", filename, lineno); in ZEND_FUNCTION()
2503 int lineno, frameno = 0; in zend_fetch_debug_backtrace() local
2563 lineno = EG(opline_before_exception)->lineno; in zend_fetch_debug_backtrace()
2565 lineno = skip->func->op_array.line_end; in zend_fetch_debug_backtrace()
2568 lineno = skip->opline->lineno; in zend_fetch_debug_backtrace()
[all …]
H A Dzend_opcode.c427 op->lineno = CG(zend_lineno); in init_op()
473 opline->lineno = (opline+1)->lineno; in zend_update_extended_info()
501 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
509 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
H A Dzend_globals.h246 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()
1705 SCNG(lineno)++; in ini_lex()
1764 SCNG(lineno)++; in ini_lex()
1863 SCNG(lineno)++; in ini_lex()
2166 SCNG(lineno)++; in ini_lex()
2497 SCNG(lineno)++; in ini_lex()
[all …]
/PHP-7.0/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.0/sapi/fpm/fpm/
H A Dfpm_php_trace.c83 uint lineno = 0; in fpm_php_trace_dump() local
170 if (0 > fpm_trace_get_long(opline + offsetof(struct _zend_op, lineno), &l)) { in fpm_php_trace_dump()
174 lineno = *lu; in fpm_php_trace_dump()
186 fprintf(slowlog, " %s:%u\n", *buf ? buf : "unknown", lineno); in fpm_php_trace_dump()
/PHP-7.0/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.c186 opline->lineno, in phpdbg_print_opline_ex()
194 opline->lineno, in phpdbg_print_opline_ex()
H A Dphpdbg_prompt.c669 if (opline->lineno != ex->opline->lineno in phpdbg_skip_line_helper()
1808 …EPPING && (PHPDBG_G(flags) & PHPDBG_STEP_OPCODE || execute_data->opline->lineno != PHPDBG_G(last_l… in phpdbg_execute_ex()
1827 … && (brake->type != PHPDBG_BREAK_FILE || execute_data->opline->lineno != PHPDBG_G(last_line))) { in phpdbg_execute_ex()
1843 PHPDBG_G(last_line) = execute_data->opline->lineno; in phpdbg_execute_ex()
1877 …p_array.opcodes) / sizeof(data->opline), data->func->op_array.filename->val, data->opline->lineno); in phpdbg_force_interruption()
/PHP-7.0/Zend/tests/
H A Dexception_020.phpt11 …ng $message [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Throwable $pre…
/PHP-7.0/sapi/cli/
H A Dphp_cli.c615 static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno) in cli_seek_file_begin() argument
619 *lineno = 1; in cli_seek_file_begin()
643 *lineno = 2; in cli_seek_file_begin()
666 int lineno = 0; in do_cli() local
917 if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) { in do_cli()
955 CG(start_lineno) = lineno; in do_cli()
1039 if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) { in do_cli()
1042 CG(start_lineno) = lineno; in do_cli()
/PHP-7.0/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.0/ext/standard/
H A Dassert.c217 uint lineno = zend_get_executed_lineno(); in PHP_FUNCTION() local
221 ZVAL_LONG (&args[1], lineno); in PHP_FUNCTION()
/PHP-7.0/ext/opcache/
H A Dzend_accelerator_util_funcs.c555 CG(zend_lineno) = function1->op_array.opcodes[0].lineno; in zend_accel_function_hash_copy()
561 (int)function2->op_array.opcodes[0].lineno); in zend_accel_function_hash_copy()
599 CG(zend_lineno) = function1->op_array.opcodes[0].lineno; in zend_accel_function_hash_copy_from_shm()
605 (int)function2->op_array.opcodes[0].lineno); in zend_accel_function_hash_copy_from_shm()

Completed in 93 milliseconds

12