Home
last modified time | relevance | path

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

/external/ltp/utils/sctp/func_tests/
Dtest_sctp_sendrecvmsg.c84 char *big_buffer; in main() local
176 big_buffer = test_malloc(buflen); in main()
179 error = test_sctp_recvmsg(sk2, big_buffer, buflen, in main()
183 associd2 = ((struct sctp_assoc_change *)big_buffer)->sac_assoc_id; in main()
185 test_check_buf_notification(big_buffer, error, msg_flags, in main()
202 error = test_sctp_recvmsg(sk1, big_buffer, buflen, in main()
205 associd1 = ((struct sctp_assoc_change *)big_buffer)->sac_assoc_id; in main()
206 test_check_buf_notification(big_buffer, error, msg_flags, in main()
216 error = test_sctp_recvmsg(sk2, big_buffer, buflen, in main()
219 test_check_buf_data(big_buffer, error, msg_flags, &sinfo, in main()
[all …]
Dtest_1_to_1_events.c63 char *big_buffer; in main() local
138 big_buffer = malloc(REALLY_BIG); in main()
139 if (!big_buffer) { DUMP_CORE; } in main()
144 iov.iov_base = big_buffer; in main()
Dtest_recvmsg.c70 char *big_buffer; in main() local
113 big_buffer = test_malloc(REALLY_BIG); in main()
115 iov.iov_base = big_buffer; in main()
Dtest_autoclose.c69 char *big_buffer; in main() local
120 big_buffer = test_malloc(REALLY_BIG); in main()
122 iov.iov_base = big_buffer; in main()
Dtest_connect.c67 char *big_buffer; in main() local
137 big_buffer = test_malloc(REALLY_BIG); in main()
138 iov.iov_base = big_buffer; in main()
Dtest_assoc_shutdown.c80 char *big_buffer; in main() local
146 big_buffer = test_malloc(REALLY_BIG); in main()
148 iov.iov_base = big_buffer; in main()
Dtest_assoc_abort.c81 char *big_buffer; in main() local
146 big_buffer = test_malloc(REALLY_BIG); in main()
148 iov.iov_base = big_buffer; in main()
Dtest_fragments.c92 char *big_buffer; in main() local
168 big_buffer = test_malloc(REALLY_BIG); in main()
170 iov.iov_base = big_buffer; in main()
Dtest_connectx.c75 char *big_buffer; in main() local
175 big_buffer = test_malloc(REALLY_BIG); in main()
176 iov.iov_base = big_buffer; in main()
Dtest_peeloff.c79 char *big_buffer; in main() local
156 big_buffer = test_malloc(REALLY_BIG); in main()
158 iov.iov_base = big_buffer; in main()
Dtest_basic.c87 char *big_buffer; in main() local
140 big_buffer = test_malloc(REALLY_BIG); in main()
142 iov.iov_base = big_buffer; in main()
234 iov.iov_base = big_buffer; in main()
Dtest_timetolive.c110 char *big_buffer; in main() local
215 big_buffer = test_malloc(REALLY_BIG); in main()
217 iov.iov_base = big_buffer; in main()
Dtest_tcp_style.c81 char *big_buffer; in main() local
268 big_buffer = test_malloc(REALLY_BIG); in main()
270 iov.iov_base = big_buffer; in main()
Dtest_sockopt.c86 char *big_buffer; in main() local
202 big_buffer = test_malloc(REALLY_BIG); in main()
204 iov.iov_base = big_buffer; in main()
/external/python/cpython2/Modules/
Dbz2module.c655 PyObject *big_buffer = NULL; in BZ2File_readlines() local
724 if (big_buffer == NULL) { in BZ2File_readlines()
726 big_buffer = PyString_FromStringAndSize( in BZ2File_readlines()
728 if (big_buffer == NULL) in BZ2File_readlines()
730 buffer = PyString_AS_STRING(big_buffer); in BZ2File_readlines()
735 if (_PyString_Resize(&big_buffer, buffersize)) in BZ2File_readlines()
737 buffer = PyString_AS_STRING(big_buffer); in BZ2File_readlines()
792 if (big_buffer) { in BZ2File_readlines()
793 Py_DECREF(big_buffer); in BZ2File_readlines()
/external/python/cpython2/Objects/
Dfileobject.c1668 PyObject *big_buffer = NULL; in file_readlines() local
1727 if (big_buffer == NULL) { in file_readlines()
1729 big_buffer = PyString_FromStringAndSize( in file_readlines()
1731 if (big_buffer == NULL) in file_readlines()
1733 buffer = PyString_AS_STRING(big_buffer); in file_readlines()
1738 if ( _PyString_Resize(&big_buffer, buffersize) < 0 ) in file_readlines()
1740 buffer = PyString_AS_STRING(big_buffer); in file_readlines()
1790 Py_XDECREF(big_buffer); in file_readlines()