read_section() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

read_section() function

Syntax

static int read_section(FILE *input_file,     int length_size,     char section,     uint32_t *buffer_length,     uint8_t **buffer);

Arguments

input_file

length_size

section

buffer_length

buffer

References

LocationReferrerText
xilinx_bit.c:18
static int read_section(FILE *input_file, int length_size, char section,
xilinx_bit.c:86xilinx_read_bit_file()
if (read_section(input_file, 2, 'a', NULL, &bit_file->source_file) != ERROR_OK) {
xilinx_bit.c:92xilinx_read_bit_file()
if (read_section(input_file, 2, 'b', NULL, &bit_file->part_name) != ERROR_OK) {
xilinx_bit.c:98xilinx_read_bit_file()
if (read_section(input_file, 2, 'c', NULL, &bit_file->date) != ERROR_OK) {
xilinx_bit.c:104xilinx_read_bit_file()
if (read_section(input_file, 2, 'd', NULL, &bit_file->time) != ERROR_OK) {
xilinx_bit.c:110xilinx_read_bit_file()
if (read_section(input_file, 4, 'e', &bit_file->length, &bit_file->data) != ERROR_OK) {

Call Tree

Functions calling read_section()
Functions called by read_section()
all items filtered out
read_section()
fread()
malloc()
all items filtered out
Data read by read_section()
Data written by read_section()
read_section()::length_buffer
read_section()::length
read_section()::section_char
read_section()::read_count
all items filtered out
read_section()
read_section()::length
read_section()::read_count
all items filtered out
Type of read_section()
read_section()
uint8_t
all items filtered out