Searched refs:json_buf (Results 1 – 1 of 1) sorted by relevance
1553 char *json_buf; in loader_get_json() local1565 json_buf = (char *)loader_stack_alloc(len + 1); in loader_get_json()1566 if (json_buf == NULL) { in loader_get_json()1572 if (fread(json_buf, sizeof(char), len, file) != len) { in loader_get_json()1579 json_buf[len] = '\0'; in loader_get_json()1582 json = cJSON_Parse(json_buf); in loader_get_json()