Searched refs:FAILIF (Results 1 – 1 of 1) sorted by relevance
/system/bluetooth/brfpatch/ |
D | brfpatch.c | 24 #define FAILIF(x, args...) do { \ macro 78 FAILIF(strncmp(buf, "Send_", 5) != 0, "Not expecting: %s\n", buffer); in process_line() 83 FAILIF(advance(&buf), "Could not find opcode in: %s\n", buffer); in process_line() 84 FAILIF(sscanf(buf, "0x%04x\n", &opcode) != 1, in process_line() 96 FAILIF(dp > data + sizeof(data), in process_line() 98 FAILIF(sscanf(buf, "%02x", (unsigned int *)dp) != 1, in process_line() 108 FAILIF(*buf != 'x', "Error parsing: %s\n", buffer); in process_line() 119 FAILIF(sscanf(buf, "%02x", (unsigned int *)dp) != 1, in process_line() 125 FAILIF(sscanf(buf, "%04x", (unsigned int *)dp) != 1, in process_line() 131 FAILIF(sscanf(buf, "%06x", (unsigned int *)dp) != 1, in process_line() [all …]
|