Home
last modified time | relevance | path

Searched refs:req_size (Results 1 – 16 of 16) sorted by relevance

/external/libcxx/src/
Dios.cpp183 size_t req_size = static_cast<size_t>(index)+1; in iword() local
184 if (req_size > __iarray_cap_) in iword()
186 size_t newcap = __ios_new_cap<long>(req_size, __iarray_cap_); in iword()
200 __iarray_size_ = max<size_t>(__iarray_size_, req_size); in iword()
207 size_t req_size = static_cast<size_t>(index)+1; in pword() local
208 if (req_size > __parray_cap_) in pword()
210 size_t newcap = __ios_new_cap<void *>(req_size, __iarray_cap_); in pword()
224 __parray_size_ = max<size_t>(__parray_size_, req_size); in pword()
233 size_t req_size = __event_size_ + 1; in register_callback() local
234 if (req_size > __event_cap_) in register_callback()
[all …]
/external/netperf/src/
Dnettest_unix.c90 req_size = 1, /* request size */ variable
128 req_size = 1; in init_test_vars()
1135 req_size, in send_stream_rr()
1183 stream_rr_request->request_size = req_size; in send_stream_rr()
1280 req_size, in send_stream_rr()
1281 0)) != req_size) { in send_stream_rr()
1375 bytes_xferd = (req_size * nummessages) + (rsp_size * nummessages); in send_stream_rr()
1449 req_size, /* how large were the requests */ in send_stream_rr()
1477 req_size, /* how large were the requests */ in send_stream_rr()
2363 dg_rr_request->request_size = req_size; in send_dg_rr()
[all …]
Dnettest_bsd.c188 req_size = 1, /* request size */ variable
5782 req_size, in send_tcp_rr()
5834 tcp_rr_request->request_size = req_size; in send_tcp_rr()
5988 req_size, in send_tcp_rr()
5989 0)) != req_size) { in send_tcp_rr()
6012 req_size, in send_tcp_rr()
6013 0)) != req_size) { in send_tcp_rr()
6144 bytes_xferd = (req_size * nummessages) + (rsp_size * nummessages); in send_tcp_rr()
6281 req_size, /* how large were the requests */ in send_tcp_rr()
6285 calc_thruput_interval_omni(thruput * (req_size+rsp_size), in send_tcp_rr()
[all …]
Dnettest_dlpi.c65 req_size = 100, /* request size */ variable
1333 temp_message_ptr = (char *)malloc(req_size+MAXALIGNMENT+MAXOFFSET); in send_dlpi_co_rr()
1335 printf("malloc(%d) failed!\n", req_size+MAXALIGNMENT+MAXOFFSET); in send_dlpi_co_rr()
1342 send_message.maxlen = req_size+MAXALIGNMENT+MAXOFFSET; in send_dlpi_co_rr()
1343 send_message.len = req_size; in send_dlpi_co_rr()
1452 dlpi_co_rr_request->request_size = req_size; in send_dlpi_co_rr()
1677 bytes_xferd = (req_size * nummessages) + (rsp_size * nummessages); in send_dlpi_co_rr()
1753 req_size, /* how large were the requests */ in send_dlpi_co_rr()
1781 req_size, /* how large were the requests */ in send_dlpi_co_rr()
2707 temp_message_ptr = (char *)malloc(req_size+MAXALIGNMENT+MAXOFFSET); in send_dlpi_cl_rr()
[all …]
Dnettest_xti.c83 req_size = 1, /* request size */ variable
1867 req_size, in send_xti_tcp_rr()
1927 xti_tcp_rr_request->request_size = req_size; in send_xti_tcp_rr()
2084 req_size, in send_xti_tcp_rr()
2085 0)) != req_size) { in send_xti_tcp_rr()
2202 bytes_xferd = (req_size * nummessages) + (rsp_size * nummessages); in send_xti_tcp_rr()
2326 req_size, /* how large were the requests */ in send_xti_tcp_rr()
2360 req_size, /* how large were the requests */ in send_xti_tcp_rr()
3581 req_size, in send_xti_udp_rr()
3621 send_unitdata.udata.maxlen = req_size; in send_xti_udp_rr()
[all …]
Dnettest_sctp.c2697 req_size, in send_sctp_rr()
2747 sctp_rr_request->request_size = req_size; in send_sctp_rr()
2881 send_ring->buffer_ptr, req_size, in send_sctp_rr()
2883 0, 0, 0, 0, 0)) != req_size) { in send_sctp_rr()
2903 send_ring->buffer_ptr, req_size, in send_sctp_rr()
2905 0, 0, 0, 0, 0)) != req_size) { in send_sctp_rr()
3031 bytes_xferd = (req_size * nummessages) + (rsp_size * nummessages); in send_sctp_rr()
3155 req_size, /* how large were the requests */ in send_sctp_rr()
3189 req_size, /* how large were the requests */ in send_sctp_rr()
3755 req_size, in send_sctp_rr_1toMany()
[all …]
Dnettest_sdp.c2424 req_size, in send_sdp_rr()
2479 sdp_rr_request->request_size = req_size; in send_sdp_rr()
2623 req_size, in send_sdp_rr()
2624 0)) != req_size) { in send_sdp_rr()
2647 req_size, in send_sdp_rr()
2648 0)) != req_size) { in send_sdp_rr()
2773 bytes_xferd = (req_size * nummessages) + (rsp_size * nummessages); in send_sdp_rr()
2901 req_size, /* how large were the requests */ in send_sdp_rr()
2939 req_size, /* how large were the requests */ in send_sdp_rr()
3484 req_size = convert(arg1);
Dnettest_omni.c1931 &req_size, 1, 0, NETPERF_TYPE_INT32); in print_omni_init_list()
3855 if (req_size > 0) { in send_omni_inner()
3858 bytes_to_send = req_size; in send_omni_inner()
3945 omni_request->request_size = req_size; in send_omni_inner()
4517 demo_interval_tick(req_size + rsp_size); in send_omni_inner()
6234 req_size, /* how large were the requests */ in send_tcp_rr()
6274 req_size, /* how large were the requests */ in send_tcp_rr()
6337 calc_thruput_interval_omni(transaction_rate * (double)req_size, in send_tcp_rr()
6442 req_size, /* how large were the requests */ in send_tcp_conn_rr()
6476 req_size, /* how large were the requests */ in send_tcp_conn_rr()
[all …]
Dnettest_bsd.h579 req_size, /* request size */
/external/speex/libspeex/
Dspeex_callbacks.c141 int req_size = speex_bits_unpack_unsigned(bits, 4); in speex_default_user_handler() local
142 speex_bits_advance(bits, 5+8*req_size); in speex_default_user_handler()
/external/vboot_reference/tests/
Dtlcl_tests.c33 int req_size; /* Request size */ member
89 c->req_size = request_length; in VbExTpmSendReceive()
134 TEST_EQ(calls[0].req_size, 10, "SendReceive size"); in TlclTest()
/external/squashfs-tools/squashfs-tools/
Dxattr.c314 static void *get_xattr_space(unsigned int req_size, long long *disk) in get_xattr_space() argument
347 if(data_space < req_size) { in get_xattr_space()
348 int realloc_size = req_size - data_space; in get_xattr_space()
358 cache_bytes += req_size; in get_xattr_space()
359 return data_cache + cache_bytes - req_size; in get_xattr_space()
Dmksquashfs.c456 void *get_inode(int req_size) in get_inode() argument
485 if(data_space < req_size) { in get_inode()
487 ((req_size + SQUASHFS_METADATA_SIZE) & in get_inode()
488 ~(SQUASHFS_METADATA_SIZE - 1)) : req_size - in get_inode()
499 cache_bytes += req_size; in get_inode()
501 return data_cache + cache_bytes - req_size; in get_inode()
/external/ppp/pppd/
Dsys-solaris.c297 uint_t fl, req_size; in get_first_ethernet() local
317 req_size = num_ifs * sizeof(struct lifreq); in get_first_ethernet()
318 req = malloc(req_size); in get_first_ethernet()
330 lifc.lifc_len = req_size; in get_first_ethernet()
390 uint_t fl, req_size; in get_first_ethernet() local
405 req_size = num_ifs * sizeof(struct ifreq); in get_first_ethernet()
406 req = malloc(req_size); in get_first_ethernet()
416 ifc.ifc_len = req_size; in get_first_ethernet()
/external/kernel-headers/original/uapi/scsi/
Dcxlflash_ioctl.h96 __u64 req_size; /* New requested size, in 4K blocks */ member
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp3512 FX_DWORD req_size = 1024; in CheckHeader() local
3513 if ((FX_FILESIZE)req_size > m_dwFileLen) { in CheckHeader()
3514 req_size = (FX_DWORD)m_dwFileLen; in CheckHeader()
3516 if (m_pFileAvail->IsDataAvail(0, req_size)) { in CheckHeader()
3518 m_pFileRead->ReadBlock(buffer, 0, req_size); in CheckHeader()
3519 if (IsLinearizedFile(buffer, req_size)) { in CheckHeader()
3529 pHints->AddSegment(0, req_size); in CheckHeader()
3684 FX_DWORD req_size = 1024; in IsLinearizedPDF() local
3685 if (!m_pFileAvail->IsDataAvail(0, req_size)) { in IsLinearizedPDF()
3692 if (dwSize < (FX_FILESIZE)req_size) { in IsLinearizedPDF()
[all …]