Lines Matching refs:bytes_read
169 static void read_udi_subval(const char *str, uint16_t val_len, char *buf, uint16_t *bytes_read, in read_udi_subval() argument
177 if (*bytes_read == len) { in read_udi_subval()
187 if (*index >= offset && *bytes_read < len) { in read_udi_subval()
188 buf[*bytes_read] = str[i]; in read_udi_subval()
190 (*bytes_read)++; in read_udi_subval()
200 uint16_t bytes_read = 0; in read_udi() local
209 bytes_read = 1U; in read_udi()
213 &bytes_read, &index, len, offset); in read_udi()
215 &bytes_read, &index, len, offset); in read_udi()
217 &bytes_read, &index, len, offset); in read_udi()
219 buf_i, &bytes_read, &index, len, offset); in read_udi()
221 return bytes_read; in read_udi()