Home
last modified time | relevance | path

Searched refs:ps_buffer_fixed_size (Results 1 – 25 of 51) sorted by relevance

123

/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/utils/
H A Dps_status.c108 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
273 ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
301 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
302 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
378 while (offset > ps_buffer_fixed_size && ps_buffer[offset - 1] == PS_PADDING) in get_ps_display()
381 *displen = offset - ps_buffer_fixed_size; in get_ps_display()
383 *displen = strlen(ps_buffer + ps_buffer_fixed_size); in get_ps_display()
386 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/utils/
H A Dps_status.c110 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
275 ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
303 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
304 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
380 while (offset > ps_buffer_fixed_size && ps_buffer[offset - 1] == PS_PADDING) in get_ps_display()
383 *displen = offset - ps_buffer_fixed_size; in get_ps_display()
385 *displen = strlen(ps_buffer + ps_buffer_fixed_size); in get_ps_display()
388 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/utils/
H A Dps_status.c108 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
273 ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
301 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
302 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
378 while (offset > ps_buffer_fixed_size && ps_buffer[offset - 1] == PS_PADDING) in get_ps_display()
381 *displen = offset - ps_buffer_fixed_size; in get_ps_display()
383 *displen = strlen(ps_buffer + ps_buffer_fixed_size); in get_ps_display()
386 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/utils/
H A Dps_status.c108 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
273 ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
301 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
302 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
378 while (offset > ps_buffer_fixed_size && ps_buffer[offset - 1] == PS_PADDING) in get_ps_display()
381 *displen = offset - ps_buffer_fixed_size; in get_ps_display()
383 *displen = strlen(ps_buffer + ps_buffer_fixed_size); in get_ps_display()
386 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/utils/
H A Dps_status.c108 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
273 ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
301 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
302 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
378 while (offset > ps_buffer_fixed_size && ps_buffer[offset - 1] == PS_PADDING) in get_ps_display()
381 *displen = offset - ps_buffer_fixed_size; in get_ps_display()
383 *displen = strlen(ps_buffer + ps_buffer_fixed_size); in get_ps_display()
386 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/devel/py-setproctitle/setproctitle-1.2.2/src/
H A Dspt_status.c145 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
315 ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
343 spt_strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
344 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
426 while (offset > ps_buffer_fixed_size && ps_buffer[offset - 1] == PS_PADDING) in get_ps_display()
429 *displen = offset - ps_buffer_fixed_size; in get_ps_display()
431 *displen = strlen(ps_buffer + ps_buffer_fixed_size); in get_ps_display()
434 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/utils/
H A Dps_status.c110 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
275 ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
303 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
304 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
380 while (offset > ps_buffer_fixed_size && ps_buffer[offset - 1] == PS_PADDING) in get_ps_display()
383 *displen = offset - ps_buffer_fixed_size; in get_ps_display()
385 *displen = strlen(ps_buffer + ps_buffer_fixed_size); in get_ps_display()
388 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
286 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
317 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
318 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
389 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
391 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
286 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
317 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
318 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
389 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
391 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
286 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
317 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
318 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
389 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
391 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql10-client/postgresql-10.19/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql10-contrib/postgresql-10.19/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql10-docs/postgresql-10.19/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql11-plperl/postgresql-11.14/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql11-plpython/postgresql-11.14/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql11-docs/postgresql-11.14/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql11-contrib/postgresql-11.14/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql11-client/postgresql-11.14/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql10-server/postgresql-10.19/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/backend/utils/misc/
H A Dps_status.c100 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
313 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
344 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
416 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
418 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql12-client/postgresql-12.9/src/backend/utils/misc/
H A Dps_status.c105 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
318 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
349 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
350 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
423 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
425 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/utils/misc/
H A Dps_status.c108 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
330 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
367 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
368 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
442 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
444 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()
/dports/databases/postgresql14-docs/postgresql-14.1/src/backend/utils/misc/
H A Dps_status.c108 static size_t ps_buffer_fixed_size; /* size of the constant prefix */ variable
330 ps_buffer_cur_len = ps_buffer_fixed_size = strlen(ps_buffer); in init_ps_display()
367 strlcpy(ps_buffer + ps_buffer_fixed_size, activity, in set_ps_display()
368 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
442 *displen = (int) (ps_buffer_cur_len - ps_buffer_fixed_size); in get_ps_display()
444 return ps_buffer + ps_buffer_fixed_size; in get_ps_display()

123