Lines Matching defs:fpJson
51 FILE *fpJson = NULL;
56 fpJson = fopen(CJSONFILE_CONFIG_PATH, "r");
57 if (fpJson == NULL) {
61 if (fseek(fpJson, 0, SEEK_END) != HDF_SUCCESS) {
63 (void)fclose(fpJson);
66 int32_t jsonStrSize = ftell(fpJson);
67 rewind(fpJson);
69 (void)fclose(fpJson);
74 (void)fclose(fpJson);
77 if (fread(pJsonStr, jsonStrSize, 1, fpJson) != 1) {
79 (void)fclose(fpJson);
80 fpJson = NULL;
84 (void)fclose(fpJson);
85 fpJson = NULL;