/aosp_15_r20/external/tensorflow/tensorflow/core/ops/ |
H A D | math_grad_test.cc | 43 Status Unary(const FDH::Node& op_node, const Tensor& x, const DataType dst, in Unary() 97 Status Unary(const string& op, const Tensor& x, Tensor* y) { in Unary() 103 Tensor SymGrad(const string& op, const Tensor& x) { in SymGrad() 109 Tensor SymCastGrad(const Tensor& x, const DataType dst) { in SymCastGrad() 118 void SymGrad(const string& op, const Tensor& x, const Tensor& y, Tensor* dx, in SymGrad() 174 void ReductionGrad(const string& op, const Tensor& x, const Tensor& idx, in ReductionGrad() 228 Tensor ReduceSum(const Tensor& x, gtl::ArraySlice<int32> axes) { in ReduceSum() 252 const string& attr_adj_y, const Tensor& x, bool ax, in MatMulCommon() 272 Tensor MatMul(const Tensor& x, bool ax, const Tensor& y, bool ay) { in MatMul() 276 Tensor BatchMatMul(const Tensor& x, bool ax, const Tensor& y, bool ay) { in BatchMatMul() [all …]
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/ |
H A D | test_fs_scoreboard.cpp | 153 brw_reg g[16]; in TEST_F() local 157 brw_reg x = bld.vgrf(BRW_TYPE_D); in TEST_F() local 179 brw_reg g[16]; in TEST_F() local 183 brw_reg x = bld.vgrf(BRW_TYPE_D); in TEST_F() local 204 brw_reg g[16]; in TEST_F() local 208 brw_reg x = bld.vgrf(BRW_TYPE_D); in TEST_F() local 230 brw_reg g[16]; in TEST_F() local 238 brw_reg x = bld.vgrf(BRW_TYPE_D); in TEST_F() local 262 brw_reg g[16]; in TEST_F() local 266 brw_reg x = bld.vgrf(BRW_TYPE_D); in TEST_F() local [all …]
|
/aosp_15_r20/external/libyuv/source/ |
H A D | row_common.cc | 127 int x; in RGB24ToARGBRow_C() local 130 uint8_t g = src_rgb24[1]; in RGB24ToARGBRow_C() local 142 int x; in RAWToARGBRow_C() local 145 uint8_t g = src_raw[1]; in RAWToARGBRow_C() local 157 int x; in RAWToRGBARow_C() local 160 uint8_t g = src_raw[1]; in RAWToRGBARow_C() local 172 int x; in RAWToRGB24Row_C() local 175 uint8_t g = src_raw[1]; in RAWToRGB24Row_C() local 188 int x; in RGB565ToARGBRow_C() local 191 uint8_t g = STATIC_CAST( in RGB565ToARGBRow_C() local [all …]
|
/aosp_15_r20/external/XNNPACK/test/ |
H A D | deconvolution-operator-tester.h | 480 for (size_t g = 0; g < groups(); g++) { in TestQS8() local 500 const size_t x = ox + padding_left() - kx * dilation_width(); in TestQS8() local 503 for (size_t g = 0; g < groups(); g++) { in TestQS8() local 627 for (size_t x = 0; x < output_width(); x++) { in VerifyQS8() local 628 for (size_t g = 0; g < groups(); g++) { in VerifyQS8() local 683 for (size_t g = 0; g < groups(); g++) { in TestQU8() local 703 const size_t x = ox + padding_left() - kx * dilation_width(); in TestQU8() local 706 for (size_t g = 0; g < groups(); g++) { in TestQU8() local 832 for (size_t x = 0; x < output_width(); x++) { in VerifyQU8() local 833 for (size_t g = 0; g < groups(); g++) { in VerifyQU8() local [all …]
|
H A D | convolution-operator-tester.h | 764 for (size_t x = 0; x < output_width(); x++) { in VerifyNHWCxQC8() local 765 for (size_t g = 0; g < groups(); g++) { in VerifyNHWCxQC8() local 984 for (size_t x = 0; x < output_width(); x++) { in VerifyNHWCxQS8() local 985 for (size_t g = 0; g < groups(); g++) { in VerifyNHWCxQS8() local 1034 for (size_t g = 0; g < groups(); g++) { in TestNHWCxQU8() local 1225 for (size_t x = 0; x < output_width(); x++) { in VerifyNHWCxQU8() local 1226 for (size_t g = 0; g < groups(); g++) { in VerifyNHWCxQU8() local 1269 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF32() local 1293 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF32() local 1317 for (size_t g = 0; g < groups(); g++) { in TestNHWCxF32() local [all …]
|
/aosp_15_r20/external/libaom/third_party/libyuv/source/ |
H A D | row_common.cc | 99 int x; in RGB24ToARGBRow_C() local 102 uint8_t g = src_rgb24[1]; in RGB24ToARGBRow_C() local 114 int x; in RAWToARGBRow_C() local 117 uint8_t g = src_raw[1]; in RAWToARGBRow_C() local 129 int x; in RAWToRGBARow_C() local 132 uint8_t g = src_raw[1]; in RAWToRGBARow_C() local 144 int x; in RAWToRGB24Row_C() local 147 uint8_t g = src_raw[1]; in RAWToRGB24Row_C() local 160 int x; in RGB565ToARGBRow_C() local 163 uint8_t g = (src_rgb565[0] >> 5) | ((src_rgb565[1] & 0x07) << 3); in RGB565ToARGBRow_C() local [all …]
|
/aosp_15_r20/external/libvpx/third_party/libyuv/source/ |
H A D | row_common.cc | 85 int x; in RGB24ToARGBRow_C() local 88 uint8_t g = src_rgb24[1]; in RGB24ToARGBRow_C() local 100 int x; in RAWToARGBRow_C() local 103 uint8_t g = src_raw[1]; in RAWToARGBRow_C() local 115 int x; in RAWToRGB24Row_C() local 118 uint8_t g = src_raw[1]; in RAWToRGB24Row_C() local 131 int x; in RGB565ToARGBRow_C() local 134 uint8_t g = (src_rgb565[0] >> 5) | ((src_rgb565[1] & 0x07) << 3); in RGB565ToARGBRow_C() local 148 int x; in ARGB1555ToARGBRow_C() local 151 uint8_t g = (src_argb1555[0] >> 5) | ((src_argb1555[1] & 0x03) << 3); in ARGB1555ToARGBRow_C() local [all …]
|
/aosp_15_r20/external/pytorch/test/dynamo/ |
H A D | test_higher_order_ops.py | 60 def forward(self, x): argument 196 def inner(x): argument 201 def f(x): argument 212 def f(x): argument 223 def g(x, val): function 228 def f(x, val): argument 237 def test(x): argument 240 def fn(x): argument 253 def test(x): argument 256 def fn(x): argument [all …]
|
H A D | test_comptime.py | 39 def f(x): argument 80 def f(x): argument 109 def f(x): argument 145 def g(x): function 153 def f(x): argument 173 def f(x): argument 199 def f(x, z): argument 212 def f(x, z, should_sleep): argument 237 def f(x): argument 240 def g(): function [all …]
|
/aosp_15_r20/external/skia/src/core/ |
H A D | SkPixmap.cpp | 89 static const void* fast_getaddr(const SkPixmap& pm, int x, int y) { in fast_getaddr() 94 float SkPixmap::getAlphaf(int x, int y) const { in getAlphaf() 172 int x, int y) const { in readPixels() 188 SkColor SkPixmap::getColor(int x, int y) const { in getColor() 242 uint32_t g = 255 * SkHalfToFloat((value >> 16) & 0xffff); in getColor() local 260 auto srgb_to_linear = [](float x) { in getColor() 267 g = ((value >> 8) & 0xff) * (1/255.0f), in getColor() local 308 g = ((value >> 10) & 0x3ff) * (1/1023.0f), in getColor() local 331 g = ((value >> 22) & 0x3ff) * (1/1023.0f), in getColor() local 343 g = ((value >> 16) & 0xffff) * (1/65535.0f), in getColor() local [all …]
|
/aosp_15_r20/external/angle/src/tests/test_utils/ |
H A D | ANGLETest.h | 192 GLColor MakeGLColor(TR r, TG g, TB b, TA a) in MakeGLColor() 211 GLColor32F MakeGLColor32F(TR r, TG g, TB b, TA a) in MakeGLColor32F() 236 #define EXPECT_PIXEL_EQ(x, y, r, g, b, a) \ argument 239 #define EXPECT_PIXEL_NE(x, y, r, g, b, a) \ argument 242 #define EXPECT_PIXEL_32F_EQ(x, y, r, g, b, a) \ argument 245 #define EXPECT_PIXEL_ALPHA_EQ(x, y, a) EXPECT_EQ(a, angle::ReadColor(x, y).A) argument 247 #define EXPECT_PIXEL_ALPHA_NEAR(x, y, a, abs_error) \ argument 250 #define EXPECT_PIXEL_ALPHA32F_EQ(x, y, a) EXPECT_EQ(a, angle::ReadColor32F(x, y).A) argument 252 #define EXPECT_PIXEL_COLOR_EQ(x, y, angleColor) EXPECT_EQ(angleColor, angle::ReadColor(x, y)) argument 257 #define EXPECT_PIXEL_COLOR32F_EQ(x, y, angleColor) EXPECT_EQ(angleColor, angle::ReadColor32F(x, y)) argument [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/ |
H A D | def_function_xla_jit_test.py | 75 def fn(x, a): argument 89 def fn(x, a): argument 98 def fn(x, a): argument 128 def fn(x, a): argument 132 def fn2(x, a): argument 144 def fn(x): argument 150 def fn2(x): argument 163 def fn(x): argument 178 def fn(x, y): argument 200 def fn(x): argument [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/preprocessor/include/boost/preprocessor/slot/detail/ |
D | def.hpp | 17 # define BOOST_PP_SLOT_OFFSET_10(x) (x) % 1000000000UL argument 18 # define BOOST_PP_SLOT_OFFSET_9(x) BOOST_PP_SLOT_OFFSET_10(x) % 100000000UL argument 19 # define BOOST_PP_SLOT_OFFSET_8(x) BOOST_PP_SLOT_OFFSET_9(x) % 10000000UL argument 20 # define BOOST_PP_SLOT_OFFSET_7(x) BOOST_PP_SLOT_OFFSET_8(x) % 1000000UL argument 21 # define BOOST_PP_SLOT_OFFSET_6(x) BOOST_PP_SLOT_OFFSET_7(x) % 100000UL argument 22 # define BOOST_PP_SLOT_OFFSET_5(x) BOOST_PP_SLOT_OFFSET_6(x) % 10000UL argument 23 # define BOOST_PP_SLOT_OFFSET_4(x) BOOST_PP_SLOT_OFFSET_5(x) % 1000UL argument 24 # define BOOST_PP_SLOT_OFFSET_3(x) BOOST_PP_SLOT_OFFSET_4(x) % 100UL argument 25 # define BOOST_PP_SLOT_OFFSET_2(x) BOOST_PP_SLOT_OFFSET_3(x) % 10UL argument 34 # define BOOST_PP_SLOT_CC_7(a, b, c, d, e, f, g) BOOST_PP_SLOT_CC_7_D(a, b, c, d, e, f, g) argument [all …]
|
/aosp_15_r20/external/lua/src/ |
H A D | lgc.h | 42 #define issweepphase(g) \ argument 54 #define keepinvariant(g) ((g)->gcstate <= GCSatomic) argument 60 #define resetbits(x,m) ((x) &= cast_byte(~(m))) argument 61 #define setbits(x,m) ((x) |= (m)) argument 62 #define testbits(x,m) ((x) & (m)) argument 65 #define l_setbit(x,b) setbits(x, bitmask(b)) argument 66 #define resetbit(x,b) resetbits(x, bitmask(b)) argument 67 #define testbit(x,b) testbits(x, bitmask(b)) argument 87 #define iswhite(x) testbits((x)->marked, WHITEBITS) argument 88 #define isblack(x) testbit((x)->marked, BLACKBIT) argument [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/common_runtime/ |
H A D | function_test.cc | 91 std::unique_ptr<Graph> g(new Graph(OpRegistry::Global())); in Create() local 137 auto x = test::AsTensor<float>({1, 2, 3, 4}); in TEST_F() local 146 auto x = test::AsTensor<float>({1., 3., 2., 4.}, {2, 2}); in TEST_F() local 369 auto x = test::AsTensor<float>({1, 2, 3, 4}); in TEST_F() local 412 auto x = test::AsTensor<float>({1, 2, 3, 4}); in TEST_F() local 458 auto x = test::AsTensor<float>({1, 2, 3, 4}); in TEST_F() local 491 auto x = test::AsTensor<float>({1, 2, 3, 4}); in TEST_F() local 515 auto x = test::AsTensor<float>({1, 2, 3, 4}); in TEST_F() local 540 auto x = test::AsTensor<float>({1, 2, 3, 4}); in TEST_F() local 592 auto x = test::AsTensor<float>({1, 2, 3, 4}); in TEST_F() local [all …]
|
/aosp_15_r20/external/clang/test/CXX/drs/ |
H A D | dr5xx.cpp | 27 void g() { in g() function 55 void g(NonPod np) { f(np); } // expected-error {{cannot pass}} in g() function 81 int A::x = y; member in dr514::A 133 #define fold(x) (__builtin_constant_p(x) ? (x) : (x)) argument 192 void g(D<double> ppp) { in g() function 198 void g(D<double> *ppp) { in g() function 234 extern struct { int x; } a; // FIXME: We should reject this, per dr389. member 235 static struct { int x; } b; member 236 extern "C" struct { int x; } c; member 237 namespace { extern struct { int x; } d; } member [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_csmt_helper.h | 28 #define _args_for_bypass_7(a, b, c, d, e, f, g) ,g argument 29 #define _args_for_bypass_14(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_7(__VA_ARGS__) argument 30 #define _args_for_bypass_21(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_14(__VA_ARGS__) argument 31 #define _args_for_bypass_28(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_21(__VA_ARGS__) argument 32 #define _args_for_bypass_35(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_28(__VA_ARGS__) argument 33 #define _args_for_bypass_42(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_35(__VA_ARGS__) argument 34 #define _args_for_bypass_49(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_42(__VA_ARGS__) argument 35 #define _args_for_bypass_56(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_49(__VA_ARGS__) argument 36 #define _args_for_bypass_63(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_56(__VA_ARGS__) argument 37 #define _args_for_bypass_70(a, b, c, d, e, f, g, ...) ,g _args_for_bypass_63(__VA_ARGS__) argument [all …]
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/ |
H A D | sdt.h | 48 # define _SDT_ASM_1(x) x; argument 52 # define _SDT_ASM_STRING_1(x) .asciz #x; argument 53 # define _SDT_ASM_SUBSTR_1(x) .ascii #x; argument 61 # define _SDT_DEPAREN_7(a,b,c,d,e,f,g) a b c d e f g argument 62 # define _SDT_DEPAREN_8(a,b,c,d,e,f,g,h) a b c d e f g h argument 63 # define _SDT_DEPAREN_9(a,b,c,d,e,f,g,h,i) a b c d e f g h i argument 64 # define _SDT_DEPAREN_10(a,b,c,d,e,f,g,h,i,j) a b c d e f g h i j argument 65 # define _SDT_DEPAREN_11(a,b,c,d,e,f,g,h,i,j,k) a b c d e f g h i j k argument 66 # define _SDT_DEPAREN_12(a,b,c,d,e,f,g,h,i,j,k,l) a b c d e f g h i j k l argument 82 # define _SDT_S(x) #x argument [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tests/ |
H A D | eager_test.py | 156 def f(x): argument 321 def model(x): argument 347 def g(x): function 364 def g(): function 378 def g(x): function 483 def f(x): argument 514 def f(x, y): argument 532 def times_two(x): argument 536 def two_x_plus_1(x): argument 548 def g(x): function [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/petgraph/tests/ |
D | stable_graph.rs | 21 let mut g = StableGraph::<_, ()>::new(); in node_indices() localVariable 34 let mut g = StableGraph::<_, ()>::new(); in node_bound() localVariable 50 let mut g = StableGraph::<_, _>::new(); in edge_bound() localVariable 104 let x = gr.add_node(()); in scc_graph() localVariable 116 let x = n(gr.node_bound() - 1); in test_scc() localVariable 131 let x = n(gr.node_bound() - 1); in test_tarjan_scc() localVariable 164 let x = gr.add_node(()); in make_graph() localVariable 181 let x = n(9); in test_edges_directed() localVariable 196 let x = n(9); in test_edges_undirected() localVariable 270 let mut g = StableGraph::<_, _>::new(); in add_edge_vacant() localVariable [all …]
|
/aosp_15_r20/external/pytorch/test/cpp/tensorexpr/ |
H A D | test_graph_opt.cpp | 45 auto g = std::make_shared<Graph>(); in TEST_F() local 60 auto x = at::rand({10}, at::kFloat); in TEST_F() local 87 auto g = std::make_shared<Graph>(); in TEST_F() local 107 auto x = at::rand({10}, at::kFloat); in TEST_F() local 135 auto g = std::make_shared<Graph>(); in TEST_F() local 154 auto x = at::rand({10}, at::kFloat); in TEST_F() local 180 auto g = std::make_shared<Graph>(); in TEST_F() local 197 auto x = at::randint(std::numeric_limits<int>::max(), {10}, at::kInt); in TEST_F() local 223 auto g = std::make_shared<Graph>(); in TEST_F() local 252 auto g = std::make_shared<Graph>(); in TEST_F() local [all …]
|
/aosp_15_r20/external/libdrm/tests/util/ |
H A D | pattern.c | 53 #define MAKE_YUV_601_Y(r, g, b) \ argument 55 #define MAKE_YUV_601_U(r, g, b) \ argument 57 #define MAKE_YUV_601_V(r, g, b) \ argument 60 #define MAKE_YUV_601(r, g, b) \ argument 65 static inline uint16_t swap16(uint16_t x) in swap16() 70 static inline uint32_t swap32(uint32_t x) in swap32() 79 #define cpu_to_be16(x) (x) argument 80 #define cpu_to_le16(x) swap16(x) argument 81 #define cpu_to_le32(x) swap32(x) argument 84 #define cpu_to_be16(x) swap16(x) argument [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
H A D | GraphTest.java | 37 try (Graph g = new Graph()) { in graphDefRoundTrip() 42 try (Graph g = new Graph()) { in graphDefRoundTrip() 46 try (Graph g = new Graph()) { in graphDefRoundTrip() 54 private static void validateImportedGraph(Graph g, String prefix) { in validateImportedGraph() 79 try (Graph g = new Graph()) { in iterateOverOperations() 107 try (Graph g = new Graph()) { in failImportOnInvalidGraphDefs() 124 Graph g = new Graph(); in failOnUseAfterClose() local 135 try (Graph g = new Graph(); in addGradientsToGraph() 176 try (Graph g = new Graph(); in addGradientSumsToGraph() 179 Output<Float> x = TestUtil.placeholder(g, "x", Float.class); in addGradientSumsToGraph() local [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_grammar.py | 407 def __init__(self, x): argument 692 def f(x) -> list: pass argument 704 def f(x, y: 1+2): pass argument 706 def f(x, y: 1+2, /): pass argument 733 def null(x): return x argument 735 def f(x) -> list: pass argument 740 def f(x): pass argument 742 def f(x): pass argument 744 def f(x): pass argument 746 def f(x): pass argument [all …]
|
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/random/unix/ |
H A D | sha2.c | 59 #define REVERSE32(w,x) { \ argument 64 #define REVERSE64(w,x) { \ argument 124 #define R(b,x) ((x) >> (b)) argument 126 #define S32(b,x) (((x) >> (b)) | ((x) << (32 - (b)))) argument 128 #define S64(b,x) (((x) >> (b)) | ((x) << (64 - (b)))) argument 131 #define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) argument 132 #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) argument 135 #define Sigma0_256(x) (S32(2, (x)) ^ S32(13, (x)) ^ S32(22, (x))) argument 136 #define Sigma1_256(x) (S32(6, (x)) ^ S32(11, (x)) ^ S32(25, (x))) argument 137 #define sigma0_256(x) (S32(7, (x)) ^ S32(18, (x)) ^ R(3 , (x))) argument [all …]
|