Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 101) sorted by relevance

12345

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/
A Dpoll.c57 int bytes;
63 rset = alloca (bytes);
64 wset = alloca (bytes);
65 xset = alloca (bytes);
69 memset (rset, 0, bytes);
70 memset (wset, 0, bytes);
71 memset (xset, 0, bytes);
93 memset ((char *) nrset + bytes, 0, nbytes - bytes);
94 memset ((char *) nwset + bytes, 0, nbytes - bytes);
95 memset ((char *) nxset + bytes, 0, nbytes - bytes);
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdio/
A D_fwrite.c16 size_t bytes, in __stdio_fwrite() argument
25 assert(bytes); in __stdio_fwrite()
33 if (pending > bytes) { in __stdio_fwrite()
34 pending = bytes; in __stdio_fwrite()
39 return bytes; in __stdio_fwrite()
45 stream->__bufpos += bytes; in __stdio_fwrite()
50 if (pending > bytes) { in __stdio_fwrite()
51 pending = bytes; in __stdio_fwrite()
53 buffer += (bytes - pending); in __stdio_fwrite()
56 bytes -= pending; in __stdio_fwrite()
[all …]
A Dfread.c30 size_t todo, bytes, avail; in fread_unlocked() local
32 todo = bytes = size * nmemb; in fread_unlocked()
77 return (bytes - todo) / size; in fread_unlocked()
/l4re-core-master/l4re_kernel/server/src/
A Dmem.cc30 static void *mc_err_msg(long bytes, char const *msg) in mc_err_msg() argument
32 L4::cout << "uclibc_morecore(" << L4::hex << bytes << "): " << msg << ".\n"; in mc_err_msg()
37 void *uclibc_morecore(long bytes) in uclibc_morecore() argument
47 if (bytes <= 0) in uclibc_morecore()
56 return mc_err_msg(bytes, "Failed to allocate memory"); in uclibc_morecore()
61 return mc_err_msg(bytes, "Failed to attach memory"); in uclibc_morecore()
67 return mc_err_msg(bytes, "Cannot provide more memory"); in uclibc_morecore()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/metag/
A Dmemcpy.S17 ! If there are less than 16 bytes to copy use the byte copy loop
38 ! The destination address is not 8 byte aligned. We will copy bytes from
41 ! bytes here).
45 SUB D1Ar3, D1Ar3, #1 ! decrement count of remaining bytes
82 ! or more bytes to be copied.
90 ! Save the number of bytes of mis-alignment in D0Ar4 for use later
96 ! prefetch 8 bytes
102 ! 4 bytes, and more than 4 bytes.
107 ! The mis-alignment is more than 4 bytes
116 ! Move data 4 bytes before we enter the main loop
[all …]
A Dmemset.S22 ! need the number of bytes up to the next 8 byte address
31 ! Preamble to LongLoop which generates 4*8 bytes per interation (5 cycles)
48 ! Preamble to LongishLoop which generates 1*8 bytes per interation (2 cycles)
62 ! This does a byte structured burst of up to 7 bytes
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/dirent/
A Dreaddir_r.c23 ssize_t bytes; in __READDIR_R() local
37 bytes = __GETDENTS(dir->dd_fd, dir->dd_buf, dir->dd_max); in __READDIR_R()
38 if (bytes <= 0) { in __READDIR_R()
40 ret = (bytes==0)? 0 : errno; in __READDIR_R()
43 dir->dd_size = bytes; in __READDIR_R()
A Dreaddir.c21 ssize_t bytes; in __READDIR() local
34 bytes = __GETDENTS(dir->dd_fd, dir->dd_buf, dir->dd_max); in __READDIR()
35 if (bytes <= 0) { in __READDIR()
39 dir->dd_size = bytes; in __READDIR()
/l4re-core-master/uclibc/lib/contrib/uclibc/libcrypt/
A Dsha256.c201 uint32_t bytes = ctx->buflen; in __sha256_finish_ctx() local
205 ctx->total[0] += bytes; in __sha256_finish_ctx()
206 if (ctx->total[0] < bytes) in __sha256_finish_ctx()
209 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes; in __sha256_finish_ctx()
210 memcpy (&ctx->buffer[bytes], fillbuf, pad); in __sha256_finish_ctx()
213 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in __sha256_finish_ctx()
214 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in __sha256_finish_ctx()
218 sha256_process_block (ctx->buffer, bytes + pad + 8, ctx); in __sha256_finish_ctx()
A Dsha512.c232 uint64_t bytes = ctx->buflen; in __sha512_finish_ctx() local
236 ctx->total[0] += bytes; in __sha512_finish_ctx()
237 if (ctx->total[0] < bytes) in __sha512_finish_ctx()
240 pad = bytes >= 112 ? 128 + 112 - bytes : 112 - bytes; in __sha512_finish_ctx()
241 memcpy (&ctx->buffer[bytes], fillbuf, pad); in __sha512_finish_ctx()
244 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP (ctx->total[0] << 3); in __sha512_finish_ctx()
245 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in __sha512_finish_ctx()
249 sha512_process_block (ctx->buffer, bytes + pad + 16, ctx); in __sha512_finish_ctx()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/arm/
A Dmemset.S32 cmp r2, #8 @ at least 8 bytes to do?
55 2: @ Fill the remaining bytes
69 cmp a3, $8 @ at least 8 bytes to do?
86 cmp a3, $8 @ 8 bytes still to do?
90 cmp a3, $8 @ 8 bytes still to do?
94 cmp a3, $8 @ 8 bytes still to do?
98 cmp a3, $8 @ 8 bytes still to do?
A Dstrlen.S50 ands r3, r0, $3 @ how many bytes are duff?
77 addne r0, r0, $4 @ if not, the string is 4 bytes longer
86 tstne r2, $0x00ff0000 @ and add up to 3 bytes on to it
95 tstne r2, $0x0000ff00 @ and add up to 3 bytes on to it
/l4re-core-master/l4sys/include/
A Dvcon58 * \param size Size of the data buffer in bytes.
77 * \param size Size of the data buffer in bytes.
81 * \retval >=0 Number of bytes written to the virtual console.
91 * \param size Size of the data buffer in bytes.
95 * \retval >size More bytes to read, `size` bytes are in the buffer `buf`.
96 * \retval <=size Number of bytes read.
108 * \param size Size of the data buffer in bytes.
112 * \retval >size More bytes to read, `size` bytes are in the buffer `buf`.
113 * \retval <=size Number of bytes read.
116 * #L4_VCON_READ_STAT_BREAK flag bit for a break condition. The bytes read
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/src/c++17/
A Dmemory_resource.cc256 const size_t n = std::max(bytes, _M_next_bufsiz); in _M_new_buffer()
455 _M_bytes(bytes), in chunk()
565 big_block(size_t bytes, size_t alignment) in big_block()
566 : _M_size(alloc_size(bytes) >> _S_alignbits), in big_block()
590 const size_t s = bytes + min - 1u; in alloc_size()
591 if (__builtin_expect(s < bytes, false)) in alloc_size()
1004 __glibcxx_assert(b.size() == b.alloc_size(bytes)); in deallocate()
1211 do_allocate(size_t bytes, size_t alignment) in do_allocate() argument
1306 _M_impl.deallocate(p, bytes, alignment); in do_deallocate()
1428 return _M_impl.allocate(bytes, alignment); in do_allocate()
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/src/c++17/
A Dmemory_resource.cc256 const size_t n = std::max(bytes, _M_next_bufsiz); in _M_new_buffer()
455 _M_bytes(bytes), in chunk()
565 big_block(size_t bytes, size_t alignment) in big_block()
566 : _M_size(alloc_size(bytes) >> _S_alignbits), in big_block()
590 const size_t s = bytes + min - 1u; in alloc_size()
591 if (__builtin_expect(s < bytes, false)) in alloc_size()
1004 __glibcxx_assert(b.size() == b.alloc_size(bytes)); in deallocate()
1211 do_allocate(size_t bytes, size_t alignment) in do_allocate() argument
1306 _M_impl.deallocate(p, bytes, alignment); in do_deallocate()
1428 return _M_impl.allocate(bytes, alignment); in do_allocate()
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/src/c++17/
A Dmemory_resource.cc287 const size_t n = std::max(bytes, _M_next_bufsiz); in _M_new_buffer()
486 _M_bytes(bytes), in chunk()
590 big_block(size_t bytes, size_t alignment) in big_block()
591 : _M_size(alloc_size(bytes), alignment) in big_block()
594 if (size() < bytes) [[unlikely]] in big_block()
620 { return aligned_ceil(bytes, min); } in alloc_size()
1030 __glibcxx_assert(b.size() == b.alloc_size(bytes)); in deallocate()
1237 do_allocate(size_t bytes, size_t alignment) in do_allocate() argument
1332 _M_impl.deallocate(p, bytes, alignment); in do_deallocate()
1454 return _M_impl.allocate(bytes, alignment); in do_allocate()
[all …]
/l4re-core-master/l4sys/include/cxx/
A Dipc_basics36 * Pad bytes to the given alignment \a align (in bytes)
37 * \param bytes The input value in bytes
38 * \param align The alignment value in bytes
39 * \return the result after padding \a bytes to \a align.
42 { return (bytes + align - 1) & ~(align - 1); }
45 * Pad \a bytes to the alignment of the type \a T.
47 * \param bytes The value to add the padding to
48 * \return \a bytes padded to achieve the alignment of \a T.
52 { return align_to(bytes, __alignof(T)); }
98 /// number of bytes for one message word
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/mips/
A Dmemcpy.S58 addiu t2, -1 # copy 1, 2 or 3 bytes
87 andi t0, a2, 0x3f # 64 or more bytes left?
114 andi t0, a2, 0x7 # 8 or more bytes left?
127 blez a2, L(lst16e) # Handle last 16 bytes, one at a time
143 PTR_SUBU a2, a3 # a2 = bytes left
147 addiu t2, -1 # load 4 bytes from Src and copy up to
246 addiu t2, t1, -1 # Yes we are... copy 1, 2 or 3 bytes
270 andi t0, a2, 0x1f # 32 or more bytes left?
297 andi t0, a2, 0x3 # 4 or more bytes left?
310 blez a2, L(lst8e) # Handle last 8 bytes, one at a time
[all …]
A Dmemset.S59 addiu t2, -1 # prepare to set 1, 2, or 3 bytes
87 move a2, ta0 # a2 is now # of bytes left after loop
102 blez a2, L(exit) # Handle last 16 bytes (if cnt>0)
143 addiu t2, t0, -1 # prepare to set 1, 2, or 3 bytes
164 move a2, t0 # a2 is now # of bytes left after loop
179 blez a2, L(exit) # Handle last 8 bytes (if cnt>0)
/l4re-core-master/moe/server/src/
A Dmem.cc23 void *uclibc_morecore(long bytes) in uclibc_morecore() argument
30 if (bytes <= 0) in uclibc_morecore()
33 size_t s = l4_round_page(bytes); in uclibc_morecore()
/l4re-core-master/l4re_vfs/include/impl/
A Dvcon_stream_impl.h47 ssize_t bytes = 0; in readv() local
68 if (bytes) in readv()
69 return bytes; in readv()
81 bytes += ret; in readv()
90 return bytes; in readv()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc-standard/
A Dmemalign.c26 void* memalign(size_t alignment, size_t bytes) in memalign() argument
42 if (alignment <= MALLOC_ALIGNMENT) return malloc(bytes); in memalign()
56 checked_request2size(bytes, nb); in memalign()
A Drealloc.c21 void* realloc(void* oldmem, size_t bytes) in realloc() argument
51 return malloc(bytes); in realloc()
52 if (! bytes) { in realloc()
59 checked_request2size(bytes, nb); in realloc()
/l4re-core-master/l4re/include/
A Drandom35 * \param size Number of bytes of entropy requested.
39 * \retval >=0 Actual size of the returned random number in bytes. This may
47 * bytes and a notification interrupt was installed, then the service triggers
50 * next call to get_random() returns at least the number of missing bytes
/l4re-core-master/l4re/util/include/
A Dvcon_svr43 * The size parameter of both functions is given in bytes.
88 unsigned bytes = v & L4_VCON_READ_SIZE_MASK;
90 if (bytes < size)
94 __builtin_memcpy(&m->mr[1], buf, bytes);
97 (bytes + sizeof(l4_umword_t) - 1) / sizeof(l4_umword_t) + 1,

Completed in 36 milliseconds

12345