Home
last modified time | relevance | path

Searched refs:p_length (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/dports/graphics/zint/zint-2.10.0-src/backend/
H A Dgb2312.c1550 unsigned int utfdata[*p_length + 1]; in gb2312_utf8()
1555 error_number = utf8_to_unicode(symbol, source, utfdata, p_length, 1 /*disallow_4byte*/); in gb2312_utf8()
1560 for (i = 0, length = *p_length; i < length; i++) { in gb2312_utf8()
1580 int eci_length = get_eci_length(eci, source, *p_length); in gb2312_utf8_to_eci()
1587 error_number = utf8_to_eci(eci, source, converted, p_length); in gb2312_utf8_to_eci()
1593 gb2312_cpy(converted, p_length, gbdata, full_multibyte); in gb2312_utf8_to_eci()
1595 gb2312_cpy(source, p_length, gbdata, full_multibyte); in gb2312_utf8_to_eci()
1603 INTERNAL void gb2312_cpy(const unsigned char source[], int *p_length, unsigned int *gbdata, in gb2312_cpy() argument
1609 for (i = 0, j = 0, length = *p_length; i < length; i++, j++) { in gb2312_cpy()
1625 *p_length = j; in gb2312_cpy()
[all …]
H A Dsjis.c1522 unsigned int utfdata[*p_length + 1]; in sjis_utf8()
1524 unsigned int *utfdata = (unsigned int *) _alloca((*p_length + 1) * sizeof(unsigned int)); in sjis_utf8()
1527 error_number = utf8_to_unicode(symbol, source, utfdata, p_length, 1 /*disallow_4byte*/); in sjis_utf8()
1532 for (i = 0, length = *p_length; i < length; i++) { in sjis_utf8()
1548 int eci_length = get_eci_length(eci, source, *p_length); in sjis_utf8_to_eci()
1555 error_number = utf8_to_eci(eci, source, converted, p_length); in sjis_utf8_to_eci()
1561 sjis_cpy(converted, p_length, jisdata, full_multibyte); in sjis_utf8_to_eci()
1563 sjis_cpy(source, p_length, jisdata, full_multibyte); in sjis_utf8_to_eci()
1576 for (i = 0, j = 0, length = *p_length; i < length; i++, j++) { in sjis_cpy()
1592 *p_length = j; in sjis_cpy()
[all …]
H A Dgb18030.c2876 unsigned int utfdata[*p_length + 1]; in gb18030_utf8()
2881 error_number = utf8_to_unicode(symbol, source, utfdata, p_length, 0 /*disallow_4byte*/); in gb18030_utf8()
2886 for (i = 0, j = 0, length = *p_length; i < length; i++, j++) { in gb18030_utf8()
2901 *p_length = j; in gb18030_utf8()
2912 int eci_length = get_eci_length(eci, source, *p_length); in gb18030_utf8_to_eci()
2919 error_number = utf8_to_eci(eci, source, converted, p_length); in gb18030_utf8_to_eci()
2925 gb18030_cpy(converted, p_length, gbdata, full_multibyte); in gb18030_utf8_to_eci()
2927 gb18030_cpy(source, p_length, gbdata, full_multibyte); in gb18030_utf8_to_eci()
2942 for (i = 0, j = 0, length = *p_length; i < length; i++, j++) { in gb18030_cpy()
2968 *p_length = j; in gb18030_cpy()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/core/io/
H A Dfile_access_memory.cpp151 int FileAccessMemory::get_buffer(uint8_t *p_dst, int p_length) const { in get_buffer()
156 int read = MIN(p_length, left); in get_buffer()
158 if (read < p_length) { in get_buffer()
163 pos += p_length; in get_buffer()
180 void FileAccessMemory::store_buffer(const uint8_t *p_src, int p_length) { in store_buffer() argument
183 int write = MIN(p_length, left); in store_buffer()
184 if (write < p_length) { in store_buffer()
189 pos += p_length; in store_buffer()
/dports/devel/godot2/godot-2.1.6-stable/core/io/
H A Dfile_access_memory.cpp151 int FileAccessMemory::get_buffer(uint8_t *p_dst, int p_length) const { in get_buffer()
156 int read = MIN(p_length, left); in get_buffer()
158 if (read < p_length) { in get_buffer()
163 pos += p_length; in get_buffer()
180 void FileAccessMemory::store_buffer(const uint8_t *p_src, int p_length) { in store_buffer() argument
183 int write = MIN(p_length, left); in store_buffer()
184 if (write < p_length) { in store_buffer()
189 pos += p_length; in store_buffer()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-knxip_decrypt.c79 while( a_length || p_length ) in knx_ccm_calc_cbc_mac()
88 while( p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_calc_cbc_mac()
91 --p_length; in knx_ccm_calc_cbc_mac()
123 if( p_length >= 0 && !(p_length && !p_bytes) ) in knx_ccm_encrypt()
142 while (p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_encrypt()
145 --p_length; in knx_ccm_encrypt()
149 while( p_length ) in knx_ccm_encrypt()
157 while( p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_encrypt()
160 --p_length; in knx_ccm_encrypt()
199 gint p_length = crypt_length - KNX_KEY_LENGTH; in knxip_ccm_decrypt() local
[all …]
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-knxip_decrypt.c79 while( a_length || p_length ) in knx_ccm_calc_cbc_mac()
88 while( p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_calc_cbc_mac()
91 --p_length; in knx_ccm_calc_cbc_mac()
123 if( p_length >= 0 && !(p_length && !p_bytes) ) in knx_ccm_encrypt()
142 while (p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_encrypt()
145 --p_length; in knx_ccm_encrypt()
149 while( p_length ) in knx_ccm_encrypt()
157 while( p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_encrypt()
160 --p_length; in knx_ccm_encrypt()
199 gint p_length = crypt_length - KNX_KEY_LENGTH; in knxip_ccm_decrypt() local
[all …]
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-knxip_decrypt.c79 while( a_length || p_length ) in knx_ccm_calc_cbc_mac()
88 while( p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_calc_cbc_mac()
91 --p_length; in knx_ccm_calc_cbc_mac()
123 if( p_length >= 0 && !(p_length && !p_bytes) ) in knx_ccm_encrypt()
142 while (p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_encrypt()
145 --p_length; in knx_ccm_encrypt()
149 while( p_length ) in knx_ccm_encrypt()
157 while( p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_encrypt()
160 --p_length; in knx_ccm_encrypt()
199 gint p_length = crypt_length - KNX_KEY_LENGTH; in knxip_ccm_decrypt() local
[all …]
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-knxip_decrypt.c79 while( a_length || p_length ) in knx_ccm_calc_cbc_mac()
88 while( p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_calc_cbc_mac()
91 --p_length; in knx_ccm_calc_cbc_mac()
123 if( p_length >= 0 && !(p_length && !p_bytes) ) in knx_ccm_encrypt()
142 while (p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_encrypt()
145 --p_length; in knx_ccm_encrypt()
149 while( p_length ) in knx_ccm_encrypt()
157 while( p_length && b_pos < KNX_KEY_LENGTH ) in knx_ccm_encrypt()
160 --p_length; in knx_ccm_encrypt()
199 gint p_length = crypt_length - KNX_KEY_LENGTH; in knxip_ccm_decrypt() local
[all …]
/dports/devel/godot/godot-3.2.3-stable/core/io/
H A Dfile_access_memory.cpp152 int FileAccessMemory::get_buffer(uint8_t *p_dst, int p_length) const { in get_buffer()
157 int read = MIN(p_length, left); in get_buffer()
159 if (read < p_length) { in get_buffer()
164 pos += p_length; in get_buffer()
185 void FileAccessMemory::store_buffer(const uint8_t *p_src, int p_length) { in store_buffer() argument
188 int write = MIN(p_length, left); in store_buffer()
189 if (write < p_length) { in store_buffer()
194 pos += p_length; in store_buffer()
H A Dfile_access_buffered.cpp104 int FileAccessBuffered::get_buffer(uint8_t *p_dest, int p_length) const { in get_buffer()
108 if (p_length > cache_size) { in get_buffer()
120 p_length -= size; in get_buffer()
125 int err = read_data_block(file.offset, p_length, p_dest); in get_buffer()
134 int to_read = p_length; in get_buffer()
157 return p_length; in get_buffer()
/dports/devel/godot-tools/godot-3.2.3-stable/core/io/
H A Dfile_access_memory.cpp152 int FileAccessMemory::get_buffer(uint8_t *p_dst, int p_length) const { in get_buffer()
157 int read = MIN(p_length, left); in get_buffer()
159 if (read < p_length) { in get_buffer()
164 pos += p_length; in get_buffer()
185 void FileAccessMemory::store_buffer(const uint8_t *p_src, int p_length) { in store_buffer() argument
188 int write = MIN(p_length, left); in store_buffer()
189 if (write < p_length) { in store_buffer()
194 pos += p_length; in store_buffer()
H A Dfile_access_buffered.cpp104 int FileAccessBuffered::get_buffer(uint8_t *p_dest, int p_length) const { in get_buffer()
108 if (p_length > cache_size) { in get_buffer()
120 p_length -= size; in get_buffer()
125 int err = read_data_block(file.offset, p_length, p_dest); in get_buffer()
134 int to_read = p_length; in get_buffer()
157 return p_length; in get_buffer()
/dports/audio/py-fmoo-audiotools/audiotools-3.0/docs/reference/flac/algorithms/
H A Dcalculate_residual_partitions.pfl16 VAR p_length "partition samples";
34 p_length[o][0] <- sample_count / 2 ^ o - predictor_order;
37 p_length[o][p] <- sample_count / 2 ^ o;
39 for i <- 0 to p_length[o][p] /*split residuals into partitions*/ {
42 p_sum[o][p] <- sum i <- 0 to p_length[o][p] - 1 {|partition[o][p][i]|};
43 rice[o][p] <- min(floor(log 2 {(p_sum[o][p] / p_length[o][p])}),
45 p_size[o][p] <- 4 + ((1 + rice[o][p]) * p_length[o][p]) +
47 floor(frac(p_length[o][p], 2));
/dports/net/mad_fcl/mad_fcl_v1.7_src/flutelib/
H A Dpadding_encoding.c50 int p_length; in compute_padding_length() local
53 p_length = 0; in compute_padding_length()
56 p_length = 0; in compute_padding_length()
59 p_length = (int)((block_len * es_len) - f_size % (block_len * es_len)); in compute_padding_length()
62 return p_length; in compute_padding_length()
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/schema/
H A Dschema-lex.l52 static void AddWhitespace ( SchemaScanBlock* p_sb, const char* p_ws, size_t p_length );
256 AddWhitespace ( SchemaScanBlock* p_sb, const char* p_ws, size_t p_length )
260 p_sb -> whitespace = malloc ( p_length + 1 );
263 … string_copy ( p_sb -> whitespace, p_length + 1, p_ws, p_length ); /* will NUL-terminate */
269 size_t new_size = old_size + p_length + 1;
273 …string_copy ( p_sb -> whitespace + old_size, p_length + 1, p_ws, p_length ); /* will NUL-terminate…
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/schema/
H A Dschema-lex.l52 static void AddWhitespace ( SchemaScanBlock* p_sb, const char* p_ws, size_t p_length );
256 AddWhitespace ( SchemaScanBlock* p_sb, const char* p_ws, size_t p_length )
260 p_sb -> whitespace = malloc ( p_length + 1 );
263 … string_copy ( p_sb -> whitespace, p_length + 1, p_ws, p_length ); /* will NUL-terminate */
269 size_t new_size = old_size + p_length + 1;
273 …string_copy ( p_sb -> whitespace + old_size, p_length + 1, p_ws, p_length ); /* will NUL-terminate…
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_buffer.h117 void write(void* p, size_t p_length, size_t offset) { in write() argument
118 assert_always(offset + p_length <= m_size); in write()
119 memcpy((char*)m_data + offset, p, p_length); in write()
123 void read(void* p, size_t p_length, size_t offset) { in read() argument
124 assert_always(offset + p_length <= m_size); in read()
125 memcpy(p, (char*)m_data + offset, p_length); in read()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_buffer.h117 void write(void* p, size_t p_length, size_t offset) { in write() argument
118 assert_always(offset + p_length <= m_size); in write()
119 memcpy((char*)m_data + offset, p, p_length); in write()
123 void read(void* p, size_t p_length, size_t offset) { in read() argument
124 assert_always(offset + p_length <= m_size); in read()
125 memcpy(p, (char*)m_data + offset, p_length); in read()
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_buffer.h117 void write(void* p, size_t p_length, size_t offset) { in write() argument
118 assert_always(offset + p_length <= m_size); in write()
119 memcpy((char*)m_data + offset, p, p_length); in write()
123 void read(void* p, size_t p_length, size_t offset) { in read() argument
124 assert_always(offset + p_length <= m_size); in read()
125 memcpy(p, (char*)m_data + offset, p_length); in read()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_buffer.h117 void write(void* p, size_t p_length, size_t offset) { in write() argument
118 assert_always(offset + p_length <= m_size); in write()
119 memcpy((char*)m_data + offset, p, p_length); in write()
123 void read(void* p, size_t p_length, size_t offset) { in read() argument
124 assert_always(offset + p_length <= m_size); in read()
125 memcpy(p, (char*)m_data + offset, p_length); in read()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/
H A Dtokudb_buffer.h117 void write(void* p, size_t p_length, size_t offset) { in write() argument
118 assert_always(offset + p_length <= m_size); in write()
119 memcpy((char*)m_data + offset, p, p_length); in write()
123 void read(void* p, size_t p_length, size_t offset) { in read() argument
124 assert_always(offset + p_length <= m_size); in read()
125 memcpy(p, (char*)m_data + offset, p_length); in read()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/tokudb/
H A Dtokudb_buffer.h117 void write(void* p, size_t p_length, size_t offset) { in write() argument
118 assert_always(offset + p_length <= m_size); in write()
119 memcpy((char*)m_data + offset, p, p_length); in write()
123 void read(void* p, size_t p_length, size_t offset) { in read() argument
124 assert_always(offset + p_length <= m_size); in read()
125 memcpy(p, (char*)m_data + offset, p_length); in read()
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/tokudb/
H A Dtokudb_buffer.h117 void write(void* p, size_t p_length, size_t offset) { in write() argument
118 assert_always(offset + p_length <= m_size); in write()
119 memcpy((char*)m_data + offset, p, p_length); in write()
123 void read(void* p, size_t p_length, size_t offset) { in read() argument
124 assert_always(offset + p_length <= m_size); in read()
125 memcpy(p, (char*)m_data + offset, p_length); in read()
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/tokudb/
H A Dtokudb_buffer.h117 void write(void* p, size_t p_length, size_t offset) { in write() argument
118 assert_always(offset + p_length <= m_size); in write()
119 memcpy((char*)m_data + offset, p, p_length); in write()
123 void read(void* p, size_t p_length, size_t offset) { in read() argument
124 assert_always(offset + p_length <= m_size); in read()
125 memcpy(p, (char*)m_data + offset, p_length); in read()

12345678910>>...17