Home
last modified time | relevance | path

Searched refs:is_identity (Results 1 – 20 of 20) sorted by relevance

/external/libchrome/base/posix/
Dfile_descriptor_shuffle.cc36 const bool is_identity = i->source == i->dest; in PerformInjectiveMultimapDestructive() local
40 if (!is_identity && i->dest == j->source) { in PerformInjectiveMultimapDestructive()
65 if (!is_identity) { in PerformInjectiveMultimapDestructive()
70 if (!is_identity && i->close) in PerformInjectiveMultimapDestructive()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_remove_constants.c68 unsigned is_identity = 1; in rc_remove_unused_constants() local
115 is_identity = 0; in rc_remove_unused_constants()
123 assert( is_identity || new_count < c->Program.Constants.Count); in rc_remove_unused_constants()
127 if (!is_identity) { in rc_remove_unused_constants()
/external/tensorflow/tensorflow/core/util/
Dstrided_slice_op.cc158 bool* is_identity, bool* is_simple_slice, bool* slice_dim0, in ValidateStridedSliceOp() argument
252 *is_identity = true; in ValidateStridedSliceOp()
313 (*is_identity) &= take_all_in_dimension; in ValidateStridedSliceOp()
316 (*is_identity) &= stride_i == 1 && begin_and_end_masked; in ValidateStridedSliceOp()
380 TensorShape* final_shape, bool* is_identity, bool* is_simple_slice, in ValidateStridedSliceOp() argument
388 &partial_processing_shape, &partial_final_shape, is_identity, in ValidateStridedSliceOp()
Dstrided_slice_op.h49 bool* is_identity, bool* is_simple_slice, bool* slice_dim0,
59 TensorShape* final_shape, bool* is_identity, bool* is_simple_slice,
/external/tensorflow/tensorflow/core/kernels/
Dslice_op.cc66 TensorShape* output_shape, bool* is_identity, in SharedValidation() argument
95 *is_identity = true; in SharedValidation()
117 (*is_identity) &= take_all; in SharedValidation()
130 bool is_identity = true; in SharedSliceCommonCases() local
134 SharedValidation(context, output_shape, &is_identity, &slice_dim0, begin, in SharedSliceCommonCases()
138 if (is_identity) { in SharedSliceCommonCases()
Dstrided_slice_op.cc93 bool is_identity = true; in Compute() local
105 &processing_shape, &final_shape, &is_identity, in Compute()
110 if (is_identity) { in Compute()
200 bool is_identity = true; in Compute() local
230 shrink_axis_mask, &processing_shape, &final_shape, &is_identity, in Compute()
293 bool is_identity = true; in Compute() local
327 &final_shape, &is_identity, &is_simple_slice, &slice_dim0, in Compute()
Dmkl_slice_op.cc66 static void ValidateMklInputs(OpKernelContext* context, bool* is_identity, in ValidateMklInputs() argument
109 *is_identity = true; in ValidateMklInputs()
130 (*is_identity) &= take_all; in ValidateMklInputs()
141 bool is_identity = true; in CheckCommonCasesForMklInputs() local
144 ValidateMklInputs(context, &is_identity, begin, size); in CheckCommonCasesForMklInputs()
151 if (is_identity) { in CheckCommonCasesForMklInputs()
Dstrided_slice_op_test.cc110 bool is_identity = true, slice_dim0 = true, is_simple_slice = true; in BM_ValidateStridedSliceOp() local
121 &is_identity, &is_simple_slice, &slice_dim0, &begin_out, &end_out, in BM_ValidateStridedSliceOp()
Dtranspose_op.cc165 bool is_identity = true; in Compute() local
175 is_identity = false; in Compute()
186 if (!IsConjugate() && (dims <= 1 || is_identity)) { in Compute()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtranspose_op.cc61 bool is_identity = true; in Compile() local
70 is_identity = false; in Compile()
81 if (dims <= 1 || is_identity) { in Compile()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddependency_optimizer.cc168 const bool is_identity = IsIdentity(node) || IsIdentityNSingleInput(node); in BypassingNodeIsBeneficial() local
213 if ((is_identity || is_multi_input_identity_n) && num_cross_in > 0 && in BypassingNodeIsBeneficial()
229 const bool is_identity = IsIdentity(*node) || IsIdentityNSingleInput(*node); in OptimizeNode() local
351 if (is_noop || ((is_identity || is_multi_input_identity) && in OptimizeNode()
380 if ((is_identity && i == 0) || in OptimizeNode()
Darithmetic_optimizer.cc3184 bool is_identity; in GetSliceAxis() local
3193 &processing_shape, &final_shape, &is_identity, &is_simple_slice, in GetSliceAxis()
/external/skia/tests/
DMatrix44Test.cpp69 static bool is_identity(const SkMatrix44& m) { in is_identity() function
832 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
837 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
842 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
850 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
852 REPORTER_ASSERT(reporter, is_identity(iden2)); in DEF_TEST()
864 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
879 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
DMatrixTest.cpp75 static bool is_identity(const SkMatrix& m) { in is_identity() function
888 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
893 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
899 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
907 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
909 REPORTER_ASSERT(reporter, is_identity(iden2)); in DEF_TEST()
/external/skqp/tests/
DMatrix44Test.cpp69 static bool is_identity(const SkMatrix44& m) { in is_identity() function
832 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
837 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
842 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
850 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
852 REPORTER_ASSERT(reporter, is_identity(iden2)); in DEF_TEST()
864 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
879 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
DMatrixTest.cpp75 static bool is_identity(const SkMatrix& m) { in is_identity() function
888 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
893 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
899 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
907 REPORTER_ASSERT(reporter, is_identity(iden1)); in DEF_TEST()
909 REPORTER_ASSERT(reporter, is_identity(iden2)); in DEF_TEST()
/external/epid-sdk/epid/common/math/
Decgroup.h485 EpidStatus EcIsIdentity(EcGroup* g, EcPoint const* p, bool* is_identity);
/external/epid-sdk/epid/common/math/src/
Decgroup.c1204 EpidStatus EcIsIdentity(EcGroup* g, EcPoint const* p, bool* is_identity) { in EcIsIdentity() argument
1208 if (!g || !p || !is_identity) { in EcIsIdentity()
1235 *is_identity = ippECPointIsAtInfinite == result; in EcIsIdentity()
Dtatepairing.c330 bool is_identity; in Epid11Pairing() local
347 result = EcIsIdentity(ps->ga, a, &is_identity); in Epid11Pairing()
349 if (is_identity) { in Epid11Pairing()
/external/tensorflow/tensorflow/core/ops/
Darray_ops.cc1602 bool is_identity, is_simple_slice, slice_dim0; in __anon7c94107b2502() local
1607 &processing_shape, &final_shape, &is_identity, &is_simple_slice, in __anon7c94107b2502()