Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc242 virtual void SetUp() { labels_.count = 0; } in SetUp()
243 virtual void TearDown() { free_label_strings(&labels_); } in TearDown()
244 struct bpf_labels labels_; member in BpfLabelTest
248 int res = bpf_resolve_jumps(&labels_, nullptr, 0); in TEST_F()
251 EXPECT_EQ(labels_.count, 0U); in TEST_F()
257 int id = bpf_label_id(&labels_, "test"); in TEST_F()
259 int res = bpf_resolve_jumps(&labels_, test_label, 1); in TEST_F()
262 EXPECT_EQ(labels_.count, 1U); in TEST_F()
268 int id = bpf_label_id(&labels_, "test"); in TEST_F()
271 int res = bpf_resolve_jumps(&labels_, test_label, 2); in TEST_F()
[all …]
/external/toolchain-utils/crosperf/
Dmachine_image_manager_unittest.py272 self.assertTrue(mim.allocate(mim.duts_[2]) == mim.labels_[0])
273 self.assertTrue(mim.allocate(mim.duts_[3]) == mim.labels_[2])
274 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[1])
275 self.assertTrue(mim.allocate(mim.duts_[1]) == mim.labels_[2])
276 self.assertTrue(mim.allocate(mim.duts_[3]) == mim.labels_[1])
277 self.assertTrue(mim.allocate(mim.duts_[3]) == mim.labels_[0])
280 self.assertTrue(mim.allocate(mim.duts_[1]) == mim.labels_[1])
332 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[0])
333 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[1])
334 self.assertTrue(mim.allocate(mim.duts_[0]) == mim.labels_[2])
Dmachine_image_manager.py142 self.labels_ = labels
153 for l in self.labels_
155 for ol, l in enumerate(self.labels_):
220 label = self.labels_[i]
283 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/tensorflow/tensorflow/core/framework/
Dmetrics.h239 : counter_(counter), labels_(labels) { in ScopedCounter()
254 labels_ = labels; in Reset()
296 counter_->GetCell(labels_[S]...)->IncrementBy(time_interval); in ReportInternal()
307 std::array<std::string, NumLabels> 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/tensorflow/tensorflow/examples/speech_commands/
Drecognize_commands.cc25 : labels_(labels), in RecognizeCommands()
102 const string current_top_label = labels_[current_top_index]; in ProcessLatestResults()
Drecognize_commands.h64 std::vector<string> labels_;
/external/rappor/third_party/
Ddygraph-combined.js2labels_=[],this.highlightSeries_=this.get("highlightSeriesOpts")||{},this.reparseSeries()};t.AXIS_… property