Lines Matching refs:ps_buffer
110 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()
387 if (!set_title(ps_buffer)) { in set_ps_title()
423 if (!(ps_buffer_cur_len = get_title(ps_buffer, (DWORD)ps_buffer_size))) { in get_ps_title()
429 *string = ps_buffer; in get_ps_title()