Lines Matching refs:field_name
86 read_value_string(FILE *fp, const char* field_name, char* value) in read_value_string() argument
93 if (!fp || !field_name || !value) { in read_value_string()
111 if (strncmp(field, field_name, strlen(field_name))) in read_value_string()
131 read_value_uint8(FILE* fp, const char* field_name, uint8_t* value) in read_value_uint8() argument
135 if (read_value_string(fp, field_name, str)) { in read_value_uint8()
136 printf("Failed to find integer field: %s", field_name); in read_value_uint8()
145 read_value_uint32(FILE* fp, const char* field_name, uint32_t* value) in read_value_uint32() argument
149 if (read_value_string(fp, field_name, str)) { in read_value_uint32()
150 printf("Failed to find integer field: %s", field_name); in read_value_uint32()
159 read_value_float(FILE *fp, const char* field_name, float* value) in read_value_float() argument
162 if (read_value_string(fp, field_name, str)) { in read_value_float()
163 printf("Failed to find float field: %s \n",field_name); in read_value_float()