Lines Matching defs:buf
510 unsigned char *buf;
517 buf = base64_url_decode((const unsigned char *) token->string,
519 if (!buf)
521 ret = wpabuf_alloc_ext_data(buf, buflen);
523 os_free(buf);
552 char *buf, size_t buflen)
559 len = os_strlen(buf);
560 ret = os_snprintf(buf + len, buflen - len, "[%d:%s:%s]",
564 buf[len] = '\0';
567 json_print_token(token->child, depth + 1, buf, buflen);
568 json_print_token(token->sibling, depth, buf, buflen);
572 void json_print_tree(struct json_token *root, char *buf, size_t buflen)
574 buf[0] = '\0';
575 json_print_token(root, 1, buf, buflen);