/third_party/nghttp2/src/ |
H A D | template_test.cc | 44 ImmutableString from_cstr("alpha"); in test_template_immutable_string() 46 CU_ASSERT(0 == strcmp("alpha", from_cstr.c_str())); in test_template_immutable_string() 49 CU_ASSERT("alpha" == from_cstr); in test_template_immutable_string() 50 CU_ASSERT(from_cstr == "alpha"); in test_template_immutable_string() 51 CU_ASSERT(std::string("alpha") == from_cstr); in test_template_immutable_string() 52 CU_ASSERT(from_cstr == std::string("alpha")); in test_template_immutable_string() 79 CU_ASSERT("alpha" == move); in test_template_immutable_string() 128 std::string a = "alpha"; in test_template_immutable_string() 142 std::string alpha = "alpha"; in test_template_string_ref() local [all...] |
/third_party/libdrm/tests/etnaviv/ |
H A D | write_bmp.c | 67 bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha) in bmp_header_write() argument 90 .alpha_mask = alpha ? 0xFF000000 : 0x00000000, in bmp_header_write() 136 bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename) in bmp_dump32_ex() argument 146 bmp_header_write(fd, width, height, bgra, flip, alpha); in bmp_dump32_ex()
|
/third_party/python/Tools/scripts/ |
H A D | generate_re_casefix.py | 37 def alpha(i): function 69 print(" '%s' (U+%04x, %s)" % (alpha(i), i, uname(i)), 86 alpha(i), 87 ''.join(map(alpha, t)),
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | D3DImageFormatConversionTest.cpp | 76 srcColorF[0].alpha = 1.0f; // Red in runTest() 80 srcColorF[1].alpha = 1.0f; // Green in runTest() 84 srcColorF[2].alpha = 1.0f; // Blue in runTest() 88 srcColorF[3].alpha = 1.0f; // Red + Green (Yellow) in runTest()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | typedefOnStatements.js | 75 var alpha = { alpha: "aleph" } 76 /** @typedef {{ alpha: string }} Alpha */ 154 var alpha = { alpha: "aleph" };
155 /** @typedef {{ alpha: string }} Alpha */
|
/third_party/skia/include/core/ |
H A D | SkColorPriv.h | 18 alpha * value / 255. 20 In debugging, asserts that alpha is 0..255 22 static inline unsigned SkAlpha255To256(U8CPU alpha) { in SkAlpha255To256() argument 23 SkASSERT(SkToU8(alpha) == alpha); in SkAlpha255To256() 26 return alpha + 1; in SkAlpha255To256() 102 * the components are 0..255, and are already premultiplied (i.e. alpha >= color)
|
/third_party/skia/docs/examples/ |
H A D | SKIA_LOGO_ANIMATE.cpp | 75 const uint8_t alpha = pos*255.999; in REG_FIDDLE_ANIMATED() local 78 p.setAlpha(alpha); in REG_FIDDLE_ANIMATED() 81 p.setAlpha(alpha); in REG_FIDDLE_ANIMATED() 84 p.setAlpha(alpha); in REG_FIDDLE_ANIMATED()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDrawBuffersIndexedTests.cpp | 125 , alpha (alpha_) in SeparateBlendEq() 130 BlendEq alpha; member 149 , alpha (alpha_) in SeparateBlendFunc() 154 BlendFunc alpha; member 216 gl.blendEquationSeparate(blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); in setCommonBlendState() 228 gl.blendFuncSeparate(blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blendFunc.get<SeparateBlendFunc>().alpha.src, blendFunc.get<SeparateBlendFunc>().alpha.dst); in setCommonBlendState() 260 gl.blendEquationSeparatei(index, blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); in setIndexedBlendState() 272 gl.blendFuncSeparatei(index, blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blendFunc.get<SeparateBlendFunc>().alpha.src, blendFunc.get<SeparateBlendFunc>().alpha in setIndexedBlendState() 330 const float alpha = -1000.0f + 2000.0f * alphaScale; clearRenderbuffer() local 343 const deInt32 alpha = deInt32(info.valueMin.w() + (info.valueMax.w() - info.valueMin.w()) * alphaScale); clearRenderbuffer() local 356 const deUint32 alpha = deUint32(info.valueMax.w() * alphaScale); clearRenderbuffer() local 369 const float alpha = info.valueMin.w() + (info.valueMax.w() - info.valueMin.w()) * alphaScale; clearRenderbuffer() local 382 const float alpha = info.valueMax.w() * alphaScale; clearRenderbuffer() local 1293 const BlendEq alpha = getRandomBlendEq(rng); genRandomBlendState() local 1306 const BlendFunc alpha = getRandomBlendFunc(rng); genRandomBlendState() local 1317 const bool alpha = rng.getBool(); genRandomBlendState() local [all...] |
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | io_dec.c | 127 const uint8_t* alpha = io->a; in EmitAlphaYUV() local 135 if (alpha != NULL) { in EmitAlphaYUV() 137 memcpy(dst, alpha, mb_w * sizeof(*dst)); in EmitAlphaYUV() 138 alpha += io->width; in EmitAlphaYUV() 142 // the user requested alpha, but there is none, set it to opaque. in EmitAlphaYUV() 149 const uint8_t** alpha, int* const num_rows) { in GetAlphaSourceRow() 161 // Fortunately, *alpha data is persistent, so we can go back in GetAlphaSourceRow() 162 // one row and finish alpha blending, now that the fancy upscaler in GetAlphaSourceRow() 164 *alpha -= io->width; in GetAlphaSourceRow() 176 const uint8_t* alpha in EmitAlphaRGB() local 148 GetAlphaSourceRow(const VP8Io* const io, const uint8_t** alpha, int* const num_rows) GetAlphaSourceRow() argument 202 const uint8_t* alpha = io->a; EmitAlphaRGBA4444() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_minterpolate.c | 847 pixel_weights->weights[pixel_refs->nb] = b_weight * (ALPHA_MAX - alpha);\ 848 pixel_mvs->mvs[pixel_refs->nb][0] = av_clip((mv_x * alpha) / ALPHA_MAX, x_min, x_max);\ 849 pixel_mvs->mvs[pixel_refs->nb][1] = av_clip((mv_y * alpha) / ALPHA_MAX, y_min, y_max);\ 852 pixel_weights->weights[pixel_refs->nb] = b_weight * alpha;\ 853 pixel_mvs->mvs[pixel_refs->nb][0] = av_clip(-mv_x * (ALPHA_MAX - alpha) / ALPHA_MAX, x_min, x_max);\ 854 pixel_mvs->mvs[pixel_refs->nb][1] = av_clip(-mv_y * (ALPHA_MAX - alpha) / ALPHA_MAX, y_min, y_max);\ 858 static void bidirectional_obmc(MIContext *mi_ctx, int alpha) in bidirectional_obmc() argument 872 int a = dir ? alpha : (ALPHA_MAX - alpha); in bidirectional_obmc() 908 static void set_frame_data(MIContext *mi_ctx, int alpha, AVFram argument 966 var_size_bmc(MIContext *mi_ctx, Block *block, int x_mb, int y_mb, int n, int alpha) var_size_bmc() argument 1005 bilateral_obmc(MIContext *mi_ctx, Block *block, int mb_x, int mb_y, int alpha) bilateral_obmc() argument 1075 int plane, alpha; interpolate() local [all...] |
H A D | af_asupercut.c | 129 double alpha, beta, gamma, theta; in get_coeffs() local 153 alpha = 0.5 * (0.5 - beta) * sqrt(1. + pow((W - (1. / W)) / d, 2.)); in get_coeffs() 157 coeffs->b0 = 2. * alpha; in get_coeffs() 159 coeffs->b2 = -2. * alpha; in get_coeffs() 163 double alpha, beta, gamma, theta; in get_coeffs() local 187 alpha = 0.5 * (0.5 + beta) * ((1. - cos(theta)) / (1. - cos(theta_0))); in get_coeffs() 191 coeffs->b0 = 2. * alpha; in get_coeffs() 192 coeffs->b1 = -4. * alpha * cos(theta_0); in get_coeffs() 193 coeffs->b2 = 2. * alpha; in get_coeffs()
|
H A D | vf_drawbox.c | 146 double alpha = (double)ctx->yuv_color[A] / 255; in draw_region() local 149 row[0][x ] = (1 - alpha) * row[0][x ] + alpha * ctx->yuv_color[Y]; in draw_region() 150 row[1][x >> ctx->hsub] = (1 - alpha) * row[1][x >> ctx->hsub] + alpha * ctx->yuv_color[U]; in draw_region() 151 row[2][x >> ctx->hsub] = (1 - alpha) * row[2][x >> ctx->hsub] + alpha * ctx->yuv_color[V]; in draw_region() 207 float alpha = (float)ctx->rgba_color[A] / 255.f; in draw_region_rgb_packed() local 210 row[0][x*C] = (1.f - alpha) * row[0][x*C] + alpha * ct in draw_region_rgb_packed() [all...] |
/third_party/skia/src/core/ |
H A D | SkAAClip.cpp | 61 * Data runs are packed [count, alpha] 89 U8CPU alpha() const { return fAlpha; } in alpha() function in __anon18671::RowIter 200 return segments * 2; // each segment is row[0] + row[1] (n + alpha) in ComputeRowSizeForWidth() 276 void addRun(int x, int y, U8CPU alpha, int count) { in addRun() argument 308 AppendRun(data, alpha, count); in addRun() 313 void addColumn(int x, int y, U8CPU alpha, int height) { in addColumn() argument 316 this->addRun(x, y, alpha, 1); in addColumn() 340 // as the rect with full alpha. in addAntiRectRun() 513 static void AppendRun(SkTDArray<uint8_t>& data, U8CPU alpha, int count) { in AppendRun() argument 521 ptr[1] = alpha; in AppendRun() [all...] |
H A D | SkScan_Antihair.cpp | 46 #define ApplyGamma(table, alpha) (table)[alpha] 65 #define ApplyGamma(table, alpha) SkToU8(alpha) 71 U8CPU alpha) { in call_hline_blitter() 83 aa[0] = ApplyGamma(gGammaTable, alpha); in call_hline_blitter() 631 static void do_scanline(FDot8 L, int top, FDot8 R, U8CPU alpha, 636 blitter->blitV(L >> 8, top, 1, SkAlphaMul(alpha, R - L)); 643 blitter->blitV(left, top, 1, SkAlphaMul(alpha, 256 - (L & 0xFF))); 650 call_hline_blitter(blitter, left, top, width, alpha); 70 call_hline_blitter(SkBlitter* blitter, int x, int y, int count, U8CPU alpha) call_hline_blitter() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_s3tc.c | 213 * @param alpha_lo used for storing lower 32bit of alpha components for dxt3/5 214 * @param alpha_hi used for storing higher 32bit of alpha components for dxt3/5 332 * NOTE: alpha channel will be set to 0 401 * NOTE: alpha channel will be set to 0 634 /* fix up alpha */ in s3tc_dxt1_full_to_rgba_aos() 726 /* fix up alpha */ in s3tc_dxt1_full_to_rgba_aos() 753 * @param alphas is a <n x i64> vector containing the alpha values 793 * Extract alpha values. Since we now need to select from in s3tc_dxt3_to_rgba_aos() 799 * alpha value instead of 2x32... in s3tc_dxt3_to_rgba_aos() 903 LLVMValueRef sel_mask, tmp_mask, alpha, alpha6 in s3tc_dxt5_alpha_channel() local 1056 LLVMValueRef rgba, alpha; s3tc_dxt5_full_to_rgba_aos() local 1500 LLVMValueRef alpha, alphas0, alphas1, shift4_16, a[4], mask8hi; s3tc_decode_block_dxt3() local 1616 LLVMValueRef alpha, alpha0, alpha1, ares; s3tc_decode_block_dxt5() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | plane.c | 390 unsigned int *alpha) in tegra_plane_format_get_alpha() 393 *alpha = opaque; in tegra_plane_format_get_alpha() 399 *alpha = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format_get_alpha() 403 *alpha = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format_get_alpha() 407 *alpha = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format_get_alpha() 411 *alpha = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format_get_alpha() 415 *alpha = opaque; in tegra_plane_format_get_alpha() 424 * be emulated using the alpha formats and alpha blending disabled. 521 state->blending[index].alpha in tegra_plane_update_transparency() 389 tegra_plane_format_get_alpha(unsigned int opaque, unsigned int *alpha) tegra_plane_format_get_alpha() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | plane.c | 554 unsigned int *alpha) in tegra_plane_format_get_alpha() 557 *alpha = opaque; in tegra_plane_format_get_alpha() 563 *alpha = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format_get_alpha() 567 *alpha = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format_get_alpha() 571 *alpha = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format_get_alpha() 575 *alpha = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format_get_alpha() 579 *alpha = opaque; in tegra_plane_format_get_alpha() 588 * be emulated using the alpha formats and alpha blending disabled. 685 state->blending[index].alpha in tegra_plane_update_transparency() 553 tegra_plane_format_get_alpha(unsigned int opaque, unsigned int *alpha) tegra_plane_format_get_alpha() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_plane.c | 83 unsigned int alpha = DCU_LAYER_AB_NONE, bpp; in fsl_dcu_drm_plane_atomic_update() local 103 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update() 109 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update() 115 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update() 139 alpha); in fsl_dcu_drm_plane_atomic_update()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_plane.c | 88 unsigned int alpha = DCU_LAYER_AB_NONE, bpp; in fsl_dcu_drm_plane_atomic_update() local 108 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update() 114 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update() 120 alpha = DCU_LAYER_AB_WHOLE_FRAME; in fsl_dcu_drm_plane_atomic_update() 144 alpha); in fsl_dcu_drm_plane_atomic_update()
|
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
H A D | astc_image_load_store.cpp | 198 float alpha = pb->data_a[i]; in update_imageblock_flags() local 211 if (alpha < alpha_min) in update_imageblock_flags() 212 alpha_min = alpha; in update_imageblock_flags() 213 if (alpha > alpha_max) in update_imageblock_flags() 214 alpha_max = alpha; in update_imageblock_flags()
|
/kernel/linux/linux-6.6/arch/alpha/ |
H A D | Makefile | 2 # alpha/Makefile 39 libs-y += arch/alpha/lib/ 41 # export what is needed by arch/alpha/boot/Makefile 45 boot := arch/alpha/boot 57 $(Q)$(MAKE) $(build)=arch/alpha/kernel/syscalls all 60 echo '* boot - Compressed kernel image (arch/alpha/boot/vmlinux.gz)' 61 echo ' bootimage - SRM bootable image (arch/alpha/boot/bootimage)' 62 echo ' bootpfile - BOOTP bootable image (arch/alpha/boot/bootpfile)' 63 echo ' bootpzfile - compressed kernel BOOTP image (arch/alpha/boot/bootpzfile)'
|
/third_party/skia/experimental/tskit/bindings/ |
H A D | extension.cpp | 42 int alpha; member 63 printf("Object %d %s %f\n", o.alpha, o.beta.c_str(), o.gamma); in EMSCRIPTEN_BINDINGS() 87 .field("alpha", &CompoundObj::alpha) in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwrite.c | 216 /* Invert the alpha channel (in tRNS) */ in png_write_info() 1387 /* Swap location of alpha bytes from ARGB to RGBA */ in png_write_png() 1397 * alpha channel. in png_write_png() 1444 /* Invert the alpha channel from opacity to transparency */ in png_write_png() 1576 png_uint_16 alpha = in_ptr[aindex]; in png_write_image_16bit() local 1580 out_ptr[aindex] = alpha; in png_write_image_16bit() 1583 * component/alpha*65535 << 15. (I.e. 15 bits of precision); this in png_write_image_16bit() 1587 if (alpha > 0 && alpha < 65535) in png_write_image_16bit() 1588 reciprocal = ((0xffff<<15)+(alpha>> in png_write_image_16bit() 1642 png_unpremultiply(png_uint_32 component, png_uint_32 alpha, png_uint_32 reciprocal ) png_unpremultiply() argument 1728 png_uint_16 alpha = in_ptr[aindex]; png_write_image_8bit() local 1846 png_uint_16 alpha = entry[afirst ? 0 : channels-1]; png_image_set_PLTE() local 1942 int alpha = !colormap && (format & PNG_FORMAT_FLAG_ALPHA); png_image_write_main() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | kbdwin.h | 32 * @param alpha determines window shape 35 void ff_kbd_window_init(float *window, float alpha, int n); 36 void ff_kbd_window_init_fixed(int32_t *window, float alpha, int n);
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | regression-test-issue-3356.js | 15 var alpha = []; variable 19 alpha.concat(obj)
|