/dports/databases/percona56-server/percona-server-5.6.51-91.0/client/ |
H A D | sql_string.cc | 49 if (arg_length <= length) in real_alloc() 57 Alloced_length=arg_length; in real_alloc() 177 if (alloc(arg_length)) in copy() 181 Ptr[arg_length]=0; in copy() 389 if (!arg_length) in append() 413 str_length+=arg_length; in append() 451 str_length+= arg_length; in append() 467 str_length+=arg_length; in append() 481 str_length+=arg_length; in append() 488 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
H A D | sql_string.h | 200 inline bool alloc(uint32 arg_length) in alloc() argument 202 if (arg_length < Alloced_length) in alloc() 204 return real_alloc(arg_length); in alloc() 210 inline void shrink(uint32 arg_length) in shrink() argument 214 if (arg_length < Alloced_length) in shrink() 220 real_alloc(arg_length); in shrink() 225 Alloced_length=arg_length; in shrink() 262 bool append(const char *s,uint32 arg_length); 356 str_length+= arg_length; in prep_append() 365 memcpy(Ptr+str_length, s, arg_length); in append() [all …]
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/client/ |
H A D | sql_string.cc | 49 if (arg_length <= length) in real_alloc() 57 Alloced_length=arg_length; in real_alloc() 177 if (alloc(arg_length)) in copy() 181 Ptr[arg_length]=0; in copy() 389 if (!arg_length) in append() 413 str_length+=arg_length; in append() 451 str_length+= arg_length; in append() 467 str_length+=arg_length; in append() 481 str_length+=arg_length; in append() 488 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
H A D | sql_string.h | 200 inline bool alloc(uint32 arg_length) in alloc() argument 202 if (arg_length < Alloced_length) in alloc() 204 return real_alloc(arg_length); in alloc() 210 inline void shrink(uint32 arg_length) in shrink() argument 214 if (arg_length < Alloced_length) in shrink() 220 real_alloc(arg_length); in shrink() 225 Alloced_length=arg_length; in shrink() 262 bool append(const char *s,uint32 arg_length); 356 str_length+= arg_length; in prep_append() 365 memcpy(Ptr+str_length, s, arg_length); in append() [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/client/ |
H A D | sql_string.cc | 49 if (arg_length <= length) in real_alloc() 57 Alloced_length=arg_length; in real_alloc() 177 if (alloc(arg_length)) in copy() 181 Ptr[arg_length]=0; in copy() 389 if (!arg_length) in append() 413 str_length+=arg_length; in append() 451 str_length+= arg_length; in append() 467 str_length+=arg_length; in append() 481 str_length+=arg_length; in append() 488 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
H A D | sql_string.h | 200 inline bool alloc(uint32 arg_length) in alloc() argument 202 if (arg_length < Alloced_length) in alloc() 204 return real_alloc(arg_length); in alloc() 210 inline void shrink(uint32 arg_length) in shrink() argument 214 if (arg_length < Alloced_length) in shrink() 220 real_alloc(arg_length); in shrink() 225 Alloced_length=arg_length; in shrink() 262 bool append(const char *s,uint32 arg_length); 356 str_length+= arg_length; in prep_append() 365 memcpy(Ptr+str_length, s, arg_length); in append() [all …]
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/client/ |
H A D | sql_string.cc | 49 if (arg_length <= length) in real_alloc() 57 Alloced_length=arg_length; in real_alloc() 177 if (alloc(arg_length)) in copy() 181 Ptr[arg_length]=0; in copy() 389 if (!arg_length) in append() 413 str_length+=arg_length; in append() 451 str_length+= arg_length; in append() 467 str_length+=arg_length; in append() 481 str_length+=arg_length; in append() 488 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
H A D | sql_string.h | 200 inline bool alloc(uint32 arg_length) in alloc() argument 202 if (arg_length < Alloced_length) in alloc() 204 return real_alloc(arg_length); in alloc() 210 inline void shrink(uint32 arg_length) in shrink() argument 214 if (arg_length < Alloced_length) in shrink() 220 real_alloc(arg_length); in shrink() 225 Alloced_length=arg_length; in shrink() 262 bool append(const char *s,uint32 arg_length); 356 str_length+= arg_length; in prep_append() 365 memcpy(Ptr+str_length, s, arg_length); in append() [all …]
|
/dports/databases/mysql55-client/mysql-5.5.62/client/ |
H A D | sql_string.cc | 40 if (arg_length <= length) in real_alloc() 48 Alloced_length=arg_length; in real_alloc() 156 if (alloc(arg_length)) in copy() 160 Ptr[arg_length]=0; in copy() 368 if (!arg_length) in append() 392 str_length+=arg_length; in append() 430 str_length+= arg_length; in append() 446 str_length+=arg_length; in append() 460 str_length+=arg_length; in append() 467 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
H A D | sql_string.h | 187 inline bool alloc(uint32 arg_length) in alloc() argument 189 if (arg_length < Alloced_length) in alloc() 191 return real_alloc(arg_length); in alloc() 194 bool realloc(uint32 arg_length); 197 inline void shrink(uint32 arg_length) in shrink() argument 201 if (arg_length < Alloced_length) in shrink() 207 real_alloc(arg_length); in shrink() 212 Alloced_length=arg_length; in shrink() 341 str_length+= arg_length; in prep_append() 350 memcpy(Ptr+str_length, s, arg_length); in append() [all …]
|
/dports/databases/mysql56-client/mysql-5.6.51/client/ |
H A D | sql_string.cc | 49 if (arg_length <= length) in real_alloc() 57 Alloced_length=arg_length; in real_alloc() 177 if (alloc(arg_length)) in copy() 181 Ptr[arg_length]=0; in copy() 389 if (!arg_length) in append() 413 str_length+=arg_length; in append() 451 str_length+= arg_length; in append() 467 str_length+=arg_length; in append() 481 str_length+=arg_length; in append() 488 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
H A D | sql_string.h | 200 inline bool alloc(uint32 arg_length) in alloc() argument 202 if (arg_length < Alloced_length) in alloc() 204 return real_alloc(arg_length); in alloc() 210 inline void shrink(uint32 arg_length) in shrink() argument 214 if (arg_length < Alloced_length) in shrink() 220 real_alloc(arg_length); in shrink() 225 Alloced_length=arg_length; in shrink() 262 bool append(const char *s,uint32 arg_length); 356 str_length+= arg_length; in prep_append() 365 memcpy(Ptr+str_length, s, arg_length); in append() [all …]
|
/dports/x11/metalock/metalock-0.8.0/src/ |
H A D | alloc.c | 14 int arg_length = 256; variable 21 *script1 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() 24 *script2 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() 27 *script3 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() 30 *script4 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() 33 *script5 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() 36 *script6 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() 39 *script7 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() 42 *script8 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() 45 *script9 = (char*)malloc(max_args * arg_length * sizeof(char)); in alloc_data() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/ |
H A D | sql_string.cc | 38 if (arg_length <= length) in real_alloc() 242 if (alloc(arg_length)) in copy() 255 Ptr[arg_length]=0; in copy() 269 if (alloc(arg_length)) in copy_or_move() 273 Ptr[arg_length]=0; in copy_or_move() 532 if (!arg_length) in append() 556 str_length+=arg_length; in append() 596 if (!arg_length) in append() 643 str_length+=arg_length; in append() 668 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/ |
H A D | sql_string.cc | 38 if (arg_length <= length) in real_alloc() 242 if (alloc(arg_length)) in copy() 255 Ptr[arg_length]=0; in copy() 269 if (alloc(arg_length)) in copy_or_move() 273 Ptr[arg_length]=0; in copy_or_move() 532 if (!arg_length) in append() 556 str_length+=arg_length; in append() 596 if (!arg_length) in append() 643 str_length+=arg_length; in append() 668 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/ |
H A D | sql_string.cc | 38 if (arg_length <= length) in real_alloc() 249 if (alloc(arg_length)) in copy() 262 Ptr[arg_length]=0; in copy() 275 if (alloc(arg_length)) in copy_or_move() 279 Ptr[arg_length]=0; in copy_or_move() 419 set(str, arg_length, cs); in set_or_copy_aligned() 526 if (!arg_length) in append() 577 if (!arg_length) in append() 619 str_length+=arg_length; in append() 644 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/ |
H A D | sql_string.cc | 38 if (arg_length <= length) in real_alloc() 249 if (alloc(arg_length)) in copy() 262 Ptr[arg_length]=0; in copy() 275 if (alloc(arg_length)) in copy_or_move() 279 Ptr[arg_length]=0; in copy_or_move() 419 set(str, arg_length, cs); in set_or_copy_aligned() 526 if (!arg_length) in append() 577 if (!arg_length) in append() 619 str_length+=arg_length; in append() 644 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/ |
H A D | sql_string.cc | 38 if (arg_length <= length) in real_alloc() 249 if (alloc(arg_length)) in copy() 262 Ptr[arg_length]=0; in copy() 275 if (alloc(arg_length)) in copy_or_move() 279 Ptr[arg_length]=0; in copy_or_move() 419 set(str, arg_length, cs); in set_or_copy_aligned() 526 if (!arg_length) in append() 577 if (!arg_length) in append() 619 str_length+=arg_length; in append() 644 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/ |
H A D | sql_string.cc | 38 if (arg_length <= length) in real_alloc() 249 if (alloc(arg_length)) in copy() 262 Ptr[arg_length]=0; in copy() 275 if (alloc(arg_length)) in copy_or_move() 279 Ptr[arg_length]=0; in copy_or_move() 419 set(str, arg_length, cs); in set_or_copy_aligned() 526 if (!arg_length) in append() 577 if (!arg_length) in append() 619 str_length+=arg_length; in append() 644 int t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/mysql55-client/mysql-5.5.62/sql/ |
H A D | sql_string.h | 230 inline bool alloc(uint32 arg_length) in alloc() argument 232 if (arg_length < Alloced_length) in alloc() 234 return real_alloc(arg_length); in alloc() 237 bool realloc(uint32 arg_length); 240 inline void shrink(uint32 arg_length) in shrink() argument 244 if (arg_length < Alloced_length) in shrink() 250 real_alloc(arg_length); in shrink() 255 Alloced_length=arg_length; in shrink() 392 str_length+= arg_length; in prep_append() 401 memcpy(Ptr+str_length, s, arg_length); in append() [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/sql-common/ |
H A D | sql_string.cc | 50 assert(arg_length > length); in real_alloc() 51 if (arg_length <= length) in real_alloc() 271 if (alloc(arg_length)) in copy() 273 if ((m_length= arg_length)) in copy() 275 m_ptr[arg_length]= 0; in copy() 534 if (!arg_length) in append() 558 m_length+= arg_length; in append() 636 m_length+= arg_length; in append() 650 m_length+= arg_length; in append() 675 size_t t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql-common/ |
H A D | sql_string.cc | 50 assert(arg_length > length); in real_alloc() 51 if (arg_length <= length) in real_alloc() 271 if (alloc(arg_length)) in copy() 273 if ((m_length= arg_length)) in copy() 275 m_ptr[arg_length]= 0; in copy() 534 if (!arg_length) in append() 558 m_length+= arg_length; in append() 636 m_length+= arg_length; in append() 650 m_length+= arg_length; in append() 675 size_t t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/sql-common/ |
H A D | sql_string.cc | 50 assert(arg_length > length); in real_alloc() 51 if (arg_length <= length) in real_alloc() 271 if (alloc(arg_length)) in copy() 273 if ((m_length= arg_length)) in copy() 275 m_ptr[arg_length]= 0; in copy() 534 if (!arg_length) in append() 558 m_length+= arg_length; in append() 636 m_length+= arg_length; in append() 650 m_length+= arg_length; in append() 675 size_t t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql-common/ |
H A D | sql_string.cc | 50 assert(arg_length > length); in real_alloc() 51 if (arg_length <= length) in real_alloc() 271 if (alloc(arg_length)) in copy() 273 if ((m_length= arg_length)) in copy() 275 m_ptr[arg_length]= 0; in copy() 534 if (!arg_length) in append() 558 m_length+= arg_length; in append() 636 m_length+= arg_length; in append() 650 m_length+= arg_length; in append() 675 size_t t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql-common/ |
H A D | sql_string.cc | 51 if (arg_length <= length) in real_alloc() 271 if (alloc(arg_length)) in copy() 273 if ((m_length= arg_length)) in copy() 275 m_ptr[arg_length]= 0; in copy() 415 set(str, arg_length, cs); in set_or_copy_aligned() 534 if (!arg_length) in append() 558 m_length+= arg_length; in append() 636 m_length+= arg_length; in append() 650 m_length+= arg_length; in append() 675 size_t t_length= arg_length > full_length ? arg_length : full_length; in append_with_prefill() [all …]
|