Searched refs:json_doc (Results 1 – 2 of 2) sorted by relevance
188 std::string json_doc; in ReadDescriptorsFromFile() local190 if (!android::base::ReadFileToString(file_name, &json_doc)) { in ReadDescriptorsFromFile()199 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ReadDescriptorsFromFile()
809 std::string json_doc; in Load() local811 if (!android::base::ReadFileToString(file_name, &json_doc)) { in Load()820 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in Load()