Home
last modified time | relevance | path

Searched refs:hasSingleElement (Results 1 – 25 of 67) sorted by relevance

123

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdArraySerializers.java132 public boolean hasSingleElement(boolean[] value) { in hasSingleElement() method in StdArraySerializers.BooleanArraySerializer
209 public boolean hasSingleElement(short[] value) { in hasSingleElement() method in StdArraySerializers.ShortArraySerializer
376 public boolean hasSingleElement(int[] value) { in hasSingleElement() method in StdArraySerializers.IntArraySerializer
448 public boolean hasSingleElement(long[] value) { in hasSingleElement() method in StdArraySerializers.LongArraySerializer
525 public boolean hasSingleElement(float[] value) { in hasSingleElement() method in StdArraySerializers.FloatArraySerializer
611 public boolean hasSingleElement(double[] value) { in hasSingleElement() method in StdArraySerializers.DoubleArraySerializer
DIterableSerializer.java47 public boolean hasSingleElement(Iterable<?> value) { in hasSingleElement() method in IterableSerializer
68 if (hasSingleElement(value)) { in serialize()
DEnumSetSerializer.java46 public boolean hasSingleElement(EnumSet<? extends Enum<?>> value) { in hasSingleElement() method in EnumSetSerializer
DArraySerializerBase.java116 if (hasSingleElement(value)) { in serialize()
DCollectionSerializer.java84 public boolean hasSingleElement(Collection<?> value) { in hasSingleElement() method in CollectionSerializer
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize_functional_ops.cc83 if (!llvm::hasSingleElement(parent_op)) return failure(); in matchAndRewrite()
116 if (!llvm::hasSingleElement(func)) return failure(); in matchAndRewrite()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DBeanAsArraySerializer.java169 && hasSingleElement(provider)) { in serialize()
188 private boolean hasSingleElement(SerializerProvider provider) { in hasSingleElement() method in BeanAsArraySerializer
DIteratorSerializer.java34 public boolean hasSingleElement(Iterator<?> value) { in hasSingleElement() method in IteratorSerializer
/external/llvm-project/llvm/unittests/ADT/
DSTLExtrasTest.cpp502 TEST(STLExtrasTest, hasSingleElement) { in TEST() argument
506 EXPECT_EQ(hasSingleElement(V0), false); in TEST()
507 EXPECT_EQ(hasSingleElement(V1), true); in TEST()
508 EXPECT_EQ(hasSingleElement(V2), false); in TEST()
509 EXPECT_EQ(hasSingleElement(V10), false); in TEST()
/external/llvm-project/mlir/include/mlir/
DParser.h48 if (llvm::hasSingleElement(*parsedBlock)) { in constructContainerOpForParserIfNecessary()
59 assert(op->getNumRegions() == 1 && llvm::hasSingleElement(op->getRegion(0)) && in constructContainerOpForParserIfNecessary()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DContainerSerializer.java110 public abstract boolean hasSingleElement(T value); in hasSingleElement() method in ContainerSerializer
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dtranslate_tf_dialect_op.cc30 if (!llvm::hasSingleElement(fn)) return nullptr; in ExtractOnlyOp()
Dtf_functional_to_executor.cc49 if (!llvm::hasSingleElement(getFunction())) { in runOnFunction()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_device_propagation.cc43 if (!llvm::hasSingleElement(func)) return false; in IsSupportedGraph()
46 if (!llvm::hasSingleElement(block.without_terminator())) return false; in IsSupportedGraph()
Dmaterialize_mlir_passthrough_op.cc74 if (!llvm::hasSingleElement(body)) { in runOnFunction()
Dtpu_resource_partitioning.cc46 if (!llvm::hasSingleElement(resource.cast<TensorType>() in AllResourceTypesHaveSubtypes()
/external/llvm-project/mlir/tools/mlir-spirv-cpu-runner/
Dmlir-spirv-cpu-runner.cpp51 if (!llvm::hasSingleElement(modules)) { in convertMLIRModule()
/external/llvm-project/mlir/lib/Conversion/SCFToOpenMP/
DSCFToOpenMP.cpp40 assert(llvm::hasSingleElement(parallelOp.region()) && in matchAndRewrite()
/external/llvm-project/mlir/lib/Transforms/
DMemRefDataFlowOpt.cpp182 if (!llvm::hasSingleElement(f)) { in runOnFunction()
DViewOpGraph.cpp133 auto blockName = llvm::hasSingleElement(region) in processModule()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_communication.cc94 if (!llvm::hasSingleElement(block->getParent()->getBlocks())) in GetControlFlowAncestors()
314 } else if (llvm::hasSingleElement(tokens)) { in CreateSinkToken()
601 assert(llvm::hasSingleElement(region)); in RewriteControlFlowOpRegion()
740 if (!llvm::hasSingleElement(func.getBody())) in RewriteFunction()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DMemoryPromotion.cpp141 assert(llvm::hasSingleElement(region) && in insertCopies()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnccl_all_reduce_thunk.cc42 if (!llvm::hasSingleElement(block.without_terminator())) return absl::nullopt; in MatchReductionComputation()
/external/llvm-project/mlir/lib/Conversion/SCFToStandard/
DSCFToStandard.cpp525 if (!llvm::hasSingleElement(whileOp.after())) in matchAndRewrite()
531 if (!llvm::hasSingleElement(afterBlock)) in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Linalg/Utils/
DUtils.cpp36 if (!llvm::hasSingleElement(region)) in matchAsScalarBinaryOp()
46 if (!llvm::hasSingleElement(block.without_terminator())) in matchAsScalarBinaryOp()

123