Home
last modified time | relevance | path

Searched refs:fdName (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/
H A Dnative_args_child_process.cpp88 auto &fdName = fd.first; in ParseToNativeArgs() local
97 node->fdName = new char[fdName.size() + 1]; in ParseToNativeArgs()
98 if (strcpy_s(node->fdName, fdName.size() + 1, fdName.c_str()) != ERR_OK) { in ParseToNativeArgs()
99 delete[] node->fdName; in ParseToNativeArgs()
100 node->fdName = nullptr; in ParseToNativeArgs()
/ohos5.0/docs/zh-cn/application-dev/application-models/
H A Dcapi_nativechildprocess_development_guideline.md192 char *fdName = current->fdName;
244 args.fdList.head->fdName = (char*)malloc(sizeof(char) * 4);
245 (void)strcpy(args.fdList.head->fdName, "fd1");
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/child_process/src/
H A Dnative_child_process.cpp128 if (!cur->fdName) { in OH_Ability_StartNativeChildProcess()
132 std::string key(cur->fdName); in OH_Ability_StartNativeChildProcess()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Dc-apis-ability-childprocess.md82 char* fdName;
98 | fdName | 文件描述关键字。最大长度为20字符。 |
H A Djs-apis-app-ability-childProcessManager.md317 char *fdName = current->fdName;
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/c/ability/ability_runtime/child_process/
H A Dnative_child_process.h182 char* fdName; member
/ohos5.0/base/startup/appspawn/interfaces/innerkits/client/
H A Dappspawn_msg.c312 int AppSpawnReqMsgAddFd(AppSpawnReqMsgHandle reqHandle, const char* fdName, int fd) in AppSpawnReqMsgAddFd() argument
317 APPSPAWN_CHECK(fd >= 0 && fdName != NULL && strlen(fdName) <= APP_FDNAME_MAXLEN in AppSpawnReqMsgAddFd()
319 "Invalid fdinfo %{public}d %{public}d %{public}d", fd, fdName != NULL, reqNode->fdCount); in AppSpawnReqMsgAddFd()
321 return AppSpawnReqMsgAddStringInfo(reqHandle, MSG_EXT_NAME_APP_FD, (void *)fdName); in AppSpawnReqMsgAddFd()
/ohos5.0/docs/en/application-dev/application-models/
H A Dcapi_nativechildprocess_development_guideline.md192 char *fdName = current->fdName;
244 args.fdList.head->fdName = (char*)malloc(sizeof(char) * 4);
245 (void)strcpy(args.fdList.head->fdName, "fd1");
/ohos5.0/base/startup/appspawn/interfaces/innerkits/include/
H A Dappspawn.h300 int AppSpawnReqMsgAddFd(AppSpawnReqMsgHandle reqHandle, const char* fdName, int fd);
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Dc-apis-ability-childprocess.md82 char* fdName;
98 | fdName | Pointer to the keyword of the file descriptor. A maximum of 20 characters are allowe…
H A Djs-apis-app-ability-childProcessManager.md319 char *fdName = current->fdName;