/external/python/cpython3/Lib/ |
H A D | 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)) [all...] |
/external/ltp/testcases/kernel/sched/clisrv/ |
H A D | writen.c | 28 int writen(fd, ptr, nbytes) 31 register int nbytes; 35 nleft = nbytes; 43 return (nbytes - nleft);
|
/external/freetype/src/pcf/ |
H A D | 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 )
|
H A D | pcfutil.h | 40 size_t nbytes ); 44 size_t nbytes ); 48 size_t nbytes );
|
/external/google-breakpad/src/client/linux/log/ |
H A D | log.cc | 40 int write(const char* buf, size_t nbytes) { argument 44 return sys_write(2, buf, nbytes);
|
H A D | log.h | 37 int write(const char* buf, size_t nbytes);
|
/external/strace/tests/ |
H A D | 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,
|
H A D | 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/ |
H A D | 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,
|
H A D | 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/ |
H A D | 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,
|
H A D | 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/v4l2_codec2/vda/ |
H A D | 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/ |
H A D | 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/libvterm/src/ |
H A D | utf8.h | 18 int nbytes = utf8_seqlen(codepoint); local 21 int b = nbytes; 28 switch(nbytes) { 37 return nbytes;
|
/external/syslinux/com32/libutil/ |
H A D | unbase64.c | 47 size_t nbytes = 0; local 66 if (nbytes < bufsiz) 68 nbytes++; 75 return nbytes;
|
/external/elfutils/libasm/ |
H A D | 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/ |
H A D | 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 < [all...] |
/external/python/cpython2/Parser/ |
H A D | bitset.c | 10 int nbytes = NBYTES(nbits); local 11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes); 16 ss += nbytes; 17 while (--nbytes >= 0)
|
/external/python/cpython3/Parser/ |
H A D | bitset.c | 10 int nbytes = NBYTES(nbits); local 11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes); 16 ss += nbytes; 17 while (--nbytes >= 0)
|
/external/syslinux/com32/lib/sys/ |
H A D | stdcon_read.c | 51 if (fp->i.nbytes) { 53 fp->i.nbytes--; 58 fp->i.nbytes = __line_input(fp, fp->i.buf, MAXBLOCK, __rawcon_read); 61 if (fp->i.nbytes == 0)
|
/external/valgrind/VEX/priv/ |
H A D | main_globals.c | 53 void (*vex_log_bytes) ( const HChar*, SizeT nbytes ) = NULL;
|
/external/expat/xmlwf/ |
H A D | unixfilemap.c | 61 size_t nbytes; local 85 nbytes = sb.st_size; 87 if (nbytes == 0) { 93 p = (void *)mmap((void *)0, (size_t)nbytes, PROT_READ, 100 processor(p, nbytes, name, arg); 101 munmap((void *)p, nbytes);
|
H A D | readfilemap.c | 81 size_t nbytes; local 107 nbytes = sb.st_size; 108 /* malloc will return NULL with nbytes == 0, handle files with size 0 */ 109 if (nbytes == 0) { 115 p = malloc(nbytes); 121 n = _EXPAT_read(fd, p, nbytes); 128 if (n != (_EXPAT_read_count_t)nbytes) { 134 processor(p, nbytes, name, arg);
|
/external/ltp/testcases/kernel/syscalls/sync_file_range/ |
H A D | sync_file_range01.c | 114 off64_t nbytes; member in struct:test_data_t 196 static inline long syncfilerange(int fd, off64_t offset, off64_t nbytes, argument 204 (int)(offset >> 32), (int)offset, (int)(nbytes >> 32), 205 (int)nbytes); 208 (int)(offset >> 32), nbytes, (int)(nbytes >> 32)); 211 return ltp_syscall(__NR_sync_file_range2, fd, flags, offset, nbytes); 217 (int)offset, (int)(nbytes >> 32), (int)nbytes, flags); 223 (int)offset, (int)(nbytes >> 3 [all...] |