Lines Matching defs:content
188 static int RunChildThread(const AppSpawnMgr *content, const AppSpawningCtx *property)
197 BuildFdInfoMap(property->message, fdMap, IsColdRunMode(content));
198 AppSpawnEnvClear((AppSpawnContent *)&content->content, (AppSpawnClient *)&property->client);
201 AppSpawnEnvClear((AppSpawnContent *)&content->content, (AppSpawnClient *)&property->client);
208 APPSPAWN_STATIC int RunChildByRenderCmd(const AppSpawnMgr *content, const AppSpawningCtx *property)
232 // clear appspawn env, do not user any content and property
233 AppSpawnEnvClear((AppSpawnContent *)&content->content, (AppSpawnClient *)&property->client);
241 static int RunChildProcessor(AppSpawnContent *content, AppSpawnClient *client)
244 APPSPAWN_CHECK(client != NULL && content != NULL, return -1, "Invalid client");
248 ret = RunChildByRenderCmd(reinterpret_cast<AppSpawnMgr *>(content), property);
250 ret = RunChildThread(reinterpret_cast<AppSpawnMgr *>(content), property);
255 APPSPAWN_STATIC int PreLoadAppSpawn(AppSpawnMgr *content)
257 if (IsNWebSpawnMode(content)) {
261 RegChildLooper(&content->content, RunChildProcessor);
262 if (strcmp(content->content.longProcName, CJAPPSPAWN_SERVER_NAME) == 0) {