Home
last modified time | relevance | path

Searched refs:INIT_LOCAL_API (Results 1 – 25 of 27) sorted by relevance

12

/base/startup/init/services/param/include/
Dparam_manager.h97 INIT_LOCAL_API int AddWorkSpace(const char *name, int onlyRead, uint32_t spacesize);
98 INIT_LOCAL_API WorkSpace *GetFirstWorkSpace(void);
99 INIT_LOCAL_API WorkSpace *GetNextWorkSpace(WorkSpace *curr);
100 INIT_LOCAL_API WorkSpace *GetWorkSpace(const char *name);
101 INIT_LOCAL_API ParamTrieNode *GetTrieNodeByHandle(ParamHandle handle);
102 INIT_LOCAL_API int ReadParamWithCheck(const char *name, uint32_t op, ParamHandle *handle);
103 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, …
104 INIT_LOCAL_API int CheckParamName(const char *name, int paramInfo);
105 INIT_LOCAL_API uint8_t GetParamValueType(const char *name);
107 INIT_LOCAL_API ParamNode *SystemCheckMatchParamWait(const char *name, const char *value);
[all …]
Dparam_trie.h103 INIT_LOCAL_API int InitWorkSpace(WorkSpace *workSpace, int onlyRead, uint32_t spaceSize);
104 INIT_LOCAL_API void CloseWorkSpace(WorkSpace *workSpace);
106 INIT_LOCAL_API ParamTrieNode *GetTrieNode(const WorkSpace *workSpace, uint32_t offset);
107 INIT_LOCAL_API void SaveIndex(uint32_t *index, uint32_t offset);
109 INIT_LOCAL_API ParamTrieNode *AddTrieNode(WorkSpace *workSpace, const char *key, uint32_t keyLen);
110 INIT_LOCAL_API ParamTrieNode *FindTrieNode(
114 INIT_LOCAL_API int TraversalTrieNode(const WorkSpace *workSpace,
117 INIT_LOCAL_API uint32_t AddParamSecurityNode(WorkSpace *workSpace, const ParamAuditData *auditData);
118 INIT_LOCAL_API uint32_t AddParamNode(WorkSpace *workSpace, uint8_t type,
121 INIT_LOCAL_API uint32_t GetParamMaxLen(uint8_t type);
[all …]
Dparam_osadp.h150 INIT_LOCAL_API void paramMutexEnvInit(void);
151 INIT_LOCAL_API int ParamRWMutexCreate(ParamRWMutex *lock);
152 INIT_LOCAL_API int ParamRWMutexWRLock(ParamRWMutex *lock);
153 INIT_LOCAL_API int ParamRWMutexRDLock(ParamRWMutex *lock);
154 INIT_LOCAL_API int ParamRWMutexUnlock(ParamRWMutex *lock);
155 INIT_LOCAL_API int ParamRWMutexDelete(ParamRWMutex *lock);
157 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex);
158 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex);
159 INIT_LOCAL_API int ParamMutexPost(ParamMutex *mutex);
160 INIT_LOCAL_API int ParamMutexDelete(ParamMutex *mutex);
[all …]
Dparam_security.h110 INIT_LOCAL_API int RegisterSecuritySelinuxOps(ParamSecurityOps *ops, int isInit);
113 INIT_LOCAL_API ParamSecurityOps *GetParamSecurityOps(int type);
114 INIT_LOCAL_API void LoadGroupUser(void);
115 INIT_LOCAL_API int RegisterSecurityDacOps(ParamSecurityOps *ops, int isInit);
116 INIT_LOCAL_API int RegisterSecurityOps(int onlyRead);
Dparam_utils.h108 INIT_LOCAL_API void ParamWorBaseLog(InitLogLevel logLevel, uint32_t domain, const char *tag, const …
150 INIT_LOCAL_API int SplitParamString(char *line, const char *exclude[], uint32_t count,
/base/startup/init/interfaces/innerkits/syspara/
Dparam_comm.h33 INIT_LOCAL_API const char *GetProperty(const char *key, const char **paramHolder);
34 INIT_LOCAL_API int GetParameter_(const char *key, const char *def, char *value, uint32_t len);
36 INIT_LOCAL_API const char *GetProductModel_(void);
37 INIT_LOCAL_API const char *GetManufacture_(void);
38 INIT_LOCAL_API const char *GetSerial_(void);
39 INIT_LOCAL_API int GetDevUdid_(char *udid, int size);
40 INIT_LOCAL_API int IsValidParamValue(const char *value, uint32_t len);
42 INIT_LOCAL_API const char *GetFullName_(void);
43 INIT_LOCAL_API int GetSystemError(int err);
Dparam_comm.c34 INIT_LOCAL_API int GetSystemError(int err) in GetSystemError()
62 INIT_LOCAL_API int IsValidParamValue(const char *value, uint32_t len) in IsValidParamValue()
70 INIT_LOCAL_API int GetParameter_(const char *key, const char *def, char *value, uint32_t len) in GetParameter_()
95 INIT_LOCAL_API const char *GetProperty(const char *key, const char **paramHolder) in GetProperty()
116 INIT_LOCAL_API const char *GetProductModel_(void) in GetProductModel_()
122 INIT_LOCAL_API const char *GetManufacture_(void) in GetManufacture_()
163 INIT_LOCAL_API const char *GetSerial_(void) in GetSerial_()
179 INIT_LOCAL_API int GetDevUdid_(char *udid, int size) in GetDevUdid_()
214 INIT_LOCAL_API const char *GetFullName_(void) in GetFullName_()
/base/startup/init/services/param/linux/
Dparam_osadp.c23 INIT_LOCAL_API void paramMutexEnvInit(void) in paramMutexEnvInit()
27 INIT_LOCAL_API int ParamRWMutexCreate(ParamRWMutex *lock) in ParamRWMutexCreate()
37 INIT_LOCAL_API int ParamRWMutexWRLock(ParamRWMutex *lock) in ParamRWMutexWRLock()
43 INIT_LOCAL_API int ParamRWMutexRDLock(ParamRWMutex *lock) in ParamRWMutexRDLock()
49 INIT_LOCAL_API int ParamRWMutexUnlock(ParamRWMutex *lock) in ParamRWMutexUnlock()
56 INIT_LOCAL_API int ParamRWMutexDelete(ParamRWMutex *lock) in ParamRWMutexDelete()
64 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex) in ParamMutexCreate()
68 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex) in ParamMutexPend()
72 INIT_LOCAL_API int ParamMutexPost(ParamMutex *mutex) in ParamMutexPost()
76 INIT_LOCAL_API int ParamMutexDelete(ParamMutex *mutex) in ParamMutexDelete()
[all …]
/base/startup/init/services/param/liteos/
Dparam_osadp.c113 INIT_LOCAL_API void *GetSharedMem(const char *fileName, MemHandle *handle, uint32_t spaceSize, int … in GetSharedMem()
134 INIT_LOCAL_API void FreeSharedMem(const MemHandle *handle, void *mem, uint32_t dataSize) in FreeSharedMem()
141 INIT_LOCAL_API void paramMutexEnvInit(void) in paramMutexEnvInit()
146 INIT_LOCAL_API int ParamRWMutexCreate(ParamRWMutex *lock) in ParamRWMutexCreate()
156 INIT_LOCAL_API int ParamRWMutexWRLock(ParamRWMutex *lock) in ParamRWMutexWRLock()
162 INIT_LOCAL_API int ParamRWMutexRDLock(ParamRWMutex *lock) in ParamRWMutexRDLock()
168 INIT_LOCAL_API int ParamRWMutexUnlock(ParamRWMutex *lock) in ParamRWMutexUnlock()
175 INIT_LOCAL_API int ParamRWMutexDelete(ParamRWMutex *lock) in ParamRWMutexDelete()
183 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex) in ParamMutexCreate()
192 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex) in ParamMutexPend()
[all …]
Dparam_litedac.c67 INIT_LOCAL_API int RegisterSecurityDacOps(ParamSecurityOps *ops, int isInit) in RegisterSecurityDacOps()
83 INIT_LOCAL_API void LoadGroupUser(void) in LoadGroupUser()
/base/startup/init/services/param/base/
Dparam_base.h30 INIT_LOCAL_API void CloseParamWorkSpace(void);
31 INIT_LOCAL_API int ParamSprintf(char *buffer, size_t buffSize, const char *format, ...);
32 INIT_LOCAL_API int ParamMemcpy(void *dest, size_t destMax, const void *src, size_t count);
33 INIT_LOCAL_API int ParamStrCpy(char *strDest, size_t destMax, const char *strSrc);
Dparam_comm.c22 INIT_LOCAL_API int GenerateKeyHasCode(const char *buff, size_t len) in GenerateKeyHasCode()
31 INIT_LOCAL_API ParamHandle GetParamHandle(const WorkSpace *workSpace, uint32_t index, const char *n… in GetParamHandle()
41 INIT_LOCAL_API WorkSpace *GetWorkSpace(const char *name) in GetWorkSpace()
78 INIT_LOCAL_API ParamTrieNode *GetTrieNodeByHandle(ParamHandle handle) in GetTrieNodeByHandle()
101 INIT_LOCAL_API WorkSpace *GetFirstWorkSpace(void) in GetFirstWorkSpace()
116 INIT_LOCAL_API WorkSpace *GetNextWorkSpace(WorkSpace *curr) in GetNextWorkSpace()
131 INIT_LOCAL_API int ReadParamWithCheck(const char *name, uint32_t op, ParamHandle *handle) in ReadParamWithCheck()
155 INIT_LOCAL_API uint8_t GetParamValueType(const char *name) in GetParamValueType()
202 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, … in CheckParamValue()
218 INIT_LOCAL_API int CheckParamName(const char *name, int info) in CheckParamName()
[all …]
Dparam_trie.c103 INIT_LOCAL_API int InitWorkSpace(WorkSpace *workSpace, int onlyRead, uint32_t spaceSize) in InitWorkSpace()
120 INIT_LOCAL_API void CloseWorkSpace(WorkSpace *workSpace) in CloseWorkSpace()
306 INIT_LOCAL_API int TraversalTrieNode(const WorkSpace *workSpace, in TraversalTrieNode()
327 INIT_LOCAL_API uint32_t AddParamSecurityNode(WorkSpace *workSpace, const ParamAuditData *auditData) in AddParamSecurityNode()
346 INIT_LOCAL_API uint32_t AddParamNode(WorkSpace *workSpace, uint8_t type, in AddParamNode()
378 INIT_LOCAL_API ParamTrieNode *GetTrieNode(const WorkSpace *workSpace, uint32_t offset) in GetTrieNode()
387 INIT_LOCAL_API void SaveIndex(uint32_t *index, uint32_t offset) in SaveIndex()
393 INIT_LOCAL_API ParamTrieNode *FindTrieNode(WorkSpace *workSpace, in FindTrieNode()
411 INIT_LOCAL_API uint32_t GetParamMaxLen(uint8_t type) in GetParamMaxLen()
422 INIT_LOCAL_API ParamNode *GetParamNode(const char *spaceName, const char *name) in GetParamNode()
Dparam_base.c84 INIT_LOCAL_API int RegisterSecurityOps(int onlyRead) in RegisterSecurityOps()
185 INIT_LOCAL_API void CloseParamWorkSpace(void) in CloseParamWorkSpace()
208 INIT_LOCAL_API void ParamWorBaseLog(InitLogLevel logLevel, uint32_t domain, const char *tag, const … in ParamWorBaseLog()
249 INIT_LOCAL_API int AddWorkSpace(const char *name, int onlyRead, uint32_t spaceSize) in AddWorkSpace()
/base/startup/init/services/log/
Dinit_log.h41 INIT_LOCAL_API void OpenLogDevice(void);
42 INIT_LOCAL_API void InitLog(int logLevel, unsigned int domain, const char *tag, const char *fmt, va…
43 INIT_LOCAL_API void SetInitCommLog(InitCommLog logFunc);
44 INIT_LOCAL_API void EnableInitLog(InitLogLevel level);
45 INIT_LOCAL_API void EnableInitLogFromCmdline(void);
Dinit_log.c64 INIT_LOCAL_API void OpenLogDevice(void) in OpenLogDevice()
116 INIT_LOCAL_API void InitLog(int logLevel, unsigned int domain, const char *tag, const char *fmt, va… in InitLog()
137 INIT_LOCAL_API void EnableInitLog(InitLogLevel level) in EnableInitLog()
143 INIT_LOCAL_API void EnableInitLogFromCmdline(void) in EnableInitLogFromCmdline()
Dinit_commlog.c19 INIT_LOCAL_API void SetInitCommLog(InitCommLog logFunc) in SetInitCommLog()
/base/startup/init/services/loopevent/socket/
Dle_socket.h27 INIT_LOCAL_API
29 INIT_LOCAL_API
Dle_socket.c157 INIT_LOCAL_API
182 INIT_LOCAL_API
/base/startup/init/services/include/
Dinit_utils.h84 INIT_LOCAL_API int StringToULL(const char *str, unsigned long long int *out);
85 INIT_LOCAL_API int StringToLL(const char *str, long long int *out);
/base/startup/init/interfaces/innerkits/include/
Dbeget_ext.h35 #define INIT_LOCAL_API __attribute__((visibility("hidden"))) macro
39 #define INIT_LOCAL_API
/base/startup/init/services/param/manager/
Dparam_persist.c125 INIT_LOCAL_API int InitPersistParamWorkSpace(void) in InitPersistParamWorkSpace()
136 INIT_LOCAL_API void ClosePersistParamWorkSpace(void) in ClosePersistParamWorkSpace()
172 INIT_LOCAL_API int WritePersistParam(const char *name, const char *value) in WritePersistParam()
Dparam_server.c114 INIT_LOCAL_API int LoadParamFromCmdLine(void) in LoadParamFromCmdLine()
216 INIT_LOCAL_API void LoadParamFromBuild(void) in LoadParamFromBuild()
273 INIT_LOCAL_API void LoadParamAreaSize(void) in LoadParamAreaSize()
Dparam_manager.c211 INIT_LOCAL_API int SysCheckParamExist(const char *name) in SysCheckParamExist()
306 INIT_LOCAL_API int GetServiceCtrlInfo(const char *name, const char *value, ServiceCtrlInfo **ctrlIn… in GetServiceCtrlInfo()
343 INIT_LOCAL_API int CheckParameterSet(const char *name, in CheckParameterSet()
/base/startup/init/services/param/adapter/
Dparam_dac.c282 INIT_LOCAL_API int RegisterSecurityDacOps(ParamSecurityOps *ops, int isInit) in RegisterSecurityDacOps()
420 INIT_LOCAL_API void LoadGroupUser(void) in LoadGroupUser()

12