Home
last modified time | relevance | path

Searched refs:producer (Results 1 – 25 of 2812) sorted by relevance

12345678910>>...113

/external/zstd/tests/fuzz/
Dfuzz_data_producer.c19 FUZZ_dataProducer_t *producer = FUZZ_malloc(sizeof(FUZZ_dataProducer_t)); in FUZZ_dataProducer_create() local
21 producer->data = data; in FUZZ_dataProducer_create()
22 producer->size = size; in FUZZ_dataProducer_create()
23 return producer; in FUZZ_dataProducer_create()
26 void FUZZ_dataProducer_free(FUZZ_dataProducer_t *producer) { free(producer); } in FUZZ_dataProducer_free() argument
28 uint32_t FUZZ_dataProducer_uint32Range(FUZZ_dataProducer_t *producer, uint32_t min, in FUZZ_dataProducer_uint32Range() argument
36 while (rolling > 0 && producer->size > 0) { in FUZZ_dataProducer_uint32Range()
37 uint8_t next = *(producer->data + producer->size - 1); in FUZZ_dataProducer_uint32Range()
38 producer->size -= 1; in FUZZ_dataProducer_uint32Range()
50 uint32_t FUZZ_dataProducer_uint32(FUZZ_dataProducer_t *producer) { in FUZZ_dataProducer_uint32() argument
[all …]
Dzstd_helpers.c30 unsigned max, FUZZ_dataProducer_t *producer) { in setRand() argument
31 unsigned const value = FUZZ_dataProducer_uint32Range(producer, min, max); in setRand()
35 ZSTD_compressionParameters FUZZ_randomCParams(size_t srcSize, FUZZ_dataProducer_t *producer) in FUZZ_randomCParams() argument
39 cParams.windowLog = FUZZ_dataProducer_uint32Range(producer, ZSTD_WINDOWLOG_MIN, 15); in FUZZ_randomCParams()
40 cParams.hashLog = FUZZ_dataProducer_uint32Range(producer, ZSTD_HASHLOG_MIN, 15); in FUZZ_randomCParams()
41 cParams.chainLog = FUZZ_dataProducer_uint32Range(producer, ZSTD_CHAINLOG_MIN, 16); in FUZZ_randomCParams()
42 cParams.searchLog = FUZZ_dataProducer_uint32Range(producer, ZSTD_SEARCHLOG_MIN, 9); in FUZZ_randomCParams()
43 cParams.minMatch = FUZZ_dataProducer_uint32Range(producer, ZSTD_MINMATCH_MIN, in FUZZ_randomCParams()
45 cParams.targetLength = FUZZ_dataProducer_uint32Range(producer, 0, 512); in FUZZ_randomCParams()
46 … cParams.strategy = FUZZ_dataProducer_uint32Range(producer, ZSTD_STRATEGY_MIN, ZSTD_STRATEGY_MAX); in FUZZ_randomCParams()
[all …]
Ddictionary_stream_round_trip.c33 FUZZ_dataProducer_t *producer) in makeOutBuffer() argument
38 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 1, capacity)); in makeOutBuffer()
45 FUZZ_dataProducer_t *producer) in makeInBuffer() argument
50 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 1, *size)); in makeInBuffer()
61 FUZZ_dataProducer_t *producer, int refPrefix, in compress() argument
66 FUZZ_setRandomParameters(cctx, srcSize, producer); in compress()
77 (ZSTD_dictLoadMethod_e)FUZZ_dataProducer_uint32Range(producer, 0, 1), in compress()
81 ZSTD_inBuffer in = makeInBuffer(&src, &srcSize, producer); in compress()
85 ZSTD_outBuffer out = makeOutBuffer(dst, capacity, producer); in compress()
87 if (mode == -1) mode = FUZZ_dataProducer_uint32Range(producer, 0, 9); in compress()
[all …]
Ddictionary_round_trip.c31 FUZZ_dataProducer_t *producer) in roundTripTest() argument
34 FUZZ_dict_t dict = FUZZ_train(src, srcSize, producer); in roundTripTest()
35 int const refPrefix = FUZZ_dataProducer_uint32Range(producer, 0, 1) != 0; in roundTripTest()
37 if (FUZZ_dataProducer_uint32Range(producer, 0, 15) == 0) { in roundTripTest()
38 int const cLevel = FUZZ_dataProducer_int32Range(producer, kMinClevel, kMaxClevel); in roundTripTest()
46 dictContentType = FUZZ_dataProducer_uint32Range(producer, 0, 2); in roundTripTest()
47 FUZZ_setRandomParameters(cctx, srcSize, producer); in roundTripTest()
57 (ZSTD_dictLoadMethod_e)FUZZ_dataProducer_uint32Range(producer, 0, 1), in roundTripTest()
69 (ZSTD_dictLoadMethod_e)FUZZ_dataProducer_uint32Range(producer, 0, 1), in roundTripTest()
83 FUZZ_dataProducer_t *producer = FUZZ_dataProducer_create(src, size); in LLVMFuzzerTestOneInput() local
[all …]
Dstream_decompress.c28 static ZSTD_outBuffer makeOutBuffer(FUZZ_dataProducer_t *producer, void* buf, size_t bufSize) in makeOutBuffer() argument
32 if (FUZZ_dataProducer_empty(producer)) { in makeOutBuffer()
35 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 0, bufSize)); in makeOutBuffer()
47 FUZZ_dataProducer_t *producer) in makeInBuffer() argument
52 if (FUZZ_dataProducer_empty(producer)) { in makeInBuffer()
55 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 0, *size)); in makeInBuffer()
72 FUZZ_dataProducer_t *producer = FUZZ_dataProducer_create(src, size); in LLVMFuzzerTestOneInput() local
77 size = FUZZ_dataProducer_reserveDataPrefix(producer); in LLVMFuzzerTestOneInput()
90 stableOutBuffer = FUZZ_dataProducer_uint32Range(producer, 0, 10) == 5; in LLVMFuzzerTestOneInput()
97 out = makeOutBuffer(producer, buf, bufSize); in LLVMFuzzerTestOneInput()
[all …]
Dstream_round_trip.c33 FUZZ_dataProducer_t *producer) in makeOutBuffer() argument
38 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 1, capacity)); in makeOutBuffer()
45 FUZZ_dataProducer_t *producer) in makeInBuffer() argument
50 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 1, *size)); in makeInBuffer()
60 FUZZ_dataProducer_t *producer) in compress() argument
64 FUZZ_setRandomParameters(cctx, srcSize, producer); in compress()
67 ZSTD_inBuffer in = makeInBuffer(&src, &srcSize, producer); in compress()
71 ZSTD_outBuffer out = makeOutBuffer(dst, capacity, producer); in compress()
73 if (mode == -1) mode = FUZZ_dataProducer_uint32Range(producer, 0, 9); in compress()
92 if (FUZZ_dataProducer_uint32Range(producer, 0, 7) == 0) { in compress()
[all …]
Ddictionary_decompress.c30 FUZZ_dataProducer_t *producer = FUZZ_dataProducer_create(src, size); in LLVMFuzzerTestOneInput() local
31 size = FUZZ_dataProducer_reserveDataPrefix(producer); in LLVMFuzzerTestOneInput()
40 dict = FUZZ_train(src, size, producer); in LLVMFuzzerTestOneInput()
41 if (FUZZ_dataProducer_uint32Range(producer, 0, 1) == 0) { in LLVMFuzzerTestOneInput()
45 if (FUZZ_dataProducer_uint32Range(producer, 0, 1) == 0) in LLVMFuzzerTestOneInput()
48 (ZSTD_dictLoadMethod_e)FUZZ_dataProducer_uint32Range(producer, 0, 1), in LLVMFuzzerTestOneInput()
49 (ZSTD_dictContentType_e)FUZZ_dataProducer_uint32Range(producer, 0, 2))); in LLVMFuzzerTestOneInput()
53 (ZSTD_dictContentType_e)FUZZ_dataProducer_uint32Range(producer, 0, 2))); in LLVMFuzzerTestOneInput()
57 size_t const bufSize = FUZZ_dataProducer_uint32Range(producer, 0, 10 * size); in LLVMFuzzerTestOneInput()
67 FUZZ_dataProducer_free(producer); in LLVMFuzzerTestOneInput()
Dfuzz_data_producer.h36 void FUZZ_dataProducer_free(FUZZ_dataProducer_t *producer);
39 uint32_t FUZZ_dataProducer_uint32Range(FUZZ_dataProducer_t *producer, uint32_t min,
43 uint32_t FUZZ_dataProducer_uint32(FUZZ_dataProducer_t *producer);
46 int32_t FUZZ_dataProducer_int32Range(FUZZ_dataProducer_t *producer,
50 size_t FUZZ_dataProducer_remainingBytes(FUZZ_dataProducer_t *producer);
53 int FUZZ_dataProducer_empty(FUZZ_dataProducer_t *producer);
58 size_t FUZZ_dataProducer_contract(FUZZ_dataProducer_t *producer, size_t newSize);
63 size_t FUZZ_dataProducer_reserveDataPrefix(FUZZ_dataProducer_t *producer);
Draw_dictionary_round_trip.c32 FUZZ_dataProducer_t *producer) in roundTripTest() argument
35 int const refPrefix = FUZZ_dataProducer_uint32Range(producer, 0, 1) != 0; in roundTripTest()
38 FUZZ_setRandomParameters(cctx, srcSize, producer); in roundTripTest()
48 (ZSTD_dictLoadMethod_e)FUZZ_dataProducer_uint32Range(producer, 0, 1), in roundTripTest()
60 (ZSTD_dictLoadMethod_e)FUZZ_dataProducer_uint32Range(producer, 0, 1), in roundTripTest()
73 FUZZ_dataProducer_t *producer = FUZZ_dataProducer_create(src, size); in LLVMFuzzerTestOneInput() local
74 size = FUZZ_dataProducer_reserveDataPrefix(producer); in LLVMFuzzerTestOneInput()
77 size_t const srcSize = FUZZ_dataProducer_uint32Range(producer, 0, size); in LLVMFuzzerTestOneInput()
88 compSize -= FUZZ_dataProducer_uint32Range(producer, 0, 1); in LLVMFuzzerTestOneInput()
102 …ndTripTest(decompBuf, decompSize, compBuf, compSize, srcBuf, srcSize, dictBuf, dictSize, producer); in LLVMFuzzerTestOneInput()
[all …]
/external/perfetto/src/tracing/core/
Dtracing_service_impl_unittest.cc305 std::unique_ptr<MockProducer> producer = CreateMockProducer(); in TEST_F() local
306 producer->Connect(svc.get(), "mock_producer"); in TEST_F()
307 producer->RegisterDataSource("data_source"); in TEST_F()
317 producer->WaitForTracingSetup(); in TEST_F()
318 producer->WaitForDataSourceSetup("data_source"); in TEST_F()
319 producer->WaitForDataSourceStart("data_source"); in TEST_F()
326 producer->WaitForDataSourceStop("data_source"); in TEST_F()
336 std::unique_ptr<MockProducer> producer = CreateMockProducer(); in TEST_F() local
337 producer->Connect(svc.get(), "mock_producer"); in TEST_F()
340 producer->RegisterDataSource("ds_1"); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dmulti_output_fusion.cc107 const HloInstruction* producer, const HloReachabilityMap& reachability) { in GetProducerConsumerMultiOutputFusionCandidates() argument
112 if (producer->user_count() == 1 && in GetProducerConsumerMultiOutputFusionCandidates()
113 !producer->users()[0]->IsMultiOutputFusion()) { in GetProducerConsumerMultiOutputFusionCandidates()
116 for (HloInstruction* consumer : producer->users()) { in GetProducerConsumerMultiOutputFusionCandidates()
117 VLOG(3) << "Looking at producer " << producer->name() in GetProducerConsumerMultiOutputFusionCandidates()
124 if (!IsProducerConsumerMultiOutputFusible(*producer, *consumer)) { in GetProducerConsumerMultiOutputFusionCandidates()
125 VLOG(3) << producer->name() << " and " << consumer->name() in GetProducerConsumerMultiOutputFusionCandidates()
139 CHECK(reachability.IsPresent(operand) && reachability.IsPresent(producer)) in GetProducerConsumerMultiOutputFusionCandidates()
142 return producer != operand && reachability.IsReachable(producer, operand); in GetProducerConsumerMultiOutputFusionCandidates()
145 VLOG(3) << producer->name() << " would introduce a cycle when fused."; in GetProducerConsumerMultiOutputFusionCandidates()
[all …]
Dinstruction_fusion.cc59 HloInstruction* producer = consumer->mutable_operand(operand_index); in ShouldFuseInexpensiveChecks() local
62 if (producer->opcode() == HloOpcode::kFusion) { in ShouldFuseInexpensiveChecks()
63 VLOG(4) << "Producer " << producer->name() << " is a fusion op"; in ShouldFuseInexpensiveChecks()
68 if (producer->opcode() != HloOpcode::kFusion && is_expensive(*producer) && in ShouldFuseInexpensiveChecks()
70 VLOG(4) << "Do not fuse simple, expensive producer " << producer->name() in ShouldFuseInexpensiveChecks()
75 if (!IsProducerConsumerFusible(*producer, *consumer) || in ShouldFuseInexpensiveChecks()
77 VLOG(4) << "Producer " << producer->name() in ShouldFuseInexpensiveChecks()
91 auto producer = consumer->operand(operand_index); in ShouldFuse() local
94 if (FusionWouldBeTooLarge(*consumer, *producer, in ShouldFuse()
96 VLOG(5) << "Fusion of (" << producer->ToString() << ") into (" in ShouldFuse()
[all …]
Dgpu_fusible.cc91 bool LayoutsAreReduceInputFusionFriendly(const HloInstruction& producer, in LayoutsAreReduceInputFusionFriendly() argument
94 AppendParams(producer, &params); in LayoutsAreReduceInputFusionFriendly()
241 bool IsProducerConsumerFusible(const HloInstruction& producer, in IsProducerConsumerFusible() argument
243 if (!IsLoopFusible(producer)) { in IsProducerConsumerFusible()
244 VLOG(5) << "Producer " << producer.name() << " is not loop-fusible"; in IsProducerConsumerFusible()
255 if (producer.IsMultiOutputFusion()) { in IsProducerConsumerFusible()
256 VLOG(5) << "Producer " << producer.name() in IsProducerConsumerFusible()
261 if (CreatesNestedLoop(producer, consumer)) { in IsProducerConsumerFusible()
262 VLOG(5) << "Fusing " << producer.name() << " into " << consumer.name() in IsProducerConsumerFusible()
270 !LayoutsAreReduceInputFusionFriendly(producer, consumer)) { in IsProducerConsumerFusible()
[all …]
/external/perfetto/src/tracing/ipc/service/
Dproducer_ipc_service.cc67 std::unique_ptr<RemoteProducer> producer(new RemoteProducer()); in InitializeConnection() local
113 producer->service_endpoint = core_service_->ConnectProducer( in InitializeConnection()
114 producer.get(), client_info.uid(), req.producer_name(), in InitializeConnection()
121 if (!producer->service_endpoint) { in InitializeConnection()
127 producer->service_endpoint->IsShmemProvidedByProducer(); in InitializeConnection()
129 producers_.emplace(ipc_client_id, std::move(producer)); in InitializeConnection()
143 RemoteProducer* producer = GetProducerForCurrentRequest(); in RegisterDataSource() local
144 if (!producer) { in RegisterDataSource()
177 RemoteProducer* producer = GetProducerForCurrentRequest(); in UnregisterDataSource() local
178 if (!producer) { in UnregisterDataSource()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc57 bool CanBeOutputFused(const HloInstruction* producer, in CanBeOutputFused() argument
60 IsNonComplexNonBatchedMatrixVectorDot(producer) && in CanBeOutputFused()
61 HasExactlyOneUse(*producer) == 1; in CanBeOutputFused()
73 HloInstruction* producer = consumer->mutable_operand(operand_index); in ShouldFuse() local
79 if (CanBeOutputFused(producer, consumer)) { in ShouldFuse()
84 if (CanBeOutputFusedIntoSomeOperand(producer)) { in ShouldFuse()
90 if (!CanBeLoopFused(*producer)) { in ShouldFuse()
97 if (producer->opcode() != HloOpcode::kFusion && is_expensive(*producer) && in ShouldFuse()
110 if (producer->opcode() == HloOpcode::kConstant && in ShouldFuse()
117 if (producer->opcode() == HloOpcode::kFusion) { in ShouldFuse()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dinstruction_fusion.cc225 HloInstruction* producer, HloInstruction* consumer, in CanFuseOnAllPaths() argument
229 if (consumer == producer) { in CanFuseOnAllPaths()
235 auto cache_it = result_cache->find(std::make_pair(producer, consumer)); in CanFuseOnAllPaths()
244 if (!reachability_->IsReachable(producer, consumer_operand)) { in CanFuseOnAllPaths()
256 if (!CanFuseOnAllPaths(producer, consumer_operand, do_not_fuse, in CanFuseOnAllPaths()
262 result_cache->emplace(std::make_pair(producer, consumer), result); in CanFuseOnAllPaths()
282 HloInstruction* producer = *it; in ComputeGloballyUnfusible() local
288 if (EffectivelyAtMostUnary(producer)) { in ComputeGloballyUnfusible()
307 for (const HloInstruction* op : producer->unique_operands()) { in ComputeGloballyUnfusible()
310 if (operands_size <= total_size(producer->shape())) { in ComputeGloballyUnfusible()
[all …]
Dinstruction_fusion.h91 virtual HloInstruction::FusionKind ChooseKind(const HloInstruction* producer,
98 HloInstruction* producer);
101 virtual HloInstruction* Fuse(HloInstruction* producer,
108 virtual HloInstruction* FuseIntoMultiOutput(HloInstruction* producer,
119 bool FusionWouldDuplicate(const HloInstruction& producer, in FusionWouldDuplicate() argument
121 return !(producer.users().size() == 1 && consumer.IsUserOf(&producer)); in FusionWouldDuplicate()
129 bool MultiOutputFusionCreatesCycle(HloInstruction* producer,
156 HloInstruction* AddFusionInstruction(HloInstruction* producer,
166 HloInstruction* producer, HloInstruction* consumer,
Dfusion_node_indexing_evaluation.cc83 const HloInstruction* producer) const { in CodeDuplicationTooHigh()
84 int64 emitted_instructions = EvaluateEmittedInstructions(producer); in CodeDuplicationTooHigh()
86 (OpInvalidatesCache(producer) && in CodeDuplicationTooHigh()
87 (emitted_instructions > 1 || UserCount(producer) > 1)); in CodeDuplicationTooHigh()
102 const HloInstruction* producer) const { in EvaluateEmittedInstructions()
104 for (const auto* user : indexing_users_.at(producer)) { in EvaluateEmittedInstructions()
111 const HloInstruction* producer, in UpdateEvaluationCache() argument
113 CHECK(!indexing_users_.contains(producer)); in UpdateEvaluationCache()
114 indexing_users_[producer] = std::move(indexing_users_of_producer); in UpdateEvaluationCache()
115 UpdateIndexUsageCount(producer); in UpdateEvaluationCache()
[all …]
/external/toolchain-utils/debug_info_test/
Dcheck_cus.py18 def check_compile_unit(dso_path, producer, comp_path): argument
31 if not c(dso_path, producer, comp_path):
48 producer = ''
58 if producer:
59 failed = failed.union(check_compile_unit(dso_path, producer, comp_path))
60 producer = ''
63 producer = l
68 if producer:
69 failed = failed.union(check_compile_unit(dso_path, producer, comp_path))
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DFusionOnTensors.cpp30 static bool areTensorOpsFusable(LinalgOp producer, LinalgOp consumer, in areTensorOpsFusable() argument
33 if (!producer.hasTensorSemantics() || !consumer.hasTensorSemantics()) in areTensorOpsFusable()
38 if (producer.getNumParallelLoops() != producer.getNumLoops()) in areTensorOpsFusable()
44 if (consumerIndexMap.getNumResults() != producer.getNumLoops()) in areTensorOpsFusable()
49 AffineMap producerResultIndexMap = producer.getOutputIndexingMap(0); in areTensorOpsFusable()
57 LinalgOp producer, AffineMap fusedConsumerArgIndexMap, in getIndexingMapOfProducerOperandsInFusedOp() argument
65 AffineMap producerResultIndexMap = producer.getOutputIndexingMap(0); in getIndexingMapOfProducerOperandsInFusedOp()
73 for (unsigned argNum : llvm::seq<unsigned>(0, producer.getNumInputs())) { in getIndexingMapOfProducerOperandsInFusedOp()
75 AffineMap argMap = producer.getInputIndexingMap(argNum); in getIndexingMapOfProducerOperandsInFusedOp()
91 Operation *fusedOp, LinalgOp producer, in generateFusedTensorOpRegion() argument
[all …]
/external/rust/crates/rayon/src/iter/plumbing/
Dmod.rs30 fn callback<P>(self, producer: P) -> Self::Output in callback()
369 fn callback<P>(self, producer: P) -> C::Result in bridge()
373 bridge_producer_consumer(self.len, producer, self.consumer) in bridge()
391 pub fn bridge_producer_consumer<P, C>(len: usize, producer: P, consumer: C) -> C::Result in bridge_producer_consumer()
396 let splitter = LengthSplitter::new(producer.min_len(), producer.max_len(), len); in bridge_producer_consumer()
397 return helper(len, false, splitter, producer, consumer); in bridge_producer_consumer()
403 producer: P, in bridge_producer_consumer()
414 let (left_producer, right_producer) = producer.split_at(mid); in bridge_producer_consumer()
438 producer.fold_with(consumer.into_folder()).complete() in bridge_producer_consumer()
446 pub fn bridge_unindexed<P, C>(producer: P, consumer: C) -> C::Result in bridge_unindexed()
[all …]
/external/llvm-project/llvm/test/DebugInfo/Generic/
Ddebug-names-many-cu.ll73 !12 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
79 !22 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
85 !32 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
91 !42 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
97 !52 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
103 !62 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
109 !72 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
115 !82 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
121 !92 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
127 !102 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (tru…
[all …]
/external/XNNPACK/src/
Dsubgraph.c309 const uint32_t producer_id = value->producer; in xnn_subgraph_rewrite_for_nchw()
358 const uint32_t producer_id = value->producer; in xnn_subgraph_rewrite_for_nchw()
496 value->producer = XNN_INVALID_NODE_ID; in xnn_subgraph_optimize()
519 assert(subgraph->values[output_id].producer == XNN_INVALID_NODE_ID); in xnn_subgraph_optimize()
520 subgraph->values[output_id].producer = n; in xnn_subgraph_optimize()
544 const uint32_t producer_id = value->producer; in xnn_subgraph_optimize()
556 struct xnn_node* producer = &subgraph->nodes[producer_id]; in xnn_subgraph_optimize() local
557 assert(producer->type != xnn_node_type_invalid); in xnn_subgraph_optimize()
563 switch (producer->type) { in xnn_subgraph_optimize()
576 assert(producer->num_outputs == 1); in xnn_subgraph_optimize()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dtranslate_utils.cc25 auto producer = in PopulateTfVersions() local
26 b.getNamedAttr("producer", b.getI32IntegerAttr(versions.producer())); in PopulateTfVersions()
35 {producer, min_consumer, bad_consumers}))); in PopulateTfVersions()
45 auto producer = in ExtractTfVersions() local
47 if (!producer) return mlir::failure(); in ExtractTfVersions()
48 versions->set_producer(producer.getInt()); in ExtractTfVersions()
75 auto producer = versions.get("producer").dyn_cast<mlir::IntegerAttr>(); in GetTfGraphProducerVersion() local
76 if (!producer) { in GetTfGraphProducerVersion()
80 return producer.getInt(); in GetTfGraphProducerVersion()
/external/dagger2/javatests/dagger/functional/producers/
DProducerFactoryTest.java78 Producer<String> producer = in noArgMethod() local
80 assertThat(producer.get().get()).isEqualTo("str"); in noArgMethod()
93 Producer<String> producer = in singleArgMethod() local
96 assertThat(producer.get().isDone()).isFalse(); in singleArgMethod()
98 assertThat(producer.get().get()).isEqualTo("str with arg"); in singleArgMethod()
110 Producer<String> producer = in successMonitor() local
113 assertThat(producer.get().isDone()).isFalse(); in successMonitor()
121 assertThat(producer.get().isDone()).isFalse(); in successMonitor()
124 assertThat(producer.get().get()).isEqualTo("monkey"); in successMonitor()
139 Producer<String> producer = in failureMonitor() local
[all …]

12345678910>>...113