Home
last modified time | relevance | path

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

/external/curl/lib/
Dhttp2.c224 stream->memlen = 0; in http2_data_setup()
885 if(!data->state.drain && stream->memlen) { in on_frame_recv()
919 memcpy(&stream->mem[stream->memlen], in on_frame_recv()
930 stream->memlen += ncopy; in on_frame_recv()
1008 memcpy(&stream->mem[stream->memlen], mem, nread); in on_data_chunk_recv()
1011 stream->memlen += nread; in on_data_chunk_recv()
1022 stream->memlen, stream->len, (void *)stream->mem)); in on_data_chunk_recv()
1800 if(stream->memlen) { in cf_h2_recv()
1802 stream->stream_id, stream->memlen, in cf_h2_recv()
1807 memmove(buf, stream->mem, stream->memlen); in cf_h2_recv()
[all …]
Dhttp.h244 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/vquic/
Dcurl_ngtcp2.c631 && !stream->memlen in report_consumed_data()
962 const void *mem, size_t memlen, in write_resp_raw() argument
968 size_t ncopy = memlen; in write_resp_raw()
972 memcpy(stream->mem + stream->memlen, buf, len); in write_resp_raw()
974 stream->memlen += len; in write_resp_raw()
990 stream->recv_buf_nonflow += memlen; in write_resp_raw()
1267 memcpy(stream->mem + stream->memlen, in drain_overflow_buffer()
1270 stream->memlen += ncopy; in drain_overflow_buffer()
1357 if(!stream->memlen) { in cf_ngtcp2_recv()
1374 if(stream->memlen) { in cf_ngtcp2_recv()
[all …]
/external/kernel-headers/original/uapi/misc/
Dfastrpc.h93 __u32 memlen; member
/external/python/cpython3/Lib/test/
Dtest_buffer.py435 def verify_structure(memlen, itemsize, ndim, shape, strides, offset): argument
444 if offset < 0 or offset+itemsize > memlen:
459 return 0 <= offset+imin and offset+imax+itemsize <= memlen
468 memlen, itemsize, ndim, shape, strides, offset = t
478 memlen, itemsize, ndim, shape, strides, offset = t
479 visited = 1<<memlen
501 memlen = nitems * itemsize
502 offset = -itemsize if randrange(2) == 0 else memlen
503 return memlen, itemsize, ndim, (), (), offset
545 memlen = offset + (imax+1) * itemsize
[all …]
/external/python/cpython3/Doc/c-api/
Dbuffer.rst370 def verify_structure(memlen, itemsize, ndim, shape, strides, offset):
374 memlen: length of the physical memory block
379 if offset < 0 or offset+itemsize > memlen:
394 return 0 <= offset+imin and offset+imax+itemsize <= memlen
/external/curl/lib/vtls/
Dwolfssl.c955 int memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in wolfssl_send() local
962 rc = SSL_write(backend->handle, mem, memlen); in wolfssl_send()
Dopenssl.c4410 int memlen; in ossl_send() local
4420 memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in ossl_send()
4421 rc = SSL_write(backend->handle, mem, memlen); in ossl_send()
/external/AFLplusplus/instrumentation/
DSanitizerCoverageLTO.so.cc1042 size_t memlen = 0, count = 0, offset = 0; in instrumentModule() local
1051 memlen += token.length(); in instrumentModule()
1062 auto ptrhld = std::unique_ptr<char[]>(new char[memlen + count]); in instrumentModule()