Home
last modified time | relevance | path

Searched refs:ssize (Results 1 – 22 of 22) sorted by relevance

/external/opencv/cv/src/
Dcvimgwarp.cpp55 #define ICV_WARP_CLIP_X(x) ((unsigned)(x) < (unsigned)ssize.width ? \
56 (x) : (x) < 0 ? 0 : ssize.width - 1)
57 #define ICV_WARP_CLIP_Y(y) ((unsigned)(y) < (unsigned)ssize.height ? \
58 (y) : (y) < 0 ? 0 : ssize.height - 1)
124 icvResize_NN_8u_C1R( const uchar* src, int srcstep, CvSize ssize, in icvResize_NN_8u_C1R() argument
133 t = (ssize.width*x*2 + MIN(ssize.width, dsize.width) - 1)/(dsize.width*2); in icvResize_NN_8u_C1R()
134 t -= t >= ssize.width; in icvResize_NN_8u_C1R()
141 t = (ssize.height*y*2 + MIN(ssize.height, dsize.height) - 1)/(dsize.height*2); in icvResize_NN_8u_C1R()
142 t -= t >= ssize.height; in icvResize_NN_8u_C1R()
208 icvResize_Bilinear_##flavor##_CnR( const arrtype* src, int srcstep, CvSize ssize,\
[all …]
Dcvemd.cpp85 int ssize, dsize; member
125 CvNode1D * u, CvNode1D * v, int ssize, int dsize );
129 int ssize, int dsize, CvNode2D * enter_x );
271 if( state.ssize > 1 && state.dsize > 1 ) in cvCalcEMD2()
279 state.u, state.v, state.ssize, state.dsize ); in cvCalcEMD2()
286 state.ssize, state.dsize, state.enter_x ); in cvCalcEMD2()
343 int ssize = 0, dsize = 0; in icvInitEMD() local
405 state->s[ssize] = weight; in icvInitEMD()
406 state->idx1[ssize++] = i; in icvInitEMD()
427 if( ssize == 0 || dsize == 0 ) in icvInitEMD()
[all …]
/external/linux-tools-perf/src/tools/perf/util/include/linux/
Dkernel.h77 ssize_t ssize = size; in vscnprintf() local
81 return (i >= ssize) ? (ssize - 1) : i; in vscnprintf()
87 ssize_t ssize = size; in scnprintf() local
94 return (i >= ssize) ? (ssize - 1) : i; in scnprintf()
/external/bison/lib/
Dvbitset.c385 bitset_windex ssize; in vbitset_copy1() local
395 ssize = VBITSET_SIZE (src); in vbitset_copy1()
398 memcpy (dstp, srcp, sizeof (bitset_word) * ssize); in vbitset_copy1()
400 memset (dstp + sizeof (bitset_word) * ssize, 0, in vbitset_copy1()
401 sizeof (bitset_word) * (dsize - ssize)); in vbitset_copy1()
411 bitset_windex ssize; in vbitset_not() local
418 ssize = VBITSET_SIZE (src); in vbitset_not()
421 for (i = 0; i < ssize; i++) in vbitset_not()
425 memset (dstp + sizeof (bitset_word) * ssize, 0, in vbitset_not()
426 sizeof (bitset_word) * (dsize - ssize)); in vbitset_not()
[all …]
Debitset.c956 bitset_windex ssize; in ebitset_subset_p() local
962 ssize = EBITSET_SIZE (src); in ebitset_subset_p()
965 for (j = 0; j < ssize; j++) in ebitset_subset_p()
971 selt = j < ssize ? selts[j] : 0; in ebitset_subset_p()
998 bitset_windex ssize; in ebitset_disjoint_p() local
1004 ssize = EBITSET_SIZE (src); in ebitset_disjoint_p()
1007 for (j = 0; j < ssize; j++) in ebitset_disjoint_p()
1013 selt = j < ssize ? selts[j] : 0; in ebitset_disjoint_p()
/external/compiler-rt/lib/asan/
Dasan_linux.cc162 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument
165 *ssize = ucp->uc_stack.ss_size; in ReadContextStack()
168 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument
Dasan_interceptors.cc297 static void ClearShadowMemoryForContextStack(uptr stack, uptr ssize) { in ClearShadowMemoryForContextStack() argument
301 ssize += stack - bottom; in ClearShadowMemoryForContextStack()
302 ssize = RoundUpTo(ssize, PageSize); in ClearShadowMemoryForContextStack()
304 if (AddrIsInMem(bottom) && ssize && ssize <= kMaxSaneContextStackSize) { in ClearShadowMemoryForContextStack()
305 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack()
319 uptr stack, ssize; in INTERCEPTOR() local
320 ReadContextStack(ucp, &stack, &ssize); in INTERCEPTOR()
321 ClearShadowMemoryForContextStack(stack, ssize); in INTERCEPTOR()
327 ClearShadowMemoryForContextStack(stack, ssize); in INTERCEPTOR()
Dasan_internal.h82 void ReadContextStack(void *context, uptr *stack, uptr *ssize);
Dasan_win.cc201 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument
Dasan_mac.cc224 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument
/external/jpeg/
Djdmaster.c150 int ssize = cinfo->min_DCT_scaled_size; in jpeg_calc_output_dimensions() local
151 while (ssize < DCTSIZE && in jpeg_calc_output_dimensions()
152 (compptr->h_samp_factor * ssize * 2 <= in jpeg_calc_output_dimensions()
154 (compptr->v_samp_factor * ssize * 2 <= in jpeg_calc_output_dimensions()
156 ssize = ssize * 2; in jpeg_calc_output_dimensions()
158 compptr->DCT_scaled_size = ssize; in jpeg_calc_output_dimensions()
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jdmaster.c134 int ssize = cinfo->min_DCT_scaled_size; in jpeg_calc_output_dimensions() local
135 while (ssize < DCTSIZE && in jpeg_calc_output_dimensions()
136 (compptr->h_samp_factor * ssize * 2 <= in jpeg_calc_output_dimensions()
138 (compptr->v_samp_factor * ssize * 2 <= in jpeg_calc_output_dimensions()
140 ssize = ssize * 2; in jpeg_calc_output_dimensions()
142 compptr->DCT_scaled_size = ssize; in jpeg_calc_output_dimensions()
/external/vboot_reference/utility/
Dbmpblk_util.c101 uint32_t ssize; in do_efi_decompress() local
108 r = EfiGetInfo(ibuf, isize, &osize, &ssize); in do_efi_decompress()
115 sbuf = malloc(ssize); in do_efi_decompress()
118 ssize, in do_efi_decompress()
132 r = EfiDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in do_efi_decompress()
Defidecompress.c1073 uint32_t ssize=0, osize=0; in main() local
1074 EFI_STATUS r = GetInfo(ibuf, isize, &osize, &ssize); in main()
1082 ssize, osize); in main()
1084 uint8_t *sbuf = malloc(ssize); in main()
1088 ssize, in main()
1103 r = TianoDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in main()
1110 r = EfiDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in main()
/external/elfutils/src/tests/
Dbacktrace.c361 ssize_t ssize = readlink (selfpathname, data.selfpath, in exec_dump() local
364 assert (ssize > 0 && ssize < (ssize_t) sizeof (data.selfpath)); in exec_dump()
365 data.selfpath[ssize] = '\0'; in exec_dump()
/external/llvm/lib/Support/
Dregcomp.c69 sopno ssize; /* malloced strip size (allocated) */ member
194 p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ in llvm_regcomp()
195 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); in llvm_regcomp()
1331 enlarge(p, p->ssize + len); /* this many unexpected additions */ in dupl()
1332 assert(p->ssize >= p->slen + len); in dupl()
1357 if (p->slen >= p->ssize) in doemit()
1358 enlarge(p, (p->ssize+1) / 2 * 3); /* +50% */ in doemit()
1359 assert(p->slen < p->ssize); in doemit()
1422 if (p->ssize >= size) in enlarge()
1436 p->ssize = size; in enlarge()
/external/lldb/source/Plugins/Process/POSIX/
DRegisterContext_i386.h147 uint32_t ssize; // Stack segment size. member
DRegisterContextLinux_x86_64.cpp82 uint64_t ssize; // Stack segment size. member
/external/skia/src/core/
DSkDraw.cpp840 const SkPoint& ssize = (kStroke_RectType == rtype) in drawRect() local
843 bbox.outset(SkScalarHalf(ssize.x()), SkScalarHalf(ssize.y())); in drawRect()
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h159 DWORD ssize; member
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java1973 final Segment<K, V>[] newSegmentArray(int ssize) { in newSegmentArray() argument
1974 return new Segment[ssize]; in newSegmentArray()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java1962 final Segment<K, V>[] newSegmentArray(int ssize) { in newSegmentArray() argument
1963 return new Segment[ssize]; in newSegmentArray()