Home
last modified time | relevance | path

Searched refs:_r (Results 1 – 24 of 24) sorted by relevance

/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/
Dring.h163 #define FRONT_RING_INIT(_r, _s, __size) do { \ argument
164 (_r)->req_prod_pvt = 0; \
165 (_r)->rsp_cons = 0; \
166 (_r)->nr_ents = __RING_SIZE(_s, __size); \
167 (_r)->sring = (_s); \
170 #define BACK_RING_INIT(_r, _s, __size) do { \ argument
171 (_r)->rsp_prod_pvt = 0; \
172 (_r)->req_cons = 0; \
173 (_r)->nr_ents = __RING_SIZE(_s, __size); \
174 (_r)->sring = (_s); \
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dfgetstr.c112 if (fp->_r <= 0 && __srefill(fp)) { in __fgetstr()
118 if ((p = memchr((void *)fp->_p, sep, (size_t)fp->_r)) != NULL) { in __fgetstr()
130 fp->_r -= (int)len; in __fgetstr()
145 for (len = fp->_r, off = 0;; len += fp->_r) { in __fgetstr()
160 if ((p = memchr((void *)fp->_p, sep, (size_t)fp->_r)) == NULL) in __fgetstr()
171 fp->_r -= (int)diff; in __fgetstr()
Drefill.c93 fp->_r = 0; /* largely a convenience for callers */ in __srefill()
126 if ((fp->_r = fp->_ur) != 0) { in __srefill()
147 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()
149 if (fp->_r <= 0) { in __srefill()
150 if (fp->_r == 0) in __srefill()
153 fp->_r = 0; in __srefill()
Dfseeko.c132 curoff -= fp->_r; in __weak_alias()
205 curoff -= fp->_r; in __weak_alias()
217 curoff += fp->_r; /* kill off ungetc */ in __weak_alias()
224 n += fp->_r; in __weak_alias()
238 fp->_r = (int)(n - o); in __weak_alias()
261 fp->_r = 0; in __weak_alias()
269 if (__srefill(fp) || fp->_r < (int)n) in __weak_alias()
275 fp->_r -= (int)n; in __weak_alias()
297 fp->_r = 0; in __weak_alias()
Dvfscanf.c201 while ((fp->_r > 0 || __srefill(fp) == 0) && in __svfscanf_unlocked()
203 nread++, fp->_r--, fp->_p++; in __svfscanf_unlocked()
221 if (fp->_r <= 0 && __srefill(fp)) in __svfscanf_unlocked()
225 fp->_r--, fp->_p++; in __svfscanf_unlocked()
371 if (fp->_r <= 0 && __srefill(fp)) in __svfscanf_unlocked()
384 if (--fp->_r > 0) in __svfscanf_unlocked()
422 fp->_r--; in __svfscanf_unlocked()
438 if (fp->_r <= 0 && __srefill(fp)) { in __svfscanf_unlocked()
451 if ((n = fp->_r) < width) { in __svfscanf_unlocked()
462 fp->_r -= (int)width; in __svfscanf_unlocked()
[all …]
Dfread.c79 if (fp->_r < 0) in fread()
80 fp->_r = 0; in fread()
83 while (resid > (size_t)(r = fp->_r)) { in fread()
96 fp->_r -= (int)resid; in fread()
Dfgets.c82 if (fp->_r <= 0) { in fgets()
92 len = fp->_r; in fgets()
106 fp->_r -= (int)len; in fgets()
113 fp->_r -= (int)len; in fgets()
Dungetc.c143 if (fp->_r >= _UB(fp)._size && __submore(fp)) { in ungetc()
148 fp->_r++; in ungetc()
162 fp->_r++; in ungetc()
171 fp->_ur = fp->_r; in ungetc()
177 fp->_r = 1; in ungetc()
Drget.c67 fp->_r--; in __srget()
Dfpurge.c79 fp->_r = 0;
Dftell.c90 pos -= fp->_r; in ftell()
Dsscanf.c81 f._bf._size = f._r = (int)strlen(str); in sscanf()
Dfclose.c85 fp->_r = fp->_w = 0; /* Mess up if reaccessed. */ in fclose()
Dvsscanf.c78 f._bf._size = f._r = strlen(str);
Dwsetup.c84 fp->_r = 0; in __swsetup()
Dftello.c87 pos -= fp->_r; in __weak_alias()
Dvswscanf.c92 f._bf._size = f._r = (int)mlen; in vswscanf()
Dsetvbuf.c96 fp->_r = fp->_lbfsize = 0; in setvbuf()
Dfreopen.c135 fp->_r = 0; in freopen()
Dfindfp.c153 fp->_r = 0; in __sfp()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/h/
DSTreeParser.h79 #define TREE_CONSTR_PTRS SORASTBase *_r=NULL,*_s=NULL,*_e=NULL
Dsorcerer.h108 #define TREE_CONSTR_PTRS SORAST *_r=NULL,*_s=NULL,*_e=NULL
/device/linaro/bootloader/edk2/StdLib/Include/
Dstdio.h221 int _r; /**< read space left for getc() */ member
1572 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dgeneric.h127 typedef struct _r { /* Rule name and ptr to start of rule */ struct