/bionic/libc/upstream-openbsd/lib/libc/string/ |
strlcpy.c | 23 * Copy string src to buffer dst of size dsize. At most dsize-1 24 * chars will be copied. Always NUL terminates (unless dsize == 0). 25 * Returns strlen(src); if retval >= dsize, truncation occurred. 28 strlcpy(char *dst, const char *src, size_t dsize) __overloadable 31 size_t nleft = dsize; 43 if (dsize != 0)
|
wcslcpy.c | 23 * Copy string src to buffer dst of size dsize. At most dsize-1 24 * chars will be copied. Always NUL terminates (unless dsize == 0). 25 * Returns wcslen(src); if retval >= dsize, truncation occurred. 28 wcslcpy(wchar_t *dst, const wchar_t *src, size_t dsize) 31 size_t nleft = dsize; 43 if (dsize != 0)
|
strlcat.c | 23 * Appends src to string dst of size dsize (unlike strncat, dsize is the 24 * full size of dst, not space left). At most dsize-1 characters 25 * will be copied. Always NUL terminates (unless dsize <= strlen(dst)). 26 * Returns strlen(src) + MIN(dsize, strlen(initial dst)). 27 * If retval >= dsize, truncation occurred. 30 strlcat(char *dst, const char *src, size_t dsize) __overloadable 34 size_t n = dsize; 41 n = dsize - dlen;
|
/external/syslinux/com32/lib/syslinux/ |
biosboot.c | 34 const void *descbuf, uint32_t dsize) 39 do_raw_shuffle_and_boot(descaddr, descbuf, dsize);
|
/external/v8/src/arm64/ |
cpu-arm64.cc | 49 uintptr_t dsize = sizes.dcache_line_size(); local 52 DCHECK(CountSetBits(dsize, 64) == 1); 54 uintptr_t dstart = start & ~(dsize - 1); 71 "add %[dline], %[dline], %[dsize] \n\t" 103 : [dsize] "r" (dsize),
|
/external/vixl/src/aarch64/ |
cpu-aarch64.cc | 95 uintptr_t dsize = static_cast<uintptr_t>(dcache_line_size_); local 97 uintptr_t dline = start & ~(dsize - 1); 101 VIXL_ASSERT(IsPowerOf2(dsize)); 122 dline += dsize;
|
/external/skia/samplecode/ |
SampleManyRects.cpp | 36 SkISize dsize = canvas->getBaseLayerSize(); variable 42 int x = fRandom.nextRangeU(0, dsize.fWidth); 43 int y = fRandom.nextRangeU(0, dsize.fHeight);
|
/external/bison/lib/ |
vbitset.c | 386 bitset_windex dsize; local 396 dsize = VBITSET_SIZE (dst); 401 sizeof (bitset_word) * (dsize - ssize)); 412 bitset_windex dsize; local 419 dsize = VBITSET_SIZE (dst); 426 sizeof (bitset_word) * (dsize - ssize)); 437 bitset_windex dsize = VBITSET_SIZE (dst); local 439 for (i = 0; i < min (ssize, dsize); i++) 443 if (ssize > dsize) 451 for (; i < dsize; i++ 467 bitset_windex dsize = VBITSET_SIZE (dst); local 491 bitset_windex dsize = VBITSET_SIZE (dst); local 510 bitset_windex dsize; local 538 bitset_windex dsize; local 590 bitset_windex dsize; local 631 bitset_windex dsize; local 695 bitset_windex dsize; local 732 bitset_windex dsize; local 786 bitset_windex dsize; local 823 bitset_windex dsize; local [all...] |
/external/opencv/cv/src/ |
cvemd.cpp | 85 int ssize, dsize; member in struct:CvEMDState 125 CvNode1D * u, CvNode1D * v, int ssize, int dsize ); 129 int ssize, int dsize, CvNode2D * enter_x ); 270 /* if ssize = 1 or dsize = 1 then we are done, else ... */ 271 if( state.ssize > 1 && state.dsize > 1 ) 279 state.u, state.v, state.ssize, state.dsize ); 286 state.ssize, state.dsize, state.enter_x ); 343 int ssize = 0, dsize = 0; local 420 state->d[dsize] = weight; 421 state->idx2[dsize++] = i 916 int ssize = state->ssize, dsize = state->dsize; local [all...] |
cvimgwarp.cpp | 125 uchar* dst, int dststep, CvSize dsize, int pix_size ) 127 int* x_ofs = (int*)cvStackAlloc( dsize.width * sizeof(x_ofs[0]) ); 131 for( x = 0; x < dsize.width; x++ ) 133 t = (ssize.width*x*2 + MIN(ssize.width, dsize.width) - 1)/(dsize.width*2); 138 for( y = 0; y < dsize.height; y++, dst += dststep ) 141 t = (ssize.height*y*2 + MIN(ssize.height, dsize.height) - 1)/(dsize.height*2); 148 for( x = 0; x <= dsize.width - 2; x += 2 ) 157 for( ; x < dsize.width; x++ 636 CvSize ssize, dsize; local 1093 CvSize ssize, dsize; local 1368 CvSize ssize, dsize; local 1993 CvSize ssize, dsize; local 2159 CvSize ssize, dsize; local [all...] |
/external/python/cpython2/Modules/ |
dbmmodule.c | 105 krec.dsize = tmp_size; 118 return PyString_FromStringAndSize(drec.dptr, drec.dsize); 132 krec.dsize = tmp_size; 151 drec.dsize = tmp_size; 177 key.dsize = size; 230 item = PyString_FromStringAndSize(key.dptr, key.dsize); 255 key.dsize = tmp_size; 273 key.dsize = tmp_size; 277 return PyString_FromStringAndSize(val.dptr, val.dsize); 296 key.dsize = tmp_size [all...] |
gdbmmodule.c | 99 okey.dsize=0; 106 if(okey.dsize) free(okey.dptr); 120 if (!PyArg_Parse(key, "s#", &krec.dptr, &krec.dsize) ) 134 v = PyString_FromStringAndSize(drec.dptr, drec.dsize); 144 if (!PyArg_Parse(v, "s#", &krec.dptr, &krec.dsize) ) { 163 if (!PyArg_Parse(w, "s#", &drec.dptr, &drec.dsize)) { 198 key.dsize = PyString_GET_SIZE(arg); 258 item = PyString_FromStringAndSize(key.dptr, key.dsize); 287 if (!PyArg_ParseTuple(args, "s#:has_key", &key.dptr, &key.dsize)) 309 v = PyString_FromStringAndSize(key.dptr, key.dsize); [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tdbtool.c | 217 key.dsize = keylen; 219 dbuf.dsize = datalen; 241 key.dsize = keylen; 243 dbuf.dsize = datalen; 263 key.dsize = keylen; 288 key.dsize = keylen; 311 key.dsize = keylen; 340 printf("\nkey %d bytes\n", (int)key.dsize); 341 print_asc((const char *)key.dptr, key.dsize); 342 printf("\ndata %d bytes\n", (int)dbuf.dsize); [all...] |
/external/syslinux/gpxe/src/include/ |
coff.h | 47 unsigned long dsize; /* initialized data " " */ member in struct:__anon34776
|
/system/tpm/trunks/ftdi/ |
support.c | 97 int i = 0, j = 0, k = 0, dsize = 0, num_blocks = 0, total_size = 0, local 128 dsize = size - k; 129 if (dsize > xfer_size) { 130 dsize = xfer_size; 134 rsize = dsize - 1; 160 memcpy(buf + i, data + k, dsize); 163 i += dsize; 165 k += dsize;
|
/external/valgrind/lackey/ |
lk_main.c | 546 void addEvent_Dr_guarded ( IRSB* sb, IRAtom* daddr, Int dsize, IRAtom* guard ) 551 tl_assert(dsize >= 1 && dsize <= MAX_DSIZE); 558 evt->size = dsize; 566 void addEvent_Dr ( IRSB* sb, IRAtom* daddr, Int dsize ) 568 addEvent_Dr_guarded(sb, daddr, dsize, NULL); 573 void addEvent_Dw_guarded ( IRSB* sb, IRAtom* daddr, Int dsize, IRAtom* guard ) 578 tl_assert(dsize >= 1 && dsize <= MAX_DSIZE); 585 evt->size = dsize; 854 Int dsize; local [all...] |
/external/syslinux/com32/modules/ |
elf.c | 135 addr_t dsize = min(msize, ph->p_filesz); local 138 addr, dsize, msize); 147 if (syslinux_add_memmap(&amap, addr, dsize, SMT_ALLOC)) 153 (&ml, addr, (addr_t) cptr + ph->p_offset, dsize)) 156 if (msize > dsize) { 159 (&mmap, addr + dsize, msize - dsize, SMT_ZERO))
|
/external/syslinux/com32/include/syslinux/ |
boot.h | 52 const void *descbuf, uint32_t dsize);
|
/toolchain/binutils/binutils-2.25/include/coff/ |
ia64.h | 48 char dsize[4]; /* initialized data " " */ member in struct:__anon115964
|
external.h | 49 char dsize[4]; /* initialized data " " */ member in struct:external_aouthdr 65 char dsize[4]; /* Initialized data " ". */ member in struct:external_aouthdr64
|
apollo.h | 50 char dsize[4]; /* initialized data " " */ member in struct:__anon115930
|
/external/syslinux/com32/mboot/ |
map.c | 180 addr_t dsize = min(msize, ph->p_filesz); local 187 addr, dsize, msize); 205 (&ml, addr, (addr_t) cptr + ph->p_offset, dsize)) { 210 if (msize > dsize) { 213 (&mmap, addr + dsize, msize - dsize, SMT_ZERO)) {
|
/external/ltp/testcases/network/lib6/ |
in6_02.c | 159 int dsize = -1; local 167 dsize = strtol(line + 7, &p, 0); 171 dsize *= 1024; 176 return dsize; 245 "(%d iterations) dsize before %d dsize after %d", i,
|
/toolchain/binutils/binutils-2.25/include/aout/ |
encap.h | 58 long dsize; member in struct:coffheader
|
/system/core/fastboot/ |
protocol.cpp | 99 uint32_t dsize = strtol(status + 4, 0, 16); local 100 if (dsize > size) { 101 g_error = android::base::StringPrintf("data size too large (%d)", dsize); 105 return dsize;
|