/external/brotli/c/fuzz/ |
run_decode_fuzzer.cc | 28 size_t max_len = 1 << 20; local 29 unsigned char* tmp = (unsigned char*)malloc(max_len); 30 size_t len = fread(tmp, 1, max_len, f);
|
/external/e2fsprogs/lib/e2p/ |
iod.c | 33 int max_len = -1, len, ret = 0; local 36 max_len = pathconf(dir_name, _PC_NAME_MAX); 38 if (max_len == -1) { 40 max_len = _POSIX_NAME_MAX; 43 max_len = NAME_MAX; 45 max_len = 256; 49 max_len += sizeof(struct dirent); 51 de = malloc(max_len+1); 54 memset(de, 0, max_len+1); 64 if (len > max_len) [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
dhcpopts.h | 21 size_t max_len; member in struct:dhcp_options 32 void *data, size_t max_len );
|
dhcppkt.h | 26 size_t max_len; member in struct:dhcp_packet
|
/external/wpa_supplicant_8/src/utils/ |
ip_addr.h | 19 u8 max_len[16]; member in union:hostapd_ip_addr::__anon44820
|
json.c | 68 size_t max_len, buf_len; local 73 max_len = end - pos + 1; 74 buf_len = max_len > 10 ? 10 : max_len; 82 if (buf_len < max_len && s_end - spos < 3) { 88 if (buf_len > max_len) 89 buf_len = max_len;
|
/bionic/libc/bionic/ |
wcstod.cpp | 47 size_t max_len = wcsspn(str, L"-+0123456789.xXeEpP()nNaAiIfFtTyY"); local 50 char* ascii_str = new char[max_len + 1]; 52 for (size_t i = 0; i < max_len; ++i) { 55 ascii_str[max_len] = 0; 63 f._bf._size = f._r = max_len; 75 size_t actual_len = parsefloat(&f, ascii_str, ascii_str + max_len);
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_gpgpu.c | 42 int max_len, before_space; local 46 max_len = ilo_render_get_launch_grid_len(ilo->render, &ilo->state_vector); 47 max_len += ilo_render_get_flush_len(ilo->render) * 2; 49 if (max_len > ilo_cp_space(ilo->cp)) { 51 assert(max_len <= ilo_cp_space(ilo->cp)); 78 assert(before_space - ilo_cp_space(ilo->cp) <= max_len);
|
ilo_draw.c | 299 int max_len, before_space; local 326 max_len = ilo_render_get_draw_len(ilo->render, vec); 328 max_len += ilo_render_get_flush_len(ilo->render); 330 if (max_len > ilo_cp_space(ilo->cp)) { 333 assert(max_len <= ilo_cp_space(ilo->cp)); 365 assert(before_space - ilo_cp_space(ilo->cp) <= max_len); 373 int max_len, before_space; local 380 max_len = ilo_render_get_rectlist_len(ilo->render, ilo->blitter); 381 max_len += ilo_render_get_flush_len(ilo->render) * 2; 383 if (max_len > ilo_cp_space(ilo->cp)) [all...] |
/system/bt/btif/src/ |
btif_sock.cc | 221 uint16_t max_len = controller->get_ble_maximum_tx_data_length(); local 223 DVLOG(2) << __func__ << ": max_len=" << max_len; local 225 BTA_DmBleSetDataLength(remote_device, max_len);
|
/system/nfc/src/nfa/dm/ |
nfa_dm_main.cc | 214 uint8_t type, len, *p_value, *p_stored, max_len; local 244 max_len = NCI_PARAM_LEN_PF_RC; 248 max_len = NCI_PARAM_LEN_TOTAL_DURATION; 256 max_len = NCI_PARAM_LEN_LA_BIT_FRAME_SDD; 261 max_len = NCI_PARAM_LEN_LA_PLATFORM_CONFIG; 266 max_len = NCI_PARAM_LEN_LA_SEL_INFO; 271 max_len = NCI_NFCID1_MAX_LEN; 276 max_len = NCI_MAX_HIS_BYTES_LEN; 285 max_len = NCI_PARAM_LEN_LB_SENSB_INFO; 290 max_len = NCI_PARAM_LEN_LB_NFCID0 [all...] |
/external/boringssl/src/crypto/bio/ |
bio_test.cc | 167 size_t max_len; member in struct:ASN1TestParam 180 {false /* max_len too short */, 192 {false /* max_len too short */, 211 int ok = BIO_read_asn1(bio.get(), &out, &out_len, param.max_len);
|
/external/curl/docs/examples/ |
rtsp.c | 167 int max_len = 256; local 168 char *s = malloc(max_len); 172 while(fgets(s, max_len - 2, sdp_fp) != NULL) {
|
/external/pdfium/third_party/agg23/ |
agg_scanline_u.h | 57 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/boringssl/src/crypto/base64/ |
base64.c | 401 size_t max_len; local 402 if (!EVP_DecodedLength(&max_len, in_len) || 403 max_out < max_len) {
|
/external/capstone/suite/arm/ |
test_arm_regression.c | 346 size_t max_len = 0; local 359 max_len = strlen(tmp_buf); 361 if (tmp_len > max_len) { 362 max_len = tmp_len; 365 if (memcmp(tmp_buf, valid_code->expected_out, max_len)) {
|
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 420 int max_len; member in struct:__anon21172 426 /* some tests to check max_len handling */ 687 if (test->max_len == -1) 690 segment_bytes = test->max_len;
|
/external/python/cpython3/Objects/ |
structseq.c | 80 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; local 103 max_len = REAL_SIZE_TP(type); 106 if (min_len != max_len) { 115 if (len > max_len) { 118 type->tp_name, max_len, len); 143 for (; i < max_len; ++i) {
|
/external/syslinux/core/lwip/src/core/ |
tcp_out.c | 520 u16_t max_len = pcb->mss - optlen; local 521 u16_t seglen = left > max_len ? max_len : left; [all...] |
/external/syslinux/gpxe/src/core/ |
vsprintf.c | 272 size_t max_len; member in struct:sputc_context 285 if ( ctx->len < sctx->max_len ) 310 sctx.max_len = size;
|
/external/syslinux/gpxe/src/util/ |
zbin.c | 19 size_t max_len; member in struct:output_file 128 static int alloc_output_file ( size_t max_len, struct output_file *output ) { 130 output->max_len = ( max_len ); 131 output->buf = malloc ( max_len ); 134 max_len ); 154 if ( ( output->len + len ) > output->max_len ) { 185 if ( output->len > output->max_len ) { 204 if ( output->len > output->max_len ) {
|
/external/wpa_supplicant_8/src/common/ |
gas_server.c | 89 size_t max_len = (freq > 56160) ? 928 : 1400; local 107 if (hdr_len + wpabuf_len(query_resp) > max_len) { 239 size_t max_len = (response->freq > 56160) ? 928 : 1400; local 245 if (hdr_len + remaining > max_len) 246 resp_frag_len = max_len - hdr_len;
|
/external/wpa_supplicant_8/src/crypto/ |
ms_funcs.c | 113 size_t len, max_len; local 115 max_len = sizeof(buf); 116 if (utf8_to_ucs2(password, password_len, buf, max_len, &len) < 0)
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_sd.c | 428 size_t max_len; local 435 max_len = (freq > 56160) ? 928 : 1400; 438 if (wpabuf_len(resp_tlvs) > max_len) { 626 size_t frag_len, max_len; local 655 max_len = (rx_freq > 56160) ? 928 : 1400; 657 if (frag_len > max_len) { 658 frag_len = max_len;
|
/hardware/interfaces/wifi/1.2/default/ |
wifi_legacy_hal.h | 43 uint32_t max_len; member in struct:android::hardware::wifi::V1_2::implementation::legacy_hal::PacketFilterCapabilities
|