Searched defs:max_len (Results 1 - 25 of 89) sorted by relevance

1234

/external/wpa_supplicant_8/hostapd/src/utils/
H A Dip_addr.h19 u8 max_len[16]; member in union:hostapd_ip_addr::__anon33770
H A Duuid.c49 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) argument
52 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
58 if (len < 0 || (size_t) len >= max_len)
/external/wpa_supplicant_8/src/utils/
H A Dip_addr.h19 u8 max_len[16]; member in union:hostapd_ip_addr::__anon34023
H A Duuid.c49 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) argument
52 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
58 if (len < 0 || (size_t) len >= max_len)
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dip_addr.h19 u8 max_len[16]; member in union:hostapd_ip_addr::__anon34274
H A Duuid.c49 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) argument
52 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
58 if (len < 0 || (size_t) len >= max_len)
/external/e2fsprogs/lib/e2p/
H A Diod.c32 int max_len = -1, len, ret = 0; local
35 max_len = pathconf(dir_name, _PC_NAME_MAX);
37 if (max_len == -1) {
39 max_len = _POSIX_NAME_MAX;
42 max_len = NAME_MAX;
44 max_len = 256;
48 max_len += sizeof(struct dirent);
50 de = malloc(max_len+1);
53 memset(de, 0, max_len+1);
63 if (len > max_len)
[all...]
/external/chromium_org/chrome/common/
H A Dmulti_process_lock_linux.cc32 const size_t max_len = sizeof(address.sun_path) - 2; variable
39 if (name_.length() > max_len) {
41 << " > " << max_len << ") - " << name_;
47 max_len + 1,
51 print_length > static_cast<int>(max_len)) {
/external/chromium_org/net/quic/
H A Dquic_fec_group_test.cc45 size_t max_len = strlen(kData[0]); local
46 scoped_ptr<char[]> redundancy(new char[max_len]);
48 for (size_t i = 0; i < max_len; i++) {
/external/lldb/source/Commands/
H A DCommandObjectApropos.cpp86 size_t max_len = 0; local
91 if (len > max_len)
92 max_len = len;
100 max_len);
108 size_t max_len = 0; local
113 if (len > max_len)
114 max_len = len;
122 max_len);
/external/openssl/crypto/asn1/
H A Devp_asn1.c78 /* int max_len: for returned value */
80 int max_len)
92 if (ret < max_len)
95 num=max_len;
141 /* int max_len: for returned value */
143 int max_len)
177 if (max_len > ret)
180 n=max_len;
79 ASN1_TYPE_get_octetstring(ASN1_TYPE *a, unsigned char *data, int max_len) argument
142 ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a, long *num, unsigned char *data, int max_len) argument
/external/chromium_org/third_party/boringssl/src/crypto/buf/
H A Dbuf.c156 size_t BUF_strnlen(const char *str, size_t max_len) { argument
159 for (i = 0; i < max_len; i++) {
/external/srec/srec/Vocabulary/src/
H A DVocabulary.c211 ESR_ReturnCode SR_Vocabulary_etiinf_conv_multichar(ESR_Locale locale, const LCHAR* single, LCHAR* multi, size_t max_len) argument
/external/chromium_org/gpu/command_buffer/service/
H A Dshader_manager.cc48 GLint max_len = 0; local
51 &max_len);
52 scoped_ptr<char[]> buffer(new char[max_len]);
55 service_id_, max_len, &len, buffer.get());
56 DCHECK(max_len == 0 || len < max_len);
67 GLint max_len = 0; local
68 glGetShaderiv(service_id_, GL_INFO_LOG_LENGTH, &max_len);
69 scoped_ptr<char[]> buffer(new char[max_len]);
71 glGetShaderInfoLog(service_id_, max_len,
[all...]
/external/chromium_org/net/quic/crypto/
H A Daes_128_gcm_12_decrypter_nss.cc74 unsigned int max_len,
82 return pk11_decrypt_func(key, mechanism, param, out, out_len, max_len, enc,
173 if (PK11_CipherOp(ctx.get(), out, &output_len, max_len,
69 My_Decrypt(PK11SymKey* key, CK_MECHANISM_TYPE mechanism, SECItem* param, unsigned char* out, unsigned int* out_len, unsigned int max_len, const unsigned char* enc, unsigned int enc_len) argument
H A Daes_128_gcm_12_encrypter_nss.cc74 unsigned int max_len,
82 return pk11_encrypt_func(key, mechanism, param, out, out_len, max_len, data,
96 if (max_len < static_cast<unsigned int>(Aes128Gcm12Encrypter::kAuthTagSize)) {
97 DVLOG(1) << "max_len is less than kAuthTagSize";
174 if (PK11_CipherOp(ctx.get(), out, &output_len, max_len,
188 if ((max_len - Aes128Gcm12Encrypter::kAuthTagSize) <
190 DVLOG(1) << "(max_len - kAuthTagSize) is less than output_len";
69 My_Encrypt(PK11SymKey* key, CK_MECHANISM_TYPE mechanism, SECItem* param, unsigned char* out, unsigned int* out_len, unsigned int max_len, const unsigned char* data, unsigned int data_len) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
H A DPCMFile.cc49 int16_t PCMFile::ChooseFile(std::string* file_name, int16_t max_len, argument
78 if (len > max_len) {
/external/libnfc-nci/src/nfa/dm/
H A Dnfa_dm_main.c228 UINT8 type, len, *p_value, *p_stored, max_len; local
255 max_len = NCI_PARAM_LEN_TOTAL_DURATION;
263 max_len = NCI_PARAM_LEN_LA_BIT_FRAME_SDD;
268 max_len = NCI_PARAM_LEN_LA_PLATFORM_CONFIG;
273 max_len = NCI_PARAM_LEN_LA_SEL_INFO;
278 max_len = NCI_NFCID1_MAX_LEN;
283 max_len = NCI_MAX_HIS_BYTES_LEN;
292 max_len = NCI_PARAM_LEN_LB_SENSB_INFO;
297 max_len = NCI_PARAM_LEN_LB_NFCID0;
302 max_len
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/tui/
H A Dutil.c76 int max_len = 60, nr_lines = 0; local
87 if (max_len < len)
88 max_len = len;
95 max_len += 2;
98 x = SLtt_Screen_Cols / 2 - max_len / 2;
101 SLsmg_draw_box(y, x++, nr_lines, max_len);
108 max_len -= 2;
110 nr_lines, max_len, 1);
115 SLsmg_write_nstring((char *)" ", max_len);
117 SLsmg_draw_box(y++, x + 1, 3, max_len
158 int max_len = 0, nr_lines = 0; local
[all...]
/external/pdfium/core/src/fxge/agg/agg23/
H A Dagg_scanline_u.h57 unsigned max_len = max_x - min_x + 2; local
58 if(max_len > m_max_len) {
61 m_covers = FX_Alloc( cover_type , max_len);
62 m_spans = FX_Alloc( span , max_len);
63 m_max_len = max_len;
/external/bluetooth/bluedroid/stack/hid/
H A Dhidh_api.c77 void hidh_get_str_attr( tSDP_DISC_REC *p_rec, UINT16 attr_id, UINT16 max_len, char *str ) argument
84 if((name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type)) < max_len )
91 memcpy( str, (char *) p_attr->attr_value.v.array, max_len-1 );
92 str[max_len-1] = '\0';
/external/chromium_org/net/spdy/
H A Dspdy_test_utils.cc67 const int max_len = std::max(actual_len, expected_len); local
68 scoped_ptr<bool[]> marks(new bool[max_len]);
78 for (int i = min_len; i < max_len; ++i) {
86 << HexDumpWithMarks(expected, expected_len, marks.get(), max_len)
88 << HexDumpWithMarks(actual, actual_len, marks.get(), max_len);
/external/chromium_org/third_party/boringssl/src/crypto/base64/
H A Dbase64.c219 size_t pad_len = 0, len = 0, max_len, i; local
222 if (!EVP_DecodedLength(&max_len, in_len) || max_out < max_len) {
/external/chromium_org/third_party/boringssl/src/crypto/ec/
H A Dwnaf.c312 size_t max_len = 0; local
413 if (wNAF_len[i] > max_len)
414 max_len = wNAF_len[i];
441 if (tmp_len <= max_len) {
495 if (wNAF_len[i] > max_len)
496 max_len = wNAF_len[i];
574 for (k = max_len - 1; k >= 0; k--) {
/external/e2fsprogs/misc/
H A Dblkid.c117 static int pretty_print_word(const char *str, int max_len, argument
124 if (overflow_nl && len > max_len) {
127 } else if (len > max_len)
128 ret = len - max_len;
131 while (len++ < max_len);

Completed in 843 milliseconds

1234