Home
last modified time | relevance | path

Searched refs:root_ (Results 1 – 25 of 60) sorted by relevance

123

/third_party/boost/tools/quickbook/src/
Dtree.cpp19 t->root_ && !t->root_->parent_ && !t->root_->prev_ && in add_before()
20 !t->root_->next_); in add_before()
21 t->root_->parent_ = this->parent_; in add_before()
22 t->root_->next_ = this; in add_before()
24 t->root_->prev_ = this->prev_; in add_before()
25 this->prev_->next_ = t->root_; in add_before()
28 this->parent_->children_ = t->root_; in add_before()
30 this->prev_ = t->root_; in add_before()
31 t->root_ = 0; in add_before()
37 t->root_ && !t->root_->parent_ && !t->root_->prev_ && in add_after()
[all …]
Dtree.hpp84 tree_node_base* root_; member
111 T* root() const { return static_cast<T*>(root_); } in root()
153 T* root() const { return static_cast<T*>(root_); } in root()
/third_party/skia/third_party/externals/dawn/src/common/
DLinkedList.h186 LinkedList() : root_(&root_, &root_) { in LinkedList()
193 root_.RemoveFromList(); in ~LinkedList()
198 e->InsertBefore(&root_); in Append()
206 l->root_.previous_->next_ = root_.next_; in MoveInto()
207 root_.next_->previous_ = l->root_.previous_; in MoveInto()
208 l->root_.previous_ = root_.previous_; in MoveInto()
209 root_.previous_->next_ = &l->root_; in MoveInto()
211 root_.next_ = &root_; in MoveInto()
212 root_.previous_ = &root_; in MoveInto()
216 return root_.next(); in head()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dtreap.h69 auto *n = Search(root_, k); in Search()
80 if (root_ != nullptr) { in Top()
81 return std::make_pair(root_->nv, true); in Top()
89 if (root_ != nullptr) { in Pop()
90 DeleteKey(root_->nv.key); in Pop()
99 void Insert(key_type k, priority_type p) { root_ = Insert(root_, k, p); } in Insert()
103 void DeleteKey(key_type k) { root_ = DeleteNode(root_, k); } in DeleteKey()
105 Treap() : root_(nullptr), count_(0) { free_list_.reserve(kResvSz); } in Treap()
108 DeleteTreap(root_); in ~Treap()
120 cur_ = tr_->root_; in iterator()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Ddataset_iterator.cc82 : root_(exe_tree->root()), in DatasetIterator()
110 bool is_profiling_enable = root_->Tree()->GetProfilingManager()->IsProfilingEnable(); in FetchNextTensorRow()
120 cur_connector_size_ = root_->ConnectorSize(); in FetchNextTensorRow()
121 cur_connector_capacity_ = root_->ConnectorCapacity(); in FetchNextTensorRow()
124 RETURN_IF_NOT_OK(root_->GetNextRow(out_row)); in FetchNextTensorRow()
135 root_->Tree()->SetEpochEnd(); in FetchNextTensorRow()
146 root_->Tree()->SetFinished(); in FetchNextTensorRow()
162 return root_->column_name_id_map(); in GetColumnNameMap()
Dtree_adapter_lite.cc22 TreeAdapterLite::TreeAdapterLite() : root_(nullptr) { tree_ = std::make_unique<ExecutionTree>(); } in TreeAdapterLite()
54 RETURN_IF_NOT_OK(BuildExecutionTreeRecur(root_ir, &root_)); in BuildTree()
55 RETURN_IF_NOT_OK(tree_->AssignRoot(root_)); in BuildTree()
60 RETURN_UNEXPECTED_IF_NULL(root_); in GetNextRow()
61 RETURN_IF_NOT_OK(root_->GetNextRowPullMode(row)); in GetNextRow()
Dexecution_tree.cc36 root_ = nullptr; in ExecutionTree()
58 DeviceQueueOp *op = dynamic_cast<DeviceQueueOp *>(root_.get()); in ~ExecutionTree()
114 root_ = op; in AssignRoot()
123 this->PrintNode(out, op == nullptr ? root_ : op, "", true, false); in Print()
126 this->PrintNode(out, op == nullptr ? root_ : op, "", true, true); in Print()
260 if (root_ == nullptr) { in Prepare()
265 std::shared_ptr<DatasetOp> op = root_; in Prepare()
Dexecution_tree.h131 return Iterator(root == nullptr ? root_ : root);
160 std::shared_ptr<DatasetOp> root() const { return root_; } in root()
209 std::shared_ptr<DatasetOp> root_; // The root node of the tree variable
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dservice_provider_dir.cc13 ServiceProviderDir::ServiceProviderDir() : root_(new vfs::PseudoDir()) {} in ServiceProviderDir()
24 root_->AddEntry(service_name, std::move(service)); in AddService()
29 return root_->GetAttr(out_attributes); in GetAttr()
39 return root_->Readdir(offset, data, len, out_offset, out_actual); in Readdir()
44 zx_status_t status = root_->Lookup(name, out); in Lookup()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dmove_to_front.h89 return SizeOf(root_); in GetSize()
249 return node == root_ || !IsOrphan(node); in IsInTree()
298 uint32_t root_ = 0; variable
384 uint32_t node = root_; in ValueFromRank()
420 if (!root_) { in InsertNode()
421 root_ = node; in InsertNode()
425 uint32_t iter = root_; in InsertNode()
530 if (root_ == node) in RemoveNode()
531 root_ = child; in RemoveNode()
591 root_ = pivot; in RotateLeft()
[all …]
Dhuffman_codec.h82 root_ = right; in HuffmanCodec()
108 PrintTreeInternal(out, root_, 0); in PrintTree()
115 queue.emplace(root_, "");
161 Node* node = root_; in DecodeFromStream()
251 queue.emplace(root_, 0, 0); in CreateEncodingTable()
283 Node* root_ = nullptr; variable
/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc216 if (root_.children.empty()) { in MergeMessage()
219 MergeMessage(&root_, source, options, destination); in MergeMessage()
228 if (root_.children.empty()) { in AddRequiredFieldPath()
231 AddRequiredFieldPath(&root_, descriptor); in AddRequiredFieldPath()
238 if (root_.children.empty()) { in TrimMessage()
241 return TrimMessage(&root_, message); in TrimMessage()
288 Node root_; member in google::protobuf::util::__anonbf623a120111::FieldMaskTree
304 MergeToFieldMask("", &root_, mask); in MergeToFieldMask()
331 Node* node = &root_; in AddPath()
333 if (!new_branch && node != &root_ && node->children.empty()) { in AddPath()
[all …]
/third_party/boost/boost/spirit/home/support/detail/lexer/
Dgenerator.hpp67 detail::node *root_ = build_tree (rules_, index_, in build() local
70 build_dfa (root_, set_mapping_, in build()
174 detail::node *root_ = parser::parse (regex_.c_str (), in build_tree() local
184 tree_vector_.push_back (root_); in build_tree()
192 root_ = parser::parse (regex2_.c_str (), in build_tree()
198 tree_vector_.push_back (root_); in build_tree()
228 root_ = *iter_; in build_tree()
236 (root_, *iter_); in build_tree()
237 root_ = node_ptr_vector_->back (); in build_tree()
270 return root_; in build_tree()
[all …]
/third_party/nghttp2/src/
Dshrpx_router.cc39 Router::Router() : balloc_(1024, 1024), root_{} {} in Router()
82 auto node = &root_; in add_route()
318 node = match_complete(&offset, &root_, std::begin(host), std::end(host)); in match()
326 if (node == nullptr || node == &root_) { in match()
337 node = match_complete(&offset, &root_, std::begin(s), std::end(s)); in match()
394 *last_node = &root_; in match_prefix()
418 void Router::dump() const { dump_node(&root_, 0); } in dump()
/third_party/spirv-tools/source/opt/
Dunify_const_pass.cpp36 ResultIdTrie() : root_(new Node) {} in ResultIdTrie()
46 auto* node = root_.get(); in LookupEquivalentResultFor()
104 std::unique_ptr<Node> root_; // The root node of the trie. member in spvtools::opt::__anon62db6add0111::ResultIdTrie
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dunify_const_pass.cpp33 ResultIdTrie() : root_(new Node) {} in ResultIdTrie()
43 auto* node = root_.get(); in LookupEquivalentResultFor()
101 std::unique_ptr<Node> root_; // The root node of the trie. member in spvtools::opt::__anon00111da70111::ResultIdTrie
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dunify_const_pass.cpp36 ResultIdTrie() : root_(new Node) {} in ResultIdTrie()
46 auto* node = root_.get(); in LookupEquivalentResultFor()
104 std::unique_ptr<Node> root_; // The root node of the trie. member in spvtools::opt::__anonf316623e0111::ResultIdTrie
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dunify_const_pass.cpp36 ResultIdTrie() : root_(new Node) {} in ResultIdTrie()
46 auto* node = root_.get(); in LookupEquivalentResultFor()
104 std::unique_ptr<Node> root_; // The root node of the trie. member in spvtools::opt::__anon80efc0520111::ResultIdTrie
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/pre/
Ddeep_copy_pass.h52 std::shared_ptr<RootNode> Root() { return root_; } in Root()
55 std::shared_ptr<RootNode> root_;
Ddeep_copy_pass.cc25 root_ = std::make_shared<RootNode>(); in DeepCopyPass()
26 parent_ = root_.get(); in DeepCopyPass()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/pipeline_transformer/
Dpipeline_transformer.cc59 if (!root_->has_flag(TRAINING)) { in MainGraph()
60 main_graph_ = root_; in MainGraph()
147 if (!root_->has_flag(TRAINING)) { in LabelMicroBatch()
200 if (fg == root_ && root_->has_flag(TRAINING)) { in Coloring()
410 auto parameters = root_->parameters(); in HandleSharedParameter()
426 if (graph == root_ || graph->stage() == -1 || !parameter_stage.count(stage_)) { in HandleSharedParameter()
460 auto parameters = root_->parameters(); in ParameterColoring()
470 if (graph != root_ && graph->stage() != -1) { in ParameterColoring()
822 if (root_->has_flag(TRAINING) && (stage_num > micro_size_)) { in CutBorder()
903 if (send_ops.empty() && !root_->has_flag(TRAINING)) { in CutGraph()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dstorage_manager.cc42 Path container_name = root_ / ConstructFileName(kPrefix, file_id_, kSuffix); in AddOneContainer()
58 if (root_.IsDirectory()) { in DoServiceStart()
174 StorageManager::StorageManager(const Path &root) : root_(root), file_id_(0), index_(), pool_size_(1… in StorageManager()
177 : root_(root), file_id_(0), index_(), pool_size_(pool_size) {} in StorageManager()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/executor/
Dhccl_dynamic_kernel.h40 root_(root) {} in HcclDynamicKernel()
53 int32_t root_{0};
/third_party/gn/src/gn/
Drust_project_writer_helpers.h42 : root_(root), in Crate()
75 SourceFile& root() { return root_; } in root()
113 SourceFile root_;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrie.java50 pos_=root_=offset; in CharsTrie()
64 root_ = other.root_; in CharsTrie()
86 pos_=root_; in reset()
149 state.root=root_; in saveState()
168 if(chars_==state.chars && chars_!=null && root_==state.root) { in resetToState()
203 return nextImpl(root_, inUnit); in first()
1065 private int root_; field in CharsTrie

123