Home
last modified time | relevance | path

Searched refs:op_result (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/
Dfunctools.py91 op_result = self.__lt__(other)
92 if op_result is NotImplemented:
93 return op_result
94 return not op_result and self != other
98 op_result = self.__lt__(other)
99 if op_result is NotImplemented:
100 return op_result
101 return op_result or self == other
105 op_result = self.__lt__(other)
106 if op_result is NotImplemented:
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtst_bitmaps.c302 int test_result, op_result; in do_setb() local
328 op_result = ext2fs_mark_block_bitmap2(test_fs->block_map, block); in do_setb()
329 printf("Setting block %u, was %s before\n", block, op_result ? in do_setb()
331 if (!test_result != !op_result) in do_setb()
333 test_result, op_result); in do_setb()
341 int test_result, op_result; in do_clearb() local
367 op_result = ext2fs_unmark_block_bitmap2(test_fs->block_map, block); in do_clearb()
368 printf("Clearing block %u, was %s before\n", block, op_result ? in do_clearb()
370 if (!test_result != !op_result) in do_clearb()
372 test_result, op_result); in do_clearb()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlhlo_legalize_to_affine.cc83 Value op_result = lmhlo::HloOpToStdScalarOp::map<DotOp>( in matchAndRewrite() local
85 map_status = success(op_result != nullptr); in matchAndRewrite()
87 builder.create<AffineStoreOp>(loc, op_result, op.output(), in matchAndRewrite()
122 Value op_result = lmhlo::HloOpToStdScalarOp::map<LhloOpTy>( in matchAndRewrite() local
124 map_status = success(op_result != nullptr); in matchAndRewrite()
126 rewriter.create<AffineStoreOp>(loc, op_result, op.out(), induction_vars); in matchAndRewrite()
Dlegalize_to_linalg.cc213 Value op_result = lmhlo::HloOpToStdScalarOp::map<OpTy>( in matchAndRewrite() local
216 if (op_result == nullptr) { in matchAndRewrite()
219 nested_builder.create<linalg::YieldOp>(loc, op_result); in matchAndRewrite()
248 Value op_result = lmhlo::HloOpToStdScalarOp::map<LhloOp>( in matchAndRewrite() local
251 rewriter.create<StoreOp>(loc, op_result, lhlo_op.out()); in matchAndRewrite()
/external/libchrome/base/containers/
Dcircular_deque_unittest.cc414 circular_deque<int>::iterator op_result = ++it; in TEST() local
415 EXPECT_EQ(1, *op_result); in TEST()
418 op_result = --it; in TEST()
419 EXPECT_EQ(0, *op_result); in TEST()
426 circular_deque<int>::const_iterator op_result = ++it; in TEST() local
427 EXPECT_EQ(1, *op_result); in TEST()
430 op_result = --it; in TEST()
431 EXPECT_EQ(0, *op_result); in TEST()
438 circular_deque<int>::iterator op_result = it++; in TEST() local
439 EXPECT_EQ(0, *op_result); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dshape_inference_utils.cc280 auto op_result = op->getOperand(input).dyn_cast<OpResult>(); in InferReturnTypeComponentsForTFOp() local
281 if (!op_result) continue; in InferReturnTypeComponentsForTFOp()
284 auto handle = op_result_as_shape_fn(c, op_result); in InferReturnTypeComponentsForTFOp()
385 OpResult op_result) -> ShapeHandle { in InferReturnTypeComponentsForTFOp() argument
386 auto rt = op_result.getType().dyn_cast<RankedTensorType>(); in InferReturnTypeComponentsForTFOp()
391 if (matchPattern(op_result, m_Constant(&attr))) { in InferReturnTypeComponentsForTFOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dremove_vars_in_session_initializer.cc55 if (auto op_result = use.get().dyn_cast<mlir::OpResult>()) { in RecursiveRemove() local
56 Operation* def = op_result.getDefiningOp(); in RecursiveRemove()
Dshape_inference.cc1098 OpResult op_result) { in InferShapeForSingleOperation() argument
1099 return ComputeOutputAsShape(op_result, &context); in InferShapeForSingleOperation()
1118 Value op_result = std::get<0>(result); in InferShapeForSingleOperation() local
1119 if (!CanBeRefined(op_result.getType())) continue; in InferShapeForSingleOperation()
1129 if (op_result.getType() == inferred_type) continue; in InferShapeForSingleOperation()
1130 UpdateTypeAndInsertIncompatibleUseCasts(inferred_type, op_result); in InferShapeForSingleOperation()
/external/lz4/programs/
Dlz4io.c1578 … { LZ4IO_infoResult const op_result = LZ4IO_getCompressedFileInfo(&cfinfo, inFileNames[idx]); in LZ4IO_displayCompressedFilesInfo() local
1579 if (op_result != LZ4IO_LZ4F_OK) { in LZ4IO_displayCompressedFilesInfo()
1580 assert(op_result == LZ4IO_format_not_known); in LZ4IO_displayCompressedFilesInfo()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dconst_folding_rules.cpp497 bool CompareFloatingPoint(bool op_result, bool op_unordered, in CompareFloatingPoint() argument
501 return !op_unordered && op_result; in CompareFloatingPoint()
504 return op_unordered || op_result; in CompareFloatingPoint()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp497 bool CompareFloatingPoint(bool op_result, bool op_unordered, in CompareFloatingPoint() argument
501 return !op_unordered && op_result; in CompareFloatingPoint()
504 return op_unordered || op_result; in CompareFloatingPoint()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp497 bool CompareFloatingPoint(bool op_result, bool op_unordered, in CompareFloatingPoint() argument
501 return !op_unordered && op_result; in CompareFloatingPoint()
504 return op_unordered || op_result; in CompareFloatingPoint()