/external/minijail/ |
D | syscall_filter_unittest.cc | 355 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/ |
D | bytecode-label.h | 86 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_;
|
D | bytecode-label.cc | 16 labels_.emplace_back(BytecodeLabel()); in New() 17 return &labels_.back(); in New() 23 for (auto& label : labels_) { in Bind()
|
D | bytecode-generator.cc | 948 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/ |
D | machine_image_manager_unittest.py | 244 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])
|
D | machine_image_manager.py | 143 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/ |
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/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 | 24 : labels_(labels), in RecognizeCommands() 101 const string current_top_label = labels_[current_top_index]; in ProcessLatestResults()
|
D | recognize_commands.h | 64 std::vector<string> labels_;
|
/external/v8/src/compiler/backend/ |
D | code-generator.h | 148 Label* GetLabel(RpoNumber rpo) { return &labels_[rpo.ToSize()]; } in GetLabel() 430 Label* const labels_; variable
|
D | code-generator.cc | 61 labels_( in CodeGenerator() 90 new (&labels_[i]) Label; in CodeGenerator()
|
/external/bcc/src/cc/frontends/b/ |
D | codegen_llvm.h | 125 map<string, llvm::BasicBlock *> labels_; variable
|
D | codegen_llvm.cc | 1183 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/ |
D | parser-base.h | 365 labels_(labels), in Target() 380 const ZonePtrList<const AstRawString>* labels() const { return labels_; } in labels() 392 const ZonePtrList<const AstRawString>* const labels_; variable
|