Home
last modified time | relevance | path

Searched refs:shgetc (Results 1 – 20 of 20) sorted by relevance

/third_party/musl/src/internal/
Dintscan.c36 while (isspace((c=shgetc(f)))); in __intscan()
39 c = shgetc(f); in __intscan()
42 c = shgetc(f); in __intscan()
44 c = shgetc(f); in __intscan()
65 for (x=0; c-'0'<10U && x<=UINT_MAX/10-1; c=shgetc(f)) in __intscan()
67 for (y=x; c-'0'<10U && y<=ULLONG_MAX/10 && 10*y<=ULLONG_MAX-(c-'0'); c=shgetc(f)) in __intscan()
72 for (x=0; val[c]<base && x<=UINT_MAX/32; c=shgetc(f)) in __intscan()
74 for (y=x; val[c]<base && y<=ULLONG_MAX>>bs; c=shgetc(f)) in __intscan()
77 for (x=0; val[c]<base && x<=UINT_MAX/36-1; c=shgetc(f)) in __intscan()
79 for (y=x; val[c]<base && y<=ULLONG_MAX/base && base*y<=ULLONG_MAX-val[c]; c=shgetc(f)) in __intscan()
[all …]
Dfloatscan.c43 c = shgetc(f); in scanexp()
46 c = shgetc(f); in scanexp()
53 for (x=0; c-'0'<10U && x<INT_MAX/10; c = shgetc(f)) in scanexp()
55 for (y=x; c-'0'<10U && y<LLONG_MAX/100; c = shgetc(f)) in scanexp()
57 for (; c-'0'<10U; c = shgetc(f)); in scanexp()
86 for (; c=='0'; c = shgetc(f)) gotdig=1; in decfloat()
89 for (c = shgetc(f); c=='0'; c = shgetc(f)) gotdig=1, lrp--; in decfloat()
93 for (; c-'0'<10U || c=='.'; c = shgetc(f)) { in decfloat()
327 c = shgetc(f); in hexfloat()
330 for (; c=='0'; c = shgetc(f)) gotdig = 1; in hexfloat()
[all …]
Dshgetc.h28 #define shgetc(f) (((f)->rpos != (f)->shend) ? *(f)->rpos++ : __shgetc(f)) macro
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dintscan.c36 while (isspace((c=shgetc(f)))); in __intscan()
39 c = shgetc(f); in __intscan()
42 c = shgetc(f); in __intscan()
44 c = shgetc(f); in __intscan()
65 for (x=0; c-'0'<10U && x<=UINT_MAX/10-1; c=shgetc(f)) in __intscan()
67 for (y=x; c-'0'<10U && y<=ULLONG_MAX/10 && 10*y<=ULLONG_MAX-(c-'0'); c=shgetc(f)) in __intscan()
72 for (x=0; val[c]<base && x<=UINT_MAX/32; c=shgetc(f)) in __intscan()
74 for (y=x; val[c]<base && y<=ULLONG_MAX>>bs; c=shgetc(f)) in __intscan()
77 for (x=0; val[c]<base && x<=UINT_MAX/36-1; c=shgetc(f)) in __intscan()
79 for (y=x; val[c]<base && y<=ULLONG_MAX/base && base*y<=ULLONG_MAX-val[c]; c=shgetc(f)) in __intscan()
[all …]
Dfloatscan.c43 c = shgetc(f); in scanexp()
46 c = shgetc(f); in scanexp()
53 for (x=0; c-'0'<10U && x<INT_MAX/10; c = shgetc(f)) in scanexp()
55 for (y=x; c-'0'<10U && y<LLONG_MAX/100; c = shgetc(f)) in scanexp()
57 for (; c-'0'<10U; c = shgetc(f)); in scanexp()
86 for (; c=='0'; c = shgetc(f)) gotdig=1; in decfloat()
89 for (c = shgetc(f); c=='0'; c = shgetc(f)) gotdig=1, lrp--; in decfloat()
93 for (; c-'0'<10U || c=='.'; c = shgetc(f)) { in decfloat()
327 c = shgetc(f); in hexfloat()
330 for (; c=='0'; c = shgetc(f)) gotdig = 1; in hexfloat()
[all …]
Dshgetc.h28 #define shgetc(f) (((f)->rpos != (f)->shend) ? *(f)->rpos++ : __shgetc(f)) macro
/third_party/musl/porting/uniproton/kernel/src/internal/
Dintscan.c36 while (isspace((c=shgetc(f)))); in __intscan()
39 c = shgetc(f); in __intscan()
42 c = shgetc(f); in __intscan()
44 c = shgetc(f); in __intscan()
65 for (x=0; c-'0'<10U && x<=UINT_MAX/10-1; c=shgetc(f)) in __intscan()
67 for (y=x; c-'0'<10U && y<=ULLONG_MAX/10 && 10*y<=ULLONG_MAX-(c-'0'); c=shgetc(f)) in __intscan()
72 for (x=0; val[c]<base && x<=UINT_MAX/32; c=shgetc(f)) in __intscan()
74 for (y=x; val[c]<base && y<=ULLONG_MAX>>bs; c=shgetc(f)) in __intscan()
77 for (x=0; val[c]<base && x<=UINT_MAX/36-1; c=shgetc(f)) in __intscan()
79 for (y=x; val[c]<base && y<=ULLONG_MAX/base && base*y<=ULLONG_MAX-val[c]; c=shgetc(f)) in __intscan()
[all …]
Dfloatscan.c43 c = shgetc(f); in scanexp()
46 c = shgetc(f); in scanexp()
53 for (x=0; c-'0'<10U && x<INT_MAX/10; c = shgetc(f)) in scanexp()
55 for (y=x; c-'0'<10U && y<LLONG_MAX/100; c = shgetc(f)) in scanexp()
57 for (; c-'0'<10U; c = shgetc(f)); in scanexp()
86 for (; c=='0'; c = shgetc(f)) gotdig=1; in decfloat()
89 for (c = shgetc(f); c=='0'; c = shgetc(f)) gotdig=1, lrp--; in decfloat()
93 for (; c-'0'<10U || c=='.'; c = shgetc(f)) { in decfloat()
327 c = shgetc(f); in hexfloat()
330 for (; c=='0'; c = shgetc(f)) gotdig = 1; in hexfloat()
[all …]
Dshgetc.h29 #define shgetc(f) (((f)->rpos != (f)->shend) ? *(f)->rpos++ : __shgetc(f)) macro
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dintscan.c36 while (isspace((c=shgetc(f)))); in __intscan()
39 c = shgetc(f); in __intscan()
42 c = shgetc(f); in __intscan()
44 c = shgetc(f); in __intscan()
65 for (x=0; c-'0'<10U && x<=UINT_MAX/10-1; c=shgetc(f)) in __intscan()
67 for (y=x; c-'0'<10U && y<=ULLONG_MAX/10 && 10*y<=ULLONG_MAX-(c-'0'); c=shgetc(f)) in __intscan()
72 for (x=0; val[c]<base && x<=UINT_MAX/32; c=shgetc(f)) in __intscan()
74 for (y=x; val[c]<base && y<=ULLONG_MAX>>bs; c=shgetc(f)) in __intscan()
77 for (x=0; val[c]<base && x<=UINT_MAX/36-1; c=shgetc(f)) in __intscan()
79 for (y=x; val[c]<base && y<=ULLONG_MAX/base && base*y<=ULLONG_MAX-val[c]; c=shgetc(f)) in __intscan()
[all …]
Dfloatscan.c43 c = shgetc(f); in scanexp()
46 c = shgetc(f); in scanexp()
53 for (x=0; c-'0'<10U && x<INT_MAX/10; c = shgetc(f)) in scanexp()
55 for (y=x; c-'0'<10U && y<LLONG_MAX/100; c = shgetc(f)) in scanexp()
57 for (; c-'0'<10U; c = shgetc(f)); in scanexp()
86 for (; c=='0'; c = shgetc(f)) gotdig=1; in decfloat()
89 for (c = shgetc(f); c=='0'; c = shgetc(f)) gotdig=1, lrp--; in decfloat()
93 for (; c-'0'<10U || c=='.'; c = shgetc(f)) { in decfloat()
327 c = shgetc(f); in hexfloat()
330 for (; c=='0'; c = shgetc(f)) gotdig = 1; in hexfloat()
[all …]
Dshgetc.h29 #define shgetc(f) (((f)->rpos != (f)->shend) ? *(f)->rpos++ : __shgetc(f)) macro
/third_party/ffmpeg/libavutil/
Davsscanf.c116 #define shgetc(f) (((f)->rpos < (f)->shend) ? *(f)->rpos++ : ffshgetc(f)) macro
148 while (av_isspace((c=shgetc(f)))); in ffintscan()
151 c = shgetc(f); in ffintscan()
154 c = shgetc(f); in ffintscan()
156 c = shgetc(f); in ffintscan()
177 for (x=0; c-'0'<10U && x<=UINT_MAX/10-1; c=shgetc(f)) in ffintscan()
179 for (y=x; c-'0'<10U && y<=ULLONG_MAX/10 && 10*y<=ULLONG_MAX-(c-'0'); c=shgetc(f)) in ffintscan()
184 for (x=0; val[c]<base && x<=UINT_MAX/32; c=shgetc(f)) in ffintscan()
186 for (y=x; val[c]<base && y<=ULLONG_MAX>>bs; c=shgetc(f)) in ffintscan()
189 for (x=0; val[c]<base && x<=UINT_MAX/36-1; c=shgetc(f)) in ffintscan()
[all …]
/third_party/musl/porting/liteos_m/kernel/src/stdio/
Dvfscanf.c86 while (isspace(shgetc(f))); in vfscanf()
95 while (isspace((c=shgetc(f)))); in vfscanf()
97 c = shgetc(f); in vfscanf()
181 while (isspace(shgetc(f))); in vfscanf()
187 if (shgetc(f) < 0) goto input_fail; in vfscanf()
232 while (scanset[(c=shgetc(f))+1]) { in vfscanf()
251 while (scanset[(c=shgetc(f))+1]) { in vfscanf()
261 while (scanset[(c=shgetc(f))+1]) in vfscanf()
264 while (scanset[(c=shgetc(f))+1]); in vfscanf()
/third_party/musl/src/stdio/
Dvfscanf.c86 while (isspace(shgetc(f))); in vfscanf()
95 while (isspace((c=shgetc(f)))); in vfscanf()
97 c = shgetc(f); in vfscanf()
181 while (isspace(shgetc(f))); in vfscanf()
187 if (shgetc(f) < 0) goto input_fail; in vfscanf()
232 while (scanset[(c=shgetc(f))+1]) { in vfscanf()
251 while (scanset[(c=shgetc(f))+1]) { in vfscanf()
261 while (scanset[(c=shgetc(f))+1]) in vfscanf()
264 while (scanset[(c=shgetc(f))+1]); in vfscanf()
/third_party/musl/porting/uniproton/kernel/src/stdio/
Dvfscanf.c86 while (isspace(shgetc(f))); in vfscanf()
95 while (isspace((c=shgetc(f)))); in vfscanf()
97 c = shgetc(f); in vfscanf()
181 while (isspace(shgetc(f))); in vfscanf()
187 if (shgetc(f) < 0) goto input_fail; in vfscanf()
232 while (scanset[(c=shgetc(f))+1]) { in vfscanf()
251 while (scanset[(c=shgetc(f))+1]) { in vfscanf()
261 while (scanset[(c=shgetc(f))+1]) in vfscanf()
264 while (scanset[(c=shgetc(f))+1]); in vfscanf()
/third_party/musl/porting/liteos_m/kernel/
Dmusl.gni60 "$MUSLPORTINGDIR/src/internal/shgetc.c",
/third_party/musl/porting/uniproton/kernel/
Dmusl.gni56 "$MUSLPORTINGDIR/src/internal/shgetc.c",
/third_party/musl/porting/liteos_a/kernel/
Dmusl.gni47 "$MUSLPORTINGDIR/src/internal/shgetc.c",
/third_party/musl/
Dmusl_src.gni378 "src/internal/shgetc.c",