Searched refs:capStrCapNum (Results 1 – 3 of 3) sorted by relevance
35 static const CapStrCapNum capStrCapNum[] = { in GetCapByString() local78 int mapSize = (int)ARRAY_LENGTH(capStrCapNum); in GetCapByString()81 if ((strcmp(capStr, capStrCapNum[j].capStr) == 0) || in GetCapByString()83 (strcmp(capStr + capLen, capStrCapNum[j].capStr) == 0))) { in GetCapByString()84 return capStrCapNum[j].CapNum; in GetCapByString()
164 …在init中解析的时候,解析失败,参考base/startup/init/services/init/init_capability.c中,capStrCapNum数据结构的定义,正确配置caps。
164 2. For case 2, correctly configure **caps** by referring to the definition of the **capStrCapNum** …