search for: fn_len

Displaying 6 results from an estimated 6 matches for "fn_len".

Did you mean: in_len
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...get here */ + return 0; + } + + return strcmp(a, b); +} + +static int parse_bls1_dir(const char *dirname) +{ + DIR *d = NULL; + char *filename = NULL; + struct dirent *de = NULL; + struct blsdata *nbd = NULL, **bdx = NULL; + int i, n_bdx = 0, n_bd = 0; + int rv = -1, fn_len, dn_len; + struct menu *m = current_menu; + + if (!*dirname) + return -1; + + dprintf("Opening bls entries directory %s ", dirname); + + d = opendir(dirname); + dprintf("%s\n", d ? "ok" : "failed"); + + if (!d) + return -1; + +...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...e number of files that were successfully parsed, + * or -1 on error + */ +static int parse_bls1_dir(const char *dirname) +{ + DIR *d = NULL; + char *filename = NULL; + struct dirent *de = NULL; + struct blsdata *nbd = NULL, **bdx = NULL; + int i, n_bdx = 0, n_bd = 0; + int rv = 0, fn_len, dn_len; + struct menu *m = current_menu; + const char *tmp = NULL; + + dprintf("Opening bls entries directory %s ", dirname); + + d = opendir(dirname); + dprintf("%s\n", d ? "ok" : "failed"); + if (!d) + return -1; + dn_len = strlen(dirn...
2019 May 25
2
[PATCH] (vesa)menu.c32: Add support for BLS
...; +static int parse_bls1_dir(const char *dirname) > > +{ > > + DIR *d = NULL; > > + char *filename = NULL; > > + struct dirent *de = NULL; > > + struct blsdata *nbd = NULL, **bdx = NULL; > > + int i, n_bdx = 0, n_bd = 0; > > + int rv = -1, fn_len, dn_len; > > + struct menu *m = current_menu; > > + > > + if (!*dirname) > > + return -1; > > + > > + dprintf("Opening bls entries directory %s ", dirname); > > + > > + d = opendir(dirname); > > + dprintf("%s...
2019 May 25
0
[PATCH] (vesa)menu.c32: Add support for BLS
...0 : -1; > +} <snip> > +static int parse_bls1_dir(const char *dirname) > +{ > + DIR *d = NULL; > + char *filename = NULL; > + struct dirent *de = NULL; > + struct blsdata *nbd = NULL, **bdx = NULL; > + int i, n_bdx = 0, n_bd = 0; > + int rv = -1, fn_len, dn_len; > + struct menu *m = current_menu; > + > + if (!*dirname) > + return -1; > + > + dprintf("Opening bls entries directory %s ", dirname); > + > + d = opendir(dirname); > + dprintf("%s\n", d ? "ok" : "failed&q...
2019 May 27
0
[PATCH] (vesa)menu.c32: Add support for BLS
...char *dirname) > > > +{ > > > + DIR *d = NULL; > > > + char *filename = NULL; > > > + struct dirent *de = NULL; > > > + struct blsdata *nbd = NULL, **bdx = NULL; > > > + int i, n_bdx = 0, n_bd = 0; > > > + int rv = -1, fn_len, dn_len; > > > + struct menu *m = current_menu; > > > + > > > + if (!*dirname) > > > + return -1; > > > + > > > + dprintf("Opening bls entries directory %s ", dirname); > > > + > > > + d = opendir(d...
2013 Feb 07
5
[PATCH v8] gcov: Coverage support
Updated set of patches for coverage. Changes: - change copyright lines - use gcov: instead of cover: in commit comment - use #ifdef in xen/common/sysctl.c instead of dummy inline function - added base documentation in docs/misc - added -h option to xencov