/external/ltp/testcases/kernel/sched/clisrv/ |
writen.c | 28 int writen(fd, ptr, nbytes) 31 register int nbytes; 35 nleft = nbytes; 43 return (nbytes - nleft);
|
/external/freetype/src/pcf/ |
pcfutil.c | 45 size_t nbytes ) 47 for ( ; nbytes > 0; nbytes--, buf++ ) 67 size_t nbytes ) 69 for ( ; nbytes >= 2; nbytes -= 2, buf += 2 ) 86 size_t nbytes ) 88 for ( ; nbytes >= 4; nbytes -= 4, buf += 4 )
|
pcfutil.h | 40 size_t nbytes ); 44 size_t nbytes ); 48 size_t nbytes );
|
/bionic/benchmarks/ |
string_benchmark.cpp | 25 const size_t nbytes = state.range(0); local 31 char* src_aligned = GetAlignedPtrFilled(&src, src_alignment, nbytes, 'x'); 32 char* dst_aligned = GetAlignedPtrFilled(&dst, dst_alignment, nbytes, 'x'); 36 c += memcmp(dst_aligned, src_aligned, nbytes); 39 state.SetBytesProcessed(uint64_t(state.iterations()) * uint64_t(nbytes)); 44 const size_t nbytes = state.range(0); local 50 char* src_aligned = GetAlignedPtrFilled(&src, src_alignment, nbytes, 'x'); 51 char* dst_aligned = GetAlignedPtr(&dst, dst_alignment, nbytes); 54 memcpy(dst_aligned, src_aligned, nbytes); 57 state.SetBytesProcessed(uint64_t(state.iterations()) * uint64_t(nbytes)); 62 const size_t nbytes = state.range(0); local 80 const size_t nbytes = state.range(0); local 95 const size_t nbytes = state.range(0); local 110 const size_t nbytes = state.range(0); local 125 const size_t nbytes = state.range(0); local 142 const size_t nbytes = state.range(0); local 165 const size_t nbytes = state.range(0); local 186 const size_t nbytes = state.range(0); local 212 const size_t nbytes = state.range(0); local 231 const size_t nbytes = state.range(0); local 252 const size_t nbytes = state.range(0); local 281 const size_t nbytes = state.range(0); local [all...] |
/external/google-breakpad/src/client/linux/log/ |
log.cc | 40 int write(const char* buf, size_t nbytes) { 44 return sys_write(2, buf, nbytes);
|
log.h | 37 int write(const char* buf, size_t nbytes);
|
/external/python/cpython3/Lib/ |
secrets.py | 35 def token_bytes(nbytes=None): 36 """Return a random byte string containing *nbytes* bytes. 38 If *nbytes* is ``None`` or not supplied, a reasonable 45 if nbytes is None: 46 nbytes = DEFAULT_ENTROPY 47 return os.urandom(nbytes) 49 def token_hex(nbytes=None): 52 The string has *nbytes* random bytes, each byte converted to two 53 hex digits. If *nbytes* is ``None`` or not supplied, a reasonable 60 return binascii.hexlify(token_bytes(nbytes)).decode('ascii' [all...] |
/external/strace/tests/ |
sync_file_range.c | 43 const off64_t nbytes = 0xfacefeedcafef00dULL; local 46 int rc = sync_file_range(fd, offset, nbytes, flags); 52 (long long) nbytes,
|
sync_file_range2.c | 43 const off64_t nbytes = 0xfacefeedcafef00d; local 46 int rc = sync_file_range(fd, offset, nbytes, flags); 52 (long long) nbytes,
|
/external/strace/tests-m32/ |
sync_file_range.c | 43 const off64_t nbytes = 0xfacefeedcafef00dULL; local 46 int rc = sync_file_range(fd, offset, nbytes, flags); 52 (long long) nbytes,
|
sync_file_range2.c | 43 const off64_t nbytes = 0xfacefeedcafef00d; local 46 int rc = sync_file_range(fd, offset, nbytes, flags); 52 (long long) nbytes,
|
/external/strace/tests-mx32/ |
sync_file_range.c | 43 const off64_t nbytes = 0xfacefeedcafef00dULL; local 46 int rc = sync_file_range(fd, offset, nbytes, flags); 52 (long long) nbytes,
|
sync_file_range2.c | 43 const off64_t nbytes = 0xfacefeedcafef00d; local 46 int rc = sync_file_range(fd, offset, nbytes, flags); 52 (long long) nbytes,
|
/device/linaro/bootloader/arm-trusted-firmware/lib/utils/ |
mem_region.c | 15 * - The calculation of the highest address within the region (base + nbytes-1) 36 assert(tbl->nbytes > 0); 37 assert(!check_uptr_overflow(tbl->base, tbl->nbytes-1)); 38 zero_normalmem((void *) (tbl->base), tbl->nbytes); 44 * This function checks that a region (addr + nbytes-1) of memory is totally 47 * is the size of the array and the region described by addr and nbytes must 52 * 0 the region (addr + nbytes-1) is covered by one of the regions described 56 uintptr_t addr, size_t nbytes) 62 assert(nbytes > 0); 63 assert(!check_uptr_overflow(addr, nbytes-1)) [all...] |
/external/v4l2_codec2/vda/ |
bit_reader.cc | 39 int nbytes = max_nbytes; local 40 if (nbytes > bytes_left_) 41 nbytes = bytes_left_; 44 data_ += nbytes; 45 bytes_left_ -= nbytes; 46 return nbytes;
|
/external/valgrind/perf/ |
heap.c | 12 int i, j, nbytes = 0; local 31 arr[j] = malloc(nbytes); 34 for (jpdb=0; jpdb<nbytes; jpdb = jpdb+pdb) { 41 nbytes += 8; 42 if (nbytes > 32) 43 nbytes = 0;
|
/external/libcxx/src/support/solaris/ |
wcsnrtombs.inc | 35 size_t nbytes; 39 nbytes = 0; 47 return (nbytes + nb - 1); 49 nbytes += nb; 51 return (nbytes); 83 return (nbytes + nb - 1); 88 nbytes += nb; 91 return (nbytes);
|
/external/libvterm/src/ |
utf8.h | 18 int nbytes = utf8_seqlen(codepoint); local 21 int b = nbytes; 28 switch(nbytes) { 37 return nbytes;
|
/external/syslinux/com32/libutil/ |
unbase64.c | 47 size_t nbytes = 0; local 66 if (nbytes < bufsiz) 68 nbytes++; 75 return nbytes;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/support/solaris/ |
wcsnrtombs.inc | 35 size_t nbytes; 39 nbytes = 0; 47 return (nbytes + nb - 1); 49 nbytes += nb; 51 return (nbytes); 83 return (nbytes + nb - 1); 88 nbytes += nb; 91 return (nbytes);
|
/system/nfc/src/nfa/include/ |
nfa_nv_co.h | 67 ** nbytes - number of bytes to read into the buffer. 79 extern void nfa_nv_co_read(uint8_t* p_buf, uint16_t nbytes, uint8_t block); 89 ** nbytes - number of bytes to write out to the file. 100 extern void nfa_nv_co_write(const uint8_t* p_buf, uint16_t nbytes,
|
/external/elfutils/libasm/ |
asm_adduleb128.c | 75 size_t nbytes = dest - tmpbuf; local 78 if (__libasm_ensure_section_space (asmscn, nbytes) != 0) 83 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); 86 asmscn->content->len += nbytes; 89 asmscn->offset += nbytes;
|
/external/valgrind/memcheck/tests/solaris/ |
sendfilev.c | 25 ssize_t nbytes = write(test_fd, &chunk1, sizeof(chunk1)); local 26 if (nbytes != CHUNK) { 28 fprintf(stderr, "write failed (nbytes=%zd): %s (%d).\n", 29 nbytes, strerror(error), error); 54 nbytes = sendfilev(test_fd, vec, 2, &xferred); 55 if (nbytes < 0) { 65 nbytes = sendfilev(test_fd, vec, -1, &xferred); 66 if (nbytes < 0) { 78 nbytes = sendfilev(test_fd, vec, 1, &xferred); 79 if (nbytes < 0) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
bitset.c | 10 int nbytes = NBYTES(nbits);
local 11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes);
16 ss += nbytes;
17 while (--nbytes >= 0)
53 for (i = NBYTES(nbits); --i >= 0; )
64 for (i = NBYTES(nbits); --i >= 0; )
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
bitset.c | 10 int nbytes = NBYTES(nbits);
local 11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes);
16 ss += nbytes;
17 while (--nbytes >= 0)
53 for (i = NBYTES(nbits); --i >= 0; )
64 for (i = NBYTES(nbits); --i >= 0; )
|