Searched refs:lineno (Results 1 - 25 of 42) 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();
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();
99 DTRACE_EXECUTE_ENTRY((char *)filename, lineno);
[all...]
H A Dzend_ini_scanner.c230 SCNG(lineno) = 1;
262 return SCNG(lineno);
353 SCNG(lineno)++;
545 SCNG(lineno)++;
1030 SCNG(lineno)++;
1977 SCNG(lineno)++;
2011 SCNG(lineno)++;
2134 SCNG(lineno)++;
2410 SCNG(lineno)++;
2967 SCNG(lineno)
[all...]
H A Dzend_ini_scanner.l228 SCNG(lineno) = 1;
260 return SCNG(lineno);
351 SCNG(lineno)++;
427 SCNG(lineno)++;
543 SCNG(lineno)++;
633 SCNG(lineno)++;
639 SCNG(lineno)++;
H A Dzend_language_scanner.h37 uint lineno; member in struct:_zend_lex_state
H A Dzend.h243 ZEND_API void _zend_bailout(char *filename, uint lineno);
H A Dzend_exceptions.c238 /* {{{ proto ErrorException::__construct(string message, int code, int severity [, string filename [, int lineno [, Exception previous]]])
243 zend_long code = 0, severity = E_ERROR, lineno; local
248 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, argc, "|sllslO!", &message, &message_len, &code, &severity, &filename, &filename_len, &lineno, &previous, base_exception_ce) == FAILURE) {
249 zend_error(E_EXCEPTION | E_ERROR, "Wrong parameters for ErrorException([string $exception [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Exception $previous = NULL]]]]]])");
272 lineno = 0; /* invalidate lineno */
274 zend_update_property_long(base_exception_ce, object, "line", sizeof("line")-1, lineno);
721 ZEND_ARG_INFO(0, lineno)
883 static void zend_error_va(int type, const char *file, uint lineno, const char *format, ...) /* {{{ */ argument
888 zend_error_cb(type, file, lineno, forma
893 zend_error_helper(int type, const char *filename, const uint lineno, const char *format, ...) argument
[all...]
H A Dzend_ast.h158 uint32_t lineno; /* Line number */ member in struct:_zend_ast
166 uint32_t lineno; member in struct:_zend_ast_list
171 /* Lineno is stored in val.u2.lineno */
242 return zv->u2.lineno;
244 return ast->lineno;
H A Dzend_ast.c55 ast->lineno = CG(zend_lineno);
67 ast->val.u2.lineno = CG(zend_lineno);
101 ast->lineno = (uint32_t) -1;
106 uint32_t lineno = zend_ast_get_lineno(ast->child[i]); local
107 if (lineno < ast->lineno) {
108 ast->lineno = lineno;
113 if (ast->lineno == UINT_MAX) {
114 ast->lineno
[all...]
H A Dzend_alloc.c357 uint lineno,
369 lineno,
1295 dbg->lineno = __zend_lineno;
1306 dbg->lineno = __zend_lineno;
1474 dbg->lineno = __zend_lineno;
1490 dbg->lineno = __zend_lineno;
1510 dbg->lineno = __zend_lineno;
1537 dbg->lineno = __zend_lineno;
1575 list->dbg.lineno = __zend_lineno;
1632 list->dbg.lineno
352 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_alloc.h49 uint lineno; member in struct:_zend_leak_info
58 uint lineno; member in struct:_zend_mm_debug_info
H A Dzend_vm_gen.php659 function gen_handler($f, $spec, $kind, $name, $op1, $op2, $use, $code, $lineno) {
663 out($f, "#line $lineno \"$definition_file\"\n");
694 function gen_helper($f, $spec, $kind, $name, $op1, $op2, $param, $code, $lineno) {
698 out($f, "#line $lineno \"$definition_file\"\n");
902 foreach ($list as $lineno => $dsc) {
909 gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes[$num]["code"], $lineno);
917 gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
930 foreach ($list as $lineno => $dsc) {
934 gen_handler($f, 0, $kind, $opcodes[$num]["op"], "ANY", "ANY", isset($opcodes[$num]["use"]), $opcodes[$num]["code"], $lineno);
938 gen_helper($f, 0, $kind, $num, "ANY", "ANY", $helpers[$num]["param"], $helpers[$num]["code"], $lineno);
979 $lineno = 0; variable
1256 $lineno = 0; variable
[all...]
H A Dzend_globals.h246 int lineno; member in struct:_zend_ini_scanner_globals
H A Dzend_opcode.c415 op->lineno = CG(zend_lineno);
461 opline->lineno = (opline+1)->lineno;
489 CG(zend_lineno) = op_array->opcodes[op_num].lineno;
497 CG(zend_lineno) = op_array->opcodes[op_num].lineno;
H A Dzend_builtin_functions.c2247 int lineno, frameno = 0; local
2296 lineno = EG(opline_before_exception)->lineno;
2298 lineno = skip->func->op_array.line_end;
2301 lineno = skip->opline->lineno;
2305 lineno = 0;
2396 zend_printf(") called at [%s:%d]\n", filename, lineno);
2409 zend_printf(") called at [%s:%d]\n", prev->func->op_array.filename->val, prev->opline->lineno);
2432 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/standard/
H A Dassert.c218 uint lineno = zend_get_executed_lineno(); local
222 ZVAL_LONG (&args[1], lineno);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c92 size_t lineno)
99 if (lineno != 0) {
102 file_printf(ms, "line %" SIZE_T_FORMAT "u: ", lineno);
91 file_error_core(struct magic_set *ms, int error, const char *f, va_list va, size_t lineno) argument
H A Dapprentice.c907 ml->magic[magindex].lineno,
1027 size_t lineno = 0; local
1050 lineno++;
1090 switch (parse(ms, &me, line, lineno, action)) {
1164 ms->line = me[i].mp->lineno;
1700 size_t lineno, int action)
1772 m->lineno = CAST(uint32_t, lineno);
3189 m->lineno = swap4((uint32_t)m->lineno);
1699 parse(struct magic_set *ms, struct magic_entry *me, const char *line, size_t lineno, int action) argument
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h128 PHPDBG_API void phpdbg_set_breakpoint_file(const char* filename, long lineno);
H A Dphpdbg_print.c89 opline->lineno,
H A Dphpdbg_prompt.c487 if (opline->lineno != EG(current_execute_data)->opline->lineno
590 uint32_t lineno = zend_get_executed_lineno();
615 phpdbg_writeln("exception", "opline=\"%p\" file=\"%s\" line=\"%u\"", "Stack entered at %p in %s on line %u", PHPDBG_G(ops)->opcodes, filename, lineno); */
1522 if (PHPDBG_G(flags) & PHPDBG_IS_STEPPING && (PHPDBG_G(flags) & PHPDBG_STEP_OPCODE || execute_data->opline->lineno != PHPDBG_G(last_line))) {
1540 && (brake->type != PHPDBG_BREAK_FILE || execute_data->opline->lineno != PHPDBG_G(last_line))) {
1556 PHPDBG_G(last_line) = execute_data->opline->lineno;
1590 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);
H A Dphpdbg_opcode.c180 opline->lineno,
189 opline->lineno,
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c670 CG(zend_lineno) = function1->op_array.opcodes[0].lineno;
676 (int)function2->op_array.opcodes[0].lineno);
713 CG(zend_lineno) = function1->op_array.opcodes[0].lineno;
719 (int)function2->op_array.opcodes[0].lineno);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c608 static int cli_seek_file_begin(zend_file_handle *file_handle, char *script_file, int *lineno) argument
612 *lineno = 1;
636 *lineno = 2;
659 int lineno = 0; local
907 if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) {
945 CG(start_lineno) = lineno;
1030 if (cli_seek_file_begin(&file_handle, script_file, &lineno) != SUCCESS) {
1033 CG(start_lineno) = lineno;

Completed in 48 milliseconds

12