Lines Matching refs:ps_buffer
112 static char ps_buffer[MAX_PATH]; variable
115 static char *ps_buffer; /* will point to argv area */ variable
120 static char ps_buffer[PS_BUFFER_SIZE]; variable
183 ps_buffer = argv[0]; in save_ps_args()
252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args()
257 save_argv[0] = ps_buffer; /* ps_buffer here is a static const array of size PS_BUFFER_SIZE */ in save_ps_args()
271 ps_buffer = NULL; in save_ps_args()
292 if (!ps_buffer) in is_ps_title_available()
341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title()
342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title()
343 ps_buffer_cur_len = strlen(ps_buffer); in set_ps_title()
346 setproctitle("%s", ps_buffer); in set_ps_title()
353 pst.pst_command = ps_buffer; in set_ps_title()
360 PS_STRINGS->ps_argvstr = ps_buffer; in set_ps_title()
367 memset(ps_buffer + ps_buffer_cur_len, PS_PADDING, in set_ps_title()
374 wchar_t *ps_buffer_w = php_win32_cp_any_to_w(ps_buffer); in set_ps_title()
413 …ps_buffer_cur_len = ps_buffer_cur_len > sizeof(ps_buffer)-1 ? sizeof(ps_buffer)-1 : ps_buffer_cur_… in get_ps_title()
415 memmove(ps_buffer, tmp, ps_buffer_cur_len); in get_ps_title()
420 *string = ps_buffer; in get_ps_title()