/third_party/curl/lib/ |
D | http2.c | 292 http->memlen = 0; in Curl_http2_setup_req() 760 memcpy(&stream->mem[stream->memlen], in on_frame_recv() 770 stream->memlen += ncopy; in on_frame_recv() 827 memcpy(&stream->mem[stream->memlen], mem, nread); in on_data_chunk_recv() 830 stream->memlen += nread; in on_data_chunk_recv() 842 stream->memlen)); in on_data_chunk_recv() 1663 if((data->state.drain) && stream->memlen) { in http2_recv() 1665 stream->memlen, stream->stream_id, in http2_recv() 1670 memmove(mem, stream->mem, stream->memlen); in http2_recv() 1671 stream->len = len - stream->memlen; in http2_recv() [all …]
|
D | http.h | 220 size_t memlen; /* size of data copied to mem */ member
|
/third_party/curl/lib/vquic/ |
D | ngtcp2.c | 969 static CURLcode write_data(struct HTTP *stream, const void *mem, size_t memlen) in write_data() argument 973 size_t ncopy = memlen; in write_data() 979 stream->memlen += len; in write_data() 1226 stream->memlen += ncopy; in drain_overflow_buffer() 1246 if(!stream->memlen) { in ngh3_stream_recv() 1267 if(stream->memlen) { in ngh3_stream_recv() 1268 ssize_t memlen = stream->memlen; in ngh3_stream_recv() local 1272 stream->memlen = 0; in ngh3_stream_recv() 1282 return memlen; in ngh3_stream_recv()
|
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | memtoy.c | 322 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()
|
/third_party/curl/lib/vtls/ |
D | mesalink.c | 391 int memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in mesalink_send() local 392 int rc = SSL_write(BACKEND->handle, mem, memlen); in mesalink_send()
|
D | wolfssl.c | 777 int memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in wolfssl_send() local 778 int rc = SSL_write(backend->handle, mem, memlen); in wolfssl_send()
|
D | openssl.c | 4202 int memlen; in ossl_send() local 4210 memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in ossl_send() 4212 rc = SSL_write(backend->handle, mem, memlen); in ossl_send()
|
/third_party/python/Lib/test/ |
D | test_buffer.py | 435 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 …]
|
/third_party/python/Doc/c-api/ |
D | buffer.rst | 370 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
|
/third_party/glib/glib/tests/ |
D | fileutils.c | 1593 #define g_assert_memcmp(m1, cmp, m2, memlen, m1hex, m2hex, testcase_num) \ argument 1595 if (memcmp (m1, m2, memlen) cmp 0); else \
|