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

/system/bluetooth/brfpatch/
H A Dbrfpatch.c24 #define FAILIF(x, args...) do { \ macro
78 FAILIF(strncmp(buf, "Send_", 5) != 0, "Not expecting: %s\n", buffer);
83 FAILIF(advance(&buf), "Could not find opcode in: %s\n", buffer);
84 FAILIF(sscanf(buf, "0x%04x\n", &opcode) != 1,
96 FAILIF(dp > data + sizeof(data),
98 FAILIF(sscanf(buf, "%02x", (unsigned int *)dp) != 1,
108 FAILIF(*buf != 'x', "Error parsing: %s\n", buffer);
119 FAILIF(sscanf(buf, "%02x", (unsigned int *)dp) != 1,
125 FAILIF(sscanf(buf, "%04x", (unsigned int *)dp) != 1,
131 FAILIF(sscan
[all...]

Completed in 2 milliseconds