Home
last modified time | relevance | path

Searched refs:o_len (Results 1 – 25 of 147) sorted by relevance

123456

/dports/net/netatalk3/netatalk-3.1.12/libatalk/unicode/
H A Dcharcnv.c272 o_len=destlen; in convert_string_internal()
292 return add_null( to, o_save, o_len, destlen -o_len); in convert_string_internal()
333 return o_len; in convert_string()
385 o_len = destlen; in convert_string_allocate_internal()
471 return o_len; in convert_string_allocate()
728 o_len=destlen; in pull_charset_flags()
742 o_len -= 6; in pull_charset_flags()
927 o_len=destlen; in push_charset_flags()
1005 if ( o_len == 0) in convert_charset()
1042 dest[o_len] = 0; in convert_charset()
[all …]
/dports/security/openvas/openvas-scanner-21.4.3/nasl/
H A Dcharcnv.c339 size_t i_len, o_len; in convert_string_internal_ntlmssp() local
365 o_len = destlen; in convert_string_internal_ntlmssp()
394 return destlen - o_len; in convert_string_internal_ntlmssp()
405 if (o_len == 0 || i_len == 0) in convert_string_internal_ntlmssp()
406 return destlen - o_len; in convert_string_internal_ntlmssp()
415 return destlen - o_len; in convert_string_internal_ntlmssp()
421 o_len--; in convert_string_internal_ntlmssp()
438 if (o_len < 2) in convert_string_internal_ntlmssp()
448 o_len -= 2; in convert_string_internal_ntlmssp()
467 o_len--; in convert_string_internal_ntlmssp()
[all …]
/dports/ftp/lftp/lftp-4.9.2/src/
H A Dxstring.cc161 if(len<o_len) in begins_with()
167 if(o_len==0) in begins_with()
173 if(len<o_len) in ends_with()
179 if(o_len==0) in ends_with()
181 return !memcmp(buf+len-o_len,o_buf,o_len); in ends_with()
185 return len==o_len && begins_with(o_buf,o_len); in eq()
189 if(len!=o_len) in eq_nc()
205 if(cmp_len>o_len) in cmp()
206 cmp_len=o_len; in cmp()
213 if(len==o_len) in cmp()
[all …]
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/dbapi/driver/ftds100/freetds/replacements/
H A Diconv.c118 int o_len; in put_utf8() local
127 o_len = 2; in put_utf8()
131 ++o_len; in put_utf8()
134 ++o_len; in put_utf8()
137 ++o_len; in put_utf8()
140 ++o_len; in put_utf8()
145 if (buf_len < o_len) in put_utf8()
147 buf += o_len; in put_utf8()
148 buf_len = o_len - 1; in put_utf8()
153 *--buf = (0xff00u >> o_len) | c; in put_utf8()
[all …]
/dports/databases/freetds-devel/freetds-dev.1.3.7/src/replacements/
H A Diconv.c96 size_t o_len; in put_utf8() local
105 o_len = 2; in put_utf8()
109 ++o_len; in put_utf8()
112 ++o_len; in put_utf8()
115 ++o_len; in put_utf8()
118 ++o_len; in put_utf8()
123 if (buf_len < o_len) in put_utf8()
125 buf += o_len; in put_utf8()
126 buf_len = o_len - 1; in put_utf8()
131 *--buf = (0xff00u >> o_len) | c; in put_utf8()
[all …]
/dports/databases/freetds/freetds-1.3.4/src/replacements/
H A Diconv.c96 size_t o_len; in put_utf8() local
105 o_len = 2; in put_utf8()
109 ++o_len; in put_utf8()
112 ++o_len; in put_utf8()
115 ++o_len; in put_utf8()
118 ++o_len; in put_utf8()
123 if (buf_len < o_len) in put_utf8()
125 buf += o_len; in put_utf8()
126 buf_len = o_len - 1; in put_utf8()
131 *--buf = (0xff00u >> o_len) | c; in put_utf8()
[all …]
/dports/japanese/nkf/nkf-2.1.4/NKF.mod/
H A DNKF.xs56 static STRLEN o_len; variable
72 if(output_ctr<o_len) { in nkf_putchar()
84 o_len += incsize; in nkf_putchar_grow()
85 SvGROW(result, o_len); in nkf_putchar_grow()
151 o_len = rlen;
192 o_len = rlen;
/dports/japanese/p5-nkf/nkf-2.1.4/NKF.mod/
H A DNKF.xs56 static STRLEN o_len; variable
72 if(output_ctr<o_len) { in nkf_putchar()
84 o_len += incsize; in nkf_putchar_grow()
85 SvGROW(result, o_len); in nkf_putchar_grow()
151 o_len = rlen;
192 o_len = rlen;
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/dbapi/driver/ftds95/freetds/replacements/
H A Diconv.c109 int o_len; in put_utf8() local
119 o_len = 2; in put_utf8()
123 ++o_len; in put_utf8()
126 ++o_len; in put_utf8()
129 ++o_len; in put_utf8()
132 ++o_len; in put_utf8()
137 if (buf_len < o_len) in put_utf8()
139 buf += o_len; in put_utf8()
150 return o_len; in put_utf8()
/dports/net/samba412/samba-4.12.15/lib/util/charset/
H A Dconvert_string.c64 size_t i_len, o_len; in convert_string_internal() local
87 o_len=destlen; in convert_string_internal()
89 retval = smb_iconv(descriptor, &inbuf, &i_len, &outbuf, &o_len); in convert_string_internal()
90 *converted_size = destlen-o_len; in convert_string_internal()
352 size_t i_len, o_len, destlen; in convert_string_talloc_handle() local
419 o_len = destlen; in convert_string_talloc_handle()
424 &outbuf, &o_len); in convert_string_talloc_handle()
453 destlen = destlen - o_len; in convert_string_talloc_handle()
458 if (o_len > 1024) { in convert_string_talloc_handle()
/dports/net-mgmt/net-snmp/net-snmp-5.9/apps/
H A Dsnmptrapd_handlers.c644 size_t r_len = 64, o_len = 0; in syslog_handler() local
663 trunc = !realloc_format_trap(&rbuf, &r_len, &o_len, 1, in syslog_handler()
683 trunc = !realloc_format_trap(&rbuf, &r_len, &o_len, 1, in syslog_handler()
688 trunc = !realloc_format_trap(&rbuf, &r_len, &o_len, 1, in syslog_handler()
693 trunc = !realloc_format_trap(&rbuf, &r_len, &o_len, 1, in syslog_handler()
726 size_t r_len = 64, o_len = 0; in print_handler() local
749 trunc = !realloc_format_trap(&rbuf, &r_len, &o_len, 1, in print_handler()
810 size_t r_len = 64, o_len = 0; in command_handler()
840 realloc_format_trap(&rbuf, &r_len, &o_len, 1, in command_handler()
846 realloc_format_trap(&rbuf, &r_len, &o_len, 1, in command_handler()
[all …]
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/src/
H A Dflb_plugin.c98 int o_len; in path_to_plugin_name() local
136 o_len = len - (sizeof(PLUGIN_PREFIX) - 1) - (sizeof(PLUGIN_EXTENSION) - 1); in path_to_plugin_name()
137 memcpy(name, p, o_len); in path_to_plugin_name()
138 name[o_len] = '\0'; in path_to_plugin_name()
150 p = name + o_len; in path_to_plugin_name()
152 o_len += sizeof(PLUGIN_STRUCT_SUFFIX) - 1; in path_to_plugin_name()
153 name[o_len] = '\0'; in path_to_plugin_name()
/dports/net-p2p/c-lightning/lightning-0.10.2/external/libwally-core/src/test/
H A Dtest_sign.py104 for o, o_len in [(None, 32), (out_buf, -1)]: # Null out, Wrong out len
105 ret = self.sign(priv_key, msg, FLAG_ECDSA, o, o_len)
131 for p, p_len, o, o_len in cases:
132 ret = wally_ec_public_key_decompress(p, p_len, o, o_len)
144 for s, s_len, o, o_len in cases:
145 ret, written = wally_ec_sig_to_der(s, s_len, o, o_len)
156 for pk, pk_len, o, o_len in cases:
157 ret = wally_ec_public_key_from_private_key(pk, pk_len, o, o_len);
198 for msg, msg_len, flags, o, o_len in cases:
199 ret, written = wally_format_bitcoin_message(msg, msg_len, flags, o, o_len)
/dports/lang/ruby26/ruby-2.6.9/ext/nkf/
H A Dnkf.c37 static int o_len; variable
45 if (output_ctr >= o_len) { in rb_nkf_putchar()
46 o_len += incsize; in rb_nkf_putchar()
47 rb_str_resize(result, o_len); in rb_nkf_putchar()
161 o_len = RSTRING_LENINT(tmp); in rb_nkf_convert()
/dports/databases/spatialite-tools/spatialite-tools-5.0.1/
H A Dspatialite_xml2utf8.c62 size_t o_len = max_len; in do_convert() local
65 if (iconv (cvt, &p_in, &i_len, &p_out, &o_len) == (size_t) (-1)) in do_convert()
70 for (i = 0; i < max_len - o_len; i++) in do_convert()
/dports/devel/distcc/distcc-3.3.5/src/
H A Dclirpc.c162 unsigned o_len; in dcc_retrieve_results() local
194 || (ret = dcc_r_token_int(net_fd, "DOTO", &o_len))) in dcc_retrieve_results()
201 if ((ret = dcc_r_file_timed(net_fd, output_fname, o_len, host->compr))) in dcc_retrieve_results()
210 } else if (o_len != 0) { in dcc_retrieve_results()
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/lib/charset/
H A Dcharcnv.c144 size_t i_len, o_len; in convert_string() local
163 o_len=destlen; in convert_string()
164 retval = smb_iconv(descriptor, &inbuf, &i_len, &outbuf, &o_len); in convert_string()
190 return destlen-o_len; in convert_string()
206 size_t i_len, o_len, destlen; in convert_string_talloc() local
244 o_len = destlen-2; in convert_string_talloc()
247 &outbuf, &o_len); in convert_string_talloc()
265 destlen = (destlen-2) - o_len; in convert_string_talloc()
/dports/comms/gnokii/gnokii-0.6.31/common/
H A Dgsm-encoding.c890 int i_len = 0, o_len = 0, length; in char_ucs2_decode() local
901 switch (length = char_uni_alphabet_decode(strtol(buf, NULL, 16), dest + o_len, &mbs)) { in char_ucs2_decode()
903 o_len++; in char_ucs2_decode()
907 o_len += length; in char_ucs2_decode()
910 if ((length == 1) && (dest[o_len-1] == 0)) in char_ucs2_decode()
913 dest[o_len] = 0; in char_ucs2_decode()
935 int i, o_len, length; in char_ucs2_encode() local
939 for (i = 0, o_len = 0; i < len && o_len < dest_len / UCS2_SIZE; o_len++, i++) { in char_ucs2_encode()
947 return o_len * UCS2_SIZE; in char_ucs2_encode()
950 snprintf(dest + (o_len * UCS2_SIZE), UCS2_SIZE + 1, "%04X", wc); in char_ucs2_encode()
[all …]
/dports/math/sc-im/sc-im-0.8.2/doc/grammar_yacc_tools/
H A Dy2l983 o_len = RLENGTH;
988 str = LaTeX ? latexify(substr(rhs, 1, o_beg + o_len - 1)) \
989 : substr(rhs, 1, o_beg + o_len - 1);
992 rhs = substr(rhs, o_beg + o_len);
996 str = LaTeX ? latexify(substr(rhs, 1, o_beg + o_len - 1)) \
997 : substr(rhs, 1, o_beg + o_len - 1);
1000 rhs = substr(rhs, o_beg + o_len);
1003 out = out substr(rhs, 1, o_beg + o_len - 1);
1004 rhs = substr(rhs, o_beg + o_len);
1022 rhs = substr(rhs, o_beg + o_len);
/dports/textproc/y2l/y2l-1.2/
H A Dy2l984 o_len = RLENGTH;
989 str = LaTeX ? latexify(substr(rhs, 1, o_beg + o_len - 1)) \
990 : substr(rhs, 1, o_beg + o_len - 1);
993 rhs = substr(rhs, o_beg + o_len);
997 str = LaTeX ? latexify(substr(rhs, 1, o_beg + o_len - 1)) \
998 : substr(rhs, 1, o_beg + o_len - 1);
1001 rhs = substr(rhs, o_beg + o_len);
1004 out = out substr(rhs, 1, o_beg + o_len - 1);
1005 rhs = substr(rhs, o_beg + o_len);
1023 rhs = substr(rhs, o_beg + o_len);
/dports/textproc/p5-RDFStore/RDFStore-0.51/
H A Drdfstore_serializer.c199 int s_len=0,p_len=0,o_len=0,c_len=0, reification_len=0; in rdfstore_ntriples_statement() local
237 o_len = statement->object->value.resource.identifier_len*(RDFSTORE_UTF8_MAXLEN+1+2) + 4; in rdfstore_ntriples_statement()
239 o_len = statement->object->value.resource.identifier_len + 4; in rdfstore_ntriples_statement()
241 o_len = ( statement->object->value.literal.string != NULL ) ? in rdfstore_ntriples_statement()
245 o_len += strlen(statement->object->value.literal.lang) + 1; in rdfstore_ntriples_statement()
248 o_len += strlen(RDFSTORE_RDF_PARSETYPE_LITERAL) + 4; in rdfstore_ntriples_statement()
250 o_len += strlen(statement->object->value.literal.dataType) + 4; in rdfstore_ntriples_statement()
251 o_len++; in rdfstore_ntriples_statement()
266 reification_len += o_len; in rdfstore_ntriples_statement()
269 …buff = (char *) RDFSTORE_MALLOC( sizeof(char) * ( s_len + p_len + o_len + c_len + 3 + reification_… in rdfstore_ntriples_statement()
/dports/sysutils/heirloom/heirloom-070715/ps/
H A Dps.c341 int o_len; member
799 for (i = 0; i < o->o_len; i++) in putheader()
1032 width += putuser(p->p_euid, o->o_len); in outproc()
1035 width += putuser(p->p_uid, o->o_len); in outproc()
1038 width += putgroup(p->p_gid, o->o_len); in outproc()
1069 o->o_len, o->o_len, in outproc()
1116 width += printf("%*o", o->o_len, in outproc()
1208 if (o->o_len > 1) in outproc()
4214 op->o_len = strlen(op->o_nam);
4218 op->o_len = strlen(outspec[i].os_def);
[all …]
/dports/security/snort3/snort3-3.1.19.0/src/codecs/ip/
H A Dcd_ipv4.cc129 void DecodeIPOptions(const uint8_t* start, uint8_t& o_len, CodecData& data);
485 void Ipv4Codec::DecodeIPOptions(const uint8_t* start, uint8_t& o_len, CodecData& codec) in DecodeIPOptions() argument
492 while (tot_len < o_len) in DecodeIPOptions()
499 codec.invalid_bytes = o_len - tot_len; in DecodeIPOptions()
500 o_len = tot_len; in DecodeIPOptions()
519 if ((tot_len + 1) >= o_len) in DecodeIPOptions()
526 else if (tot_len + option->get_len() > o_len) in DecodeIPOptions()
542 codec.invalid_bytes = o_len - tot_len; in DecodeIPOptions()
543 o_len = tot_len; in DecodeIPOptions()
/dports/net-im/meanwhile/meanwhile-1.0.2/src/
H A Dcipher.c322 gsize o_len; in mwEncryptExpanded() local
328 o_len = i_len + (8 - (i_len % 8)); in mwEncryptExpanded()
329 o = g_malloc(o_len); in mwEncryptExpanded()
332 out_data->len = o_len; in mwEncryptExpanded()
335 y = o_len - i_len; in mwEncryptExpanded()
339 for(x = i_len; x < o_len; o[x++] = y); in mwEncryptExpanded()
344 for(x = o_len; x > 0; x -= 8) { in mwEncryptExpanded()
415 gsize o_len; in mwDecryptExpanded() local
427 o_len = i_len; in mwDecryptExpanded()
432 out_data->len = o_len; in mwDecryptExpanded()
[all …]
/dports/databases/freetds-devel/freetds-dev.1.3.7/src/odbc/
H A Dodbc_util.c110 unsigned int i, o_len = len + 1; in odbc_iso2utf() local
116 ++o_len; in odbc_iso2utf()
118 if (!tds_dstr_alloc(res, o_len)) in odbc_iso2utf()
131 assert(p+1-out <= o_len); in odbc_iso2utf()
138 unsigned int i, o_len = len + 1; in odbc_wide2utf() local
151 ++o_len; in odbc_wide2utf()
154 ++o_len; in odbc_wide2utf()
158 ++o_len; in odbc_wide2utf()
161 ++o_len; in odbc_wide2utf()
164 ++o_len; in odbc_wide2utf()
[all …]

123456