/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) 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) 34 size_t n = dsize; 41 n = dsize - dlen;
|
/external/v8/src/arm64/ |
cpu-arm64.cc | 50 uintptr_t dsize = sizes.dcache_line_size(); local 53 DCHECK(CountSetBits(dsize, 64) == 1); 55 uintptr_t dstart = start & ~(dsize - 1); 70 "add %[dline], %[dline], %[dsize] \n\t" 102 : [dsize] "r" (dsize),
|
/external/opencv3/modules/cudawarping/include/opencv2/ |
cudawarping.hpp | 93 @param dst Destination image with the same type as src . The size is dsize (when it is non-zero) 95 @param dsize Destination image size. If it is zero, it is computed as: 96 \f[\texttt{dsize = Size(round(fx*src.cols), round(fy*src.rows))}\f] 97 Either dsize or both fx and fy must be non-zero. 99 \f[\texttt{(double)dsize.width/src.cols}\f] 101 \f[\texttt{(double)dsize.height/src.rows}\f] 108 CV_EXPORTS void resize(InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation = INTER_LINEAR, Stream& stream = Stream::Null()); 114 @param dst Destination image with the same type as src . The size is dsize . 116 @param dsize Size of the destination image. 126 CV_EXPORTS void warpAffine(InputArray src, OutputArray dst, InputArray M, Size dsize, int flags = INTER_LINEAR [all...] |
/external/opencv3/modules/cudawarping/src/ |
resize.cpp | 57 void cv::cuda::resize(InputArray _src, OutputArray _dst, Size dsize, double fx, double fy, int interpolation, Stream& stream) 74 CV_Assert( !(dsize == Size()) || (fx > 0 && fy > 0) ); 76 if (dsize == Size()) 78 dsize = Size(saturate_cast<int>(src.cols * fx), saturate_cast<int>(src.rows * fy)); 82 fx = static_cast<double>(dsize.width) / src.cols; 83 fy = static_cast<double>(dsize.height) / src.rows; 86 _dst.create(dsize, src.type()); 89 if (dsize == src.size())
|
warp.cpp | 78 void cv::cuda::buildWarpAffineMaps(InputArray _M, bool inverse, Size dsize, OutputArray _xmap, OutputArray _ymap, Stream& stream) 86 _xmap.create(dsize, CV_32FC1); 87 _ymap.create(dsize, CV_32FC1); 107 void cv::cuda::buildWarpPerspectiveMaps(InputArray _M, bool inverse, Size dsize, OutputArray _xmap, OutputArray _ymap, Stream& stream) 115 _xmap.create(dsize, CV_32FC1); 116 _ymap.create(dsize, CV_32FC1); 183 void cv::cuda::warpAffine(InputArray _src, OutputArray _dst, InputArray _M, Size dsize, int flags, int borderMode, Scalar borderValue, Stream& stream) 196 _dst.create(dsize, src.type()); 322 void cv::cuda::warpPerspective(InputArray _src, OutputArray _dst, InputArray _M, Size dsize, int flags, int borderMode, Scalar borderValue, Stream& stream) 335 _dst.create(dsize, src.type()) [all...] |
/external/vixl/src/vixl/a64/ |
cpu-a64.cc | 93 uintptr_t dsize = static_cast<uintptr_t>(dcache_line_size_); local 95 uintptr_t dline = start & ~(dsize - 1); 99 VIXL_ASSERT(IsPowerOf2(dsize)); 120 dline += dsize;
|
/external/avahi/avahi-utils/ |
stdb.c | 74 data.dsize = 0; 81 key.dsize = strlen(k); 97 key.dsize = strlen(k); 111 key.dsize = strlen(k); 125 key.dsize = strlen(name); 138 buffer = avahi_strndup(data.dptr, data.dsize); 185 key.dsize = strlen(enum_key); 201 enum_key = avahi_strndup(key.dptr, key.dsize);
|
/external/skia/samplecode/ |
SampleManyRects.cpp | 38 SkISize dsize = canvas->getDeviceSize(); variable 44 int x = fRandom.nextRangeU(0, dsize.fWidth); 45 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/opencv3/modules/imgproc/src/ |
emd.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 ); 263 /* if ssize = 1 or dsize = 1 then we are done, else ... */ 264 if( state.ssize > 1 && state.dsize > 1 ) 272 state.u, state.v, state.ssize, state.dsize ); 279 state.ssize, state.dsize, state.enter_x ); 332 int ssize = 0, dsize = 0; local 400 state->d[dsize] = weight; 401 state->idx2[dsize++] = i 893 int ssize = state->ssize, dsize = state->dsize; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tdbtool.c | 216 key.dsize = keylen; 218 dbuf.dsize = datalen; 240 key.dsize = keylen; 242 dbuf.dsize = datalen; 262 key.dsize = keylen; 287 key.dsize = keylen; 310 key.dsize = keylen; 339 printf("\nkey %d bytes\n", (int)key.dsize); 340 print_asc((const char *)key.dptr, key.dsize); 341 printf("\ndata %d bytes\n", (int)dbuf.dsize); [all...] |
/external/opencv3/modules/imgproc/test/ |
test_imgwarp_strict.cpp | 151 Size ssize = randSize(rng), dsize; local 207 dsize.width = saturate_cast<int>((ssize.width + scale_x - 1) / scale_x); 208 dsize.height = saturate_cast<int>((ssize.height + scale_y - 1) / scale_y); 210 dst = Mat::zeros(dsize, src.type()); 242 Size dsize = dst.size(), ssize = src.size(); local 244 dsize.width *= cn; 255 for (int dy = 0; dy < dsize.height; ++dy) 260 for (int dx = 0; dx < dsize.width; ++dx) 268 PRINT_TO_LOG("Dsize: (%d, %d)\n", dsize.width / cn, dsize.height) [all...] |
/system/tpm/trunks/ftdi/ |
support.c | 98 int i = 0, j = 0, k = 0, dsize = 0, num_blocks = 0, total_size = 0, local 129 dsize = size - k; 130 if (dsize > xfer_size) { 131 dsize = xfer_size; 135 rsize = dsize - 1; 161 memcpy(buf + i, data + k, dsize); 164 i += dsize; 166 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...] |
/toolchain/binutils/binutils-2.25/include/coff/ |
ia64.h | 48 char dsize[4]; /* initialized data " " */ member in struct:__anon75827
|
external.h | 49 char dsize[4]; /* initialized data " " */ member in struct:external_aouthdr 65 char dsize[4]; /* Initialized data " ". */ member in struct:external_aouthdr64
|
/external/opencv3/modules/cudawarping/test/ |
test_warp_affine.cpp | 114 template <typename T, template <typename> class Interpolator> void warpAffineImpl(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal) 118 dst.create(dsize, src.type()); 120 for (int y = 0; y < dsize.height; ++y) 122 for (int x = 0; x < dsize.width; ++x) 133 void warpAffineGold(const cv::Mat& src, const cv::Mat& M, bool inverse, cv::Size dsize, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) 135 typedef void (*func_t)(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal); 170 funcs[interpolation][src.depth()](src, M, dsize, dst, borderType, borderVal); 175 funcs[interpolation][src.depth()](src, iM, dsize, dst, borderType, borderVal);
|
test_warp_perspective.cpp | 115 template <typename T, template <typename> class Interpolator> void warpPerspectiveImpl(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal) 119 dst.create(dsize, src.type()); 121 for (int y = 0; y < dsize.height; ++y) 123 for (int x = 0; x < dsize.width; ++x) 136 void warpPerspectiveGold(const cv::Mat& src, const cv::Mat& M, bool inverse, cv::Size dsize, cv::Mat& dst, int interpolation, int borderType, cv::Scalar borderVal) 138 typedef void (*func_t)(const cv::Mat& src, const cv::Mat& M, cv::Size dsize, cv::Mat& dst, int borderType, cv::Scalar borderVal); 173 funcs[interpolation][src.depth()](src, M, dsize, dst, borderType, borderVal); 178 funcs[interpolation][src.depth()](src, iM, dsize, dst, borderType, borderVal);
|
test_remap.cpp | 58 cv::Size dsize = xmap.size(); local 60 dst.create(dsize, src.type()); 62 for (int y = 0; y < dsize.height; ++y) 64 for (int x = 0; x < dsize.width; ++x)
|
test_resize.cpp | 59 cv::Size dsize(cv::saturate_cast<int>(src.cols * fx), cv::saturate_cast<int>(src.rows * fy)); 61 dst.create(dsize, src.type()); 66 for (int y = 0; y < dsize.height; ++y) 68 for (int x = 0; x < dsize.width; ++x)
|
/external/e2fsprogs/misc/ |
e2undo.c | 56 tdb_key.dsize = sizeof(mtime_key); 77 tdb_key.dsize = sizeof(uuid_key); 102 tdb_key.dsize = sizeof(blksize_key); 210 data.dsize, blk_num); 212 -data.dsize, data.dptr);
|