Home
last modified time | relevance | path

Searched refs:memlen (Results 1 – 8 of 8) sorted by relevance

/external/curl/lib/
Dhttp2.c288 http->memlen = 0; in Curl_http2_setup_req()
726 memcpy(&stream->mem[stream->memlen], in on_frame_recv()
735 stream->memlen += ncopy; in on_frame_recv()
792 memcpy(&stream->mem[stream->memlen], data, nread); in on_data_chunk_recv()
795 stream->memlen += nread; in on_data_chunk_recv()
807 stream->memlen)); in on_data_chunk_recv()
1602 if((data->state.drain) && stream->memlen) { in http2_recv()
1604 stream->memlen, stream->stream_id, in http2_recv()
1609 memmove(mem, stream->mem, stream->memlen); in http2_recv()
1610 stream->len = len - stream->memlen; in http2_recv()
[all …]
Dhttp.h182 size_t memlen; /* size of data copied to mem */ member
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dmemtoy.c322 void touch_memory(bool rw, unsigned long *memp, size_t memlen) in touch_memory() argument
329 memend = memp + memlen / sizeof(unsigned long); in touch_memory()
/external/curl/lib/vtls/
Dmesalink.c352 int memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in mesalink_send() local
353 int rc = SSL_write(BACKEND->handle, mem, memlen); in mesalink_send()
Dcyassl.c679 int memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in cyassl_send() local
680 int rc = SSL_write(BACKEND->handle, mem, memlen); in cyassl_send()
Dopenssl.c3683 int memlen; in ossl_send() local
3689 memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in ossl_send()
3690 rc = SSL_write(BACKEND->handle, mem, memlen); in ossl_send()
/external/python/cpython3/Lib/test/
Dtest_buffer.py427 def verify_structure(memlen, itemsize, ndim, shape, strides, offset): argument
436 if offset < 0 or offset+itemsize > memlen:
451 return 0 <= offset+imin and offset+imax+itemsize <= memlen
460 memlen, itemsize, ndim, shape, strides, offset = t
470 memlen, itemsize, ndim, shape, strides, offset = t
471 visited = 1<<memlen
493 memlen = nitems * itemsize
494 offset = -itemsize if randrange(2) == 0 else memlen
495 return memlen, itemsize, ndim, (), (), offset
537 memlen = offset + (imax+1) * itemsize
[all …]
/external/python/cpython3/Doc/c-api/
Dbuffer.rst368 def verify_structure(memlen, itemsize, ndim, shape, strides, offset):
372 memlen: length of the physical memory block
377 if offset < 0 or offset+itemsize > memlen:
392 return 0 <= offset+imin and offset+imax+itemsize <= memlen