Home
last modified time | relevance | path

Searched refs:complen (Results 1 – 25 of 734) sorted by relevance

12345678910>>...30

/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysys/
H A Dmy_compress.cc133 *complen = 0; in zstd_compress_alloc()
140 *complen = *len; in zstd_compress_alloc()
213 tmp_complen = (uint)*complen; in zlib_compress_alloc()
217 *complen = tmp_complen; in zlib_compress_alloc()
224 if (*complen >= *len) { in zlib_compress_alloc()
225 *complen = 0; in zlib_compress_alloc()
231 std::swap(*len, *complen); in zlib_compress_alloc()
255 *complen = tmp_complen; in zlib_uncompress()
284 *complen = 0; in my_compress()
303 *complen = 0; in my_compress_alloc()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/mysys/
H A Dmy_compress.c57 *complen=0; in my_compress()
64 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
77 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
133 tmp_complen= (uint) *complen; in my_uncompress()
136 *complen= tmp_complen; in my_uncompress()
147 *complen= len; in my_uncompress()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/mysys/
H A Dmy_compress.c57 *complen=0; in my_compress()
64 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
77 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
133 tmp_complen= (uint) *complen; in my_uncompress()
136 *complen= tmp_complen; in my_uncompress()
147 *complen= len; in my_uncompress()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/mysys/
H A Dmy_compress.c57 *complen=0; in my_compress()
64 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
77 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
133 tmp_complen= (uint) *complen; in my_uncompress()
136 *complen= tmp_complen; in my_uncompress()
147 *complen= len; in my_uncompress()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/mysys/
H A Dmy_compress.c57 *complen=0; in my_compress()
64 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
77 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
133 tmp_complen= (uint) *complen; in my_uncompress()
136 *complen= tmp_complen; in my_uncompress()
147 *complen= len; in my_uncompress()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/mysys/
H A Dmy_compress.c57 *complen=0; in my_compress()
64 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
77 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
133 tmp_complen= (uint) *complen; in my_uncompress()
136 *complen= tmp_complen; in my_uncompress()
147 *complen= len; in my_uncompress()
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/mysys/
H A Dmy_compress.c45 *complen=0; in my_compress()
52 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
65 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
70 tmp_complen= (uint) *complen; in my_compress_alloc()
72 *complen= tmp_complen; in my_compress_alloc()
80 if (*complen >= *len) in my_compress_alloc()
82 *complen= 0; in my_compress_alloc()
121 tmp_complen= (uint) *complen; in my_uncompress()
124 *complen= tmp_complen; in my_uncompress()
135 *complen= len; in my_uncompress()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/libmariadb/libmariadb/
H A Dma_compress.c36 *complen=0; in _mariadb_compress()
41 return *complen ? 0 : 1; in _mariadb_compress()
52 *complen = *len * 120 / 100 + 12; in _mariadb_compress_alloc()
53 if (!(compbuf = (unsigned char *) malloc(*complen))) in _mariadb_compress_alloc()
61 if (*complen >= *len) in _mariadb_compress_alloc()
63 *complen=0; in _mariadb_compress_alloc()
67 swap(size_t,*len,*complen); /* *len is now packet length */ in _mariadb_compress_alloc()
73 if (*complen) /* If compressed */ in _mariadb_uncompress()
75 unsigned char *compbuf = (unsigned char *) malloc (*complen); in _mariadb_uncompress()
83 *len = *complen; in _mariadb_uncompress()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/libmariadb/libmariadb/
H A Dma_compress.c36 *complen=0;
41 return *complen ? 0 : 1;
52 *complen = *len * 120 / 100 + 12;
53 if (!(compbuf = (unsigned char *) malloc(*complen)))
61 if (*complen >= *len)
63 *complen=0;
67 swap(size_t,*len,*complen); /* *len is now packet length */
73 if (*complen) /* If compressed */
75 unsigned char *compbuf = (unsigned char *) malloc (*complen);
83 *len = *complen;
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/libmariadb/libmariadb/
H A Dma_compress.c36 *complen=0; in _mariadb_compress()
41 return *complen ? 0 : 1; in _mariadb_compress()
52 *complen = *len * 120 / 100 + 12; in _mariadb_compress_alloc()
53 if (!(compbuf = (unsigned char *) malloc(*complen))) in _mariadb_compress_alloc()
61 if (*complen >= *len) in _mariadb_compress_alloc()
63 *complen=0; in _mariadb_compress_alloc()
67 swap(size_t,*len,*complen); /* *len is now packet length */ in _mariadb_compress_alloc()
73 if (*complen) /* If compressed */ in _mariadb_uncompress()
75 unsigned char *compbuf = (unsigned char *) malloc (*complen); in _mariadb_uncompress()
83 *len = *complen; in _mariadb_uncompress()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/libmariadb/libmariadb/
H A Dma_compress.c36 *complen=0; in _mariadb_compress()
41 return *complen ? 0 : 1; in _mariadb_compress()
52 *complen = *len * 120 / 100 + 12; in _mariadb_compress_alloc()
53 if (!(compbuf = (unsigned char *) malloc(*complen))) in _mariadb_compress_alloc()
61 if (*complen >= *len) in _mariadb_compress_alloc()
63 *complen=0; in _mariadb_compress_alloc()
67 swap(size_t,*len,*complen); /* *len is now packet length */ in _mariadb_compress_alloc()
73 if (*complen) /* If compressed */ in _mariadb_uncompress()
75 unsigned char *compbuf = (unsigned char *) malloc (*complen); in _mariadb_uncompress()
83 *len = *complen; in _mariadb_uncompress()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/libmariadb/libmariadb/
H A Dma_compress.c36 *complen=0; in _mariadb_compress()
41 return *complen ? 0 : 1; in _mariadb_compress()
52 *complen = *len * 120 / 100 + 12; in _mariadb_compress_alloc()
53 if (!(compbuf = (unsigned char *) malloc(*complen))) in _mariadb_compress_alloc()
61 if (*complen >= *len) in _mariadb_compress_alloc()
63 *complen=0; in _mariadb_compress_alloc()
67 swap(size_t,*len,*complen); /* *len is now packet length */ in _mariadb_compress_alloc()
73 if (*complen) /* If compressed */ in _mariadb_uncompress()
75 unsigned char *compbuf = (unsigned char *) malloc (*complen); in _mariadb_uncompress()
83 *len = *complen; in _mariadb_uncompress()
[all …]
/dports/databases/mariadb-connector-c/mariadb-connector-c-3.2.4-src/libmariadb/
H A Dma_compress.c36 *complen=0; in _mariadb_compress()
41 return *complen ? 0 : 1; in _mariadb_compress()
52 *complen = *len * 120 / 100 + 12; in _mariadb_compress_alloc()
53 if (!(compbuf = (unsigned char *) malloc(*complen))) in _mariadb_compress_alloc()
61 if (*complen >= *len) in _mariadb_compress_alloc()
63 *complen=0; in _mariadb_compress_alloc()
67 swap(size_t,*len,*complen); /* *len is now packet length */ in _mariadb_compress_alloc()
73 if (*complen) /* If compressed */ in _mariadb_uncompress()
75 unsigned char *compbuf = (unsigned char *) malloc (*complen); in _mariadb_uncompress()
83 *len = *complen; in _mariadb_uncompress()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/libmariadb/libmariadb/
H A Dma_compress.c36 *complen=0; in _mariadb_compress()
41 return *complen ? 0 : 1; in _mariadb_compress()
52 *complen = *len * 120 / 100 + 12; in _mariadb_compress_alloc()
53 if (!(compbuf = (unsigned char *) malloc(*complen))) in _mariadb_compress_alloc()
61 if (*complen >= *len) in _mariadb_compress_alloc()
63 *complen=0; in _mariadb_compress_alloc()
67 swap(size_t,*len,*complen); /* *len is now packet length */ in _mariadb_compress_alloc()
73 if (*complen) /* If compressed */ in _mariadb_uncompress()
75 unsigned char *compbuf = (unsigned char *) malloc (*complen); in _mariadb_uncompress()
83 *len = *complen; in _mariadb_uncompress()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/mysys/
H A Dmy_compress.c56 *complen=0; in my_compress()
63 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
76 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
134 tmp_complen= (uint) *complen; in my_uncompress()
137 *complen= tmp_complen; in my_uncompress()
148 *complen= len; in my_uncompress()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/mysys/
H A Dmy_compress.c56 *complen=0; in my_compress()
63 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
76 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
134 tmp_complen= (uint) *complen; in my_uncompress()
137 *complen= tmp_complen; in my_uncompress()
148 *complen= len; in my_uncompress()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/mysys/
H A Dmy_compress.c56 *complen=0; in my_compress()
63 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
76 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
134 tmp_complen= (uint) *complen; in my_uncompress()
137 *complen= tmp_complen; in my_uncompress()
148 *complen= len; in my_uncompress()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/mysys/
H A Dmy_compress.c56 *complen=0; in my_compress()
63 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
76 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
134 tmp_complen= (uint) *complen; in my_uncompress()
137 *complen= tmp_complen; in my_uncompress()
148 *complen= len; in my_uncompress()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/mysys/
H A Dmy_compress.c56 *complen=0; in my_compress()
63 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
76 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
134 tmp_complen= (uint) *complen; in my_uncompress()
137 *complen= tmp_complen; in my_uncompress()
148 *complen= len; in my_uncompress()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/mysys/
H A Dmy_compress.c56 *complen=0; in my_compress()
63 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
76 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
82 tmp_complen= (uint) *complen; in my_compress_alloc()
84 *complen= tmp_complen; in my_compress_alloc()
92 if (*complen >= *len) in my_compress_alloc()
94 *complen= 0; in my_compress_alloc()
134 tmp_complen= (uint) *complen; in my_uncompress()
137 *complen= tmp_complen; in my_uncompress()
148 *complen= len; in my_uncompress()
[all …]
/dports/net/samba412/samba-4.12.15/librpc/ndr/
H A Dndr_dns_utils.c46 size_t complen; in ndr_push_dns_string_list() local
75 complen = strcspn(s, "."); in ndr_push_dns_string_list()
78 if (complen > 0x3F) { in ndr_push_dns_string_list()
82 (unsigned)complen, in ndr_push_dns_string_list()
86 if (complen == 0 && s[complen] == '.') { in ndr_push_dns_string_list()
92 if (is_nbt && s[complen] == '.' && s[complen + 1] == '\0') { in ndr_push_dns_string_list()
97 complen++; in ndr_push_dns_string_list()
101 (unsigned char)complen, in ndr_push_dns_string_list()
102 (unsigned char)complen, in ndr_push_dns_string_list()
116 complen+1)); in ndr_push_dns_string_list()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/mysys/
H A Dmy_compress.c45 *complen=0; in my_compress()
52 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
134 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
147 if (*complen >= *len) in my_compress_alloc()
149 *complen= 0; in my_compress_alloc()
155 swap_variables(size_t, *len, *complen); in my_compress_alloc()
181 if (*complen) /* If compressed */ in my_uncompress()
188 tmp_complen= (uLongf) *complen; in my_uncompress()
191 *complen= tmp_complen; in my_uncompress()
198 memcpy(packet, compbuf, *complen); in my_uncompress()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/mysys/
H A Dmy_compress.c45 *complen=0; in my_compress()
52 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
134 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
147 if (*complen >= *len) in my_compress_alloc()
149 *complen= 0; in my_compress_alloc()
155 swap_variables(size_t, *len, *complen); in my_compress_alloc()
181 if (*complen) /* If compressed */ in my_uncompress()
188 tmp_complen= (uLongf) *complen; in my_uncompress()
191 *complen= tmp_complen; in my_uncompress()
198 memcpy(packet, compbuf, *complen); in my_uncompress()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/mysys/
H A Dmy_compress.c45 *complen=0; in my_compress()
52 DBUG_RETURN(*complen ? 0 : 1); in my_compress()
134 *complen= *len * 120 / 100 + 12; in my_compress_alloc()
147 if (*complen >= *len) in my_compress_alloc()
149 *complen= 0; in my_compress_alloc()
155 swap_variables(size_t, *len, *complen); in my_compress_alloc()
181 if (*complen) /* If compressed */ in my_uncompress()
188 tmp_complen= (uLongf) *complen; in my_uncompress()
191 *complen= tmp_complen; in my_uncompress()
198 memcpy(packet, compbuf, *complen); in my_uncompress()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/mysys/
H A Dmy_compress.c45 *complen=0;
52 DBUG_RETURN(*complen ? 0 : 1);
134 *complen= *len * 120 / 100 + 12;
147 if (*complen >= *len)
149 *complen= 0;
155 swap_variables(size_t, *len, *complen);
181 if (*complen) /* If compressed */
188 tmp_complen= (uLongf) *complen;
191 *complen= tmp_complen;
198 memcpy(packet, compbuf, *complen);
[all …]

12345678910>>...30