Home
last modified time | relevance | path

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

123

/PHP-7.2/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.php986 out($f, "#line $lineno \"$definition_file\"\n");
1472 foreach ($list as $lineno => $dsc) {
1504 foreach ($list as $lineno => $dsc) {
1565 $lineno = 0;
1974 function parse_ext_spec($def, $lineno, $str) { argument
1989 function parse_spec_rules($def, $lineno, $str) { argument
2058 $lineno = 0;
2066 ++$lineno;
2112 $list[$lineno] = array("handler"=>$handler);
2156 $list[$lineno] = array("handler"=>$handler);
[all …]
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_ini_scanner.l231 SCNG(lineno) = 1; in init_ini_scanner()
263 return SCNG(lineno); in zend_ini_scanner_get_lineno()
354 SCNG(lineno)++; in zend_ini_escape_string()
430 SCNG(lineno)++;
553 SCNG(lineno)++;
643 SCNG(lineno)++;
649 SCNG(lineno)++;
H A Dzend_language_scanner.h37 uint32_t 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.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()
807 ZEND_ARG_INFO(0, lineno)
950 static void zend_error_va(int type, const char *file, uint32_t lineno, const char *format, ...) /* … in zend_error_va() argument
955 zend_error_cb(type, file, lineno, format, args); in zend_error_va()
960 static void zend_error_helper(int type, const char *filename, const uint32_t lineno, const char *fo… in zend_error_helper() argument
965 zend_error_cb(type, filename, lineno, format, va); in zend_error_helper()
H A Dzend_alloc.c371 uint32_t lineno, in zend_mm_safe_error() argument
383 lineno, in zend_mm_safe_error()
1352 dbg->lineno = __zend_lineno;
1993 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
1997 dbg->lineno = 0;
2026 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
2048 if (p->dbg.filename == list->dbg.filename && p->dbg.lineno == list->dbg.lineno) {
2080 leak.lineno = list->dbg.lineno;
2113 leak.lineno = dbg->lineno;
2121 dbg->lineno = 0;
[all …]
H A Dzend_builtin_functions.c2207 int lineno, frameno = 0; in ZEND_FUNCTION() local
2256 lineno = EG(opline_before_exception)->lineno; in ZEND_FUNCTION()
2258 lineno = skip->func->op_array.line_end; in ZEND_FUNCTION()
2261 lineno = skip->opline->lineno; in ZEND_FUNCTION()
2265 lineno = 0; in ZEND_FUNCTION()
2405 int lineno, frameno = 0; in zend_fetch_debug_backtrace() local
2465 lineno = EG(opline_before_exception)->lineno; in zend_fetch_debug_backtrace()
2467 lineno = skip->func->op_array.line_end; in zend_fetch_debug_backtrace()
2470 lineno = skip->opline->lineno; in zend_fetch_debug_backtrace()
2474 ZVAL_LONG(&tmp, lineno); in zend_fetch_debug_backtrace()
[all …]
H A Dzend_opcode.c457 op->lineno = CG(zend_lineno); in init_op()
503 opline->lineno = (opline+1)->lineno; in zend_update_extended_info()
531 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
539 CG(zend_lineno) = op_array->opcodes[op_num].lineno; in zend_check_finally_breakout()
H A Dzend_globals.h251 int lineno; member
H A Dzend_ini_scanner.c233 SCNG(lineno) = 1; in init_ini_scanner()
265 return SCNG(lineno); in zend_ini_scanner_get_lineno()
356 SCNG(lineno)++; in zend_ini_escape_string()
557 SCNG(lineno)++; in ini_lex()
768 SCNG(lineno)++; in ini_lex()
1713 SCNG(lineno)++; in ini_lex()
1772 SCNG(lineno)++; in ini_lex()
1871 SCNG(lineno)++; in ini_lex()
2174 SCNG(lineno)++; in ini_lex()
2505 SCNG(lineno)++; in ini_lex()
[all …]
/PHP-7.2/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.2/sapi/fpm/fpm/
H A Dfpm_php_trace.c82 uint32_t 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.2/Zend/tests/
H A Dexception_020.phpt11 …ng $message [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Throwable $pre…
/PHP-7.2/sapi/cli/
H A Dphp_cli.c616 static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno) in cli_seek_file_begin() argument
620 *lineno = 1; in cli_seek_file_begin()
644 *lineno = 2; in cli_seek_file_begin()
678 int lineno = 0; in do_cli() local
951 if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) { in do_cli()
989 CG(start_lineno) = lineno; in do_cli()
1073 if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) { in do_cli()
1076 CG(start_lineno) = lineno; in do_cli()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_opcode.c158 opline->lineno, in phpdbg_print_opline_ex()
166 opline->lineno, in phpdbg_print_opline_ex()
H A Dphpdbg_bp.h128 PHPDBG_API void phpdbg_set_breakpoint_file(const char* filename, size_t path_len, long lineno);
/PHP-7.2/ext/tokenizer/
H A Dtokenizer.c110 unsigned char *text, size_t leng, int lineno) { in add_token() argument
116 add_next_index_long(&keyword, lineno); in add_token()
/PHP-7.2/ext/standard/
H A Dassert.c222 uint32_t lineno = zend_get_executed_lineno(); in PHP_FUNCTION() local
226 ZVAL_LONG (&args[1], lineno); in PHP_FUNCTION()
/PHP-7.2/ext/fileinfo/libmagic/
H A Dfuncs.c89 size_t lineno) in file_error_core() argument
96 if (lineno != 0) { in file_error_core()
99 file_printf(ms, "line %" SIZE_T_FORMAT "u:", lineno); in file_error_core()
H A Dapprentice.c922 ml->magic[magindex].lineno, in apprentice_list()
1043 size_t lineno = 0; in load_1() local
1066 lineno++; in load_1()
1106 switch (parse(ms, &me, line, lineno, action)) { in load_1()
1180 ms->line = me[i].mp->lineno; in set_last_default()
1719 size_t lineno, int action) in parse() argument
1791 m->lineno = CAST(uint32_t, lineno); in parse()
3262 m->lineno = swap4((uint32_t)m->lineno);
/PHP-7.2/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 89 milliseconds

123