Searched refs:DAL_ASSERT_STR (Results 1 - 3 of 3) sorted by relevance

/external/libnfc-nxp/Linux_x86/
H A DphDal4Nfc_debug.h30 #define DAL_ASSERT_STR(x, str) { if (!(x)) { phOsalNfc_DbgString(str); while(1); } } macro
36 #define DAL_ASSERT_STR(x, str) macro
H A DphDal4Nfc_i2c.c86 DAL_ASSERT_STR(gI2cPortContext.nHandle >= 0, "Bad passed com port handle");
145 DAL_ASSERT_STR(gI2cPortContext.nOpened==0, "Trying to open but already done!");
183 DAL_ASSERT_STR(gI2cPortContext.nOpened == 1, "read called but not opened!");
237 DAL_ASSERT_STR(gI2cPortContext.nOpened == 1, "write called but not opened!");
H A DphDal4Nfc_uart.c101 DAL_ASSERT_STR(gComPortContext.nHandle >= 0, "Bad passed com port handle");
131 DAL_ASSERT_STR(ret!=-1, "tcflush failed");
166 DAL_ASSERT_STR(gComPortContext.nOpened==0, "Trying to open but already done!");
192 DAL_ASSERT_STR(ret != -1, "fcntl failed");
216 DAL_ASSERT_STR(ret != -1, "tcsetattr failed");
223 DAL_ASSERT_STR(ret != -1, "ioctl TIOCMGET failed");
226 DAL_ASSERT_STR(ret != -1, "ioctl TIOCMSET failed");
305 DAL_ASSERT_STR(gComPortContext.nOpened == 1, "read called but not opened!");
385 DAL_ASSERT_STR(gComPortContext.nOpened == 1, "write called but not opened!");

Completed in 129 milliseconds