Home
last modified time | relevance | path

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

/third_party/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()
/third_party/python/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 …]
/third_party/curl/lib/vquic/
Dcurl_msh3.c307 const void *mem, size_t memlen) in write_resp_raw() argument
316 nwritten = Curl_bufq_write(&stream->recvbuf, mem, memlen, &result); in write_resp_raw()
321 if((size_t)nwritten < memlen) { in write_resp_raw()
Dcurl_quiche.c391 const void *mem, size_t memlen) in write_resp_raw() argument
400 nwritten = Curl_bufq_write(&stream->recvbuf, mem, memlen, &result); in write_resp_raw()
404 if((size_t)nwritten < memlen) { in write_resp_raw()
Dcurl_ngtcp2.c1156 const void *mem, size_t memlen, in write_resp_raw() argument
1167 nwritten = Curl_bufq_write(&stream->recvbuf, mem, memlen, &result); in write_resp_raw()
1175 if((size_t)nwritten < memlen) { in write_resp_raw()
/third_party/python/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
/third_party/curl/lib/vtls/
Dwolfssl.c1009 int memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in wolfssl_send() local
1016 rc = wolfSSL_write(backend->handle, mem, memlen); in wolfssl_send()
Dopenssl.c4472 int memlen; in ossl_send() local
4483 memlen = (len > (size_t)INT_MAX) ? INT_MAX : (int)len; in ossl_send()
4484 rc = SSL_write(backend->handle, mem, memlen); in ossl_send()
/third_party/openssl/test/
Dcmp_protect_test.c26 int memlen; member