/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | startup_cfg_gen.cpp | 264 if (term == nullptr) { in GetConfigArray() 269 std::shared_ptr<AstObject> arrayObj = term->Child(); in GetConfigArray() 292 if (term == nullptr) { in GetConfigIntArray() 297 std::shared_ptr<AstObject> intArrayObj = term->Child(); in GetConfigIntArray() 319 if (term == nullptr) { in GetConfigVector() 324 std::shared_ptr<AstObject> arrayObj = term->Child(); in GetConfigVector() 342 if (term == nullptr) { in GetProcessPriority() 350 object = term->Lookup("threadPriority", PARSEROP_CONFTERM); in GetProcessPriority() 361 GetConfigVector(term, mallocOptions); in GetMallocOpt() 407 GetConfigArray(term, config); in GetHostGID() [all …]
|
H A D | text_gen.cpp | 281 bool TextGen::GenTermDefinition(const std::shared_ptr<AstObject> &term) in GenTermDefinition() argument 283 auto value = term->Child(); in GenTermDefinition() 287 if (IsInTemplate(term)) { in GenTermDefinition() 289 ofs_ << TAB << "uint32_t " << term->Name() << "Size;\n"; in GenTermDefinition() 301 ofs_ << TAB << TypeToStr(value->Type()) << " " << term->Name() << ";\n"; in GenTermDefinition() 491 auto term = ConfigTerm::CastFrom(object); in PrintTermImplement() local 499 ofs_ << Indent(depth) << '.' << term->Name() << " = "; in PrintTermImplement() 508 std::string refPath = HcsBuildObjectPath(term->RefNode().lock()); in PrintTermImplement() 677 std::string TextGen::GenArrayName(const std::shared_ptr<AstObject> &term) in GenArrayName() argument 680 auto t = ConfigTerm::CastFrom(term); in GenArrayName() [all …]
|
H A D | startup_cfg_gen.h | 85 static void GetConfigArray(const std::shared_ptr<AstObject> &term, std::string &config); 87 …static void GetConfigVector(const std::shared_ptr<AstObject> &term, std::vector<std::string> &conf… 89 static void GetConfigIntArray(const std::shared_ptr<AstObject> &term, std::string &config); 93 …static void GetHostGID(const std::shared_ptr<AstObject> &term, std::string &config, const std::str… 95 static void GetProcessPriority(const std::shared_ptr<AstObject> &term, HostInfo &hostData);
|
H A D | parser.cpp | 215 auto term = std::make_shared<ConfigTerm>(name, nullptr); in ParseTerm() local 218 … term->AddChild(std::make_shared<AstObject>("", PARSEROP_STRING, current_.strval, current_)); in ParseTerm() 221 … term->AddChild(std::make_shared<AstObject>("", PARSEROP_UINT64, current_.numval, current_)); in ParseTerm() 228 term->AddChild(list); in ParseTerm() 237 … term->AddChild(std::make_shared<AstObject>("", PARSEROP_NODEREF, current_.strval, current_)); in ParseTerm() 240 … term->AddChild(std::make_shared<AstObject>("", PARSEROP_DELETE, current_.strval, current_)); in ParseTerm() 252 return term; in ParseTerm()
|
H A D | ast.cpp | 171 auto term = static_cast<const ConfigTerm *>(&t); in operator <<() local 172 stream << *term; in operator <<() 719 ConfigTerm::ConfigTerm(const ConfigTerm &term) : ConfigTerm(term.name_, nullptr) in ConfigTerm() argument 721 AstObject::AddChild(AstObjectFactory::Build(term.child_)); in ConfigTerm() 722 src_ = term.src_; in ConfigTerm() 723 lineno_ = term.lineno_; in ConfigTerm() 744 ConfigTerm &ConfigTerm::operator=(const ConfigTerm &term) in operator =() argument 746 if (this != &term) { in operator =() 747 refNode_ = term.refNode_; in operator =() 748 signNum_ = term.signNum_; in operator =()
|
H A D | text_gen.h | 56 bool GenTermDefinition(const std::shared_ptr<AstObject> &term); 115 std::string GenArrayName(const std::shared_ptr<AstObject> &term);
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | parser.js | 199 this.dealWithError(this.lexer_ + 'syntax error, broken term or node'); 260 this.dealWithError('syntax error, miss value of config term'); 285 this.dealWithError('syntax error, invalid config term definition'); 294 this.dealWithError('syntax error, invalid config term definition');
|
/ohos5.0/drivers/hdf_core/framework/model/audio/usb/src/ |
H A D | audio_usb_mixer.c | 895 term->channels = inptTermDesc->bNrChannels; in AudioUsbParseTermUac1ItermUnit() 897 term->name = inptTermDesc->iTerminal; in AudioUsbParseTermUac1ItermUnit() 914 term->channels = err; in AudioUsbParseTermMixerUnit() 917 term->name = uac_mixer_unit_iMixer(mixUnitDesc); in AudioUsbParseTermMixerUnit() 933 term->id = id; in AudioUsbParseTermSelectorUnit() 955 term->type = uacProcessingUnit << USB_SHIFT_SIZE_16; in AudioUsbParseTermProcUnit() 956 term->id = id; in AudioUsbParseTermProcUnit() 962 if (!term->channels) { in AudioUsbParseTermProcUnit() 989 term->id = id; in AudioUsbCheckInputTermSub() 1029 (void)memset_s(term, sizeof(*term), 0, sizeof(*term)); in AudioUsbCheckInputTerm() [all …]
|
H A D | audio_usb_parse_interface.c | 131 struct uac2_input_terminal_descriptor *term = NULL; in AudioUsbFindInputDesc() local 137 term = AudioUsbFindCsintDesc(ctlIface->extra, ctlIface->extralen, term, UAC_INPUT_TERMINAL); in AudioUsbFindInputDesc() 138 while (term != NULL) { in AudioUsbFindInputDesc() 139 if (!AudioUsbValidateAudioDesc(term, protocol)) { in AudioUsbFindInputDesc() 140 … term = AudioUsbFindCsintDesc(ctlIface->extra, ctlIface->extralen, term, UAC_INPUT_TERMINAL); in AudioUsbFindInputDesc() 143 if (term->bTerminalID == terminalId) { in AudioUsbFindInputDesc() 144 return term; in AudioUsbFindInputDesc() 146 term = AudioUsbFindCsintDesc(ctlIface->extra, ctlIface->extralen, term, UAC_INPUT_TERMINAL); in AudioUsbFindInputDesc()
|
/ohos5.0/base/startup/init/interfaces/innerkits/control_fd/ |
H A D | control_fd_client.c | 163 struct termios term; in InitPtyInterface() local 164 int ret = tcgetattr(STDIN_FILENO, &term); in InitPtyInterface() 166 cfmakeraw(&term); in InitPtyInterface() 167 term.c_cc[VTIME] = 0; in InitPtyInterface() 168 term.c_cc[VMIN] = 1; in InitPtyInterface() 169 ret = tcsetattr(STDIN_FILENO, TCSANOW, &term); in InitPtyInterface()
|
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/test/28_overwrite_with_diff_type_ei/ |
H A D | case.hcs | 4 term = 1; 7 term = "hello";
|
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/test/29_node_copy_nested_ei/ |
H A D | case.hcs | 4 term = 1; 6 term = "hello";
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-standard-overview.md | 8 - Linux kernel versions are classified into the stable version and long-term support (LTS) version. 10 …sadvantage is that the overall maintenance lifespan is short, making long-term stable support unav… 13 - The LTS version provides long-term kernel maintenance (in fixing bugs and security vulnerabilitie…
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | long-time-task-guide.md | 16 2. Defines a long-term task, listens to sensor data internally, and registers a destruction notific… 34 - Registration: Initiate a long-term task and receive listening data through the emitter.
|
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/test/30_include_order/ |
H A D | base2.hcs | 3 term = 2;
|
H A D | base1.hcs | 4 term = 1;
|
H A D | golden.d.hcs | 8 term = 0x2;
|
H A D | golden.c.gen | 10 .term = 0x2,
|
H A D | golden.h.gen | 11 uint8_t term;
|
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/test/12_include_insert/ |
H A D | case.hcs | 5 term = [0,1];
|
H A D | golden.d.hcs | 14 term = [0x0, 0x1];
|
H A D | golden.c.gen | 16 .term = { 0x0, 0x1 },
|
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/test/13_include_modify/ |
H A D | case.hcs | 5 term = [0,1];
|
H A D | golden.d.hcs | 9 term = [0x0, 0x1];
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-standard-overview.md | 8 - Linux内核版本分为稳定版本以及长期支持LTS(long term support)版本。
|