Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 8 of 8) sorted by relevance

/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_host_sdk_if_test.cpp805 struct UsbPipeInfo *pi = (UsbPipeInfo *)OsalMemCalloc(sizeof(*pi)); variable
806 EXPECT_NE(nullptr, pi);
808 *pi = p;
809 g_acm->dataInPipe = pi;
834 struct UsbPipeInfo *pi = (UsbPipeInfo *)OsalMemCalloc(sizeof(*pi)); variable
835 EXPECT_NE(nullptr, pi);
837 *pi = p;
838 g_acm->dataInPipe = pi;
863 struct UsbPipeInfo *pi = (UsbPipeInfo *)OsalMemCalloc(sizeof(*pi)); variable
864 EXPECT_NE(nullptr, pi);
[all …]
Dusb_host_sdk_if_test_io.cpp128 UsbPipeInfo *pi = (UsbPipeInfo *)OsalMemCalloc(sizeof(UsbPipeInfo)); in AcmGetPipe() local
129 if (pi == nullptr) { in AcmGetPipe()
140 EXPECT_NE(nullptr, pi); in AcmGetPipe()
142 *pi = p; in AcmGetPipe()
143 g_acm->dataInPipe = pi; in AcmGetPipe()
147 EXPECT_NE(nullptr, pi); in AcmGetPipe()
149 *pi = p; in AcmGetPipe()
150 g_acm->dataOutPipe = pi; in AcmGetPipe()
161 *pi = p; in AcmGetPipe()
162 g_acm->intPipe = pi; in AcmGetPipe()
[all …]
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_test.c610 … struct UsbPipeInfo *pi = (struct UsbPipeInfo *)OsalMemCalloc(sizeof(struct UsbPipeInfo)); in CheckHostSdkIfGetPipe001() local
611 if (pi == NULL) { in CheckHostSdkIfGetPipe001()
616 *pi = p; in CheckHostSdkIfGetPipe001()
617 g_acm->dataInPipe = pi; in CheckHostSdkIfGetPipe001()
640 … struct UsbPipeInfo *pi = (struct UsbPipeInfo *)OsalMemCalloc(sizeof(struct UsbPipeInfo)); in CheckHostSdkIfGetPipe002() local
641 if (pi == NULL) { in CheckHostSdkIfGetPipe002()
645 *pi = p; in CheckHostSdkIfGetPipe002()
646 g_acm->dataInPipe = pi; in CheckHostSdkIfGetPipe002()
667 … struct UsbPipeInfo *pi = (struct UsbPipeInfo *)OsalMemCalloc(sizeof(struct UsbPipeInfo)); in CheckHostSdkIfGetPipe003() local
668 if (pi == NULL) { in CheckHostSdkIfGetPipe003()
[all …]
/drivers/peripheral/usb/sample/host/src/
Dusbhost_sdkapi_speed.c229 struct UsbPipeInfo *pi = OsalMemCalloc(sizeof(*pi)); in EnumePipe() local
230 if (pi == NULL) { in EnumePipe()
235 *pi = p; in EnumePipe()
236 return pi; in EnumePipe()
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_sdkapi_speed.c240 struct UsbPipeInfo *pi = OsalMemCalloc(sizeof(*pi)); in EnumePipe() local
241 if (pi == NULL) { in EnumePipe()
246 *pi = p; in EnumePipe()
247 return pi; in EnumePipe()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/
DXMat4.js136 let ret = w / (tan((30 * pi) / 180) * 2);
/drivers/peripheral/usb/net/src/
Dcdc_ether.c606 struct UsbPipeInfo *pi = OsalMemCalloc(sizeof(*pi)); in EcmEnumePipe() local
607 if (pi == NULL) { in EcmEnumePipe()
612 *pi = p; in EcmEnumePipe()
613 return pi; in EcmEnumePipe()
/drivers/peripheral/usb/serial/src/
Dusb_serial.c1150 struct UsbPipeInfo *pi = OsalMemCalloc(sizeof(*pi)); in EnumePipe() local
1151 if (pi == NULL) { in EnumePipe()
1156 *pi = p; in EnumePipe()
1157 return pi; in EnumePipe()