Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc252 virtual void SetUp() { labels_.count = 0; } in SetUp()
253 virtual void TearDown() { free_label_strings(&labels_); } in TearDown()
254 struct bpf_labels labels_; member in BpfLabelTest
258 int res = bpf_resolve_jumps(&labels_, nullptr, 0); in TEST_F()
261 EXPECT_EQ(labels_.count, 0U); in TEST_F()
267 int id = bpf_label_id(&labels_, "test"); in TEST_F()
269 int res = bpf_resolve_jumps(&labels_, test_label, 1); in TEST_F()
272 EXPECT_EQ(labels_.count, 1U); in TEST_F()
278 int id = bpf_label_id(&labels_, "test"); in TEST_F()
281 int res = bpf_resolve_jumps(&labels_, test_label, 2); in TEST_F()
[all …]
/external/toolchain-utils/crosperf/
Dmachine_image_manager_unittest.py244 self.assertTrue(mim.allocate(mim.duts_[2]) == mim.labels_[0])
245 self.assertTrue(mim.allocate(mim.duts_[3]) == mim.labels_[2])
246 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[1])
247 self.assertTrue(mim.allocate(mim.duts_[1]) == mim.labels_[2])
248 self.assertTrue(mim.allocate(mim.duts_[3]) == mim.labels_[1])
249 self.assertTrue(mim.allocate(mim.duts_[3]) == mim.labels_[0])
252 self.assertTrue(mim.allocate(mim.duts_[1]) == mim.labels_[1])
302 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[0])
303 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[1])
304 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[2])
Dmachine_image_manager.py143 self.labels_ = labels
154 for l in self.labels_]
155 for ol, l in enumerate(self.labels_):
220 label = self.labels_[i]
280 for i, _ in enumerate(self.labels_):
/external/vixl/benchmarks/aarch64/
Dbench-utils.cc209 if (!labels_.empty()) { in GenerateTrivialSequence()
210 __ Adr(PickX(), labels_.begin()->target); in GenerateTrivialSequence()
290 std::list<LabelPair>::iterator it = labels_.begin(); in BindPendingLabels()
291 while ((it != labels_.end()) && (bind_mask != 0)) { in BindPendingLabels()
298 it = labels_.erase(it); in BindPendingLabels()
308 while (!labels_.empty()) { in BindAllPendingLabels()
321 labels_.push_front(pair); in GenerateBranchSequence()
330 labels_.push_front(pair); in GenerateBranchSequence()
337 labels_.push_front(pair); in GenerateBranchSequence()
Dbench-utils.h260 std::list<LabelPair> labels_; variable
/external/tensorflow/tensorflow/core/kernels/
Dsparse_xent_op.h66 labels_(labels), in SparseXentLossGenerator()
73 const Index label = tensorflow::internal::SubtleMustCopy(labels_(batch)); in operator()
85 typename TTypes<const Index, 1>::Tensor32Bit labels_; variable
106 labels_(labels), in SparseXentGradGenerator()
113 const Index label = tensorflow::internal::SubtleMustCopy(labels_(batch)); in operator()
124 typename TTypes<const Index, 1>::Tensor32Bit labels_; variable
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl.cc206 annotator->labels_.clear(); in Create()
208 annotator->labels_.emplace_back(); in Create()
209 annotator->labels_.back().boise_type = label->boise_type(); in Create()
210 annotator->labels_.back().mention_type = label->mention_type(); in Create()
211 annotator->labels_.back().collection_id = label->collection_id(); in Create()
223 model->priority_score(), &annotator->labels_, &annotator->collections_); in Create()
249 TC3_CHECK_EQ(output->dims->data[2], labels_.size()); in ReadResultsFromInterpreter()
263 return_value[step] = labels_[max_index]; in ReadResultsFromInterpreter()
Dpod-ner-impl.h88 std::vector<PodNerModel_::LabelT> labels_; variable
/external/openscreen/discovery/mdns/
Dmdns_records.cc114 : max_wire_size_(max_wire_size), labels_(std::move(labels)) {} in DomainName()
125 return absl::StrJoin(labels_, "."); in ToString()
130 for (; i < labels_.size(); i++) { in operator <()
131 if (i == rhs.labels_.size()) { in operator <()
134 int result = CompareIgnoreCase(labels_[i], rhs.labels_[i]); in operator <()
142 return i < rhs.labels_.size(); in operator <()
158 if (labels_.size() != rhs.labels_.size()) { in operator ==()
161 for (size_t i = 0; i < labels_.size(); i++) { in operator ==()
162 if (CompareIgnoreCase(labels_[i], rhs.labels_[i]) != 0) { in operator ==()
Dmdns_records.h84 bool empty() const { return labels_.empty(); } in empty()
85 bool IsRoot() const { return labels_.empty(); } in IsRoot()
86 const std::vector<std::string>& labels() const { return labels_; } in labels()
90 std::vector<std::string> labels_clone = domain_name.labels_; in AbslHashValue()
102 std::vector<std::string> labels_; variable
/external/grpc-grpc/test/cpp/microbenchmarks/
Dhelpers.cc25 for (const auto& l : labels_) { in Finish()
37 labels_.push_back(label); in AddLabel()
Dhelpers.h73 std::vector<grpc::string> labels_; variable
/external/llvm-project/flang/lib/Semantics/
Dcheck-coarray.cpp25 std::set<parser::Label> labels() { return labels_; } in labels()
32 labels_.insert(*statement.label); in Pre()
60 std::set<parser::Label> labels_; member in Fortran::semantics::CriticalBodyEnforce
Dcheck-do-forall.cpp91 std::set<parser::Label> labels() { return labels_; } in labels()
98 labels_.insert(*statement.label); in Pre()
328 std::set<parser::Label> labels_; member in Fortran::semantics::DoConcurrentBodyEnforce
Dtools.cpp1346 if (labels_.find(labelUsed) == labels_.end()) { in checkLabelUse()
/external/tensorflow/tensorflow/examples/speech_commands/
Drecognize_commands.cc24 : labels_(labels), in RecognizeCommands()
101 const string current_top_label = labels_[current_top_index]; in ProcessLatestResults()
Drecognize_commands.h64 std::vector<string> labels_;
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.h125 map<string, llvm::BasicBlock *> labels_; variable
Dcodegen_llvm.cc1183 labels_[scoped_entry_label] = label_entry; in visit_func_decl_stmt_node()
1320 auto it = labels_.find(scoped_label); in resolve_label()
1321 if (it != labels_.end()) return it->second; in resolve_label()
1323 labels_[scoped_label] = label_new; in resolve_label()
/external/llvm-project/flang/include/flang/Semantics/
Dtools.h517 : context_{context}, labels_{labels}, in LabelEnforce()
541 std::set<parser::Label> labels_; variable