Home
last modified time | relevance | path

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

123

/PHP-8.0/Zend/
H A Dzend_dtrace.c57 int lineno; in dtrace_execute_ex() local
65 lineno = zend_get_executed_lineno(); in dtrace_execute_ex()
74 DTRACE_EXECUTE_ENTRY((char *)filename, lineno); in dtrace_execute_ex()
78 …DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope… in dtrace_execute_ex()
84 …DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scop… in dtrace_execute_ex()
88 DTRACE_EXECUTE_RETURN((char *)filename, lineno); in dtrace_execute_ex()
94 int lineno; in dtrace_execute_internal() local
98 lineno = zend_get_executed_lineno(); in dtrace_execute_internal()
102 DTRACE_EXECUTE_ENTRY((char *)filename, lineno); in dtrace_execute_internal()
108 DTRACE_EXECUTE_RETURN((char *)filename, lineno); in dtrace_execute_internal()
H A Dzend_dtrace.d26 probe error(char *errormsg, char *request_file, int lineno);
27 probe execute__entry(char* request_file, int lineno);
28 probe execute__return(char* request_file, int lineno);
29 …probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* …
30 …probe function__return(char* function_name, char* request_file, int lineno, char* classname, char*…
H A Dzend_ast.c166 ast->lineno = lineno; in zend_ast_create_1()
188 ast->lineno = lineno; in zend_ast_create_2()
213 ast->lineno = lineno; in zend_ast_create_3()
241 ast->lineno = lineno; in zend_ast_create_4()
272 ast->lineno = lineno; in zend_ast_create_5()
310 list->lineno = lineno; in zend_ast_create_list_1()
341 list->lineno = lineno; in zend_ast_create_list_2()
359 if (lineno < ast->lineno) { in zend_ast_create_from_va_list()
360 ast->lineno = lineno; in zend_ast_create_from_va_list()
414 if (lineno < ast->lineno) { in zend_ast_create_list()
[all …]
H A Dzend_vm_gen.php1080 out($f, "#line $lineno \"$definition_file\"\n");
1173 out($f, "#line $lineno \"$definition_file\"\n");
1714 foreach ($list as $lineno => $dsc) {
1746 foreach ($list as $lineno => $dsc) {
1826 $lineno = 0;
2286 function parse_ext_spec($def, $lineno, $str) { argument
2301 function parse_spec_rules($def, $lineno, $str) { argument
2373 $lineno = 0;
2380 ++$lineno;
2434 $list[$lineno] = array("handler"=>$handler);
[all …]
H A Dzend_language_scanner.h36 uint32_t lineno; member
72 int lineno; member
H A Dzend_ini_scanner.l229 SCNG(lineno) = 1; in init_ini_scanner()
259 return SCNG(lineno); in zend_ini_scanner_get_lineno()
346 SCNG(lineno)++; in zend_ini_escape_string()
422 SCNG(lineno)++;
545 SCNG(lineno)++;
635 SCNG(lineno)++;
641 SCNG(lineno)++;
H A Dzend_vm_trace_lines.h30 fprintf(vm_trace_file, "%s:%d\n", ZSTR_VAL(EX(func)->op_array.filename), opline->lineno); in zend_vm_trace()
H A Dzend.c1443 *lineno = 0; in get_filename_lineno()
1460 *lineno = zend_get_compiled_lineno(); in get_filename_lineno()
1465 *lineno = 0; in get_filename_lineno()
1467 *lineno = zend_get_executed_lineno(); in get_filename_lineno()
1471 *lineno = 0; in get_filename_lineno()
1476 *lineno = 0; in get_filename_lineno()
1500 uint32_t lineno; in zend_error() local
1503 get_filename_lineno(type, &filename, &lineno); in zend_error()
1529 uint32_t lineno; in zend_error_noreturn() local
1532 get_filename_lineno(type, &filename, &lineno); in zend_error_noreturn()
[all …]
H A Dzend_attributes.h53 uint32_t lineno; member
82 uint32_t flags, uint32_t offset, uint32_t lineno);
H A Dzend_builtin_functions.c1696 int lineno, frameno = 0; in ZEND_FUNCTION() local
1737 lineno = EG(opline_before_exception)->lineno; in ZEND_FUNCTION()
1739 lineno = skip->func->op_array.line_end; in ZEND_FUNCTION()
1742 lineno = skip->opline->lineno; in ZEND_FUNCTION()
1746 lineno = 0; in ZEND_FUNCTION()
1883 int lineno, frameno = 0; in zend_fetch_debug_backtrace() local
1935 lineno = EG(opline_before_exception)->lineno; in zend_fetch_debug_backtrace()
1937 lineno = skip->func->op_array.line_end; in zend_fetch_debug_backtrace()
1940 lineno = skip->opline->lineno; in zend_fetch_debug_backtrace()
1944 ZVAL_LONG(&tmp, lineno); in zend_fetch_debug_backtrace()
[all …]
H A Dzend_attributes.c203 …e **attributes, zend_string *name, uint32_t argc, uint32_t flags, uint32_t offset, uint32_t lineno) in zend_add_attribute() argument
221 attr->lineno = lineno; in zend_add_attribute()
H A Dzend_ast.h177 uint32_t lineno; /* Line number */ member
185 uint32_t lineno; member
213 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_with_lineno(zval *zv, uint32_t lineno);
341 return ast->lineno; in zend_ast_get_lineno()
H A Dzend_alloc.c374 uint32_t lineno, in zend_mm_safe_error() argument
386 lineno, in zend_mm_safe_error()
1332 dbg->lineno = __zend_lineno;
2024 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
2028 dbg->lineno = 0;
2057 if (dbg->filename == leak->filename && dbg->lineno == leak->lineno) {
2080 if (p->dbg.filename == list->dbg.filename && p->dbg.lineno == list->dbg.lineno) {
2112 leak.lineno = list->dbg.lineno;
2145 leak.lineno = dbg->lineno;
2153 dbg->lineno = 0;
[all …]
H A Dzend.h236 ZEND_API ZEND_COLD ZEND_NORETURN void _zend_bailout(const char *filename, uint32_t lineno);
302 ZEND_API ZEND_COLD void zend_error_at(int type, const char *filename, uint32_t lineno, const char *…
303 …URN void zend_error_at_noreturn(int type, const char *filename, uint32_t lineno, const char *forma…
H A Dzend_exceptions.c348 zend_long code = 0, severity = E_ERROR, lineno; in ZEND_METHOD() local
352 …s(ZEND_NUM_ARGS(), "|SllS!l!O!", &message, &code, &severity, &filename, &lineno, &lineno_is_null, … in ZEND_METHOD()
383 ZVAL_LONG(&tmp, lineno); in ZEND_METHOD()
909 static void zend_error_va(int type, const char *file, uint32_t lineno, const char *format, ...) /* … in zend_error_va() argument
914 zend_observer_error_notify(type, file, lineno, message); in zend_error_va()
915 zend_error_cb(type, file, lineno, message); in zend_error_va()
/PHP-8.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-8.0/sapi/fpm/fpm/
H A Dfpm_php_trace.c77 uint32_t lineno = 0; in fpm_php_trace_dump() local
164 if (0 > fpm_trace_get_long(opline + offsetof(struct _zend_op, lineno), &l)) { in fpm_php_trace_dump()
168 lineno = *lu; in fpm_php_trace_dump()
180 fprintf(slowlog, " %s:%u\n", *buf ? buf : "unknown", lineno); in fpm_php_trace_dump()
/PHP-8.0/Zend/tests/
H A Dbug80972.phpt6 function exceptions_error_handler($severity, $message, $filename, $lineno) {
8 throw new ErrorException($message, 0, $severity, $filename, $lineno);
H A Dflexible-heredoc-nowdoc-lineno.phpt2 Flexible heredoc lineno: ensure the compiler globals line number is correct
/PHP-8.0/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.h126 PHPDBG_API void phpdbg_set_breakpoint_file(const char* filename, size_t path_len, long lineno);
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_gdb.c185 int32_t lineno; /* Starting line number. */ member
403 if (ctx->lineno) (DB(DW_LNS_advance_line), DSV(ctx->lineno-1)); in zend_gdbjit_debugline()
471 ctx.lineno = op_array ? op_array->line_start : 0; in zend_jit_gdb_register()
/PHP-8.0/ext/standard/
H A Dassert.c172 uint32_t lineno = zend_get_executed_lineno(); in PHP_FUNCTION() local
176 ZVAL_LONG(&args[1], lineno); in PHP_FUNCTION()
/PHP-8.0/ext/tokenizer/
H A Dtokenizer.c316 zval *return_value, int token_type, unsigned char *text, size_t leng, int lineno, in add_token() argument
324 ZVAL_LONG(OBJ_PROP_NUM(obj, 2), lineno); in add_token()
341 add_next_index_long(&token, lineno); in add_token()

Completed in 58 milliseconds

123