/external/icu/icu4c/source/test/perf/strsrchperf/ |
strsrchperf.h | 19 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* status); 28 UStringSearch* srch; member in class:StringSearchPerfFunction 32 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); 45 srch = search; 55 UStringSearch* srch; member in class:StringSearchPerformanceTest 66 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { 69 match = usearch_first(srch, status); 71 match = usearch_next(srch, status); 75 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { 78 match = usearch_last(srch, status) [all...] |
strsrchperf.cpp | 22 srch = NULL; 68 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); 81 if (srch != NULL) { 82 usearch_close(srch); 99 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen, pttrn, pttrnLen); 104 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUBackwardSearch, srch, src, srcLen, pttrn, pttrnLen);
|
/external/llvm/test/Object/ |
coff-weak-externals.test | 4 CHECK: AUX indx 9 srch 2
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
BitmapUtils.java | 28 * @param srcH the source height 47 * [vertSliceFrac * srcH], with care taken to keep the bounds 57 public static void calculateCroppedSrcRect(final int srcW, final int srcH, final int dstW, 66 final float hScale = (float) srcH / dstH; 78 final int srcHalfSliceH = Math.min(srcCroppedSliceH, srcH) / 2; 86 final int maxCenterV = srcH - srcHalfSliceH; 87 centerV = Math.max(minCenterV, Math.min(maxCenterV, Math.round(srcH * vertSliceFrac))); 90 .round(Math.abs(srcH - srcCroppedSliceH) * vertSliceFrac + srcHalfSliceH); 99 * @param srcH 104 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH [all...] |
/prebuilts/go/darwin-x86/src/image/draw/ |
bench_test.go | 16 srcw, srch = 400, 300 const 79 src1 := image.NewCMYK(image.Rect(0, 0, srcw, srch)) 80 for y := 0; y < srch; y++ { 92 src1 := image.NewGray(image.Rect(0, 0, srcw, srch)) 93 for y := 0; y < srch; y++ { 102 src1 := image.NewRGBA(image.Rect(0, 0, srcw, srch)) 103 for y := 0; y < srch; y++ { 115 src1 := image.NewRGBA64(image.Rect(0, 0, srcw, srch)) 116 for y := 0; y < srch; y++ { 128 src1 := image.NewNRGBA(image.Rect(0, 0, srcw, srch)) [all...] |
/prebuilts/go/linux-x86/src/image/draw/ |
bench_test.go | 16 srcw, srch = 400, 300 const 79 src1 := image.NewCMYK(image.Rect(0, 0, srcw, srch)) 80 for y := 0; y < srch; y++ { 92 src1 := image.NewGray(image.Rect(0, 0, srcw, srch)) 93 for y := 0; y < srch; y++ { 102 src1 := image.NewRGBA(image.Rect(0, 0, srcw, srch)) 103 for y := 0; y < srch; y++ { 115 src1 := image.NewRGBA64(image.Rect(0, 0, srcw, srch)) 116 for y := 0; y < srch; y++ { 128 src1 := image.NewNRGBA(image.Rect(0, 0, srcw, srch)) [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
PlaneCapabilities.cpp | 170 int srcW, srcH; 174 srcH = (int)src.bottom - (int)src.top; 188 return ((srcW == dstW) && (srcH == dstH)) ? true : false; 192 if ((srcW > INTEL_OVERLAY_MAX_WIDTH - 1) || (srcH > INTEL_OVERLAY_MAX_HEIGHT - 1)) { 196 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { 204 srcW = srcH; 205 srcH = tmp; 215 float scaleY = (float)srcH / dstH;
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
PlaneCapabilities.cpp | 190 int srcW, srcH; 194 srcH = (int)src.bottom - (int)src.top; 200 return ((srcW == dstW) && (srcH == dstH)) ? true : false; 204 if ((srcW > INTEL_OVERLAY_MAX_WIDTH - 1) || (srcH > INTEL_OVERLAY_MAX_HEIGHT - 1)) { 210 WTRACE("source size %dx%d hit overlay resolution limitation.", srcW, srcH); 216 if (dstW <= 100 || dstH <= 1 || srcW <= 100 || srcH <= 1) { 224 srcW = srcH; 225 srcH = tmp; 235 float scaleY = (float)srcH / dstH; 241 if (trans == HAL_TRANSFORM_ROT_90 && (float)srcW / srcH != (float)dstW / dstH) [all...] |
/hardware/intel/img/psb_video/src/x11/ |
psb_ctexture.c | 226 unsigned short srch, 265 srcw = srch; 266 srch = tmp; 405 srcw=%d, srch=%d, destx=%d, desty=%d, destw=%d, desth=%d, cur_buffer=%d\n", 406 srcx, srcy, srcw, srch, xoffset, yoffset, xres, yres, texture_priv->extend_current_blt_buffer); 409 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->extend_blt_meminfo[texture_priv->extend_current_blt_buffer], surface, srcx, srcy, srcw, srch, 0, 0, local 415 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->extend_blt_meminfo[texture_priv->extend_current_blt_buffer], surface, srcx, srcy, srcw, srch, 0, 0, local 465 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_putsurface_ctexture: Main video Pixmap, coordinate: srcx= %d, srcy=%d, srcw=%d, srch=%d, destx=%d, desty=%d, destw=%d, desth=%d, cur_buffer=%d\n", 466 srcx, srcy, srcw, srch, destx, desty, destw, desth, texture_priv->current_blt_buffer); 468 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo_pixmap, surface, srcx, srcy, srcw, srch, destx, desty, destw, desth, 1 local 473 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo_pixmap, surface, srcx, srcy, srcw, srch, destx, desty, destw, desth, 0, local 487 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw, srch, destx, desty, destw, desth, 1, local 492 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw, srch, destx, desty, destw, desth, 0, local 505 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->flip_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw, srch, destx, desty, local 510 psb_putsurface_textureblit(ctx, (unsigned char *)texture_priv->flip_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw, srch, destx, desty, local [all...] |
psb_x11.h | 116 unsigned short srch, 134 unsigned short srch, 151 unsigned short srch,
|
psb_x11.c | 111 unsigned short srch, 144 if (srch <= desth) 145 height = srch; 158 drv_debug_msg(VIDEO_DEBUG_GENERAL, "PutSurface: src w x h = %d x %d\n", srcw, srch); 462 unsigned short srch, 490 psb_putsurface_x11(ctx, surface, draw, srcx, srcy, srcw, srch, 502 pnw_check_output_method(ctx, obj_surface, srcw, srch, destw, desth, draw); 510 srcx, srcy, srcw, srch, 526 srcx, srcy, srcw, srch, 532 srcx, srcy, srcw, srch, [all...] |
/external/libvpx/libvpx/vp8/common/ |
extend.c | 93 int srcx, int srch, int srcw) { 106 if (srcy + srch != src->y_height) eb = 0; 110 dst->y_buffer + dst_y_offset, dst->y_stride, srch, srcw, 117 srch = (srch + 1) >> 1; 121 dst->u_buffer + dst_uv_offset, dst->uv_stride, srch, 125 dst->v_buffer + dst_uv_offset, dst->uv_stride, srch,
|
extend.h | 26 int srcx, int srch, int srcw);
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_extend.h | 26 int srcx, int srch, int srcw);
|
vp9_extend.c | 158 int srcx, int srch, int srcw) { 162 const int eb_y = srcy + srch != src->y_height 177 const int srch_uv = ROUND_POWER_OF_TWO(srch, 1); 181 dst->y_buffer + dst_y_offset, dst->y_stride, srcw, srch,
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
PlaneCapabilities.cpp | 176 int srcW, srcH; 180 srcH = (int)src.bottom - (int)src.top; 186 return ((srcW == dstW) && (srcH == dstH)) ? true : false; 190 if ((srcW > INTEL_OVERLAY_MAX_WIDTH - 1) || (srcH > INTEL_OVERLAY_MAX_HEIGHT - 1)) { 194 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { 201 if (srcW > 256 || srcH > 256) {
|
/hardware/intel/img/psb_video/src/android/ |
psb_output_android.c | 155 unsigned short srch, 176 psb_putsurface_textureblit(ctx, data, surface, srcx, srcy, srcw, srch, 195 unsigned short srch, 210 float _slope_xy = (float)srch / srcw; 230 srcx, srcy, srcw, srch, destx, desty, destw, desth); 233 ctx, surface, srcx, srcy, srcw, srch, 282 unsigned short srch, 297 if ((srcw >= 2048) || (srch >= 2048)) { 345 _slope_xy = (float)srcw / srch; 347 _slope_xy = (float)srch / srcw [all...] |
/external/skia/src/core/ |
SkMaskBlurFilter.cpp | 82 size_t srcH = src.fBounds.height(); 85 size_t dstH = srcH + 2 * borderH; 103 size_t tmpW = srcH; 108 for (size_t y = 0; y < srcH; y++) { 128 for (size_t y = 0; y < srcH; y++) { 140 auto srcEnd = &src.fImage[src.fRowBytes * srcH]; 150 for (size_t y = 0; y < srcH; y++) {
|
/hardware/intel/common/libva/va/android/ |
va_android.cpp | 195 unsigned short srch, 213 unsigned short srch, 234 VA_TRACE_LOG(va_TracePutSurface, dpy, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch, 238 return ctx->vtable->vaPutSurface( ctx, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch,
|
/hardware/intel/common/libva/va/x11/ |
va_x11.c | 223 unsigned short srch, 241 unsigned short srch, 259 VA_TRACE_LOG(va_TracePutSurface, dpy, surface, (void *)draw, srcx, srcy, srcw, srch, 263 return ctx->vtable->vaPutSurface( ctx, surface, (void *)draw, srcx, srcy, srcw, srch,
|
/hardware/qcom/display/msm8909/liboverlay/ |
overlayRotator.h | 111 static int getDownscaleFactor(const int& srcW, const int& srcH, 179 static int getDownscaleFactor(const int& srcW, const int& srcH, 195 friend int Rotator::getDownscaleFactor(const int& srcW, const int& srcH, 247 /* Caller's responsibility to swap srcW, srcH if there is a 90 transform 253 * - {srcW, srcH} mod downscale = 0 256 static int getDownscaleFactor(const int& srcW, const int& srcH, 281 friend int Rotator::getDownscaleFactor(const int& srcW, const int& srcH,
|
/hardware/qcom/display/msm8994/liboverlay/ |
overlayRotator.h | 111 static int getDownscaleFactor(const int& srcW, const int& srcH, 179 static int getDownscaleFactor(const int& srcW, const int& srcH, 195 friend int Rotator::getDownscaleFactor(const int& srcW, const int& srcH, 247 /* Caller's responsibility to swap srcW, srcH if there is a 90 transform 253 * - {srcW, srcH} mod downscale = 0 256 static int getDownscaleFactor(const int& srcW, const int& srcH, 281 friend int Rotator::getDownscaleFactor(const int& srcW, const int& srcH,
|
/hardware/intel/common/libva/va/ |
va_tpi.c | 79 unsigned short srch, 96 return tpi->vaPutSurfaceBuf( ctx, surface, data, data_len, srcx, srcy, srcw, srch,
|
va_backend_tpi.h | 56 unsigned short srch,
|
va_x11.h | 56 unsigned short srch,
|