Lines Matching refs:fileBuff
172 char *fileBuff = NULL; in ParseTokenInfo() local
176 ret = GetFileBuff(TOKEN_ID_CFG_FILE_PATH, &fileBuff); in ParseTokenInfo()
180 if (fileBuff == NULL) { in ParseTokenInfo()
183 record = cJSON_Parse(fileBuff); in ParseTokenInfo()
184 free(fileBuff); in ParseTokenInfo()
185 fileBuff = NULL; in ParseTokenInfo()
363 char *fileBuff = NULL; in SaveTokenIdToCfg() local
367 ret = GetFileBuff(TOKEN_ID_CFG_FILE_PATH, &fileBuff); in SaveTokenIdToCfg()
372 if (fileBuff == NULL) { in SaveTokenIdToCfg()
375 record = cJSON_Parse(fileBuff); in SaveTokenIdToCfg()
376 free(fileBuff); in SaveTokenIdToCfg()
377 fileBuff = NULL; in SaveTokenIdToCfg()
594 char *fileBuff = NULL; in UpdateInfoInCfgFile() local
597 if (GetFileBuff(TOKEN_ID_CFG_FILE_PATH, &fileBuff) != ATRET_SUCCESS) { in UpdateInfoInCfgFile()
601 if (fileBuff == NULL) { in UpdateInfoInCfgFile()
604 record = cJSON_Parse(fileBuff); in UpdateInfoInCfgFile()
605 free(fileBuff); in UpdateInfoInCfgFile()
606 fileBuff = NULL; in UpdateInfoInCfgFile()