Home
last modified time | relevance | path

Searched refs:rets (Results 1 – 25 of 31) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
Dstress.c153 int rets[NSCENAR * SCALABILITY_FACTOR * FACTOR]; in main() local
183 rets[i * NSCENAR + sc] = in main()
189 if (rets[i * NSCENAR + sc] != 0) { in main()
190 UNRESOLVED(rets in main()
197 if (rets[i * NSCENAR + sc] == 0) { in main()
206 if (rets[i * NSCENAR + sc] == 0) { in main()
212 strerror(rets in main()
219 if (rets[i * NSCENAR + sc] == 0) { in main()
239 && (rets[i * NSCENAR + sc] == 0)) { in main()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dfunction_ops.cc84 std::vector<Tensor>* rets = new std::vector<Tensor>; in ComputeAsync() local
86 opts, handle_, args, rets, [ctx, done, rets](const Status& status) { in ComputeAsync()
89 } else if (rets->size() != ctx->num_outputs()) { in ComputeAsync()
92 " tensor(s), but get ", rets->size(), " tensor(s) instead.")); in ComputeAsync()
94 for (size_t i = 0; i < rets->size(); ++i) { in ComputeAsync()
95 ctx->set_output(i, (*rets)[i]); in ComputeAsync()
98 delete rets; in ComputeAsync()
/external/tensorflow/tensorflow/core/kernels/
Dfunction_ops.cc255 std::vector<Tensor>* rets = new std::vector<Tensor>; in ComputeAsync() local
256 lib->Run(opts, handle, args, rets, [ctx, done, rets](const Status& status) { in ComputeAsync()
259 } else if (rets->size() != ctx->num_outputs()) { in ComputeAsync()
262 " tensor(s), but get ", rets->size(), " tensor(s) instead.")); in ComputeAsync()
264 for (size_t i = 0; i < rets->size(); ++i) { in ComputeAsync()
265 ctx->set_output(i, (*rets)[i]); in ComputeAsync()
268 delete rets; in ComputeAsync()
330 auto* rets = new std::vector<Tensor>; in ComputeAsync() local
331 lib->Run(opts, handle, args, rets, [rets, done, ctx](const Status& status) { in ComputeAsync()
335 for (size_t i = 0; i < rets->size(); ++i) { in ComputeAsync()
[all …]
Dfunctional_ops.cc82 gtl::ArraySlice<Tensor> rets) { in SetOutputs() argument
83 if (rets.size() != ctx->num_outputs()) { in SetOutputs()
85 " tensors, but only get ", rets.size()); in SetOutputs()
87 for (int i = 0; i < rets.size(); ++i) { in SetOutputs()
88 if (rets[i].dtype() != kernel->output_type(i)) { in SetOutputs()
91 " but get ", DataTypeString(rets[i].dtype())); in SetOutputs()
93 ctx->set_output(i, rets[i]); in SetOutputs()
Dquantization_utils_test.cc751 int64_t rets[2]; in TestDivide64x2Pow() local
752 vst1q_s64(rets, ret); in TestDivide64x2Pow()
753 EXPECT_EQ(rets[0], ref); in TestDivide64x2Pow()
754 EXPECT_EQ(rets[1], ref); in TestDivide64x2Pow()
763 int64_t rets[2]; in TestDivide64x2PowRound() local
764 vst1q_s64(rets, shifted); in TestDivide64x2PowRound()
765 EXPECT_EQ(rets[0], ref) << "in = " << val << ", " << POW in TestDivide64x2PowRound()
766 << ", act = " << rets[0] << ", ref = " << ref; in TestDivide64x2PowRound()
767 EXPECT_EQ(rets[1], ref); in TestDivide64x2PowRound()
768 VLOG(1) << "div round: " << val << ", " << rets[0]; in TestDivide64x2PowRound()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/
Dcaptured_function.cc192 std::vector<Tensor>* rets) { in Run() argument
221 return frame.ConsumeRetvals(rets); in Run()
226 std::vector<Tensor>* rets) { in RunWithBorrowedArgs() argument
256 return frame.ConsumeRetvals(rets); in RunWithBorrowedArgs()
261 std::vector<Tensor>* rets, in RunAsync() argument
296 [rets, step_container, c_mgr, frame]( in RunAsync()
303 s = frame->ConsumeRetvals(rets); in RunAsync()
Dcaptured_function.h58 std::vector<Tensor>* rets);
65 std::vector<Tensor>* rets);
72 std::vector<Tensor>* rets,
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcluster_function_library_runtime_test.cc71 const std::vector<Tensor>& args, std::vector<Tensor*> rets) { in InstantiateAndRun() argument
89 CHECK_EQ(rets.size(), out.size()); in InstantiateAndRun()
90 for (size_t i = 0; i < rets.size(); ++i) { in InstantiateAndRun()
91 *rets[i] = out[i]; in InstantiateAndRun()
Dcluster_function_library_runtime.cc163 std::vector<Tensor>* rets, FunctionLibraryRuntime::DoneCallback done) { in Run() argument
200 [call_options, resp, rets, recv_keys, done](const Status& status) { in Run()
222 rets->push_back(t); in Run()
Dcluster_function_library_runtime.h42 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction.cc164 std::vector<Tensor>* rets, DoneCallback done) override;
239 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
309 std::vector<Tensor>* rets = new std::vector<Tensor>; in ComputeAsync() local
310 lib->Run(opts, handle_, args, rets, in ComputeAsync()
311 [ctx, done, rets](const Status& status) { in ComputeAsync()
315 const int ret_size = static_cast<int>(rets->size()); in ComputeAsync()
318 ctx->set_output(i, (*rets)[i]); in ComputeAsync()
321 delete rets; in ComputeAsync()
669 std::vector<Tensor>* rets, in RunRemote() argument
712 target_incarnation, rendezvous, device_context, rets, done, in RunRemote()
[all …]
Dprocess_function_library_runtime_test.cc54 const std::vector<Tensor>& args, std::vector<Tensor*> rets) { in Run() argument
80 CHECK_EQ(rets.size(), out.size()); in Run()
81 for (size_t i = 0; i < rets.size(); ++i) { in Run()
82 *rets[i] = out[i]; in Run()
Dfunction_test.cc96 void Run(const std::vector<Tensor>& args, std::vector<Tensor*> rets) { in Run() argument
105 CHECK_EQ(computed.size(), rets.size()); in Run()
106 for (int i = 0; i < rets.size(); ++i) { in Run()
107 *(rets[i]) = computed[i]; in Run()
161 const std::vector<Tensor>& args, std::vector<Tensor*> rets) { in Run() argument
181 CHECK_EQ(rets.size(), out.size()); in Run()
182 for (size_t i = 0; i < rets.size(); ++i) { in Run()
183 *rets[i] = out[i]; in Run()
207 std::vector<Tensor*> rets) { in InstantiateAndRun() argument
210 std::move(rets)); in InstantiateAndRun()
[all …]
Dprocess_function_library_runtime.cc262 std::vector<Tensor>* rets, FunctionLibraryRuntime::DoneCallback done) { in Run() argument
312 device_context, rets_alloc_attrs, remote_rets, rets, in Run()
325 rets, done); in Run()
330 parent_->Run(opts, local_handle, args, rets, done); in Run()
/external/v8/src/compiler/
Dwasm-linkage.cc284 Allocator rets = return_registers.Get(); in GetWasmCallDescriptor() local
290 locations.AddReturn(rets.Next(ret)); in GetWasmCallDescriptor()
344 Allocator rets = return_registers.Get(); in ReplaceTypeInCallDescriptorWith() local
349 locations.AddReturn(rets.Next(output_type)); in ReplaceTypeInCallDescriptorWith()
353 rets.Next(descriptor->GetReturnType(i).representation())); in ReplaceTypeInCallDescriptorWith()
Dwasm-compiler.h186 Node* CallDirect(uint32_t index, Node** args, Node*** rets,
188 Node* CallIndirect(uint32_t index, Node** args, Node*** rets,
290 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, Node*** rets,
/external/python/cpython2/Lib/
Dpoplib.py206 rets = retval.split()
207 if self._debugging: print '*stat*', repr(rets)
208 numMessages = int(rets[1])
209 sizeMessages = int(rets[2])
/external/python/cpython3/Lib/
Dpoplib.py222 rets = retval.split()
223 if self._debugging: print('*stat*', repr(rets))
224 numMessages = int(rets[1])
225 sizeMessages = int(rets[2])
/external/tensorflow/tensorflow/contrib/data/kernels/
Dprefetching_kernels.cc184 auto* rets = new std::vector<Tensor>; in FillBuffer() local
185 lib_->Run(opts, handle, func_args_, rets, in FillBuffer()
186 [this, rets](const Status& status) { in FillBuffer()
200 buffer_element.value.swap(*rets); in FillBuffer()
/external/libxml2/
Dgentest.py525 rets = ctxt.xpathEval("/api/symbols/function/return") variable
526 for ret in rets:
703 rets = node.xpathEval("return")
705 rets = []
707 for ret in rets:
/external/tensorflow/tensorflow/core/framework/
Dfunction.h262 Status GetRetvals(std::vector<Tensor>* rets) const;
263 Status ConsumeRetvals(std::vector<Tensor>* rets);
501 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
579 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
Dfunction_test.cc855 std::vector<Tensor> rets; in TEST() local
856 TF_EXPECT_OK(frame.GetRetvals(&rets)); in TEST()
857 EXPECT_EQ(rets.size(), 0); in TEST()
884 std::vector<Tensor> rets; in TEST() local
885 HasError(frame.GetRetvals(&rets), "does not have value"); in TEST()
889 TF_EXPECT_OK(frame.GetRetvals(&rets)); in TEST()
890 EXPECT_EQ(rets.size(), 1); in TEST()
891 test::ExpectTensorEqual<float>(rets[0], v); in TEST()
Dfunction.cc849 Status FunctionCallFrame::GetRetvals(std::vector<Tensor>* rets) const { in GetRetvals()
850 rets->clear(); in GetRetvals()
851 rets->reserve(rets_.size()); in GetRetvals()
855 rets->push_back(item.val); in GetRetvals()
863 Status FunctionCallFrame::ConsumeRetvals(std::vector<Tensor>* rets) { in ConsumeRetvals() argument
864 rets->clear(); in ConsumeRetvals()
865 rets->reserve(rets_.size()); in ConsumeRetvals()
868 rets->emplace_back(std::move(rets_[i].val)); in ConsumeRetvals()
/external/llvm/test/CodeGen/Mips/Fast-ISel/
Dretabi.ll39 define signext i16 @rets() {
41 ; CHECK-LABEL: rets:
/external/v8/src/wasm/
Dfunction-body-decoder.cc1208 TFNode** rets = nullptr; in DecodeFunctionBody() local
1209 BUILD(CallDirect, operand.index, buffer, &rets, position()); in DecodeFunctionBody()
1210 PushReturns(operand.sig, rets); in DecodeFunctionBody()
1221 TFNode** rets = nullptr; in DecodeFunctionBody() local
1222 BUILD(CallIndirect, operand.index, buffer, &rets, position()); in DecodeFunctionBody()
1223 PushReturns(operand.sig, rets); in DecodeFunctionBody()
1552 void PushReturns(FunctionSig* sig, TFNode** rets) { in PushReturns() argument
1555 Push(sig->GetReturn(i), rets ? rets[i] : nullptr); in PushReturns()

12