Home
last modified time | relevance | path

Searched refs:ParseProtoFromMemory (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/common/
Dfile-utils.h46 bool ParseProtoFromMemory(StringPiece sp, Proto *proto) { in ParseProtoFromMemory() function
75 return ParseProtoFromMemory(handle.to_stringpiece(), proto); in ReadProtoFromFile()
/external/libtextclassifier/lang_id/
Dlang-id.cc47 using ::libtextclassifier::nlp_core::file_utils::ParseProtoFromMemory;
256 if (!ParseProtoFromMemory(bytes, proto.get())) { in ParseNetworkParams()
288 if (!ParseProtoFromMemory(bytes, &records)) { in ParseListOfKnownLanguages()
298 if (!ParseProtoFromMemory(std::string(records.element(0)), &languages_)) { in ParseListOfKnownLanguages()
/external/libtextclassifier/common/memory_image/
Din-memory-model-data.cc37 bool parse_status = file_utils::ParseProtoFromMemory( in GetTaskSpec()