Searched refs:lineno (Results 1 - 25 of 40) sorted by relevance

12

/PHP_TRUNK/Zend/
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* scope);
32 probe function__return(char* function_name, char* request_file, int lineno, char* classname, char* scope);
H A Dzend_dtrace.c54 int lineno; local
58 /* we need filename and lineno for both execute and function probes */
62 lineno = zend_get_executed_lineno(TSRMLS_C);
71 DTRACE_EXECUTE_ENTRY((char *)filename, lineno);
75 DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
81 DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
85 DTRACE_EXECUTE_RETURN((char *)filename, lineno);
91 int lineno; local
95 lineno = zend_get_executed_lineno(TSRMLS_C);
99 DTRACE_EXECUTE_ENTRY((char *)filename, lineno);
[all...]
H A Dzend_language_scanner.h37 uint lineno; member in struct:_zend_lex_state
H A Dzend_ini_scanner.l224 SCNG(lineno) = 1;
256 return SCNG(lineno);
347 SCNG(lineno)++;
423 SCNG(lineno)++;
539 SCNG(lineno)++;
629 SCNG(lineno)++;
635 SCNG(lineno)++;
640 zend_error(E_DEPRECATED, "Comments starting with '#' are deprecated in %s on line %d", zend_ini_scanner_get_filename(TSRMLS_C), SCNG(lineno));
642 SCNG(lineno)++;
H A Dzend_ini_scanner.c226 SCNG(lineno) = 1;
258 return SCNG(lineno);
349 SCNG(lineno)++;
542 SCNG(lineno)++;
1033 SCNG(lineno)++;
1117 zend_error(E_DEPRECATED, "Comments starting with '#' are deprecated in %s on line %d", zend_ini_scanner_get_filename(TSRMLS_C), SCNG(lineno));
1119 SCNG(lineno)++;
2067 SCNG(lineno)++;
2101 SCNG(lineno)++;
2224 SCNG(lineno)
[all...]
H A Dzend_ast.c51 ast->lineno = CG(zend_lineno);
64 ast->val.u2.lineno = CG(zend_lineno);
99 ast->lineno = (uint32_t) -1;
104 uint32_t lineno = zend_ast_get_lineno(ast->child[i]); local
105 if (lineno < ast->lineno) {
106 ast->lineno = lineno;
111 if (ast->lineno == UINT_MAX) {
112 ast->lineno
[all...]
H A Dzend_ast.h156 uint32_t lineno; /* Line number */ member in struct:_zend_ast
164 uint32_t lineno; member in struct:_zend_ast_list
169 /* Lineno is stored in val.u2.lineno */
236 return zv->u2.lineno;
238 return ast->lineno;
H A Dzend_opcode.c385 op->lineno = CG(zend_lineno);
431 opline->lineno = (opline+1)->lineno;
459 CG(zend_lineno) = op_array->opcodes[op_num].lineno;
467 CG(zend_lineno) = op_array->opcodes[op_num].lineno;
754 CG(zend_lineno) = opline->lineno;
H A Dzend_vm_gen.php543 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno) {
547 out($f, "#line $lineno \"$definition_file\"\n");
578 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) {
582 out($f, "#line $lineno \"$definition_file\"\n");
778 foreach ($list as $lineno => $dsc) {
785 gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes[$num]["code"], $lineno);
793 gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
806 foreach ($list as $lineno => $dsc) {
810 gen_handler($f, 0, $kind, $opcodes[$num]["op"], "ANY", "ANY", isset($opcodes[$num]["use"]), $opcodes[$num]["code"], $lineno);
814 gen_helper($f, 0, $kind, $num, "ANY", "ANY", $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
855 $lineno = 0; variable
1089 $lineno = 0; variable
[all...]
H A Dzend_globals.h250 int lineno; member in struct:_zend_ini_scanner_globals
H A Dzend_exceptions.c221 /* {{{ proto ErrorException::__construct(string message, int code, int severity [, string filename [, int lineno [, Exception previous]]])
226 zend_long code = 0, severity = E_ERROR, lineno; local
231 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc TSRMLS_CC, "|sllslO!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, default_exception_ce) == FAILURE) {
232 zend_error(E_ERROR, "Wrong parameters for ErrorException([string $exception [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Exception $previous = NULL]]]]]])");
254 lineno = 0; /* invalidate lineno */
256 zend_update_property_long(default_exception_ce, object, "line", sizeof("line")-1, lineno TSRMLS_CC);
686 ZEND_ARG_INFO(0, lineno)
786 static void zend_error_va(int type, const char *file, uint lineno, const char *format, ...) /* {{{ */ argument
791 zend_error_cb(type, file, lineno, forma
[all...]
H A Dzend.h227 ZEND_API void _zend_bailout(char *filename, uint lineno);
H A Dzend_compile.h79 uint32_t lineno; member in struct:_zend_ast_znode
115 uint lineno; member in struct:_zend_op
H A Dzend_alloc.c287 uint lineno; member in struct:_zend_mm_debug_info
359 uint lineno,
372 lineno,
1296 dbg->lineno = __zend_lineno;
1307 dbg->lineno = __zend_lineno;
1475 dbg->lineno = __zend_lineno;
1491 dbg->lineno = __zend_lineno;
1511 dbg->lineno = __zend_lineno;
1538 dbg->lineno = __zend_lineno;
1577 list->dbg.lineno
354 zend_mm_safe_error(zend_mm_heap *heap, const char *format, size_t limit, const char *filename, uint lineno, size_t size) argument
[all...]
H A Dzend_builtin_functions.c2108 int lineno, frameno = 0; local
2152 lineno = EG(opline_before_exception)->lineno;
2154 lineno = skip->func->op_array.line_end;
2157 lineno = skip->opline->lineno;
2161 lineno = 0;
2258 zend_printf(") called at [%s:%d]\n", filename, lineno);
2271 zend_printf(") called at [%s:%d]\n", prev->func->op_array.filename->val, prev->opline->lineno);
2294 int lineno, framen local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php_trace.c75 uint lineno = 0;
117 if (0 > fpm_trace_get_long(opline + offsetof(struct _zend_op, lineno), &l)) {
121 lineno = *lu;
124 fprintf(slowlog, " %s:%u\n", *buf ? buf : "unknown", lineno);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h290 uint32_t lineno; /* line number in magic file */ member in struct:magic
H A Dfuncs.c91 size_t lineno)
98 if (lineno != 0) {
101 file_printf(ms, "line %" SIZE_T_FORMAT "u: ", lineno);
90 file_error_core(struct magic_set *ms, int error, const char *f, va_list va, size_t lineno) argument
H A Dapprentice.c958 size_t lineno = 0; local
982 lineno++;
1022 switch (parse(ms, &me, line, lineno, action)) {
1095 ms->line = me[i].mp->lineno;
1497 size_t lineno, int action)
1569 m->lineno = CAST(uint32_t, lineno);
2945 m->lineno = swap4((uint32_t)m->lineno);
1496 parse(struct magic_set *ms, struct magic_entry *me, const char *line, size_t lineno, int action) argument
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c606 static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno TSRMLS_DC)
610 *lineno = 1;
634 *lineno = 2;
657 int lineno = 0; local
916 if (cli_seek_file_begin(&file_handle, script_file, &lineno TSRMLS_CC) != SUCCESS) {
954 CG(start_lineno) = lineno;
1050 if (cli_seek_file_begin(&file_handle, script_file, &lineno TSRMLS_CC) != SUCCESS) {
1053 CG(start_lineno) = lineno;
/PHP_TRUNK/ext/standard/
H A Dassert.c205 uint lineno = zend_get_executed_lineno(TSRMLS_C); local
209 ZVAL_LONG (&args[1], lineno);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h125 PHPDBG_API void phpdbg_set_breakpoint_file(const char* filename, long lineno TSRMLS_DC);
H A Dphpdbg_opcode.c150 opline->lineno,
159 opline->lineno,
H A Dphpdbg_print.c85 opline->lineno,
H A Dphpdbg_prompt.c443 if (opline->lineno != EG(current_execute_data)->opline->lineno) {
515 uint32_t lineno = zend_get_executed_lineno(TSRMLS_C); local
536 phpdbg_writeln("exception", "opline=\"%p\" file=\"%s\" line=\"%u\"", "Stack entered at %p in %s on line %u", EG(current_execute_data)->func->op_array.opcodes, filename, lineno);
1357 if (PHPDBG_G(flags) & PHPDBG_IS_STEPPING && (PHPDBG_G(flags) & PHPDBG_STEP_OPCODE || execute_data->opline->lineno != PHPDBG_G(last_line))) {
1375 && (brake->type != PHPDBG_BREAK_FILE || execute_data->opline->lineno != PHPDBG_G(last_line))) {
1391 PHPDBG_G(last_line) = execute_data->opline->lineno;
1421 phpdbg_notice("hardinterrupt", "opline=\"%p\" num=\"%lu\" file=\"%s\" line=\"%u\"", "Current opline: %p (op #%lu) in %s:%u", data->opline, (data->opline - data->func->op_array.opcodes) / sizeof(data->opline), data->func->op_array.filename, data->opline->lineno);

Completed in 39 milliseconds

12