Searched refs:fileBuff (Results 1 – 2 of 2) sorted by relevance
102 char *fileBuff = nullptr; in DeleteNodeInFile() local104 if (GetFileBuff(TOKEN_ID_CFG_FILE_PATH, &fileBuff) != ATRET_SUCCESS) { in DeleteNodeInFile()108 if (fileBuff == nullptr) { in DeleteNodeInFile()111 record = cJSON_Parse(fileBuff); in DeleteNodeInFile()112 free(fileBuff); in DeleteNodeInFile()113 fileBuff = nullptr; in DeleteNodeInFile()426 char *fileBuff = nullptr; variable427 int32_t ret = GetFileBuff(TOKEN_ID_CFG_FILE_PATH, &fileBuff);430 char *pos = strstr(fileBuff, s.c_str());611 char *fileBuff = nullptr; variable[all …]
172 char *fileBuff = NULL; in ParseTokenInfo() local176 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() local367 ret = GetFileBuff(TOKEN_ID_CFG_FILE_PATH, &fileBuff); in SaveTokenIdToCfg()372 if (fileBuff == NULL) { in SaveTokenIdToCfg()375 record = cJSON_Parse(fileBuff); in SaveTokenIdToCfg()[all …]