/external/minijail/ |
D | syscall_filter_unittest.cc | 242 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/ |
D | machine_image_manager_unittest.py | 272 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])
|
D | machine_image_manager.py | 142 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/ |
D | bench-utils.cc | 209 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()
|
D | bench-utils.h | 260 std::list<LabelPair> labels_; variable
|
/external/tensorflow/tensorflow/core/kernels/ |
D | sparse_xent_op.h | 66 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/ |
D | metrics.h | 239 : 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/ |
D | pod-ner-impl.cc | 206 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()
|
D | pod-ner-impl.h | 88 std::vector<PodNerModel_::LabelT> labels_; variable
|
/external/openscreen/discovery/mdns/ |
D | mdns_records.cc | 114 : 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 ==()
|
D | mdns_records.h | 84 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/ |
D | helpers.cc | 25 for (const auto& l : labels_) { in Finish() 37 labels_.push_back(label); in AddLabel()
|
D | helpers.h | 73 std::vector<grpc::string> labels_; variable
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | recognize_commands.cc | 25 : labels_(labels), in RecognizeCommands() 102 const string current_top_label = labels_[current_top_index]; in ProcessLatestResults()
|
D | recognize_commands.h | 64 std::vector<string> labels_;
|
/external/rappor/third_party/ |
D | dygraph-combined.js | 2 …labels_=[],this.highlightSeries_=this.get("highlightSeriesOpts")||{},this.reparseSeries()};t.AXIS_… property
|