Home
last modified time | relevance | path

Searched defs:nbytes (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/external/pytorch/torch/csrc/
Dserialization.cpp30 Py_ssize_t doPartialRead<int>(int fildes, void* buf, size_t nbytes) { in doPartialRead()
38 size_t nbytes) { in doPartialRead()
50 Py_ssize_t doPartialWrite<int>(int fildes, void* buf, size_t nbytes) { in doPartialWrite()
58 size_t nbytes) { in doPartialWrite()
82 const size_t nbytes = std::min<size_t>(raw_nbytes, 262144u); // 2^18 (~260 KB) in doPartialPythonReadBuffered() local
106 size_t nbytes, in doPartialPythonIO()
137 size_t nbytes) { in doPartialPythonReadInto()
145 size_t nbytes) { in doPartialPythonWrite()
151 void doRead(io fildes, void* raw_buf, size_t nbytes) { in doRead()
191 void doWrite(io fildes, void* raw_buf, size_t nbytes) { in doWrite()
[all …]
/external/pytorch/c10/core/impl/
Dalloc_cpu.cpp62 inline size_t c10_compute_alignment(size_t nbytes) { in c10_compute_alignment()
69 inline bool is_thp_alloc(size_t nbytes) { in is_thp_alloc()
74 constexpr size_t c10_compute_alignment(C10_UNUSED size_t nbytes) { in c10_compute_alignment()
78 constexpr bool is_thp_alloc(C10_UNUSED size_t nbytes) { in is_thp_alloc()
84 void* alloc_cpu(size_t nbytes) { in alloc_cpu()
/external/python/cpython3/Lib/
Dsecrets.py33 def token_bytes(nbytes=None): argument
47 def token_hex(nbytes=None): argument
60 def token_urlsafe(nbytes=None): argument
/external/cronet/tot/third_party/apache-portable-runtime/src/file_io/unix/
Dreadwrite.c29 apr_size_t *nbytes) in file_read_buffered()
85 APR_DECLARE(apr_status_t) apr_file_read(apr_file_t *thefile, void *buf, apr_size_t *nbytes) in apr_file_read()
147 APR_DECLARE(apr_status_t) apr_file_write(apr_file_t *thefile, const void *buf, apr_size_t *nbytes) in apr_file_write()
227 apr_size_t nvec, apr_size_t *nbytes) in apr_file_writev()
286 apr_size_t nbytes = 1; in apr_file_putc() local
299 apr_size_t nbytes = 1; in apr_file_getc() local
404 apr_size_t nbytes; local
Dfullrw.c21 apr_size_t nbytes, in apr_file_read_full()
44 apr_size_t nbytes, in apr_file_write_full()
/external/cronet/stable/third_party/apache-portable-runtime/src/file_io/unix/
Dreadwrite.c29 apr_size_t *nbytes) in file_read_buffered()
85 APR_DECLARE(apr_status_t) apr_file_read(apr_file_t *thefile, void *buf, apr_size_t *nbytes) in apr_file_read()
147 APR_DECLARE(apr_status_t) apr_file_write(apr_file_t *thefile, const void *buf, apr_size_t *nbytes) in apr_file_write()
227 apr_size_t nvec, apr_size_t *nbytes) in apr_file_writev()
286 apr_size_t nbytes = 1; in apr_file_putc() local
299 apr_size_t nbytes = 1; in apr_file_getc() local
404 apr_size_t nbytes; local
/external/executorch/extension/runner_util/test/
Dinputs_test.cpp116 size_t nbytes = test_buffer_size(i); in TEST() local
128 size_t nbytes = test_buffer_size(i); in TEST() local
137 size_t nbytes = test_buffer_size(i); in TEST() local
147 size_t nbytes = test_buffer_size(i); in TEST() local
/external/executorch/backends/vulkan/runtime/api/containers/
DStagingBuffer.h74 inline size_t nbytes() { in nbytes() function
78 inline void copy_from(const void* src, const size_t nbytes) { in copy_from()
88 inline void copy_to(void* dst, const size_t nbytes) { in copy_to()
/external/freetype/src/pcf/
Dpcfutil.c44 size_t nbytes ) in BitOrderInvert()
94 size_t nbytes ) in TwoByteSwap()
109 size_t nbytes ) in FourByteSwap()
/external/liblc3/test/
Dencoder.py51 def analyse(self, x, nbytes): argument
75 def encode(self, pitch_present, nbytes): argument
96 def run(self, x, nbytes): argument
Dspec.py36 def get_gain_offset(self, nbytes): argument
76 def estimate_gain(self, x, nbytes, nbits_spec, nbits_off, g_off): argument
169 def compute_nbits(self, nbytes, x, lastnz, nbits_spec): argument
285 def run(self, bw, nbytes, nbits_bw, nbits_ltpf, nbits_sns, nbits_tns, x): argument
479 def decode(self, bits, bw, nbytes): argument
/external/cronet/stable/third_party/apache-portable-runtime/src/test/
Dtestpipe.c43 apr_size_t nbytes = 256; in close_pipe() local
81 apr_size_t nbytes; in read_write() local
106 apr_size_t nbytes; in read_write_notimeout() local
134 apr_size_t nbytes; in test_pipe_writefull() local
Dtestfile.c94 apr_size_t nbytes = 256; in test_read() local
114 apr_size_t nbytes = 0; in test_readzero() local
241 apr_size_t nbytes = 256; in test_seek() local
464 apr_size_t nbytes; in test_bigread() local
508 apr_size_t nbytes; in test_mod_neg() local
630 apr_size_t nbytes; in test_writev() local
672 apr_size_t nbytes; in test_writev_full() local
708 apr_size_t nbytes; in test_writev_buffered() local
742 apr_size_t nbytes = strlen(TESTSTR); in test_writev_buffered_seek() local
781 apr_size_t nbytes; in test_truncate() local
/external/cronet/tot/third_party/apache-portable-runtime/src/test/
Dtestpipe.c43 apr_size_t nbytes = 256; in close_pipe() local
81 apr_size_t nbytes; in read_write() local
106 apr_size_t nbytes; in read_write_notimeout() local
134 apr_size_t nbytes; in test_pipe_writefull() local
Dtestfile.c94 apr_size_t nbytes = 256; in test_read() local
114 apr_size_t nbytes = 0; in test_readzero() local
241 apr_size_t nbytes = 256; in test_seek() local
464 apr_size_t nbytes; in test_bigread() local
508 apr_size_t nbytes; in test_mod_neg() local
630 apr_size_t nbytes; in test_writev() local
672 apr_size_t nbytes; in test_writev_full() local
708 apr_size_t nbytes; in test_writev_buffered() local
742 apr_size_t nbytes = strlen(TESTSTR); in test_writev_buffered_seek() local
781 apr_size_t nbytes; in test_truncate() local
/external/cronet/tot/third_party/llvm-libc/src/AOR_v20.02/networking/aarch64/
Dchksum_simd.c20 slurp_head64(const void **pptr, uint32_t *nbytes) in slurp_head64()
42 slurp_tail64(uint64_t sum, const void *ptr, uint32_t nbytes) in slurp_tail64()
60 __chksum_aarch64_simd(const void *ptr, unsigned int nbytes) in __chksum_aarch64_simd()
/external/cronet/stable/third_party/llvm-libc/src/AOR_v20.02/networking/aarch64/
Dchksum_simd.c20 slurp_head64(const void **pptr, uint32_t *nbytes) in slurp_head64()
42 slurp_tail64(uint64_t sum, const void *ptr, uint32_t nbytes) in slurp_tail64()
60 __chksum_aarch64_simd(const void *ptr, unsigned int nbytes) in __chksum_aarch64_simd()
/external/arm-optimized-routines/networking/aarch64/
Dchksum_simd.c19 slurp_head64(const void **pptr, uint32_t *nbytes) in slurp_head64()
41 slurp_tail64(uint64_t sum, const void *ptr, uint32_t nbytes) in slurp_tail64()
59 __chksum_aarch64_simd(const void *ptr, unsigned int nbytes) in __chksum_aarch64_simd()
/external/pytorch/c10/core/
DCPUAllocator.cpp106 DataPtr allocate(const size_t nbytes) override { in allocate()
207 void ProfiledCPUMemoryReporter::New(void* ptr, size_t nbytes) { in New()
234 size_t nbytes = 0; in Delete() local
272 void ProfiledCPUMemoryReporter::OutOfMemory(size_t nbytes) { in OutOfMemory()
/external/cronet/tot/third_party/llvm-libc/src/AOR_v20.02/networking/
Dchksum.c15 slurp_head32(const void **pptr, uint32_t *nbytes) in slurp_head32()
34 __chksum(const void *ptr, unsigned int nbytes) in __chksum()
/external/arm-optimized-routines/networking/
Dchksum.c14 slurp_head32(const void **pptr, uint32_t *nbytes) in slurp_head32()
33 __chksum(const void *ptr, unsigned int nbytes) in __chksum()
/external/cronet/stable/third_party/llvm-libc/src/AOR_v20.02/networking/
Dchksum.c15 slurp_head32(const void **pptr, uint32_t *nbytes) in slurp_head32()
34 __chksum(const void *ptr, unsigned int nbytes) in __chksum()
/external/rust/android-crates-io/crates/serialport/tests/
Dtest_tty.rs43 let nbytes = master in test_ttyport_pair() localVariable
53 let nbytes = slave.read(&mut buf).expect("Unable to read bytes."); in test_ttyport_pair() localVariable
/external/pigweed/pw_digital_io_linux/public/pw_digital_io_linux/internal/
Downed_fd.h61 ssize_t read(void* buf, size_t nbytes) { return ::read(fd_, buf, nbytes); } in read()
63 ssize_t write(const void* buf, size_t nbytes) { in write()
/external/pytorch/torch/csrc/cuda/
DGdsFile.cpp47 const size_t nbytes = storage.nbytes(); in gds_load_storage() local
63 const size_t nbytes = storage.nbytes(); in gds_save_storage() local
72 const size_t nbytes = storage.nbytes(); in gds_register_buffer() local

12345678910>>...14