Home
last modified time | relevance | path

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

/external/minijail/
Dsyscall_filter_unittest.cc355 virtual void SetUp() { labels_.count = 0; } in SetUp()
356 virtual void TearDown() { free_label_strings(&labels_); } in TearDown()
357 struct bpf_labels labels_; member in BpfLabelTest
361 int res = bpf_resolve_jumps(&labels_, nullptr, 0); in TEST_F()
364 EXPECT_EQ(labels_.count, 0U); in TEST_F()
370 int id = bpf_label_id(&labels_, "test"); in TEST_F()
372 int res = bpf_resolve_jumps(&labels_, test_label, 1); in TEST_F()
375 EXPECT_EQ(labels_.count, 1U); in TEST_F()
381 int id = bpf_label_id(&labels_, "test"); in TEST_F()
384 int res = bpf_resolve_jumps(&labels_, test_label, 2); in TEST_F()
[all …]
/external/v8/src/interpreter/
Dbytecode-label.h86 explicit BytecodeLabels(Zone* zone) : labels_(zone), is_bound_(false) {} in BytecodeLabels()
97 std::all_of(labels_.begin(), labels_.end(), [](const BytecodeLabel& l) { in is_bound()
103 bool empty() const { return labels_.empty(); } in empty()
106 ZoneLinkedList<BytecodeLabel> labels_;
Dbytecode-label.cc16 labels_.emplace_back(BytecodeLabel()); in New()
17 return &labels_.back(); in New()
23 for (auto& label : labels_) { in Bind()
Dbytecode-generator.cc948 labels_(bytecode_generator->zone()) { in OptionalChainNullLabelScope()
950 bytecode_generator_->optional_chaining_null_labels_ = &labels_; in OptionalChainNullLabelScope()
957 BytecodeLabels* labels() { return &labels_; } in labels()
961 BytecodeLabels labels_; member in v8::internal::interpreter::BytecodeGenerator::OptionalChainNullLabelScope
/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/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.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/v8/src/compiler/backend/
Dcode-generator.h148 Label* GetLabel(RpoNumber rpo) { return &labels_[rpo.ToSize()]; } in GetLabel()
430 Label* const labels_; variable
Dcode-generator.cc61 labels_( in CodeGenerator()
90 new (&labels_[i]) Label; in CodeGenerator()
/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/v8/src/parsing/
Dparser-base.h365 labels_(labels), in Target()
380 const ZonePtrList<const AstRawString>* labels() const { return labels_; } in labels()
392 const ZonePtrList<const AstRawString>* const labels_; variable