/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | ByteBufferTest.java | 1198 int nbytes = 2; in testGetChar() local 1224 int nbytes = 2; in testGetCharint() local 1266 int nbytes = 2; in testPutChar() local 1303 int nbytes = 2; in testPutCharint() local 1341 int nbytes = 8; in testGetDouble() local 1370 int nbytes = 8; in testGetDoubleint() local 1421 int nbytes = 8; in testPutDouble() local 1458 int nbytes = 8; in testPutDoubleint() local 1490 int nbytes = 4; in testGetFloat() local 1519 int nbytes = 4; in testGetFloatint() local [all …]
|
/aosp_15_r20/bionic/benchmarks/ |
H A D | string_benchmark.cpp | 25 const size_t nbytes = state.range(0); in BM_string_memcmp() local 43 const size_t nbytes = state.range(0); in BM_string_memcpy() local 61 const size_t nbytes = state.range(0); in BM_string_memmove_non_overlapping() local 79 const size_t nbytes = state.range(0); in BM_string_memmove_overlap_dst_before_src() local 94 const size_t nbytes = state.range(0); in BM_string_memmove_overlap_src_before_dst() local 109 const size_t nbytes = state.range(0); in BM_string_memset() local 124 const size_t nbytes = state.range(0); in BM_string_strlen() local 140 const size_t nbytes = state.range(0); in BM_string_strcat_copy_only() local 163 const size_t nbytes = state.range(0); in BM_string_strcat_seek_only() local 184 const size_t nbytes = state.range(0); in BM_string_strcat_half_copy_half_seek() local [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/ |
H A D | serialization.cpp | 30 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 …]
|
/aosp_15_r20/external/python/cpython2/Objects/ |
D | obmalloc.c | 571 size_t nbytes; in new_arena() local 790 PyObject_Malloc(size_t nbytes) in PyObject_Malloc() 1225 PyObject_Realloc(void *p, size_t nbytes) in PyObject_Realloc() 1442 _PyMem_DebugMalloc(size_t nbytes) in _PyMem_DebugMalloc() 1447 _PyMem_DebugRealloc(void *p, size_t nbytes) in _PyMem_DebugRealloc() 1459 _PyObject_DebugMalloc(size_t nbytes) in _PyObject_DebugMalloc() 1464 _PyObject_DebugRealloc(void *p, size_t nbytes) in _PyObject_DebugRealloc() 1482 _PyObject_DebugMallocApi(char id, size_t nbytes) in _PyObject_DebugMallocApi() 1523 size_t nbytes; in _PyObject_DebugFreeApi() local 1536 _PyObject_DebugReallocApi(char api, void *p, size_t nbytes) in _PyObject_DebugReallocApi() [all …]
|
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/file_io/unix/ |
H A D | readwrite.c | 29 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
|
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/test/ |
H A D | testfile.c | 94 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
|
H A D | testpipe.c | 43 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
|
/aosp_15_r20/external/pytorch/c10/core/impl/ |
H A D | alloc_cpu.cpp | 62 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()
|
/aosp_15_r20/external/liblc3/src/ |
H A D | spec.c | 33 static int resolve_gain_offset(enum lc3_srate sr, int nbytes) in resolve_gain_offset() 84 int nbytes, int nbits_budget, float nbits_off, int g_off, in estimate_gain() 304 static bool resolve_modes(enum lc3_srate sr, int nbytes, bool *p_lsb_mode) in resolve_modes() 324 enum lc3_dt dt, enum lc3_srate sr, int nbytes, in compute_nbits() 420 enum lc3_dt dt, enum lc3_srate sr, int nbytes, in put_quantized() 498 enum lc3_dt dt, enum lc3_srate sr, int nbytes, in get_quantized() 811 static int get_nbits_ac(enum lc3_dt dt, enum lc3_srate sr, int nbytes) in get_nbits_ac() 821 enum lc3_dt dt, enum lc3_srate sr, int nbytes, in lc3_spec_analyze() 889 int nbytes, const lc3_spec_side_t *side, float *x) in lc3_spec_encode() 932 int nbytes, const lc3_spec_side_t *side, float *x) in lc3_spec_decode()
|
H A D | lc3.c | 145 bool hrmode, int dt_us, int sr_hz, int nbytes) in lc3_hr_resolve_bitrate() 156 LC3_EXPORT int lc3_resolve_bitrate(int dt_us, int nbytes) in lc3_resolve_bitrate() 286 int nbytes, struct side_data *side) in analyze() 338 const struct side_data *side, int nbytes, void *buffer) in encode() 431 enum lc3_pcm_format fmt, const void *pcm, int stride, int nbytes, void *out) in lc3_encode() 566 const void *data, int nbytes, struct side_data *side) in decode() 613 const struct side_data *side, int nbytes) in synthesize() 735 const void *in, int nbytes, enum lc3_pcm_format fmt, void *pcm, int stride) in lc3_decode()
|
/aosp_15_r20/external/python/cpython3/Objects/ |
D | obmalloc.c | 1597 size_t nbytes; in new_arena() local 1948 pymalloc_alloc(void *ctx, size_t nbytes) in pymalloc_alloc() 1996 _PyObject_Malloc(void *ctx, size_t nbytes) in _PyObject_Malloc() 2015 size_t nbytes = nelem * elsize; in _PyObject_Calloc() local 2301 pymalloc_realloc(void *ctx, void **newptr_p, void *p, size_t nbytes) in pymalloc_realloc() 2362 _PyObject_Realloc(void *ctx, void *ptr, size_t nbytes) in _PyObject_Realloc() 2479 _PyMem_DebugRawAlloc(int use_calloc, void *ctx, size_t nbytes) in _PyMem_DebugRawAlloc() 2539 _PyMem_DebugRawMalloc(void *ctx, size_t nbytes) in _PyMem_DebugRawMalloc() 2547 size_t nbytes; in _PyMem_DebugRawCalloc() local 2569 size_t nbytes; in _PyMem_DebugRawFree() local [all …]
|
/aosp_15_r20/external/executorch/extension/runner_util/test/ |
H A D | inputs_test.cpp | 116 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
|
/aosp_15_r20/external/google-breakpad/src/client/mac/tests/ |
H A D | exception_handler_test.cc | 127 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); in InProcessCrash() local 358 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); in TEST_F() local 457 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); in TEST_F() local 556 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); in TEST_F() local 632 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); in TEST_F() local 693 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); in TEST_F() local
|
/aosp_15_r20/external/liblc3/test/ |
H A D | spec.py | 36 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
|
/aosp_15_r20/external/pytorch/c10/core/ |
H A D | CPUAllocator.cpp | 106 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()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | secrets.py | 34 def token_bytes(nbytes=None): argument 48 def token_hex(nbytes=None): argument 61 def token_urlsafe(nbytes=None): argument
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | secrets.py | 34 def token_bytes(nbytes=None): argument 48 def token_hex(nbytes=None): argument 61 def token_urlsafe(nbytes=None): argument
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | secrets.py | 34 def token_bytes(nbytes=None): argument 48 def token_hex(nbytes=None): argument 61 def token_urlsafe(nbytes=None): argument
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | secrets.py | 34 def token_bytes(nbytes=None): argument 48 def token_hex(nbytes=None): argument 61 def token_urlsafe(nbytes=None): argument
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | secrets.py | 34 def token_bytes(nbytes=None): argument 48 def token_hex(nbytes=None): argument 61 def token_urlsafe(nbytes=None): argument
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | secrets.py | 34 def token_bytes(nbytes=None): argument 48 def token_hex(nbytes=None): argument 61 def token_urlsafe(nbytes=None): argument
|
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/network_io/unix/ |
H A D | sendrecv.c | 261 int rv, nbytes = 0, total_hdrbytes, i; in apr_socket_sendfile() local 417 apr_off_t nbytes = 0; in apr_socket_sendfile() local 535 off_t nbytes = 0; in apr_socket_sendfile() local 673 apr_size_t nbytes = *len, headerlen, trailerlen; in apr_socket_sendfile() local 982 apr_size_t nbytes; in apr_socket_sendfile() local
|
/aosp_15_r20/external/executorch/examples/mediatek/executor_runner/llama_runner/ |
H A D | ModelChunk.cpp | 218 const auto nbytes = method_meta.input_tensor_meta(i)->nbytes(); in LogIoSummary() local 236 const auto nbytes = method_meta.output_tensor_meta(i)->nbytes(); in LogIoSummary() local 264 const auto nbytes = method_meta.input_tensor_meta(i)->nbytes(); in GetModelIoInfo() local 287 const auto nbytes = method_meta.output_tensor_meta(i)->nbytes(); in GetModelIoInfo() local 428 const auto nbytes = mOutputBufferInfos[i].nbytes; in SetBackendOutputs() local
|
/aosp_15_r20/external/executorch/backends/vulkan/runtime/api/containers/ |
H A D | StagingBuffer.h | 74 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()
|
/aosp_15_r20/external/freetype/src/pcf/ |
H A D | pcfutil.c | 44 size_t nbytes ) in BitOrderInvert() 94 size_t nbytes ) in TwoByteSwap() 109 size_t nbytes ) in FourByteSwap()
|