Home
last modified time | relevance | path

Searched refs:fdList (Results 1 – 25 of 51) sorted by relevance

123

/ohos5.0/base/startup/init/interfaces/innerkits/fd_holder/
H A Dfd_holder.c168 char **fdList = SplitStringExt(fdBuffer, " ", &fdCount, MAX_HOLD_FDS); in ServiceGetFd() local
169 BEGET_ERROR_CHECK(fdList != NULL, return NULL, "Cannot get fd list"); in ServiceGetFd()
172 BEGET_ERROR_CHECK(fds != NULL, FreeStringVector(fdList, fdCount); in ServiceGetFd()
180 fds[i] = (int)strtol(fdList[i], NULL, DECIMAL_BASE); in ServiceGetFd()
182 break, "Failed to convert \' %s \' to fd number", fdList[i]); in ServiceGetFd()
191 FreeStringVector(fdList, fdCount); in ServiceGetFd()
/ohos5.0/docs/zh-cn/application-dev/application-models/
H A Dcapi_nativechildprocess_development_guideline.md190 NativeChildProcess_Fd *current = args.fdList.head;
242 args.fdList.head = (NativeChildProcess_Fd*)malloc(sizeof(NativeChildProcess_Fd));
244 args.fdList.head->fdName = (char*)malloc(sizeof(char) * 4);
245 (void)strcpy(args.fdList.head->fdName, "fd1");
248 args.fdList.head->fd = fd;
250 args.fdList.head->next = NULL;
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/printmanager_fuzzer/
H A Dprintmanager_adapter_fuzz.cpp34 std::vector<uint32_t> fdList; in StartPrintFuzzTest() local
39 fdList.push_back(i); in StartPrintFuzzTest()
44 adapter.StartPrint(fileList, fdList, taskId); in StartPrintFuzzTest()
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprint_job.cpp85 void PrintJob::SetFdList(const std::vector<uint32_t> &fdList) in SetFdList() argument
88 fdList_.assign(fdList.begin(), fdList.end()); in SetFdList()
202 void PrintJob::GetFdList(std::vector<uint32_t> &fdList) const in GetFdList()
204 fdList.clear(); in GetFdList()
205 fdList.assign(fdList_.begin(), fdList_.end()); in GetFdList()
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_security_guard_info.cpp60 std::vector<uint32_t> fdList; in SetPrintTypeInfo() local
61 printJob.GetFdList(fdList); in SetPrintTypeInfo()
62 printTypeInfo_.printPages = (int32_t)fdList.size(); in SetPrintTypeInfo()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/
H A Dnative_args_child_process.cpp74 args.fdList.head = nullptr; in ParseToNativeArgs()
108 if (!args.fdList.head) { in ParseToNativeArgs()
109 args.fdList.head = node; in ParseToNativeArgs()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_print_manager_adapter_impl.cpp30 …std::vector<uint32_t> fdList = ArkWebBasicVectorStructToClass<uint32_t, ArkWebUint32Vector>(arkFdL… in StartPrint() local
32 int32_t result = real_.StartPrint(fileList, fdList, taskId); in StartPrint()
H A Dark_print_manager_adapter_impl.h29 …const ArkWebStringVector& fileList, const ArkWebUint32Vector& fdList, ArkWebString& taskId) overri…
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_print_manager_adapter_wrapper.cpp27 …const std::vector<std::string>& fileList, const std::vector<uint32_t>& fdList, std::string& taskId) in StartPrint() argument
33 …rkWebUint32Vector arkFdList = ArkWebBasicVectorClassToStruct<uint32_t, ArkWebUint32Vector>(fdList); in StartPrint()
H A Dark_print_manager_adapter_wrapper.h29 …const std::vector<std::string>& fileList, const std::vector<uint32_t>& fdList, std::string& taskId…
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/print_manager_adapter_impl_test/
H A Dprint_manager_adapter_impl_test.cpp83 std::vector<uint32_t> fdList = { 1 }; variable
85 PrintManagerAdapterImpl::GetInstance().StartPrint(fileList, fdList, taskId);
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprint_job_helper.cpp204 std::vector<uint32_t> fdList; in CreateFdList() local
205 job.GetFdList(fdList); in CreateFdList()
206 uint32_t arrFilesLength = fdList.size(); in CreateFdList()
210 PRINT_CALL_BASE(env, napi_create_uint32(env, fdList[i], &value), false); in CreateFdList()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Dc-apis-ability-childprocess.md127 struct NativeChildProcess_FdList fdList;
142 | fdList | 子进程文件描述记录链表,详见[NativeChildProcess_FdList](#nativechildprocess_fdlist)定义。 |
/ohos5.0/base/hiviewdfx/hidumper/services/native/src/
H A Ddump_manager_service.cpp205 std::vector<std::string> fdList = DumpCommonUtils::GetSubNodes(taskPath, true); in GetFileDescriptorNums() local
206 return fdList.size(); in GetFileDescriptorNums()
303 std::vector<std::string> fdList = DumpCommonUtils::GetSubNodes(taskPath, true); in CountFdNums() local
305 for (const auto &each : fdList) { in CountFdNums()
/ohos5.0/base/web/webview/ohos_adapter/print_manager_adapter/src/
H A Dprint_manager_adapter_impl.cpp29 …const std::vector<std::string>& fileList, const std::vector<uint32_t>& fdList, std::string& taskId) in StartPrint() argument
32 …int32_t ret = OHOS::Print::PrintManagerClient::GetInstance()->StartPrint(fileList, fdList, taskId); in StartPrint()
/ohos5.0/docs/en/application-dev/application-models/
H A Dcapi_nativechildprocess_development_guideline.md190 NativeChildProcess_Fd *current = args.fdList.head;
242 args.fdList.head = (NativeChildProcess_Fd*)malloc(sizeof(NativeChildProcess_Fd));
244 args.fdList.head->fdName = (char*)malloc(sizeof(char) * 4);
245 (void)strcpy(args.fdList.head->fdName, "fd1");
248 args.fdList.head->fd = fd;
250 args.fdList.head->next = NULL;
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/c/ability/ability_runtime/child_process/
H A Dnative_child_process.h243 struct NativeChildProcess_FdList fdList; member
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_print_manager_adapter.h51 … const ArkWebStringVector& fileList, const ArkWebUint32Vector& fdList, ArkWebString& taskId) = 0;
/ohos5.0/base/web/webview/test/unittest/ohos_adapter_helper/
H A Dohos_adapter_helper_test.cpp146 std::vector<uint32_t> fdList = { 1 }; variable
148 int32_t ret = printAdapter.StartPrint(fileList, fdList, taskId);
/ohos5.0/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_helper.cpp640 if (nativePrintJob.fdList == nullptr || nativePrintJob.copyNumber <= 0) { in ConvertNativeJobToPrintJob()
648 std::vector<uint32_t> fdList; in ConvertNativeJobToPrintJob() local
650 fdList.emplace_back(nativePrintJob.fdList[i]); in ConvertNativeJobToPrintJob()
652 printJob.SetFdList(fdList); in ConvertNativeJobToPrintJob()
/ohos5.0/base/web/webview/ohos_adapter/print_manager_adapter/include/
H A Dprint_manager_adapter_impl.h64 …const std::vector<std::string>& fileList, const std::vector<uint32_t>& fdList, std::string& taskId…
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dprint_manager_adapter.h83 …const std::vector<std::string>& fileList, const std::vector<uint32_t>& fdList, std::string& taskId…
/ohos5.0/base/msdp/device_status/services/native/include/
H A Dstream_server.h51 void Multicast(const std::vector<int32_t> &fdList, NetPacket &pkt);
/ohos5.0/base/msdp/device_status/services/native/src/
H A Dstream_server.cpp87 void StreamServer::Multicast(const std::vector<int32_t> &fdList, NetPacket &pkt) in Multicast() argument
89 for (const auto &item : fdList) { in Multicast()
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_service_proxy_test.cpp70 const std::vector<uint32_t> &fdList, std::string &taskId) { in __anon45825cae0102() argument
75 EXPECT_EQ(testFdList.size(), fdList.size()); in __anon45825cae0102()
77 EXPECT_NE(testFdList[index], fdList[index]); in __anon45825cae0102()
110 const std::vector<uint32_t> &fdList, std::string &taskId) { in __anon45825cae0302() argument
115 EXPECT_EQ(testFdList.size(), fdList.size()); in __anon45825cae0302()
117 EXPECT_EQ(testFdList[index], fdList[index]); in __anon45825cae0302()

123