Lines Matching refs:msg
122 static int bytes_get(const unsigned char **msg,
126 if (endmsg - *msg < rlen) return 0;
127 memcpy(result, *msg, rlen);
128 *msg += rlen;
148 static int ${typeid}_get(const unsigned char **msg,
167 static int BLOCK_get(const unsigned char **msg,
172 if (endmsg - *msg < *result_size) return 0;
173 *result = (const void*)*msg;
174 *msg += *result_size;
178 static int STRING_get(const unsigned char **msg,
219 "(const unsigned char *msg, uint32_t len, void *user)");
232 if (!uint16_t_get(&msg, endmsg, &mtype)) return 0;
303 " if (!${typeid}_get(&msg, endmsg, $c_get_args)) return 0;\n";