Lines Matching refs:property
188 static int RunChildThread(const AppSpawnMgr *content, const AppSpawningCtx *property)
195 if (CheckAppMsgFlagsSet(property, APP_FLAGS_CHILDPROCESS)) {
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)
211 char *renderCmd = reinterpret_cast<char *>(GetAppPropertyExt(property, MSG_EXT_NAME_RENDER_CMD, &len));
212 if (renderCmd == NULL || !IsDeveloperModeOn(property)) {
232 // clear appspawn env, do not user any content and property
233 AppSpawnEnvClear((AppSpawnContent *)&content->content, (AppSpawnClient *)&property->client);
245 AppSpawningCtx *property = reinterpret_cast<AppSpawningCtx *>(client);
247 if (GetAppSpawnMsgType(property) == MSG_SPAWN_NATIVE_PROCESS) {
248 ret = RunChildByRenderCmd(reinterpret_cast<AppSpawnMgr *>(content), property);
250 ret = RunChildThread(reinterpret_cast<AppSpawnMgr *>(content), property);