/external/pdfium/core/src/fxcrt/ |
D | fx_basic_utf.cpp | 53 int nbytes = 0; in Input() local 55 nbytes = 2; in Input() 57 nbytes = 3; in Input() 59 nbytes = 4; in Input() 61 nbytes = 5; in Input() 63 nbytes = 6; in Input() 66 int order = 1 << ((nbytes - 1) * 6); in Input() 68 m_Buffer.AppendChar(prefix[nbytes - 2] | (code / order)); in Input() 69 for (int i = 0; i < nbytes - 1; i++) { in Input()
|
/external/valgrind/memcheck/tests/solaris/ |
D | sendfilev.c | 25 ssize_t nbytes = write(test_fd, &chunk1, sizeof(chunk1)); in main() local 26 if (nbytes != CHUNK) { in main() 29 nbytes, strerror(error), error); in main() 54 nbytes = sendfilev(test_fd, vec, 2, &xferred); in main() 55 if (nbytes < 0) { in main() 65 nbytes = sendfilev(test_fd, vec, -1, &xferred); in main() 66 if (nbytes < 0) { in main() 78 nbytes = sendfilev(test_fd, vec, 1, &xferred); in main() 79 if (nbytes < 0) { in main()
|
/external/valgrind/perf/ |
D | heap.c | 12 int i, j, nbytes = 0; in main() local 31 arr[j] = malloc(nbytes); in main() 34 for (jpdb=0; jpdb<nbytes; jpdb = jpdb+pdb) { in main() 41 nbytes += 8; in main() 42 if (nbytes > 32) in main() 43 nbytes = 0; in main()
|
/external/valgrind/VEX/useful/ |
D | smchash.c | 24 Int nbytes; member 42 r= fscanf(f, "GuestBytes %llx %d ", &gb->ga, &gb->nbytes); in read_one() 47 assert(gb->nbytes > 0); in read_one() 48 assert(gb->nbytes < 5000); // let's say in read_one() 50 Int nToAlloc = gb->nbytes + (gb->ga & 3); in read_one() 52 gb->bytes = malloc( gb->nbytes + nToAlloc); in read_one() 57 for (i = 0; i < gb->nbytes; i++) { in read_one() 81 if (0) printf("got %llu %d\n", gb->ga, gb->nbytes); in apply_to_all() 96 for (i = 0; i < gb->nbytes; i++) in hash_sum() 103 for (i = 0; i < gb->nbytes; i++) { in hash_rol() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | bitops.c | 134 unsigned int ext2fs_bitcount(const void *addr, unsigned int nbytes) in ext2fs_bitcount() argument 140 while (((((unsigned long) cp) & 3) != 0) && (nbytes > 0)) { in ext2fs_bitcount() 142 nbytes--; in ext2fs_bitcount() 146 while (nbytes > 4) { in ext2fs_bitcount() 148 nbytes -= 4; in ext2fs_bitcount() 152 while (nbytes > 0) { in ext2fs_bitcount() 154 nbytes--; in ext2fs_bitcount()
|
/external/elfutils/libasm/ |
D | asm_adduleb128.c | 75 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()
|
D | asm_addsleb128.c | 79 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()
|
/external/libpng/contrib/arm-neon/ |
D | linux-auxv.c | 39 safe_read(png_structp png_ptr, int fd, void *buffer_in, size_t nbytes) in safe_read() argument 44 while (nbytes > 0) in safe_read() 53 if (nbytes > INT_MAX) in safe_read() 57 nread = (unsigned int)/*SAFE*/nbytes; in safe_read() 85 nbytes -= (unsigned int)/*SAFE*/iread; in safe_read()
|
/external/valgrind/memcheck/tests/ |
D | malloc2.c | 26 int i, j, k, nbytes; in main() local 38 nbytes = 1 + myrandom() % M_TEST_MALLOC; in main() 40 nbytes *= 17; in main() 41 test_arr[j] = malloc( nbytes ); in main() 43 for (k = 1; k < nbytes; k++) in main()
|
D | writev1.c | 27 int nbytes; in main() local 39 } else if ((nbytes = write(fd, buf_list[1], K_1)) != K_1) { in main() 41 nbytes, errno); in main() 62 if ((nbytes = read(fd, buf_list[0], CHUNK)) != 0) in main() 63 fprintf(stderr, "Expected nbytes = 0, got %d\n", nbytes); in main()
|
/external/libnfc-nci/src/adaptation/ |
D | libmain.c | 87 extern void nfa_nv_co_read(UINT8 *pBuffer, UINT16 nbytes, UINT8 block) in nfa_nv_co_read() argument 102 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); in nfa_nv_co_read() 108 size_t actualReadData = read (fileStream, pBuffer, nbytes); in nfa_nv_co_read() 146 extern void nfa_nv_co_write(const UINT8 *pBuffer, UINT16 nbytes, UINT8 block) in nfa_nv_co_write() argument 160 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); in nfa_nv_co_write() 167 unsigned short checksum = crcChecksumCompute (pBuffer, nbytes); in nfa_nv_co_write() 169 size_t actualWrittenData = write (fileStream, pBuffer, nbytes); in nfa_nv_co_write() 171 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum))) in nfa_nv_co_write()
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | NonVolatileStore.cpp | 63 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block) in nfc_hal_nv_co_read() argument 76 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); in nfc_hal_nv_co_read() 82 size_t actualReadData = read (fileStream, p_buf, nbytes); in nfc_hal_nv_co_read() 121 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block) in nfc_hal_nv_co_write() argument 134 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); in nfc_hal_nv_co_write() 139 unsigned short checksum = crcChecksumCompute (p_buf, nbytes); in nfc_hal_nv_co_write() 141 size_t actualWrittenData = write (fileStream, p_buf, nbytes); in nfc_hal_nv_co_write() 143 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum))) in nfc_hal_nv_co_write()
|
/external/v8/test/webkit/ |
D | array-iterate-backwards.js | 30 function prepare(nbytes) { argument 31 var i = nbytes - 1; 38 function verify(nbytes) { argument 39 var i = nbytes - 1;
|
/external/libvterm/src/ |
D | utf8.h | 18 int nbytes = utf8_seqlen(codepoint); in fill_utf8() local 21 int b = nbytes; in fill_utf8() 28 switch(nbytes) { in fill_utf8() 37 return nbytes; in fill_utf8()
|
/external/libcxx/src/support/solaris/ |
D | 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/valgrind/VEX/priv/ |
D | main_util.h | 125 static inline void* LibVEX_Alloc_inline ( SizeT nbytes ) in LibVEX_Alloc_inline() argument 150 return malloc(nbytes); in LibVEX_Alloc_inline() 156 nbytes = (nbytes + ALIGN) & ~ALIGN; in LibVEX_Alloc_inline() 158 next = curr + nbytes; in LibVEX_Alloc_inline()
|
/external/tlsdate/src/common/ |
D | fmemopen.c | 55 fmemopen_read(void *cookie, char *buf, int nbytes) in fmemopen_read() argument 62 assert(buf != NULL && nbytes > 0); in fmemopen_read() 66 len = MIN(p->tail - p->cur, nbytes); in fmemopen_read() 74 fmemopen_write(void *cookie, const char *buf, int nbytes) in fmemopen_write() argument 81 assert(buf != NULL && nbytes > 0); in fmemopen_write() 88 len = MIN(p->tail - p->cur, nbytes); in fmemopen_write()
|
/external/mksh/src/ |
D | shf.c | 631 shf_write(const char *buf, ssize_t nbytes, struct shf *shf) in shf_write() argument 633 ssize_t n, ncopy, orig_nbytes = nbytes; in shf_write() 638 if (nbytes < 0) in shf_write() 639 internal_errorf("%s: %s %zd", "shf_write", "nbytes", nbytes); in shf_write() 643 (shf->wp != shf->buf || nbytes < shf->wnleft)) { in shf_write() 644 if (ncopy > nbytes) in shf_write() 645 ncopy = nbytes; in shf_write() 647 nbytes -= ncopy; in shf_write() 652 if (nbytes > 0) { in shf_write() 655 while (nbytes > shf->wnleft) in shf_write() [all …]
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
D | aio-dio-extend-stat.c | 91 iocbs[i]->u.c.nbytes = BUFSIZE; in main() 125 if (ioevents[i].obj->u.c.nbytes != BUFSIZE) in fun_read() 128 ioevents[i].obj->u.c.nbytes); in fun_read() 131 ioevents[i].obj->u.c.nbytes; in fun_read() 136 "got %ld\n", ioevents[i].obj->u.c.nbytes, in fun_read()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | d3basics.c | 956 UShort nbytes; in ML_() local 975 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_() 985 p, (UWord)nbytes, fbGX, regs, di, in ML_() 988 p += (UWord)nbytes; in ML_() 995 p, (UWord)nbytes, fbGX, regs, di, in ML_() 1000 p += (UWord)nbytes; in ML_() 1027 UShort nbytes; in ML_() local 1052 nbytes = ML_(read_UShort)(p); p += sizeof(UShort); in ML_() 1062 if (nbytes == 1 + sizeof(Addr) && *p == DW_OP_addr) { in ML_() 1075 if (nbytes == 1 + sizeof(Addr) + 1 + 1 in ML_() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
D | _version133.py | 105 nbytes = ceil(nbits/8.) 106 randomdata = os.urandom(nbytes) 225 nbytes = int(math.ceil(nbits/8.)) 384 nbytes = nbits / 8 385 blocks = msglen / nbytes 387 if msglen % nbytes > 0: 393 offset = bindex * nbytes 394 block = message[offset:offset+nbytes]
|
/external/llvm/test/CodeGen/ARM/ |
D | 2010-06-25-Thumb2ITInvalidIterator.ll | 8 define void @x0(i8* nocapture %buf, i32 %nbytes) nounwind optsize { 11 …tail call void @llvm.dbg.value(metadata i32 %nbytes, i64 0, metadata !8, metadata !DIExpression())… 15 %cmp3 = icmp ult i32 %tmp, %nbytes, !dbg !17 ; <i1> [#uses=1] 18 %nbytes.addr.0 = select i1 %or.cond, i32 %tmp, i32 %nbytes ; <i32> [#uses=1] 25 %cmp7 = icmp ult i32 %0, %nbytes.addr.0, !dbg !20 ; <i1> [#uses=1] 58 !8 = !DILocalVariable(name: "nbytes", line: 4, arg: 2, scope: !1, file: !2, type: !9)
|
/external/libjpeg-turbo/ |
D | jdatasrc.c | 104 size_t nbytes; in fill_input_buffer() local 106 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); in fill_input_buffer() 108 if (nbytes <= 0) { in fill_input_buffer() 115 nbytes = 2; in fill_input_buffer() 119 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
|
/external/opencv3/3rdparty/libjpeg/ |
D | jdatasrc.c | 100 size_t nbytes; in fill_input_buffer() local 102 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); in fill_input_buffer() 104 if (nbytes <= 0) { in fill_input_buffer() 111 nbytes = 2; in fill_input_buffer() 115 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
|
/external/libvncserver/client_examples/ |
D | scrap.c | 350 unsigned long nbytes; in get_scrap() local 393 &seln_format, &nbytes, &overflow, in get_scrap() 397 src, nbytes); in get_scrap() 402 convert_scrap(type, *dst, src, nbytes); in get_scrap() 497 unsigned long nbytes; in clipboard_filter() local 536 &nbytes, &overflow, &seln_data) == Success) { in clipboard_filter() 539 nbytes > 0 && in clipboard_filter() 540 seln_data[nbytes-1] == '\0') in clipboard_filter() 541 --nbytes; in clipboard_filter() 545 seln_data, nbytes); in clipboard_filter()
|