Lines Matching refs:bytes_read
195 static void read_udi_subval(const char *str, uint16_t val_len, char *buf, uint16_t *bytes_read, in read_udi_subval() argument
203 if (*bytes_read == len) { in read_udi_subval()
213 if (*index >= offset && *bytes_read < len) { in read_udi_subval()
214 buf[*bytes_read] = str[i]; in read_udi_subval()
216 (*bytes_read)++; in read_udi_subval()
226 uint16_t bytes_read = 0; in read_udi() local
235 bytes_read = 1U; in read_udi()
239 &bytes_read, &index, len, offset); in read_udi()
241 &bytes_read, &index, len, offset); in read_udi()
243 &bytes_read, &index, len, offset); in read_udi()
245 buf_i, &bytes_read, &index, len, offset); in read_udi()
247 return bytes_read; in read_udi()