Home
last modified time | relevance | path

Searched refs:cur_name_space_ (Results 1 – 4 of 4) sorted by relevance

/external/flatbuffers/src/
Didl_gen_rust.cpp194 cur_name_space_(nullptr) { in RustGenerator()
300 assert(!cur_name_space_); in generate()
358 if (cur_name_space_) SetNameSpace(nullptr); in generate()
371 const Namespace *cur_name_space_; member in flatbuffers::rust::RustGenerator
373 const Namespace *CurrentNameSpace() const { return cur_name_space_; } in CurrentNameSpace()
1768 if (cur_name_space_ == ns) { return; } in SetNameSpace()
1774 size_t old_size = cur_name_space_ ? cur_name_space_->components.size() : 0; in SetNameSpace()
1780 cur_name_space_->components[common_prefix_size]) { in SetNameSpace()
1787 code_ += "} // pub mod " + cur_name_space_->components[j - 1]; in SetNameSpace()
1800 cur_name_space_ = ns; in SetNameSpace()
Didl_gen_go.cpp68 cur_name_space_(nullptr) { in GoGenerator()
115 Namespace *cur_name_space_; member in flatbuffers::go::GoGenerator
139 return WrapInNameSpaceAndTrack(cur_name_space_, GoIdentity(enum_def.name)); in GetEnumTypeName()
659 cur_name_space_ = struct_def.defined_namespace; in GenStruct()
698 cur_name_space_ = enum_def.defined_namespace; in GenEnum()
870 const Namespace *CurrentNameSpace() const { return cur_name_space_; } in CurrentNameSpace()
Didl_gen_cpp.cpp42 cur_name_space_(nullptr), in CppGenerator()
222 FLATBUFFERS_ASSERT(!cur_name_space_); in generate()
342 auto qualified_name = cur_name_space_->GetFullyQualifiedName(name); in generate()
457 if (cur_name_space_) SetNameSpace(nullptr); in generate()
473 const Namespace *cur_name_space_; member in flatbuffers::cpp::CppGenerator
475 const Namespace *CurrentNameSpace() const { return cur_name_space_; } in CurrentNameSpace()
2733 if (cur_name_space_ == ns) { return; } in SetNameSpace()
2739 size_t old_size = cur_name_space_ ? cur_name_space_->components.size() : 0; in SetNameSpace()
2745 cur_name_space_->components[common_prefix_size]) { in SetNameSpace()
2752 code_ += "} // namespace " + cur_name_space_->components[j - 1]; in SetNameSpace()
[all …]
Didl_gen_general.cpp158 cur_name_space_(nullptr) {} in GeneralGenerator()
163 cur_name_space_ = parser_.current_namespace_; in generate()
169 if (!parser_.opts.one_file) cur_name_space_ = enum_def.defined_namespace; in generate()
185 cur_name_space_ = struct_def.defined_namespace; in generate()
242 const Namespace *CurrentNameSpace() const { return cur_name_space_; } in CurrentNameSpace()
1520 const Namespace *cur_name_space_; member in flatbuffers::general::GeneralGenerator