FFmpeg
|
#include <errno.h>
#include <limits.h>
#include <math.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <float.h>
#include "avstring.h"
#include "libm.h"
Go to the source code of this file.
Data Structures | |
struct | FFFILE |
Macros | |
#define | SIZE_hh -2 |
#define | SIZE_h -1 |
#define | SIZE_def 0 |
#define | SIZE_l 1 |
#define | SIZE_L 2 |
#define | SIZE_ll 3 |
#define | shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->buf)) |
#define | shlim(f, lim) ffshlim((f), (lim)) |
#define | shgetc(f) (((f)->rpos < (f)->shend) ? *(f)->rpos++ : ffshgetc(f)) |
#define | shunget(f) ((f)->shend ? (void)(f)->rpos-- : (void)0) |
#define | LD_B1B_DIG 2 |
#define | LD_B1B_MAX 9007199, 254740991 |
#define | KMAX 128 |
#define | MASK (KMAX-1) |
Functions | |
static int | fftoread (FFFILE *f) |
static size_t | ffstring_read (FFFILE *f, unsigned char *buf, size_t len) |
static int | ffuflow (FFFILE *f) |
static void | ffshlim (FFFILE *f, ptrdiff_t lim) |
static int | ffshgetc (FFFILE *f) |
static unsigned long long | ffintscan (FFFILE *f, unsigned base, int pok, unsigned long long lim) |
static long long | scanexp (FFFILE *f, int pok) |
static double | decfloat (FFFILE *f, int c, int bits, int emin, int sign, int pok) |
static double | hexfloat (FFFILE *f, int bits, int emin, int sign, int pok) |
static double | fffloatscan (FFFILE *f, int prec, int pok) |
static void * | arg_n (va_list ap, unsigned int n) |
static void | store_int (void *dest, int size, unsigned long long i) |
static int | ff_vfscanf (FFFILE *f, const char *fmt, va_list ap) |
static int | ff_vsscanf (const char *s, const char *fmt, va_list ap) |
int | av_sscanf (const char *string, const char *format,...) |
See libc sscanf manual for more information. More... | |
Variables | |
static const unsigned char | table [] |
#define SIZE_hh -2 |
Definition at line 47 of file avsscanf.c.
#define SIZE_h -1 |
Definition at line 48 of file avsscanf.c.
#define SIZE_def 0 |
Definition at line 49 of file avsscanf.c.
#define SIZE_l 1 |
Definition at line 50 of file avsscanf.c.
#define SIZE_L 2 |
Definition at line 51 of file avsscanf.c.
#define SIZE_ll 3 |
Definition at line 52 of file avsscanf.c.
Definition at line 115 of file avsscanf.c.
Definition at line 116 of file avsscanf.c.
Definition at line 117 of file avsscanf.c.
#define LD_B1B_DIG 2 |
Definition at line 240 of file avsscanf.c.
#define LD_B1B_MAX 9007199, 254740991 |
Definition at line 241 of file avsscanf.c.
#define KMAX 128 |
Definition at line 242 of file avsscanf.c.
#define MASK (KMAX-1) |
Definition at line 243 of file avsscanf.c.
Definition at line 56 of file avsscanf.c.
Referenced by ffuflow().
|
static |
Definition at line 62 of file avsscanf.c.
Referenced by ff_vsscanf().
Definition at line 78 of file avsscanf.c.
Referenced by ffshgetc().
|
static |
Definition at line 85 of file avsscanf.c.
Definition at line 96 of file avsscanf.c.
|
static |
Definition at line 138 of file avsscanf.c.
Referenced by ff_vfscanf().
Definition at line 214 of file avsscanf.c.
Referenced by decfloat(), and hexfloat().
Definition at line 245 of file avsscanf.c.
Referenced by fffloatscan().
Definition at line 497 of file avsscanf.c.
Referenced by fffloatscan().
Definition at line 610 of file avsscanf.c.
Referenced by ff_vfscanf().
|
static |
Definition at line 693 of file avsscanf.c.
Referenced by ff_vfscanf().
|
static |
Definition at line 705 of file avsscanf.c.
Referenced by ff_vfscanf().
Definition at line 727 of file avsscanf.c.
Referenced by ff_vsscanf().
|
static |
Definition at line 952 of file avsscanf.c.
Referenced by av_sscanf().
|
static |
Definition at line 119 of file avsscanf.c.
Referenced by ffintscan().