Lines Matching refs:ps_buffer
114 static char ps_buffer[MAX_PATH]; variable
117 static char *ps_buffer; /* will point to argv area */ variable
122 static char ps_buffer[PS_BUFFER_SIZE]; variable
187 ps_buffer = argv[0]; in save_ps_args()
257 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args()
262 save_argv[0] = ps_buffer; /* ps_buffer here is a static const array of size PS_BUFFER_SIZE */ in save_ps_args()
276 ps_buffer = NULL; in save_ps_args()
297 if (!ps_buffer) in is_ps_title_available()
346 size_t title_len = strlcpy(ps_buffer, title, ps_buffer_size); in set_ps_title()
350 setproctitle("%s", ps_buffer); in set_ps_title()
357 pst.pst_command = ps_buffer; in set_ps_title()
364 PS_STRINGS->ps_argvstr = ps_buffer; in set_ps_title()
371 memset(ps_buffer + ps_buffer_cur_len, PS_PADDING, in set_ps_title()
378 wchar_t *ps_buffer_w = php_win32_cp_any_to_w(ps_buffer); in set_ps_title()
417 …ps_buffer_cur_len = ps_buffer_cur_len > sizeof(ps_buffer)-1 ? sizeof(ps_buffer)-1 : ps_buffer_cur_… in get_ps_title()
419 memmove(ps_buffer, tmp, ps_buffer_cur_len); in get_ps_title()
424 *string = ps_buffer; in get_ps_title()