Home
last modified time | relevance | path

Searched +full:pure +full:- +full:c (Results 1 – 25 of 1028) sorted by relevance

12345678910>>...42

/third_party/skia/m133/src/sksl/generated/
Dsksl_gpu.minified.sksl2 "$pure $genIType mix($genIType,$genIType,$genBType);$pure $genBType mix($genBType"
3 ",$genBType,$genBType);$pure $genType fma($genType,$genType,$genType);$pure $genHType"
5 "$genHType frexp($genHType,out $genIType);$pure $genType ldexp($genType,$genIType"
6 ");$pure $genHType ldexp($genHType,$genIType);$pure uint packSnorm2x16(float2"
7 ");$pure uint packUnorm4x8(float4);$pure uint packSnorm4x8(float4);$pure float2"
8 " unpackSnorm2x16(uint);$pure float4 unpackUnorm4x8(uint);$pure float4 unpackSnorm4x8"
9 "(uint);$pure uint packHalf2x16(float2);$pure float2 unpackHalf2x16(uint);$pure"
10 " $genIType bitCount($genIType);$pure $genIType bitCount($genUType);$pure $genIType"
11 " findLSB($genIType);$pure $genIType findLSB($genUType);$pure $genIType findMSB"
12 "($genIType);$pure $genIType findMSB($genUType);$pure half4 sample(sampler2D"
[all …]
Dsksl_shared.minified.sksl2 "$pure $genType radians($genType);$pure $genHType radians($genHType);$pure $genType"
3 " degrees($genType);$pure $genHType degrees($genHType);$pure $genType sin($genType"
4 ");$pure $genHType sin($genHType);$pure $genType cos($genType);$pure $genHType"
5 " cos($genHType);$pure $genType tan($genType);$pure $genHType tan($genHType)"
6 ";$pure $genType asin($genType);$pure $genHType asin($genHType);$pure $genType"
7 " acos($genType);$pure $genHType acos($genHType);$pure $genType atan($genType"
8 ",$genType);$pure $genHType atan($genHType,$genHType);$pure $genType atan($genType"
9 ");$pure $genHType atan($genHType);$es3 $pure $genType sinh($genType);$es3 $pure"
10 " $genHType sinh($genHType);$es3 $pure $genType cosh($genType);$es3 $pure $genHType"
11 " cosh($genHType);$es3 $pure $genType tanh($genType);$es3 $pure $genHType tanh"
[all …]
Dsksl_shared.unoptimized.sksl2 "$pure $genType radians($genType degrees);$pure $genHType radians($genHType degrees"
3 ");$pure $genType degrees($genType radians);$pure $genHType degrees($genHType"
4 " radians);$pure $genType sin($genType angle);$pure $genHType sin($genHType angle"
5 ");$pure $genType cos($genType angle);$pure $genHType cos($genHType angle);$pure"
6 " $genType tan($genType angle);$pure $genHType tan($genHType angle);$pure $genType"
7 " asin($genType x);$pure $genHType asin($genHType x);$pure $genType acos($genType"
8 " x);$pure $genHType acos($genHType x);$pure $genType atan($genType y,$genType"
9 " x);$pure $genHType atan($genHType y,$genHType x);$pure $genType atan($genType"
10 " y_over_x);$pure $genHType atan($genHType y_over_x);$es3 $pure $genType sinh"
11 "($genType x);$es3 $pure $genHType sinh($genHType x);$es3 $pure $genType cosh"
[all …]
Dsksl_graphite_frag.minified.sksl2 "$pure half4 sk_error(){return half4(1.,0.,0.,1.);}$pure half4 sk_passthrough"
3 "(half4 a){return a;}$pure half4 sk_solid_shader(float4 a){return half4(a);}"
4 "$pure half4 sk_rgb_opaque(float4 a){return half4(half3(a.xyz),1.);}$pure half4"
5 " sk_alpha_only(float4 a){return half4(0.,0.,0.,half(a.w));}$pure float3 $k("
6 "int a,float3 b,half4 c,half4 d){float e=float(c.x);float f=float(c.y);float"
7 " g=float(c.z);float h=float(c.w);float i=float(d.x);float j=float(d.y);float"
10 "max(f+g*m,0.)/(i+j*m),k.xxx);break;case 3:b=mix(exp((b-j)*h)+i,pow(b*f,g.xxx"
11 "),lessThanEqual(b*f,1..xxx));b*=k+1.;break;case 4:b/=k+1.;b=mix(h*log(b-i)+"
12 "j,f*pow(b,g.xxx),lessThanEqual(b,1..xxx));break;}}return l*b;}$pure half4 sk_premul_alpha"
13 "(float4 a){return half4(half3(a.xyz*a.w),half(a.w));}$pure half4 sk_color_space_transform"
[all …]
Dsksl_graphite_frag.unoptimized.sksl7 "=32;const int $kMaskFormatA8=0;const float $kLinearInset=.50001;$pure half4"
8 " sk_error(){return half4(1.,0.,0.,1.);}$pure half4 sk_passthrough(half4 color"
9 "){return color;}$pure half4 sk_solid_shader(float4 colorParam){return half4"
10 "(colorParam);}$pure half4 sk_rgb_opaque(float4 colorParam){return half4(half3"
11 "(colorParam.xyz),1.);}$pure half4 sk_alpha_only(float4 colorParam){return half4"
12 "(0.,0.,0.,half(colorParam.w));}$pure float3 $apply_xfer_fn(int kind,float3 x"
14 ".y);float B=float(coeffs0.z);float C=float(coeffs0.w);float D=float(coeffs1"
16 "(x);{float3 x_C;switch(kind){case 1:x=mix(pow(A*x+B,G.xxx)+E,C*x+F,lessThan"
17 "(x,D.xxx));break;case 2:x_C=pow(x,C.xxx);x=pow(max(A+B*x_C,0.)/(D+E*x_C),F."
18 "xxx);break;case 3:x=mix(exp((x-E)*C)+D,pow(x*A,B.xxx),lessThanEqual(x*A,1.."
[all …]
Dsksl_gpu.unoptimized.sksl2 "$pure $genIType mix($genIType x,$genIType y,$genBType a);$pure $genBType mix"
3 "($genBType x,$genBType y,$genBType a);$pure $genType fma($genType a,$genType"
4 " b,$genType c);$pure $genHType fma($genHType a,$genHType b,$genHType c);$genType"
6 " exp);$pure $genType ldexp($genType x,$genIType exp);$pure $genHType ldexp("
7 "$genHType x,$genIType exp);$pure uint packSnorm2x16(float2 v);$pure uint packUnorm4x8"
8 "(float4 v);$pure uint packSnorm4x8(float4 v);$pure float2 unpackSnorm2x16(uint"
9 " p);$pure float4 unpackUnorm4x8(uint p);$pure float4 unpackSnorm4x8(uint p)"
10 ";$pure uint packHalf2x16(float2 v);$pure float2 unpackHalf2x16(uint v);$pure"
11 " $genIType bitCount($genIType value);$pure $genIType bitCount($genUType value"
12 ");$pure $genIType findLSB($genIType value);$pure $genIType findLSB($genUType"
[all …]
Dsksl_graphite_vert.minified.sksl2 "$pure float curve_type_using_inf_support(float4 a){return isinf(a.z)?2.:float"
3 "(isinf(a.w));}$pure bool $k(float a){return a!=0.;}$pure bool $l(float a){return"
4 " a==2.;}$pure float $m(float2 a,float2 b,float2 c,float2 d,float2x2 e){float2"
5 " f=e*(fma(-2..xx,b,c)+a);float2 g=e*(fma(-2..xx,c,d)+b);return max(dot(f,f)"
6 ",dot(g,g));}$pure float $n(float2 a,float2 b,float2 c,float2 d,float2x2 e){"
7 "float f=$m(a,b,c,d,e);return max(ceil(sqrt(3.*sqrt(f))),1.);}$pure float $o"
8 "(float2 a,float2 b,float2 c,float2 d,float2x2 e){float f=$m(a,b,c,d,e);return"
9 " ceil(log2(max(9.*f,1.))*.25);}$pure float $p(float2 a,float2 b,float2 c,float"
10 " d){float2 e=(min(min(a,b),c)+max(max(a,b),c))*.5;a-=e;b-=e;c-=e;float f=sqrt"
11 "(max(max(dot(a,a),dot(b,b)),dot(c,c)));float2 g=fma((-2.*d).xx,b,a)+c;float"
[all …]
Dsksl_graphite_vert.unoptimized.sksl3 "=2.;$pure float curve_type_using_inf_support(float4 p23){return isinf(p23.z"
4 ")?$kTriangularConicCurveType:float(isinf(p23.w));}$pure bool $is_conic_curve"
5 "(float curveType){return curveType!=$kCubicCurveType;}$pure bool $is_triangular_conic_curve"
8 ";$pure float $wangs_formula_max_fdiff_p2(float2 p0,float2 p1,float2 p2,float2"
9 " p3,float2x2 matrix){float2 d0=matrix*(fma(-2..xx,p1,p2)+p0);float2 d1=matrix"
10 "*(fma(-2..xx,p2,p3)+p1);return max(dot(d0,d0),dot(d1,d1));}$pure float $wangs_formula_cubic"
12 "(p0,p1,p2,p3,matrix);return max(ceil(sqrt($kLengthTerm*sqrt(m))),1.);}$pure"
15 "(log2(max($kLengthTermPow2*m,1.))*.25);}$pure float $wangs_formula_conic_p2"
16 "(float2 p0,float2 p1,float2 p2,float w){float2 C=(min(min(p0,p1),p2)+max(max"
17 "(p0,p1),p2))*.5;p0-=C;p1-=C;p2-=C;float m=sqrt(max(max(dot(p0,p0),dot(p1,p1"
[all …]
Dsksl_rt_shader.minified.sksl4 "float2 b,float4 c){half4 e=half4(c-b.xyxy)*half4(-1.,-1.,1.,1.);e=saturate("
6 ",shader b,float2 c,half2 d,half4 e,half4 f){half4 g=unpremul(a.eval(c));half2"
7 " h=half2(dot(g,e),dot(g,f));h=d*(h-.5);return b.eval(c+float2(h));}half4 sk_magnifier"
8 "(shader a,float2 b,float4 c,float4 d,float2 e){float2 f=d.xy+d.zw*b;float2 g"
9 "=min(b-c.xy,c.zw-b)*e;float h=all(lessThan(g,2..xx))?2.-length(2.-g):min(g."
10 "x,g.y);h=saturate(h);return a.eval(mix(b,f,h*h));}$pure half3 $b(half3 a){half"
11 " b=max(max(a.x,a.y),a.z);half e=min(min(a.x,a.y),a.z);half f=b-e;half g=1./"
13 "?g*(a.y-a.z)+i:(a.y>=a.z?g*(a.z-a.x)+2.:g*(a.x-a.y)+4.)));half k=b+e;half m"
14 "=k*.5;half n=b==e?0.:f/(m>.5?2.-k:k);return half3(j,n,m);}half3 sk_high_contrast"
15 "(half3 a,half b,half c,half d){if(b==1.)a=dot(half3(.2126,.7152,.0722),a).xxx"
[all …]
Dsksl_rt_shader.unoptimized.sksl4 " image,float2 coord,float4 decalBounds){half4 d=half4(decalBounds-coord.xyxy"
5 ")*half4(-1.,-1.,1.,1.);d=saturate(d+.5);return(((d.x*d.y)*d.z)*d.w)*image.eval"
9 "));displ=scale*(displ-.5);return colorMap.eval(coord+float2(displ));}half4 sk_magnifier"
12 "-lensBounds.xy,lensBounds.zw-coord)*invInset;float weight=all(lessThan(edgeInset"
13 ",2..xx))?2.-length(2.-edgeInset):min(edgeInset.x,edgeInset.y);weight=saturate"
14 "(weight);return src.eval(mix(coord,zoomCoord,weight*weight));}$pure half3 $high_contrast_rgb_to_hs…
15 "(half3 c){half mx=max(max(c.x,c.y),c.z);half mn=min(min(c.x,c.y),c.z);half d"
16 "=mx-mn;half invd=1./d;half g_lt_b=half(c.y<c.z?6.:0.);half h=.166666672*(mx"
17 "==mn?0.:(c.x>=c.y&&c.x>=c.z?invd*(c.y-c.z)+g_lt_b:(c.y>=c.z?invd*(c.z-c.x)+"
18 "2.:invd*(c.x-c.y)+4.)));half sum=mx+mn;half l=sum*.5;half s=mx==mn?0.:d/(l>"
[all …]
/third_party/skia/m133/src/sksl/
Dsksl_shared.sksl6 $pure $genType radians($genType degrees);
7 $pure $genHType radians($genHType degrees);
8 $pure $genType degrees($genType radians);
9 $pure $genHType degrees($genHType radians);
11 $pure $genType sin($genType angle);
12 $pure $genHType sin($genHType angle);
13 $pure $genType cos($genType angle);
14 $pure $genHType cos($genHType angle);
15 $pure $genType tan($genType angle);
16 $pure $genHType tan($genHType angle);
[all …]
Dsksl_ext.sksl.h2 * Copyright (c) 2025 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
21 // defines built-in interfaces supported by SkSL fragment shaders
34 // defines built-in interfaces supported by SkSL vertex shaders
47 $pure $genIType mix($genIType x, $genIType y, $genBType a);
48 $pure $genBType mix($genBType x, $genBType y, $genBType a);
49 $pure $genType fma($genType a, $genType b, $genType c);
50 $pure $genHType fma($genHType a, $genHType b, $genHType c);
53 $pure $genType ldexp($genType x, in $genIType exp);
54 $pure $genHType ldexp($genHType x, in $genIType exp);
[all …]
Dsksl_gpu.sksl3 $pure $genIType mix($genIType x, $genIType y, $genBType a);
4 $pure $genBType mix($genBType x, $genBType y, $genBType a);
5 $pure $genType fma($genType a, $genType b, $genType c);
6 $pure $genHType fma($genHType a, $genHType b, $genHType c);
9 $pure $genType ldexp($genType x, in $genIType exp);
10 $pure $genHType ldexp($genHType x, in $genIType exp);
12 $pure uint packSnorm2x16(float2 v);
13 $pure uint packUnorm4x8(float4 v);
14 $pure uint packSnorm4x8(float4 v);
15 $pure float2 unpackSnorm2x16(uint p);
[all …]
Dsksl_graphite_frag.sksl1 // Graphite-specific fragment shader code
35 $pure half4 sk_error() {
39 $pure half4 sk_passthrough(half4 color) {
43 $pure half4 sk_solid_shader(float4 colorParam) {
47 $pure half4 sk_rgb_opaque(float4 colorParam) {
51 $pure half4 sk_alpha_only(float4 colorParam) {
55 $pure float3 $apply_xfer_fn(int kind, float3 x, half4 coeffs0, half4 coeffs1) {
56 float G = coeffs0[0], A = coeffs0[1], B = coeffs0[2], C = coeffs0[3],
63 (C * x) + F,
67 float3 x_C = pow(x, float3(C));
[all …]
/third_party/glfw/deps/mingw/
Ddinput.h2 * Copyright (C) the Wine project
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
520 #define DIK_MINUS 0x0C /* - on main keyboard */
582 #define DIK_SUBTRACT 0x4A /* - on numeric keypad */
620 #define DIK_VOLUMEDOWN 0xAE /* Volume - */
658 #define DIK_NUMPADMINUS DIK_SUBTRACT /* - on numeric keypad */
703 #define DISEQUENCE_COMPARE(dwSq1,cmp,dwSq2) ((int)((dwSq1) - (dwSq2)) cmp 0)
1480 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; in DECL_WINELIB_TYPE_AW()
1481 STDMETHOD_(ULONG,AddRef)(THIS) PURE; in DECL_WINELIB_TYPE_AW()
1482 STDMETHOD_(ULONG,Release)(THIS) PURE; in DECL_WINELIB_TYPE_AW()
[all …]
/third_party/lame/dshow/
Diaudioprops.h5 * Copyright (c) 2000-2005 Marie Orlova, Peter Gubanov, Vitaly Ivanov, Elecard Ltd.
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
28 extern "C" {
30 // {ca7e9ef0-1cbe-11d3-8d29-00a0c94bbfee}
47 ) PURE; in DECLARE_INTERFACE_()
51 ) PURE; in DECLARE_INTERFACE_()
55 ) PURE; in DECLARE_INTERFACE_()
60 ) PURE; in DECLARE_INTERFACE_()
64 ) PURE; in DECLARE_INTERFACE_()
[all …]
/third_party/rust/rust/src/doc/unstable-book/src/language-features/
Dffi-pure.md5 ------
7 The `#[ffi_pure]` attribute applies clang's `pure` attribute to foreign
17 This attribute enables Rust to perform common optimizations, like sub-expression
18 elimination and loop optimizations. Some common examples of pure functions are
31 referentially-transparent, and are therefore more relaxed than `#[ffi_const]`
37 A `pure` function that returns unit has no effect on the abstract machine's
43 When translating C headers to Rust FFI, it is worth verifying for which targets
44 the `pure` attribute is enabled in those headers, and using the appropriate
46 `pure` are implemented identically by many C and C++ compilers, e.g., clang,
47 [GCC], [ARM C/C++ compiler], [IBM ILE C/C++], etc. they are not necessarily
[all …]
/third_party/rust/rust/tests/ui/asm/x86_64/
Dbad-options.stderr2 --> $DIR/bad-options.rs:8:18
7 error: the `pure` and `noreturn` options are mutually exclusive
8 --> $DIR/bad-options.rs:10:18
10 LL | asm!("", options(pure, nomem, noreturn));
13 error: asm with the `pure` option must have at least one output
14 --> $DIR/bad-options.rs:10:18
16 LL | asm!("", options(pure, nomem, noreturn));
19 error: asm with the `pure` option must have at least one output
20 --> $DIR/bad-options.rs:13:33
22 LL | asm!("{}", in(reg) foo, options(pure, nomem));
[all …]
Dbad-options.rs1 // only-x86_64
10 asm!("", options(pure, nomem, noreturn)); in main()
11 //~^ ERROR the `pure` and `noreturn` options are mutually exclusive in main()
12 //~^^ ERROR asm with the `pure` option must have at least one output in main()
13 asm!("{}", in(reg) foo, options(pure, nomem)); in main()
14 //~^ ERROR asm with the `pure` option must have at least one output in main()
22 asm!("{}", out(reg) foo, clobber_abi("C")); in main()
24 asm!("{}", out(reg) foo, clobber_abi("C"), clobber_abi("C")); in main()
26 //~| ERROR `C` ABI specified multiple times in main()
27 asm!("", out("eax") foo, clobber_abi("C")); in main()
[all …]
/third_party/rust/rust/tests/ui/asm/aarch64/
Dbad-options.stderr2 --> $DIR/bad-options.rs:8:18
7 error: the `pure` and `noreturn` options are mutually exclusive
8 --> $DIR/bad-options.rs:10:18
10 LL | asm!("", options(pure, nomem, noreturn));
13 error: asm with the `pure` option must have at least one output
14 --> $DIR/bad-options.rs:10:18
16 LL | asm!("", options(pure, nomem, noreturn));
19 error: asm with the `pure` option must have at least one output
20 --> $DIR/bad-options.rs:13:33
22 LL | asm!("{}", in(reg) foo, options(pure, nomem));
[all …]
Dbad-options.rs1 // only-aarch64
10 asm!("", options(pure, nomem, noreturn)); in main()
11 //~^ ERROR the `pure` and `noreturn` options are mutually exclusive in main()
12 //~^^ ERROR asm with the `pure` option must have at least one output in main()
13 asm!("{}", in(reg) foo, options(pure, nomem)); in main()
14 //~^ ERROR asm with the `pure` option must have at least one output in main()
22 asm!("{}", out(reg) foo, clobber_abi("C")); in main()
24 asm!("", out("x0") foo, clobber_abi("C")); in main()
34 global_asm!("", options(pure));
/third_party/python/Doc/distutils/
Dintroduction.rst1 .. _distutils-intro:
12 :ref:`install-index` chapter.
15 .. _distutils-concepts:
21 users/administrators installing third-party modules. As a developer, your
22 responsibilities (apart from writing solid, well-documented and well-tested
46 .. _distutils-simple-example:
54 Unlike, say, Autoconf-style configure scripts, the setup script may be run
73 version number) and information about what's in the package (a list of pure
80 name, email address and a URL for the project (see section :ref:`setup-script`
89 For Windows, open a command prompt window (:menuselection:`Start -->
[all …]
/third_party/skia/third_party/externals/freetype/builds/amiga/
DREADME4 Copyright (C) 2005-2021 by
15 "make -f makefile.os4", it produces a link library libft2_ppc.a.
17 The makefile is for ppc-morphos-gcc-2.95.3-bin.tgz (gcc 2.95.3 hosted on
18 68k-Amiga producing MorphOS-PPC-binaries from http://www.morphos.de).
22 The smakefile is a makefile for Amiga SAS/C 6.58 (no longer available,
35 - A link library "ft2_680x0.lib" (where x depends on the setting of
40 - ftsystem.o, an object module containing the standard version of the
42 ftell() malloc() realloc() and free() from lib:sc.lib (not pure).
44 - ftsystempure.o, an object module containing the pure version of the
47 be used in both normal programs and in Amiga run-time shared system
[all …]
/third_party/protobuf/php/
DREADME.md2 pure PHP package and a native c extension. The pure PHP package is intended to
3 provide usability to wider range of PHP platforms, while the c extension is
5 runtime APIs and share the same generated code. Users don’t need to re-generate
19 [Supported PHP versions](https://cloud.google.com/php/getting-started/supported-php-versions).
23 ### C Extension
27 To install the c extension, the following tools are needed:
36 sudo apt-get install -y php-pear php-dev libtool make gcc
43 To build the c extension, run the following command:
47 sudo pecl install protobuf-{VERSION}.tgz
53 [PECL](https://pecl.php.net/). To use this pre-packaged extension, simply
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/4.3/template_string_type_improvements/
Dtemplate_string_type_improvements_1.ts2 * Copyright (c) 2023 Huawei Device Co., Ltd.
7 * http://www.apache.org/licenses/LICENSE-2.0
15 /**---
17 Template string types are types that either construct new string-like types by concatenating,
18 or match patterns of other string-like types.
21 ---*/
26 type Figure = "three-colour" | "pure color";
30 type Cat2 = "one cat" | "two cat" | "three-colour cat" | "pure color cat";
31 var cat1: Cat1 = "pure color cat";
35 cat1 = "three-colour cat";
[all …]

12345678910>>...42