Lines Matching refs:buff
147 char *buff = (char *)calloc(1, buffSize); in LoadParamLabels() local
148 while (fp != NULL && buff != NULL && fgets(buff, buffSize, fp) != NULL) { in LoadParamLabels()
149 buff[buffSize - 1] = '\0'; in LoadParamLabels()
150 int ret = SplitParamString(buff, NULL, 0, LoadOneParam_, NULL); in LoadParamLabels()
152 PARAM_LOGE("Failed to split string %s fileName %s", buff, fileName); in LoadParamLabels()
161 if (buff != NULL) { in LoadParamLabels()
162 free(buff); in LoadParamLabels()
292 char *buff = (char *)calloc(1, buffSize); in LoadGroupUser_() local
293 while (fp != NULL && buff != NULL && fgets(buff, buffSize, fp) != NULL) { in LoadGroupUser_()
294 buff[buffSize - 1] = '\0'; in LoadGroupUser_()
296 char *buffer = UserNameTrim(buff); in LoadGroupUser_()
297 PARAM_CHECK(buffer != NULL, continue, "Invalid buffer %s", buff); in LoadGroupUser_()
303 PARAM_CHECK(groupName != NULL, continue, "Invalid group name %s", buff); in LoadGroupUser_()
332 if (buff != NULL) { in LoadGroupUser_()
333 free(buff); in LoadGroupUser_()