xsvf_fd is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

xsvf_fd variable

Syntax

static int xsvf_fd;

References

LocationReferrerText
xsvf.c:112
static int xsvf_fd;
xsvf.c:247handle_xsvf_command()
xsvf_fd = open(filename, O_RDONLY);
xsvf.c:248handle_xsvf_command()
if (xsvf_fd < 0) {
xsvf.c:267handle_xsvf_command()
while (read(xsvf_fd, &opcode, 1) > 0) {
xsvf.c:269handle_xsvf_command()
file_offset = lseek(xsvf_fd, 0, SEEK_CUR) - 1;
xsvf.c:289handle_xsvf_command()
if (read(xsvf_fd, &uc, 1) < 0) {
xsvf.c:361handle_xsvf_command()
(xsvf_read_buffer(xsdrsize, xsvf_fd, dr_in_mask) != ERROR_OK))
xsvf.c:369handle_xsvf_command()
if (read(xsvf_fd, xruntest_buf, 4) < 0) {
xsvf.c:383handle_xsvf_command()
if (read(xsvf_fd, &myrepeat, 1) < 0)
xsvf.c:396handle_xsvf_command()
if (read(xsvf_fd, xsdrsize_buf, 4) < 0) {
xsvf.c:423handle_xsvf_command()
if (xsvf_read_buffer(xsdrsize, xsvf_fd, dr_out_buf) != ERROR_OK) {
xsvf.c:429handle_xsvf_command()
if (xsvf_read_buffer(xsdrsize, xsvf_fd,
xsvf.c:568handle_xsvf_command()
if (read(xsvf_fd, &uc, 1) < 0) {
xsvf.c:611handle_xsvf_command()
if (read(xsvf_fd, &uc, 1) < 0) {
xsvf.c:632handle_xsvf_command()
if (read(xsvf_fd, &uc, 1) < 0) {
xsvf.c:661handle_xsvf_command()
if (read(xsvf_fd, short_buf, 1) < 0) {
xsvf.c:668handle_xsvf_command()
if (read(xsvf_fd, short_buf, 2) < 0) {
xsvf.c:678handle_xsvf_command()
if (xsvf_read_buffer(bitcount, xsvf_fd, ir_buf) != ERROR_OK)
xsvf.c:721handle_xsvf_command()
if (read(xsvf_fd, &uc, 1) < 0) {
xsvf.c:751handle_xsvf_command()
if (read(xsvf_fd, &wait_local, 1) < 0
xsvf.c:752handle_xsvf_command()
|| read(xsvf_fd, &end, 1) < 0
xsvf.c:753handle_xsvf_command()
|| read(xsvf_fd, delay_buf, 4) < 0) {
xsvf.c:796handle_xsvf_command()
if (read(xsvf_fd, &wait_local, 1) < 0
xsvf.c:797handle_xsvf_command()
|| read(xsvf_fd, &end, 1) < 0
xsvf.c:798handle_xsvf_command()
|| read(xsvf_fd, clock_buf, 4) < 0
xsvf.c:799handle_xsvf_command()
|| read(xsvf_fd, usecs_buf, 4) < 0) {
xsvf.c:848handle_xsvf_command()
if (read(xsvf_fd, count_buf, 4) < 0) {
xsvf.c:867handle_xsvf_command()
if (read(xsvf_fd, &state, 1) < 0
xsvf.c:868handle_xsvf_command()
|| read(xsvf_fd, clock_buf, 4) < 0
xsvf.c:869handle_xsvf_command()
|| read(xsvf_fd, usecs_buf, 4) < 0) {
xsvf.c:895handle_xsvf_command()
if (xsvf_read_buffer(xsdrsize, xsvf_fd, dr_out_buf) != ERROR_OK
xsvf.c:896handle_xsvf_command()
|| xsvf_read_buffer(xsdrsize, xsvf_fd, dr_in_buf) != ERROR_OK) {
xsvf.c:955handle_xsvf_command()
if (read(xsvf_fd, &trst_mode, 1) < 0) {
xsvf.c:1005handle_xsvf_command()
off_t offset = lseek(xsvf_fd, 0, SEEK_CUR) - 1;
xsvf.c:1021handle_xsvf_command()
close(xsvf_fd);

Data Use

Functions writing xsvf_fd
Functions reading xsvf_fd
all items filtered out
xsvf_fd
all items filtered out