Home
last modified time | relevance | path

Searched refs:depth (Results 1 - 8 of 8) sorted by relevance

/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dmacro_gen.cpp98 return ast_->WalkBackward([this](std::shared_ptr<AstObject> &object, int32_t depth) { in TemplateNodeSeparate()
99 (void)depth; in TemplateNodeSeparate()
108 std::string MacroGen::GenFullName(int32_t depth, const std::shared_ptr<AstObject> &node, const std::string &sep)
111 for (int i = 0; i < depth; i++) {
154 bool MacroGen::GenNodeForeach(int32_t depth, const std::shared_ptr<AstObject> &node)
161 << " depth:" << depth;
165 subList.push_back(GenFullName(depth + 1, child, "_"));
171 ofs_ << "// hcs node macros: " << GenFullName(depth, node, "/") << std::endl;
172 ofs_ << "#define " << GenFullName(depth, nod
[all...]
H A Dtext_gen.cpp341 auto forwardWalkFunc = [this](const std::shared_ptr<AstObject> &current, int32_t depth) -> uint32_t { in OutputImplGlobalVariables()
342 return ImplementGenTraversal(current, depth); in OutputImplGlobalVariables()
345 auto backwardWalkFunc = [this](const std::shared_ptr<AstObject> &current, int32_t depth) -> uint32_t { in OutputImplGlobalVariables()
346 return ImplementCloseBraceGen(current, depth); in OutputImplGlobalVariables()
367 uint32_t TextGen::ImplementCloseBraceGen(const std::shared_ptr<AstObject> &object, int32_t depth) in ImplementCloseBraceGen() argument
375 ofs_ << Indent(depth) << "},\n"; in ImplementCloseBraceGen()
380 uint32_t TextGen::ImplementGenTraversal(const std::shared_ptr<AstObject> &object, int32_t depth) in ImplementGenTraversal() argument
398 return ObjectImplementGen(object, depth); in ImplementGenTraversal()
413 uint32_t TextGen::ObjectImplementGen(const std::shared_ptr<AstObject> &object, int32_t depth) in ObjectImplementGen() argument
419 return TemplateObjectImplGen(object, depth) in ObjectImplementGen()
436 TemplateObjectImplGen(const std::shared_ptr<AstObject> &object, int32_t depth) TemplateObjectImplGen() argument
489 PrintTermImplement(const std::shared_ptr<AstObject> &object, int32_t depth) PrintTermImplement() argument
538 PrintArrayImplement(const std::shared_ptr<AstObject> &object, int32_t depth) PrintArrayImplement() argument
556 PrintArrayImplInSubClass(const std::shared_ptr<AstObject> &object, int32_t depth) PrintArrayImplInSubClass() argument
[all...]
H A Dmacro_gen.h32 std::string GenFullName(int32_t depth, const std::shared_ptr<AstObject> &node, const std::string &sep);
34 bool GenNodeForeach(int32_t depth, const std::shared_ptr<AstObject> &node);
38 void SetTypeData(uint32_t type, const std::shared_ptr<AstObject> &current, uint32_t &arraySize, int32_t depth);
51 std::string GenRefObjName(int32_t depth, const std::shared_ptr<AstObject> &object);
H A Dtext_gen.h64 uint32_t ImplementGenTraversal(const std::shared_ptr<AstObject> &object, int32_t depth);
66 uint32_t ImplementCloseBraceGen(const std::shared_ptr<AstObject> &object, int32_t depth);
72 uint32_t ObjectImplementGen(const std::shared_ptr<AstObject> &object, int32_t depth);
74 bool TemplateObjectImplGen(const std::shared_ptr<AstObject> &object, int32_t depth);
97 uint32_t PrintTermImplement(const std::shared_ptr<AstObject> &object, int32_t depth);
101 uint32_t PrintArrayImplement(const std::shared_ptr<AstObject> &object, int32_t depth);
103 bool PrintArrayImplInSubClass(const std::shared_ptr<AstObject> &object, int32_t depth);
H A Dbytecode_gen.cpp76 return ast_->WalkBackward([this](std::shared_ptr<AstObject> &object, int32_t depth) { in ByteCodeConvert()
77 (void)depth; in ByteCodeConvert()
193 return ast_->WalkForward([this](std::shared_ptr<AstObject> &current, int32_t depth) {
194 (void)depth;
H A Dstartup_cfg_gen.cpp229 return ast_->WalkBackward([this](std::shared_ptr<AstObject> &object, int32_t depth) { in TemplateNodeSeparate()
230 (void)depth; in TemplateNodeSeparate()
/drivers/hdf_core/framework/support/platform/src/fwk/
H A Dplatform_queue.c40 queue->depth--; in PlatformQueueNextMsg()
91 queue->depth = 0; in PlatformQueueCreate()
160 if (queue->depth >= queue->depthMax) { in PlatformQueueAddMsg()
166 queue->depth++; in PlatformQueueAddMsg()
/drivers/hdf_core/framework/support/platform/include/fwk/
H A Dplatform_queue.h42 uint32_t depth; member

Completed in 7 milliseconds