/dports/sysutils/slurm-wlm/slurm-20.02.7/src/slurmd/common/ |
H A D | setproctitle.c | 151 static const size_t ps_buffer_size = sizeof(ps_buffer); variable 154 static size_t ps_buffer_size; /* space determined at run time */ variable 210 snprintf(ps_buffer, ps_buffer_size, "%s", __progname); in setproctitle() 212 used = snprintf(ps_buffer, ps_buffer_size, "%s: ", __progname); in setproctitle() 213 if (used == -1 || used >= ps_buffer_size) in setproctitle() 214 used = ps_buffer_size; in setproctitle() 215 vsnprintf(ps_buffer + used, ps_buffer_size - used, fmt, ap); in setproctitle() 233 ps_buffer_size - used); in setproctitle() 292 ps_buffer_size = 0; in init_setproctitle() 305 ps_buffer_size = end_of_area - argv[0] - 1; in init_setproctitle()
|
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/utils/ |
H A D | ps_status.c | 102 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 105 static size_t ps_buffer_size; /* space determined at run time */ variable 154 ps_buffer_size = 0; in save_ps_display_args() 168 ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 253 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 267 snprintf(ps_buffer, ps_buffer_size, ""); in init_ps_display() 269 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 302 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display() 330 memset(ps_buffer + buflen, PS_PADDING, ps_buffer_size - buflen); in set_ps_display() 377 offset = ps_buffer_size; in get_ps_display()
|
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/utils/ |
H A D | ps_status.c | 104 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 107 static size_t ps_buffer_size; /* space determined at run time */ variable 156 ps_buffer_size = 0; in save_ps_display_args() 170 ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 255 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 269 snprintf(ps_buffer, ps_buffer_size, ""); in init_ps_display() 271 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 304 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display() 332 memset(ps_buffer + buflen, PS_PADDING, ps_buffer_size - buflen); in set_ps_display() 379 offset = ps_buffer_size; in get_ps_display()
|
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/utils/ |
H A D | ps_status.c | 102 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 105 static size_t ps_buffer_size; /* space determined at run time */ variable 154 ps_buffer_size = 0; in save_ps_display_args() 168 ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 253 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 267 snprintf(ps_buffer, ps_buffer_size, ""); in init_ps_display() 269 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 302 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display() 330 memset(ps_buffer + buflen, PS_PADDING, ps_buffer_size - buflen); in set_ps_display() 377 offset = ps_buffer_size; in get_ps_display()
|
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/utils/ |
H A D | ps_status.c | 102 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 105 static size_t ps_buffer_size; /* space determined at run time */ variable 154 ps_buffer_size = 0; in save_ps_display_args() 168 ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 253 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 267 snprintf(ps_buffer, ps_buffer_size, ""); in init_ps_display() 269 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 302 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display() 330 memset(ps_buffer + buflen, PS_PADDING, ps_buffer_size - buflen); in set_ps_display() 377 offset = ps_buffer_size; in get_ps_display()
|
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/utils/ |
H A D | ps_status.c | 102 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 105 static size_t ps_buffer_size; /* space determined at run time */ variable 154 ps_buffer_size = 0; in save_ps_display_args() 168 ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 253 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 267 snprintf(ps_buffer, ps_buffer_size, ""); in init_ps_display() 269 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 302 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display() 330 memset(ps_buffer + buflen, PS_PADDING, ps_buffer_size - buflen); in set_ps_display() 377 offset = ps_buffer_size; in get_ps_display()
|
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/utils/ |
H A D | ps_status.c | 104 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 107 static size_t ps_buffer_size; /* space determined at run time */ variable 156 ps_buffer_size = 0; in save_ps_display_args() 170 ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 255 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 269 snprintf(ps_buffer, ps_buffer_size, ""); in init_ps_display() 271 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 304 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display() 332 memset(ps_buffer + buflen, PS_PADDING, ps_buffer_size - buflen); in set_ps_display() 379 offset = ps_buffer_size; in get_ps_display()
|
/dports/www/mod_php80/php-8.0.15/sapi/cli/ |
H A D | ps_title.c | 113 static const size_t ps_buffer_size = MAX_PATH; variable 116 static size_t ps_buffer_size; /* space determined at run time */ variable 121 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args() 252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args() 272 ps_buffer_size = 0; in save_ps_args() 341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title() 342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title() 365 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title() 368 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
|
/dports/www/mod_php81/php-8.1.1/sapi/cli/ |
H A D | ps_title.c | 113 static const size_t ps_buffer_size = MAX_PATH; variable 116 static size_t ps_buffer_size; /* space determined at run time */ variable 121 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args() 252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args() 272 ps_buffer_size = 0; in save_ps_args() 341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title() 342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title() 365 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title() 368 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
|
/dports/lang/php73/php-7.3.33/sapi/cli/ |
H A D | ps_title.c | 113 static const size_t ps_buffer_size = MAX_PATH; variable 116 static size_t ps_buffer_size; /* space determined at run time */ variable 121 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args() 252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args() 272 ps_buffer_size = 0; in save_ps_args() 341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title() 342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title() 365 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title() 368 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
|
/dports/lang/php74/php-7.4.27/sapi/cli/ |
H A D | ps_title.c | 113 static const size_t ps_buffer_size = MAX_PATH; variable 116 static size_t ps_buffer_size; /* space determined at run time */ variable 121 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args() 252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args() 272 ps_buffer_size = 0; in save_ps_args() 341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title() 342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title() 365 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title() 368 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
|
/dports/lang/php81/php-8.1.1/sapi/cli/ |
H A D | ps_title.c | 113 static const size_t ps_buffer_size = MAX_PATH; variable 116 static size_t ps_buffer_size; /* space determined at run time */ variable 121 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args() 252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args() 272 ps_buffer_size = 0; in save_ps_args() 341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title() 342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title() 365 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title() 368 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
|
/dports/lang/php80/php-8.0.15/sapi/cli/ |
H A D | ps_title.c | 113 static const size_t ps_buffer_size = MAX_PATH; variable 116 static size_t ps_buffer_size; /* space determined at run time */ variable 121 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args() 252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args() 272 ps_buffer_size = 0; in save_ps_args() 341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title() 342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title() 365 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title() 368 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
|
/dports/www/mod_php73/php-7.3.33/sapi/cli/ |
H A D | ps_title.c | 113 static const size_t ps_buffer_size = MAX_PATH; variable 116 static size_t ps_buffer_size; /* space determined at run time */ variable 121 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args() 252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args() 272 ps_buffer_size = 0; in save_ps_args() 341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title() 342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title() 365 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title() 368 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
|
/dports/www/mod_php74/php-7.4.27/sapi/cli/ |
H A D | ps_title.c | 113 static const size_t ps_buffer_size = MAX_PATH; variable 116 static size_t ps_buffer_size; /* space determined at run time */ variable 121 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 184 ps_buffer_size = end_of_area - argv[0]; in save_ps_args() 252 save_argv[i] = ps_buffer + ps_buffer_size; in save_ps_args() 272 ps_buffer_size = 0; in save_ps_args() 341 strncpy(ps_buffer, title, ps_buffer_size); in set_ps_title() 342 ps_buffer[ps_buffer_size - 1] = '\0'; in set_ps_title() 365 if (ps_buffer_cur_len < ps_buffer_size) in set_ps_title() 368 ps_buffer_size - ps_buffer_cur_len); in set_ps_title()
|
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 146 ps_buffer_size = 0; in save_ps_display_args() 160 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 254 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 275 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 281 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 318 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 146 ps_buffer_size = 0; in save_ps_display_args() 160 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 254 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 275 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 281 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 318 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 146 ps_buffer_size = 0; in save_ps_display_args() 160 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 254 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 275 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 281 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 318 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 149 ps_buffer_size = 0; in save_ps_display_args() 163 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 281 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 302 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 308 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql10-client/postgresql-10.19/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 149 ps_buffer_size = 0; in save_ps_display_args() 163 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 281 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 302 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 308 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql10-contrib/postgresql-10.19/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 149 ps_buffer_size = 0; in save_ps_display_args() 163 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 281 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 302 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 308 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 149 ps_buffer_size = 0; in save_ps_display_args() 163 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 281 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 302 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 308 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql10-docs/postgresql-10.19/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 149 ps_buffer_size = 0; in save_ps_display_args() 163 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 281 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 302 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 308 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql11-plperl/postgresql-11.14/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 149 ps_buffer_size = 0; in save_ps_display_args() 163 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 281 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 302 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 308 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|
/dports/databases/postgresql11-plpython/postgresql-11.14/src/backend/utils/misc/ |
H A D | ps_status.c | 91 static const size_t ps_buffer_size = PS_BUFFER_SIZE; variable 94 static size_t ps_buffer_size; /* space determined at run time */ variable 149 ps_buffer_size = 0; in save_ps_display_args() 163 last_status_len = ps_buffer_size = end_of_area - argv[0]; in save_ps_display_args() 281 save_argv[i] = ps_buffer + ps_buffer_size; in init_ps_display() 302 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 308 snprintf(ps_buffer, ps_buffer_size, in init_ps_display() 345 ps_buffer_size - ps_buffer_fixed_size); in set_ps_display()
|