Lines Matching refs:tmplen
34 int tmplen; in res_parse() local
37 tmp = json_get_value_by_name((char *)payload, len, "id", &tmplen, NULL); in res_parse()
43 backup_json_str_last_char(tmp, tmplen, back); in res_parse()
45 restore_json_str_last_char(tmp, tmplen, back); in res_parse()
47 tmp = json_get_value_by_name((char *)payload, len, "code", &tmplen, NULL); in res_parse()
52 backup_json_str_last_char(tmp, tmplen, back); in res_parse()
54 restore_json_str_last_char(tmp, tmplen, back); in res_parse()
56 tmp = json_get_value_by_name((char *)payload, len, "msg", &tmplen, NULL); in res_parse()
57 if (tmp && tmplen) { in res_parse()
58 res_msg->msg = (char *)coap_malloc(tmplen); in res_parse()
59 memcpy(res_msg->msg, tmp, tmplen); in res_parse()
278 int tmplen; in auth_cb() local
282 &tmplen, NULL); in auth_cb()
292 backup_json_str_last_char(tmp, tmplen, back); in auth_cb()
294 restore_json_str_last_char(tmp, tmplen, back); in auth_cb()
298 &tmplen, NULL); in auth_cb()
310 tmplen, tmp); in auth_cb()