Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
220 std::string file = GetCustFile(OPKEY_INFO_PATH, CUST_RULE_PATH_KEY);
221 char *ret = GetOneCfgFile(file.c_str(), buf, MAX_PATH_LEN);
339 std::string file = GetCustFile(NUM_MATCH_PATH, CUST_NETWORK_PATH_KEY);
340 char *path = GetOneCfgFile(file.c_str(), buf, MAX_PATH_LEN);
433 std::string file = GetCustFile(ECC_DATA_PATH, CUST_NETWORK_PATH_KEY);
434 char *path = GetOneCfgFile(file.c_str(), buf, MAX_PATH_LEN);
516 DATA_STORAGE_LOGE("ParserUtil::LoaderJsonFile file is null!");
571 std::string ParserUtil::GetCustFile(const char *&file, const char *key)
575 custFile.append(file);
577 custFile = file;
605 std::ifstream file(realPath, std::ios::binary);
606 if (!file.is_open()) {
607 DATA_STORAGE_LOGE("ParserUtil::GetFileChecksum Failed to open file!");
612 while (file) {
613 file.read(buffer.data(), buffer.size());
614 auto bytesRead = file.gcount();
650 DATA_STORAGE_LOGD("ParserUtil::IsDigestChanged file not changed");
653 DATA_STORAGE_LOGI("ParserUtil::IsDigestChanged file is changed");