Home
last modified time | relevance | path

Searched refs:ps_buffer_cur_len (Results 1 – 1 of 1) sorted by relevance

/php-src/sapi/cli/
H A Dps_title.c126 static size_t ps_buffer_cur_len; /* actual string length in ps_buffer */ variable
347 ps_buffer_cur_len = (title_len >= ps_buffer_size) ? ps_buffer_size - 1 : title_len; in set_ps_title()
358 pstat(PSTAT_SETCMD, pst, ps_buffer_cur_len, 0, 0); in set_ps_title()
369 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title()
371 memset(ps_buffer + ps_buffer_cur_len, PS_PADDING, in set_ps_title()
372 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
408 if (!(ps_buffer_cur_len = GetConsoleTitleW(ps_buffer_w, (DWORD)sizeof(ps_buffer_w)))) { in get_ps_title()
412 tmp = php_win32_cp_conv_w_to_any(ps_buffer_w, PHP_WIN32_CP_IGNORE_LEN, &ps_buffer_cur_len); in get_ps_title()
417ps_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()
[all …]

Completed in 11 milliseconds