Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 - 25 of 246) sorted by relevance

12345678910

/third_party/musl/Benchmark/musl/
H A Dlibc_string.cpp69 const size_t nbytes = state.range(0); in Bm_function_Memchr() local
73 char *bmmemchrAligned = GetAlignedPtrFilled(&bmmemchr, bmmemchrAlignment, nbytes, 'n'); in Bm_function_Memchr()
74 bmmemchrAligned[nbytes - 1] = '\0'; in Bm_function_Memchr()
80 state.SetBytesProcessed(uint64_t(state.iterations()) * uint64_t(nbytes)); in Bm_function_Memchr()
105 const size_t nbytes = state.range(0); in Bm_function_Strnlen() local
109 char *bmstrnlenAligned = GetAlignedPtrFilled(&bmstrnlen, bmstrnlenAlignment, nbytes + 1, 'n'); in Bm_function_Strnlen()
110 bmstrnlenAligned[nbytes - 1] = '\0'; in Bm_function_Strnlen()
116 state.SetBytesProcessed(uint64_t(state.iterations()) * uint64_t(nbytes)); in Bm_function_Strnlen()
123 const size_t nbytes = bufferSizes[state.range(0)]; in Bm_function_Strlen_chk() local
125 char *bmstrlenAligned = GetAlignedPtrFilled(&bmstrlen, 0, nbytes in Bm_function_Strlen_chk()
139 const size_t nbytes = state.range(0); Bm_function_Stpncpy() local
159 const size_t nbytes = state.range(0); Bm_function_Strncpy() local
179 const size_t nbytes = state.range(0); Bm_function_Bcmp() local
212 const size_t nbytes = state.range(0); Bm_function_Wmemset() local
227 const size_t nbytes = state.range(0); Bm_function_Wmemcpy() local
278 const size_t nbytes = state.range(0); Bm_function_Strchrnul() local
329 const size_t nbytes = state.range(0); Bm_function_Strcasecmp() local
346 const size_t nbytes = state.range(0); Bm_function_Strncasecmp() local
362 const size_t nbytes = state.range(0); Bm_function_Strdup() local
377 const size_t nbytes = state.range(0); Bm_function_Strncat() local
395 const size_t nbytes = state.range(0); BM_function_Wcscoll() local
416 const size_t nbytes = state.range(0); BM_function_Wcscoll_l() local
458 const size_t nbytes = state.range(0); Bm_function_Strxfrm() local
479 const size_t nbytes = state.range(0); Bm_function_Strxfrm_l() local
500 const size_t nbytes = state.range(0); Bm_function_Wcsxfrm() local
521 const size_t nbytes = state.range(0); Bm_function_Wcsxfrm_l() local
541 const size_t nbytes = state.range(0); BM_function_Strcoll() local
564 const size_t nbytes = state.range(0); BM_function_Strcoll_l() local
584 const size_t nbytes = state.range(0); Bm_function_Wmemcmp() local
601 const size_t nbytes = state.range(0); BM_function_Wcsstr() local
629 const size_t nbytes = state.range(0); BM_function_Strcasestr() local
656 const size_t nbytes = state.range(0); BM_function_Strlcat() local
[all...]
H A Dutil.cpp53 char* GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes) in GetAlignedPtr() argument
55 buf->resize(nbytes + 2 * alignment); in GetAlignedPtr()
65 char* GetAlignedPtrFilled(std::vector<char>* buf, size_t alignment, size_t nbytes, char fillByte) in GetAlignedPtrFilled() argument
67 char* bufAligned = GetAlignedPtr(buf, alignment, nbytes); in GetAlignedPtrFilled()
68 memset(bufAligned, fillByte, nbytes); in GetAlignedPtrFilled()
72 wchar_t* GetAlignedPtrFilled(std::vector<wchar_t>* buf, size_t alignment, size_t nbytes, wchar_t fillByte) in GetAlignedPtrFilled() argument
74 wchar_t* bufAligned = GetAlignedPtr(buf, alignment, nbytes); in GetAlignedPtrFilled()
75 wmemset(bufAligned, fillByte, nbytes); in GetAlignedPtrFilled()
/third_party/optimized-routines/networking/aarch64/
H A Dchksum_simd.c19 slurp_head64(const void **pptr, uint32_t *nbytes) in slurp_head64() argument
21 Assert(*nbytes >= 8); in slurp_head64()
34 *nbytes -= 8 - off; in slurp_head64()
41 slurp_tail64(uint64_t sum, const void *ptr, uint32_t nbytes) in slurp_tail64() argument
43 Assert(nbytes < 8); in slurp_tail64()
44 if (likely(nbytes != 0)) in slurp_tail64()
46 /* Get rid of bytes 7..nbytes */ in slurp_tail64()
47 uint64_t mask = ALL_ONES >> (CHAR_BIT * (8 - nbytes)); in slurp_tail64()
48 Assert(__builtin_popcountl(mask) / CHAR_BIT == nbytes); in slurp_tail64()
52 nbytes in slurp_tail64()
59 __chksum_aarch64_simd(const void *ptr, unsigned int nbytes) __chksum_aarch64_simd() argument
[all...]
/third_party/optimized-routines/networking/
H A Dchksum.c14 slurp_head32(const void **pptr, uint32_t *nbytes) in slurp_head32() argument
17 Assert(*nbytes >= 4); in slurp_head32()
26 *nbytes -= 4 - off; in slurp_head32()
33 __chksum(const void *ptr, unsigned int nbytes) in __chksum() argument
38 if (nbytes > 300) in __chksum()
42 sum = slurp_head32(&ptr, &nbytes); in __chksum()
48 for (uint32_t nquads = nbytes / 16; nquads != 0; nquads--) in __chksum()
57 nbytes %= 16; in __chksum()
58 Assert(nbytes < 16); in __chksum()
61 while (nbytes > in __chksum()
[all...]
/third_party/libsnd/src/
H A Dmpeg_l3_encode.c465 int nbytes, writecount, writen ; in mpeg_l3_encode_write_short_mono() local
473 nbytes = lame_encode_buffer (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ; in mpeg_l3_encode_write_short_mono()
474 if (nbytes < 0) in mpeg_l3_encode_write_short_mono()
475 { psf_log_printf (psf, "lame_encode_buffer returned %d\n", nbytes) ; in mpeg_l3_encode_write_short_mono()
479 if (nbytes) in mpeg_l3_encode_write_short_mono()
480 { writen = psf_fwrite (pmpeg->block, 1, nbytes, psf) ; in mpeg_l3_encode_write_short_mono()
481 if (writen != nbytes) in mpeg_l3_encode_write_short_mono()
482 { psf_log_printf (psf, "*** Warning : short write (%d != %d).\n", writen, nbytes) ; in mpeg_l3_encode_write_short_mono()
499 int nbytes, writecount, writen ; in mpeg_l3_encode_write_short_stereo() local
512 nbytes in mpeg_l3_encode_write_short_stereo()
537 int nbytes, writecount, writen ; mpeg_l3_encode_write_int_mono() local
570 int nbytes, writecount, writen ; mpeg_l3_encode_write_int_stereo() local
603 int nbytes, writecount, writen ; mpeg_l3_encode_write_float_mono() local
648 int nbytes, writecount, writen ; mpeg_l3_encode_write_float_stereo() local
698 int nbytes, writecount, writen ; mpeg_l3_encode_write_double_mono() local
740 int nbytes, writecount, writen ; mpeg_l3_encode_write_double_stereo() local
[all...]
/third_party/ltp/include/lapi/
H A Dsync_file_range.h19 static inline long sync_file_range(int fd, off64_t offset, off64_t nbytes, in sync_file_range() argument
26 (int)(offset >> 32), (int)offset, (int)(nbytes >> 32), in sync_file_range()
27 (int)nbytes); in sync_file_range()
30 (int)(offset >> 32), nbytes, (int)(nbytes >> 32)); in sync_file_range()
33 return tst_syscall(__NR_sync_file_range2, fd, flags, offset, nbytes); in sync_file_range()
37 (int)offset, (int)(nbytes >> 32), (int)nbytes, flags); in sync_file_range()
41 (int)offset, (int)(nbytes >> 32), (int)nbytes, flag in sync_file_range()
[all...]
/third_party/NuttX/drivers/bch/
H A Dbchlib_read.c67 size_t nbytes; in bchlib_read() local
107 nbytes = bch->sectsize - sectoffset; in bchlib_read()
111 nbytes = len; in bchlib_read()
114 ret = LOS_CopyFromKernel(buffer, len, &bch->buffer[sectoffset], nbytes); in bchlib_read()
127 return nbytes; in bchlib_read()
130 bytesread = nbytes; in bchlib_read()
131 buffer += nbytes; in bchlib_read()
132 len -= nbytes; in bchlib_read()
158 nbytes = nsectors * bch->sectsize; in bchlib_read()
159 bytesread += nbytes; in bchlib_read()
[all...]
H A Dbchlib_write.c51 size_t nbytes; in bchlib_write() local
89 nbytes = bch->sectsize - sectoffset; in bchlib_write()
93 nbytes = len; in bchlib_write()
96 ret = LOS_CopyToKernel(&bch->buffer[sectoffset], nbytes, buffer, nbytes); in bchlib_write()
110 return nbytes; in bchlib_write()
113 byteswritten = nbytes; in bchlib_write()
114 buffer += nbytes; in bchlib_write()
115 len -= nbytes; in bchlib_write()
152 nbytes in bchlib_write()
[all...]
/third_party/optimized-routines/networking/arm/
H A Dchksum_simd.c18 __chksum_arm_simd(const void *ptr, unsigned int nbytes) in __chksum_arm_simd() argument
23 if (unlikely(nbytes < 40)) in __chksum_arm_simd()
25 uint64_t sum = slurp_small(ptr, nbytes); in __chksum_arm_simd()
31 Assert(nbytes >= 8); in __chksum_arm_simd()
47 nbytes -= 8 - off; in __chksum_arm_simd()
57 for (uint32_t i = 0; i < nbytes / 64; i++) in __chksum_arm_simd()
69 nbytes %= 64; in __chksum_arm_simd()
77 while (likely(nbytes >= 16)) in __chksum_arm_simd()
82 nbytes -= 16; in __chksum_arm_simd()
84 Assert(nbytes < 1 in __chksum_arm_simd()
[all...]
/third_party/skia/third_party/externals/freetype/src/pcf/
H A Dpcfutil.c44 size_t nbytes ) in BitOrderInvert()
46 for ( ; nbytes > 0; nbytes--, buf++ ) in BitOrderInvert()
66 size_t nbytes ) in TwoByteSwap()
68 for ( ; nbytes >= 2; nbytes -= 2, buf += 2 ) in TwoByteSwap()
85 size_t nbytes ) in FourByteSwap()
87 for ( ; nbytes >= 4; nbytes -= 4, buf += 4 ) in FourByteSwap()
/third_party/musl/porting/liteos_a_newlib/kernel/src/
H A Dmalloc.c50 void *__wrap__malloc_r(struct _reent *reent, size_t nbytes) in __wrap__malloc_r() argument
52 if (nbytes == 0) { in __wrap__malloc_r()
56 return LOS_MemAlloc(OS_SYS_MEM_ADDR, nbytes); in __wrap__malloc_r()
59 void *__wrap__memalign_r(struct _reent *reent, size_t align, size_t nbytes) in __wrap__memalign_r() argument
61 if (nbytes == 0) { in __wrap__memalign_r()
65 return LOS_MemAllocAlign(OS_SYS_MEM_ADDR, nbytes, align); in __wrap__memalign_r()
68 void *__wrap__realloc_r(struct _reent *reent, void *aptr, size_t nbytes) in __wrap__realloc_r() argument
71 return malloc(nbytes); in __wrap__realloc_r()
74 if (nbytes == 0) { in __wrap__realloc_r()
79 return LOS_MemRealloc(OS_SYS_MEM_ADDR, aptr, nbytes); in __wrap__realloc_r()
[all...]
/third_party/node/deps/openssl/openssl/engines/
H A De_padlock.c314 const unsigned char *in_arg, size_t nbytes) in padlock_ecb_cipher()
317 ALIGNED_CIPHER_DATA(ctx), nbytes); in padlock_ecb_cipher()
322 const unsigned char *in_arg, size_t nbytes) in padlock_cbc_cipher()
328 if ((ret = padlock_cbc_encrypt(out_arg, in_arg, cdata, nbytes))) in padlock_cbc_cipher()
335 const unsigned char *in_arg, size_t nbytes) in padlock_cfb_cipher()
347 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { in padlock_cfb_cipher()
349 chunk++, nbytes--; in padlock_cfb_cipher()
351 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { in padlock_cfb_cipher()
354 ivp[chunk++] = c, nbytes--; in padlock_cfb_cipher()
360 if (nbytes in padlock_cfb_cipher()
313 padlock_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_ecb_cipher() argument
321 padlock_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_cbc_cipher() argument
334 padlock_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_cfb_cipher() argument
405 padlock_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_ofb_cipher() argument
469 padlock_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_ctr_cipher() argument
[all...]
/third_party/openssl/engines/
H A De_padlock.c314 const unsigned char *in_arg, size_t nbytes) in padlock_ecb_cipher()
317 ALIGNED_CIPHER_DATA(ctx), nbytes); in padlock_ecb_cipher()
322 const unsigned char *in_arg, size_t nbytes) in padlock_cbc_cipher()
328 if ((ret = padlock_cbc_encrypt(out_arg, in_arg, cdata, nbytes))) in padlock_cbc_cipher()
335 const unsigned char *in_arg, size_t nbytes) in padlock_cfb_cipher()
347 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { in padlock_cfb_cipher()
349 chunk++, nbytes--; in padlock_cfb_cipher()
351 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { in padlock_cfb_cipher()
354 ivp[chunk++] = c, nbytes--; in padlock_cfb_cipher()
360 if (nbytes in padlock_cfb_cipher()
313 padlock_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_ecb_cipher() argument
321 padlock_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_cbc_cipher() argument
334 padlock_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_cfb_cipher() argument
405 padlock_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_ofb_cipher() argument
469 padlock_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg, const unsigned char *in_arg, size_t nbytes) padlock_ctr_cipher() argument
[all...]
/third_party/pulseaudio/src/pulse/
H A Dproplist.c39 size_t nbytes; member
95 prop->nbytes = strlen(value)+1; in pa_proplist_sets()
132 prop->nbytes = strlen(v)+1; in proplist_setn()
196 prop->nbytes = dn; in proplist_sethex()
233 prop->nbytes = strlen(v)+1; in pa_proplist_setf()
245 int pa_proplist_set(pa_proplist *p, const char *key, const void *data, size_t nbytes) { in pa_proplist_set() argument
251 pa_assert(data || nbytes == 0); in pa_proplist_set()
263 prop->value = pa_xmalloc(nbytes+1); in pa_proplist_set()
264 if (nbytes > 0) in pa_proplist_set()
265 memcpy(prop->value, data, nbytes); in pa_proplist_set()
302 pa_proplist_get(const pa_proplist *p, const char *key, const void **data, size_t *nbytes) pa_proplist_get() argument
425 size_t nbytes; pa_proplist_to_string_sep() local
[all...]
/third_party/python/Lib/
H A Dsecrets.py34 def token_bytes(nbytes=None):
35 """Return a random byte string containing *nbytes* bytes.
37 If *nbytes* is ``None`` or not supplied, a reasonable
44 if nbytes is None:
45 nbytes = DEFAULT_ENTROPY
46 return _sysrand.randbytes(nbytes)
48 def token_hex(nbytes=None):
51 The string has *nbytes* random bytes, each byte converted to two
52 hex digits. If *nbytes* is ``None`` or not supplied, a reasonable
59 return binascii.hexlify(token_bytes(nbytes))
[all...]
/third_party/NuttX/fs/vfs/
H A Dfs_read.c56 * nbytes - The maximum size of the user-provided buffer
64 ssize_t file_read(struct file *filep, void *buf, size_t nbytes) in file_read() argument
93 ret = (int)filep->ops->read(filep, (char *)buf, (size_t)nbytes); in file_read()
118 * nbytes - The maximum size of the user-provided buffer
126 ssize_t read(int fd, void *buf, size_t nbytes) in read() argument
128 if (buf == NULL || nbytes < 0) in read()
150 if (buf != NULL && nbytes > 0) in read()
152 buf = malloc(nbytes); in read()
160 ret = recv(fd, buf, nbytes, 0); in read()
215 return file_read(filep, buf, nbytes); in read()
[all...]
H A Dfs_write.c57 * nbytes - Length of data to write
66 ssize_t file_write(struct file *filep, const void *buf, size_t nbytes) in file_write() argument
95 ret = filep->ops->write(filep, (const char *)buf, nbytes); in file_write()
119 * nbytes - Length of data to write
157 ssize_t write(int fd, const void *buf, size_t nbytes) in write() argument
176 if (buf != NULL && nbytes > 0) in write()
178 buf = malloc(nbytes); in write()
184 if (LOS_ArchCopyFromUser((void*)buf, bufbak, nbytes) != 0) in write()
192 ret = send(fd, buf, nbytes, 0); in write()
242 return file_write(filep, buf, nbytes); in write()
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Ddoio.c328 int lock_file_region(char *fname, int fd, int type, int start, int nbytes);
410 int alloc_mem(int nbytes);
413 int alloc_sds(int nbytes);
756 int rval, i, infd, nbytes; in doio() local
918 while ((nbytes = read(infd, (char *)&ioreq, sizeof(ioreq)))) { in doio()
935 if (nbytes == -1) { in doio()
943 if (nbytes != sizeof(ioreq)) { in doio()
946 sizeof(ioreq), nbytes); in doio()
1406 int fd, offset, nbytes, oflags, rval; in do_read() local
1425 nbytes in do_read()
1601 int fd, nbytes, oflags, signo; do_write() local
1959 lock_file_region(char *fname, int fd, int type, int start, int nbytes) lock_file_region() argument
2339 int nbytes, nb; do_ssdio() local
2533 int offset, nbytes, nstrides, nents, aio_strat; sy_listio() local
3058 int fd, offset, nbytes, nstrides, nents, oflags; do_rw() local
3498 int fd, oflags, offset, nbytes; do_fcntl() local
3863 alloc_mem(int nbytes) alloc_mem() argument
4136 alloc_mem(int nbytes) alloc_mem() argument
4212 alloc_sds(int nbytes) alloc_sds() argument
4234 alloc_sds(int nbytes) alloc_sds() argument
[all...]
/third_party/skia/third_party/externals/expat/expat/xmlwf/
H A Dreadfilemap.c88 size_t nbytes; in filemap() local
114 nbytes = sb.st_size; in filemap()
115 /* malloc will return NULL with nbytes == 0, handle files with size 0 */ in filemap()
116 if (nbytes == 0) { in filemap()
122 p = malloc(nbytes); in filemap()
128 n = _EXPAT_read(fd, p, (_EXPAT_read_req_t)nbytes); in filemap()
135 if (n != (_EXPAT_read_count_t)nbytes) { in filemap()
141 processor(p, nbytes, name, arg); in filemap()
H A Dunixfilemap.c64 size_t nbytes; in filemap() local
88 nbytes = sb.st_size; in filemap()
90 if (nbytes == 0) { in filemap()
96 p = (void *)mmap((void *)0, (size_t)nbytes, PROT_READ, MAP_FILE | MAP_PRIVATE, in filemap()
103 processor(p, nbytes, name, arg); in filemap()
104 munmap((void *)p, nbytes); in filemap()
/third_party/python/Objects/
H A Dobmalloc.c1597 size_t nbytes; in new_arena() local
1609 nbytes = numarenas * sizeof(*arenas); in new_arena()
1610 arenaobj = (struct arena_object *)PyMem_RawRealloc(arenas, nbytes); in new_arena()
1948 pymalloc_alloc(void *ctx, size_t nbytes) in pymalloc_alloc() argument
1959 if (UNLIKELY(nbytes == 0)) { in pymalloc_alloc()
1962 if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) { in pymalloc_alloc()
1966 uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT; in pymalloc_alloc()
1996 _PyObject_Malloc(void *ctx, size_t nbytes) in _PyObject_Malloc() argument
1998 void* ptr = pymalloc_alloc(ctx, nbytes); in _PyObject_Malloc()
2003 ptr = PyMem_RawMalloc(nbytes); in _PyObject_Malloc()
2015 size_t nbytes = nelem * elsize; _PyObject_Calloc() local
2301 pymalloc_realloc(void *ctx, void **newptr_p, void *p, size_t nbytes) pymalloc_realloc() argument
2362 _PyObject_Realloc(void *ctx, void *ptr, size_t nbytes) _PyObject_Realloc() argument
2479 _PyMem_DebugRawAlloc(int use_calloc, void *ctx, size_t nbytes) _PyMem_DebugRawAlloc() argument
2539 _PyMem_DebugRawMalloc(void *ctx, size_t nbytes) _PyMem_DebugRawMalloc() argument
2547 size_t nbytes; _PyMem_DebugRawCalloc() local
2569 size_t nbytes; _PyMem_DebugRawFree() local
2580 _PyMem_DebugRawRealloc(void *ctx, void *p, size_t nbytes) _PyMem_DebugRawRealloc() argument
2690 _PyMem_DebugMalloc(void *ctx, size_t nbytes) _PyMem_DebugMalloc() argument
2713 _PyMem_DebugRealloc(void *ctx, void *ptr, size_t nbytes) _PyMem_DebugRealloc() argument
2730 size_t nbytes; _PyMem_DebugCheckAddress() local
2772 size_t nbytes; _PyObject_DebugDumpAddress() local
[all...]
/third_party/pulseaudio/src/tests/
H A Dinterpol-test.c48 static void stream_write_cb(pa_stream *p, size_t nbytes, void *userdata) { in stream_write_cb() argument
54 fail_unless((nbytes = pa_stream_writable_size(p)) != (size_t) -1); in stream_write_cb()
56 if (nbytes <= 0) in stream_write_cb()
59 fail_unless(pa_stream_begin_write(p, &data, &nbytes) == 0); in stream_write_cb()
60 pa_memzero(data, nbytes); in stream_write_cb()
61 fail_unless(pa_stream_write(p, data, nbytes, NULL, 0, PA_SEEK_RELATIVE) == 0); in stream_write_cb()
65 static void stream_read_cb(pa_stream *p, size_t nbytes, void *userdata) { in stream_read_cb() argument
71 pa_assert_se((nbytes = pa_stream_readable_size(p)) != (size_t) -1); in stream_read_cb()
73 if (nbytes <= 0) in stream_read_cb()
76 fail_unless(pa_stream_peek(p, &data, &nbytes) in stream_read_cb()
[all...]
/third_party/curl/lib/
H A Dcontent_encoding.c298 const char *buf, size_t nbytes) in deflate_do_write()
304 return Curl_cwriter_write(data, writer->next, type, buf, nbytes); in deflate_do_write()
308 z->avail_in = (uInt) nbytes; in deflate_do_write()
455 const char *buf, size_t nbytes) in gzip_do_write()
461 return Curl_cwriter_write(data, writer->next, type, buf, nbytes); in gzip_do_write()
466 z->avail_in = (uInt) nbytes; in gzip_do_write()
494 switch(check_gzip_header((unsigned char *) buf, nbytes, &hlen)) { in gzip_do_write()
497 z->avail_in = (uInt) (nbytes - hlen); in gzip_do_write()
509 z->avail_in = (uInt) nbytes; in gzip_do_write()
531 z->avail_in += (uInt) nbytes; in gzip_do_write()
296 deflate_do_write(struct Curl_easy *data, struct Curl_cwriter *writer, int type, const char *buf, size_t nbytes) deflate_do_write() argument
453 gzip_do_write(struct Curl_easy *data, struct Curl_cwriter *writer, int type, const char *buf, size_t nbytes) gzip_do_write() argument
660 brotli_do_write(struct Curl_easy *data, struct Curl_cwriter *writer, int type, const char *buf, size_t nbytes) brotli_do_write() argument
755 zstd_do_write(struct Curl_easy *data, struct Curl_cwriter *writer, int type, const char *buf, size_t nbytes) zstd_do_write() argument
908 error_do_write(struct Curl_easy *data, struct Curl_cwriter *writer, int type, const char *buf, size_t nbytes) error_do_write() argument
[all...]
/third_party/elfutils/libasm/
H A Dasm_addsleb128.c79 size_t nbytes = dest - tmpbuf; in asm_addsleb128() local
82 if (__libasm_ensure_section_space (asmscn, nbytes) != 0) in asm_addsleb128()
87 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); in asm_addsleb128()
90 asmscn->content->len += nbytes; in asm_addsleb128()
93 asmscn->offset += nbytes; in asm_addsleb128()
H A Dasm_adduleb128.c75 size_t nbytes = dest - tmpbuf; in asm_adduleb128() local
78 if (__libasm_ensure_section_space (asmscn, nbytes) != 0) in asm_adduleb128()
83 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); in asm_adduleb128()
86 asmscn->content->len += nbytes; in asm_adduleb128()
89 asmscn->offset += nbytes; in asm_adduleb128()

Completed in 16 milliseconds

12345678910