/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | platform_trace_test.c | 63 static struct PlatformTraceTestEntry g_entry[] = { variable 92 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PlatformTraceTestExecute() 93 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PlatformTraceTestExecute() 96 entry = &g_entry[i]; in PlatformTraceTestExecute()
|
H A D | platform_queue_test.c | 113 static struct PlatformQueueTestEntry g_entry[] = { variable 132 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PlatformQueueTestExecute() 133 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PlatformQueueTestExecute() 136 entry = &g_entry[i]; in PlatformQueueTestExecute()
|
H A D | pcie_test.c | 205 static struct PcieTestFunc g_entry[] = { variable 228 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PcieTestExecute() 229 if (g_entry[i].cmd == cmd && g_entry[i].func != NULL) { in PcieTestExecute() 230 ret = g_entry[i].func(tester); in PcieTestExecute()
|
H A D | platform_event_test.c | 191 static struct PlatformEventTestEntry g_entry[] = { variable 212 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PlatformEventTestExecute() 213 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PlatformEventTestExecute() 216 entry = &g_entry[i]; in PlatformEventTestExecute()
|
H A D | adc_test.c | 291 static struct AdcTestEntry g_entry[] = { variable 310 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in AdcTestExecute() 311 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in AdcTestExecute() 314 ret = g_entry[i].func(); in AdcTestExecute()
|
H A D | dac_test.c | 279 static struct DacTestEntry g_entry[] = { variable 298 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in DacTestExecute() 299 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in DacTestExecute() 302 ret = g_entry[i].func(); in DacTestExecute()
|
H A D | watchdog_test.c | 291 static struct WatchdogTestEntry g_entry[] = { variable 324 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in WatchdogTestExecute() 325 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in WatchdogTestExecute() 328 ret = g_entry[i].func(tester); in WatchdogTestExecute()
|
H A D | clock_test.c | 367 static struct ClockTestEntry g_entry[] = { variable 391 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in ClockTestExecute() 392 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in ClockTestExecute() 395 ret = g_entry[i].func(); in ClockTestExecute()
|
H A D | platform_manager_test.c | 230 static struct PlatformManagerTestEntry g_entry[] = { variable 250 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PlatformManagerTestExecute() 251 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PlatformManagerTestExecute() 254 entry = &g_entry[i]; in PlatformManagerTestExecute()
|
H A D | platform_device_test.c | 268 static struct PlatformDeviceTestEntry g_entry[] = { variable 292 for (i = 0; i < (sizeof(g_entry) / sizeof(g_entry[0])); i++) { in PlatformDeviceTestExecute() 293 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PlatformDeviceTestExecute() 296 entry = &g_entry[i]; in PlatformDeviceTestExecute()
|
H A D | i2c_test.c | 406 static struct I2cTestEntry g_entry[] = { variable 430 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in I2cTestExecute() 431 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in I2cTestExecute() 434 ret = g_entry[i].func(); in I2cTestExecute()
|
H A D | pin_test.c | 320 static struct PinTestEntry g_entry[] = { variable 341 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PinTestExecute() 342 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PinTestExecute() 345 ret = g_entry[i].func(); in PinTestExecute()
|
H A D | uart_test.c | 328 static struct UartTestEntry g_entry[] = { variable 361 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in UartTestExecute() 362 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in UartTestExecute() 365 ret = g_entry[i].func(tester); in UartTestExecute()
|
H A D | platform_dumper_test.c | 444 static struct PlatformDumperTestEntry g_entry[] = { variable 504 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PlatformDumperTestExecute() 505 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PlatformDumperTestExecute() 508 entry = &g_entry[i]; in PlatformDumperTestExecute()
|
H A D | pwm_test.c | 365 static struct PwmTestEntry g_entry[] = { variable 404 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PwmTestExecute() 405 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PwmTestExecute() 408 ret = g_entry[i].func(tester); in PwmTestExecute()
|
H A D | pcie_bus_test.c | 266 static struct PcieBusTestFunc g_entry[] = { variable 375 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PcieBusTestExecute() 376 if (g_entry[i].cmd == cmd && g_entry[i].func != NULL) { in PcieBusTestExecute() 377 ret = g_entry[i].func(tester); in PcieBusTestExecute()
|
H A D | gpio_test.c | 491 static struct GpioTestEntry g_entry[] = { variable 519 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in GpioTestExecute() 520 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in GpioTestExecute() 529 ret = g_entry[i].func(); in GpioTestExecute()
|
H A D | i3c_test.c | 505 static struct I3cTestEntry g_entry[] = { variable 530 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in I3cTestExecute() 531 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in I3cTestExecute() 535 ret = g_entry[i].func((void *)&count); in I3cTestExecute()
|
H A D | rtc_test.c | 647 static struct RtcTestEntry g_entry[] = { variable 686 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in RtcTestExecute() 687 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in RtcTestExecute() 690 ret = g_entry[i].func(tester); in RtcTestExecute()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/ |
H A D | platform_manager_test.c | 247 static struct PlatformManagerTestEntry g_entry[] = { variable 267 for (i = 0; i < sizeof(g_entry) / sizeof(g_entry[0]); i++) { in PlatformManagerTestExecute() 268 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PlatformManagerTestExecute() 271 entry = &g_entry[i]; in PlatformManagerTestExecute()
|
H A D | platform_device_test.c | 280 static struct PlatformDeviceTestEntry g_entry[] = { variable 303 for (i = 0; i < (sizeof(g_entry) / sizeof(g_entry[0])); i++) { in PlatformDeviceTestExecute() 304 if (g_entry[i].cmd != cmd || g_entry[i].func == NULL) { in PlatformDeviceTestExecute() 307 entry = &g_entry[i]; in PlatformDeviceTestExecute()
|