Home
last modified time | relevance | path

Searched refs:max_len (Results 1 – 19 of 19) sorted by relevance

/external/opencore/baselibs/gen_data_structures/src/
Drtsp_range_utils.cpp1071 OSCL_EXPORT_REF bool compose_range_string(char *str, unsigned int max_len, in compose_range_string() argument
1084 if ((int)max_len < now_str.length()) in compose_range_string()
1091 max_len -= now_str.length(); in compose_range_string()
1104 if (length > (int) max_len) in compose_range_string()
1111 max_len -= length; in compose_range_string()
1125 if (length > (int)max_len || tmp[1] != '.') in compose_range_string()
1133 max_len -= (length - 1); in compose_range_string()
1148 if (length > (int) max_len) in compose_range_string()
1155 max_len -= length; in compose_range_string()
1157 if (max_len < 6) in compose_range_string()
[all …]
Drtsp_range_utils.h35 OSCL_IMPORT_REF bool compose_SDP_string(char *str, unsigned int max_len,
40 OSCL_IMPORT_REF bool compose_RTSP_string(char *str, unsigned int max_len,
/external/e2fsprogs/lib/e2p/
Diod.c30 int max_len = -1, len; in iterate_on_dir() local
33 max_len = pathconf(dir_name, _PC_NAME_MAX); in iterate_on_dir()
35 if (max_len == -1) { in iterate_on_dir()
37 max_len = _POSIX_NAME_MAX; in iterate_on_dir()
40 max_len = NAME_MAX; in iterate_on_dir()
42 max_len = 256; in iterate_on_dir()
46 max_len += sizeof(struct dirent); in iterate_on_dir()
48 de = malloc(max_len+1); in iterate_on_dir()
51 memset(de, 0, max_len+1); in iterate_on_dir()
63 if (len > max_len) in iterate_on_dir()
[all …]
/external/openssl/crypto/asn1/
Devp_asn1.c76 int max_len) in ASN1_TYPE_get_octetstring() argument
88 if (ret < max_len) in ASN1_TYPE_get_octetstring()
91 num=max_len; in ASN1_TYPE_get_octetstring()
139 int max_len) in ASN1_TYPE_get_int_octetstring() argument
173 if (max_len > ret) in ASN1_TYPE_get_int_octetstring()
176 n=max_len; in ASN1_TYPE_get_int_octetstring()
Dasn1.h1028 unsigned char *data, int max_len);
1032 unsigned char *data, int max_len);
/external/openssl/crypto/ec/
Dec_mult.c360 size_t max_len = 0; in ec_wNAF_mul() local
469 if (wNAF_len[i] > max_len) in ec_wNAF_mul()
470 max_len = wNAF_len[i]; in ec_wNAF_mul()
503 if (tmp_len <= max_len) in ec_wNAF_mul()
514 if (tmp_len > max_len) in ec_wNAF_mul()
515 max_len = tmp_len; in ec_wNAF_mul()
569 if (wNAF_len[i] > max_len) in ec_wNAF_mul()
570 max_len = wNAF_len[i]; in ec_wNAF_mul()
653 for (k = max_len - 1; k >= 0; k--) in ec_wNAF_mul()
/external/speex/include/speex/
Dspeex_bits.h97 int speex_bits_write(SpeexBits *bits, char *bytes, int max_len);
100 int speex_bits_write_whole_bytes(SpeexBits *bits, char *bytes, int max_len);
/external/dbus/dbus/
Ddbus-string-util.c122 int max_len) in test_max_len() argument
124 if (max_len > 0) in test_max_len()
126 if (!_dbus_string_set_length (str, max_len - 1)) in test_max_len()
130 if (!_dbus_string_set_length (str, max_len)) in test_max_len()
133 if (_dbus_string_set_length (str, max_len + 1)) in test_max_len()
/external/opencore/protocols/rtsp_parcom/src/
Drtsp_par_com_outgoing_message.cpp539 int max_len = RTSP_MAX_FULL_REQUEST_SIZE - in compose() local
541 if (max_len < DATE_BUFSIZE + 8) in compose()
695 unsigned int max_len = RTSP_MAX_FULL_REQUEST_SIZE - in compose() local
698 max_len, in compose()
/external/bluez/utils/eglib/
Dgmain.c921 #define INCREMENT_AND_CHECK_MAX(p, i, max_len) \ argument
924 if ((p)[(i)] == '\0' || ((max_len) >= 0 && (i) >= (max_len))) \
929 gboolean g_utf8_validate(const gchar *str, gssize max_len, const gchar **end) in g_utf8_validate() argument
937 if (max_len >= 0 && i >= max_len) in g_utf8_validate()
948 INCREMENT_AND_CHECK_MAX(p, i, max_len); in g_utf8_validate()
964 INCREMENT_AND_CHECK_MAX(p, i, max_len); in g_utf8_validate()
967 INCREMENT_AND_CHECK_MAX(p, i, max_len); in g_utf8_validate()
970 INCREMENT_AND_CHECK_MAX(p, i, max_len); in g_utf8_validate()
Dgmain.h199 gboolean g_utf8_validate(const gchar *str, gssize max_len, const gchar **end);
/external/srec/srec/Vocabulary/include/
DSR_Vocabulary.h161 …bulary_etiinf_conv_multichar(ESR_Locale locale, const LCHAR* input, LCHAR* output, size_t max_len);
/external/qemu/hw/
Dscsi-disk.c433 int max_len = 255 - 8; in scsi_send_command() local
435 if (id_len > max_len) in scsi_send_command()
436 id_len = max_len; in scsi_send_command()
/external/ppp/pppd/include/net/
Dppp-comp.h72 PACKETPTR mp, int orig_len, int max_len));
/external/srec/srec/Semproc/src/
DSemanticGraphImpl.c968 ESR_ReturnCode make_union_of_scripts(LCHAR* union_script, const size_t max_len, const LCHAR* a, con… in make_union_of_scripts() argument
981 if (LSTRLEN(a) > max_len) return ESR_BUFFER_OVERFLOW; in make_union_of_scripts()
995 if ((LSTRLEN(a) + LSTRLEN(b) - 2) > max_len) in make_union_of_scripts()
997 …er (size %d) to hold union of multiple meanings (size %d) is too small", max_len, (LSTRLEN(a) + LS… in make_union_of_scripts()
/external/srec/srec/Vocabulary/src/
DVocabularyImpl.c327 …ner( LCHAR* phrase_prons, const LCHAR* word_prons, const LCHAR joiner, size_t max_len, size_t* len) in append_to_each_with_joiner() argument
335 max_dst = phrase_prons+max_len-3; in append_to_each_with_joiner()
DVocabulary.c211 …abulary_etiinf_conv_multichar(ESR_Locale locale, const LCHAR* single, LCHAR* multi, size_t max_len) in SR_Vocabulary_etiinf_conv_multichar() argument
/external/wpa_supplicant/
Deap_ttls.c1044 const int max_len = 300; in eap_ttls_build_phase_finished() local
1046 len = sizeof(struct eap_hdr) + 2 + max_len; in eap_ttls_build_phase_finished()
1060 final, pos, max_len); in eap_ttls_build_phase_finished()
/external/openssl/include/openssl/
Dasn1.h1028 unsigned char *data, int max_len);
1032 unsigned char *data, int max_len);