Lines Matching refs:init_file
207 const char *init_file; member
266 if (state->init_file) { in phpdbg_line_init()
267 …phpdbg_output_err_buf("Unrecognized command in %s:%d: %s, %s!", state->init_file, state->line, inp… in phpdbg_line_init()
306 void phpdbg_try_file_init(char *init_file, size_t init_file_len, bool free_init) /* {{{ */ in phpdbg_try_file_init() argument
310 if (init_file && VCWD_STAT(init_file, &sb) != -1) { in phpdbg_try_file_init()
311 FILE *fp = fopen(init_file, "r"); in phpdbg_try_file_init()
316 state.init_file = init_file; in phpdbg_try_file_init()
328 phpdbg_error("Failed to open %s for initialization", init_file); in phpdbg_try_file_init()
332 free(init_file); in phpdbg_try_file_init()
337 void phpdbg_init(char *init_file, size_t init_file_len, bool use_default) /* {{{ */ in phpdbg_init() argument
339 if (init_file) { in phpdbg_init()
340 phpdbg_try_file_init(init_file, init_file_len, 1); in phpdbg_init()
365 ZEND_IGNORE_VALUE(asprintf(&init_file, "%s/%s", scan_dir, PHPDBG_INIT_FILENAME)); in phpdbg_init()
366 phpdbg_try_file_init(init_file, strlen(init_file), 0); in phpdbg_init()
367 free(init_file); in phpdbg_init()