Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 21 of 21) sorted by relevance

/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/message/
Dmock.js19 fn: 'D:\\ceshi\\d.hcs', property
35 fn: 'D:\\ceshi\\b.hcs', property
46 function getArray(fn) { argument
48 if (mockTest[i].fn == fn) {
77 this.send('parse', mockTest[0].fn);
80 fn: msg.data, property
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_sdk_if_test.cpp282 EXPECT_TRUE(nullptr != g_acmDevice->dataIface.fn);
283 ret = UsbFnGetInterfacePipeInfo(g_acmDevice->dataIface.fn, 0, &info);
293 EXPECT_NE(nullptr, g_acmDevice->dataIface.fn);
294 ret = UsbFnGetInterfacePipeInfo(g_acmDevice->dataIface.fn, 1, &info);
304 EXPECT_NE(nullptr, g_acmDevice->dataIface.fn);
305 ret = UsbFnGetInterfacePipeInfo(g_acmDevice->dataIface.fn, 0xF, &info);
313 EXPECT_NE(nullptr, g_acmDevice->dataIface.fn);
314 ret = UsbFnGetInterfacePipeInfo(g_acmDevice->dataIface.fn, 0, nullptr);
333 EXPECT_TRUE(nullptr != g_acmDevice->ctrlIface.fn);
334 ret = UsbFnGetInterfacePipeInfo(g_acmDevice->ctrlIface.fn, 0, &info);
[all …]
Dusb_device_cdcacm_test.cpp365 acmDevice->ctrlIface.fn = fnIface; in ParseInterfaces()
372 acmDevice->dataIface.fn = fnIface; in ParseInterfaces()
379 acmDevice->dataIface.fn = fnIface; in ParseInterfaces()
464 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index); in SendNotifyRequest()
730 ret = UsbFnStartRecvInterfaceEvent(acmDevice->ctrlIface.fn, 0xff, AcmEventCallback, acmDevice); in SetUpAcmDevice()
782 UsbFnStopRecvInterfaceEvent(acm->ctrlIface.fn); in ReleaseAcmDevice()
Dusb_device_cdcacm_test.h89 struct UsbFnInterface *fn; member
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
Dusb_device_lite_sdk_if_test.c351 if (g_acmDevice == NULL || g_acmDevice->dataIface.fn == NULL) { in UsbFnDviceTestGetPipeInfo()
357 int32_t ret = UsbFnGetInterfacePipeInfo(g_acmDevice->dataIface.fn, 0, &info); in UsbFnDviceTestGetPipeInfo()
371 if (g_acmDevice == NULL || g_acmDevice->dataIface.fn == NULL) { in UsbFnDviceTestGetPipeInfo002()
377 int32_t ret = UsbFnGetInterfacePipeInfo(g_acmDevice->dataIface.fn, 1, &info); in UsbFnDviceTestGetPipeInfo002()
391 if (g_acmDevice == NULL || g_acmDevice->dataIface.fn == NULL) { in UsbFnDviceTestGetPipeInfo003()
397 int32_t ret = UsbFnGetInterfacePipeInfo(g_acmDevice->dataIface.fn, 0xF, &info); in UsbFnDviceTestGetPipeInfo003()
407 if (g_acmDevice == NULL || g_acmDevice->dataIface.fn == NULL) { in UsbFnDviceTestGetPipeInfo004()
413 int32_t ret = UsbFnGetInterfacePipeInfo(g_acmDevice->dataIface.fn, 0, info); in UsbFnDviceTestGetPipeInfo004()
424 struct UsbFnInterface *fn = NULL; in UsbFnDviceTestGetPipeInfo005() local
425 int32_t ret = UsbFnGetInterfacePipeInfo(fn, 0, &info); in UsbFnDviceTestGetPipeInfo005()
[all …]
Dusb_device_lite_cdcacm_test.c339 acmDevice->ctrlIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
345 acmDevice->dataIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
350 acmDevice->dataIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
436 if ((data == NULL) || (acm == NULL) || (acm->ctrlIface.fn == NULL)) { in SendNotifyRequest()
451 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index); in SendNotifyRequest()
723 ret = UsbFnStartRecvInterfaceEvent(acmDevice->ctrlIface.fn, 0xff, AcmEventCallback, acmDevice); in SetUpAcmDevice()
775 (void)UsbFnStopRecvInterfaceEvent(acm->ctrlIface.fn); in ReleaseAcmDevice()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
DGenerator.js26 hcsToAst(fn) { argument
27 return this.parser.parse(fn);
159 makeHcs(fn, node) { argument
163 let fpath = fn.substring(0, fn.lastIndexOf('\\') + 1);
164 for (let i in this.parser.astList[fn].include) {
167 this.parser.astList[fn].include[i].substring(fpath.length) +
Dparser.js39 parse(fn) { argument
40 if (this.srcQueue_.indexOf(fn) == -1) {
41 this.srcQueue_.push(fn);
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/
Dconftest.py46 def fn(): function
49 request.addfinalizer(fn)
/drivers/peripheral/intelligent_voice/utils/
Dscope_guard.h72 inline ScopeGuard<Func> operator+(ScopeGuardOnExit, Func &&fn)
74 return ScopeGuard<Func>(std::forward<Func>(fn));
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
DMainEditor.js1390 this.filePoint_ = h.fn;
1391 this.rootPoint_ = h.fn;
1511 isNodeCountChanged(fn, bset = true) { argument
1512 if (!(fn in this.nodeCount_)) {
1513 this.nodeCount_[fn] = -1;
1515 let newcount = this.nodeCount(this.files_[fn]);
1516 if (this.nodeCount_[fn] != newcount) {
1518 this.nodeCount_[fn] = newcount;
1524 saveHistory(fn, data2, pth, pos = null) { argument
1526 if (fn in this.historyBase) {
[all …]
DAttrEditor.js32 freshEditor(fn, node) { argument
33 this.filePoint_ = fn;
35 if (fn in this.files_) {
36 this.root_ = this.files_[fn];
/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/
Dextension.js87 fs.writeFileSync(msg.data.fn, msg.data.data);
121 fn: e.uri.fsPath, property
139 fn: msg.data, data: tt, property
/drivers/peripheral/usb/gadget/function/include/
Dcdcecm.h70 struct UsbFnInterface *fn; member
Dcdcacm.h86 struct UsbFnInterface *fn; member
/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c753 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialGetProp()
775 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialSetProp()
820 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialRegistProp()
1254 notify->wIndex = CPU_TO_LE16(acm->ctrlIface.fn->info.index); in AcmSendNotifyRequest()
1334 struct UsbFnInterface *fnIface = iface->fn; in AcmParseEachPipe()
1376 iface.fn = fnIface; in AcmParseAcmIface()
1451 (void)UsbFnStopRecvInterfaceEvent(acm->ctrlIface.fn); in AcmReleaseFuncDevice()
1570 …ret = UsbFnStartRecvInterfaceEvent(acm->ctrlIface.fn, RECEIVE_ALL_EVENTS, UsbAcmEventCallback, acm… in UsbSerialInit()
/drivers/peripheral/usb/gadget/function/ecm/
Dcdcecm.c672 struct UsbFnInterface *fnIface = iface->fn; in EcmParseEachPipe()
716 iface.fn = fnIface; in EcmParseEcmIface()
806 (void)UsbFnStopRecvInterfaceEvent(ecm->ctrlIface.fn); in EcmReleaseFuncDevice()
933 …ret = UsbFnStartRecvInterfaceEvent(ecm->ctrlIface.fn, RECEIVE_ALL_EVENTS, UsbEcmEventCallback, ecm… in EcmInit()
/drivers/hdf_core/framework/test/unittest/model/usb/device/include/
Dusb_device_lite_cdcacm_test.h81 struct UsbFnInterface *fn; member
/drivers/peripheral/usb/gadget/function/mtp/include/
Dusbfn_mtp_impl.h96 struct UsbFnInterface *fn; member
/drivers/interface/display/composer/v1_0/display_command/
Ddisplay_cmd_requester.h615 std::function<int32_t(void *)> fn) in DoReplyResults() argument
646 ret = fn(&needFlushFb); in DoReplyResults()
657 ret = fn(&fenceFd); in DoReplyResults()
/drivers/peripheral/usb/gadget/function/mtp/src/
Dusbfn_mtp_impl.cpp691 struct UsbFnInterface *fnIface = iface.fn; in UsbMtpDeviceParseEachPipe()
742 iface.fn = fnIface; in UsbMtpDeviceParseMtpIface()
836 ret = UsbFnStopRecvInterfaceEvent(mtpDev_->ctrlIface.fn); in UsbMtpDeviceReleaseFuncDevice()
927 …ret = UsbFnStartRecvInterfaceEvent(mtpDev_->ctrlIface.fn, 0xff, UsbMtpDeviceEp0EventDispatch, mtpD… in Init()