Home
last modified time | relevance | path

Searched refs:rpos (Results 1 - 25 of 113) sorted by relevance

12345

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dhlr_auc_gw.c593 char *rpos, *rend; in sim_req_auth() local
609 rpos = resp; in sim_req_auth()
610 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi); in sim_req_auth()
611 if (ret < 0 || ret >= rend - rpos) in sim_req_auth()
613 rpos += ret; in sim_req_auth()
622 *rpos++ = ' '; in sim_req_auth()
623 rpos += wpa_snprintf_hex(rpos, rend - rpos, k in sim_req_auth()
665 char *pos, *rpos, *rend; gsm_auth_req() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dhlr_auc_gw.c593 char *rpos, *rend; in sim_req_auth() local
609 rpos = resp; in sim_req_auth()
610 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi); in sim_req_auth()
611 if (ret < 0 || ret >= rend - rpos) in sim_req_auth()
613 rpos += ret; in sim_req_auth()
622 *rpos++ = ' '; in sim_req_auth()
623 rpos += wpa_snprintf_hex(rpos, rend - rpos, k in sim_req_auth()
665 char *pos, *rpos, *rend; gsm_auth_req() local
[all...]
/third_party/musl/porting/liteos_m/kernel/src/internal/
H A Dshgetc.c4 * the value of buf-rpos at the last function call (__shlim or __shgetc),
5 * so that between calls the inline shcnt macro can add rpos-buf to get
11 f->shcnt = f->buf - f->rpos; in __shlim()
13 if (lim && f->rend - f->rpos > lim) in __shlim()
14 f->shend = f->rpos + lim; in __shlim()
24 f->shcnt = f->buf - f->rpos + cnt; in __shgetc()
25 f->shend = f->rpos; in __shgetc()
30 if (f->shlim && f->rend - f->rpos > f->shlim - cnt) in __shgetc()
31 f->shend = f->rpos + (f->shlim - cnt); in __shgetc()
34 f->shcnt = f->buf - f->rpos in __shgetc()
[all...]
H A Dshgetc.h27 #define shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->buf))
29 #define shgetc(f) (((f)->rpos != (f)->shend) ? *(f)->rpos++ : __shgetc(f))
30 #define shunget(f) ((f)->shlim>=0 ? (void)(f)->rpos-- : (void)0)
33 ((f)->buf = (f)->rpos = (void *)(s), (f)->rend = (void*)-1)
/third_party/musl/porting/uniproton/kernel/src/internal/
H A Dshgetc.c4 * the value of buf-rpos at the last function call (__shlim or __shgetc),
5 * so that between calls the inline shcnt macro can add rpos-buf to get
11 f->shcnt = f->buf - f->rpos; in __shlim()
13 if (lim && f->rend - f->rpos > lim) in __shlim()
14 f->shend = f->rpos + lim; in __shlim()
24 f->shcnt = f->buf - f->rpos + cnt; in __shgetc()
25 f->shend = f->rpos; in __shgetc()
30 if (f->shlim && f->rend - f->rpos > f->shlim - cnt) in __shgetc()
31 f->shend = f->rpos + (f->shlim - cnt); in __shgetc()
34 f->shcnt = f->buf - f->rpos in __shgetc()
[all...]
H A Dshgetc.h27 #define shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->buf))
29 #define shgetc(f) (((f)->rpos != (f)->shend) ? *(f)->rpos++ : __shgetc(f))
30 #define shunget(f) ((f)->shlim>=0 ? (void)(f)->rpos-- : (void)0)
33 ((f)->buf = (f)->rpos = (void *)(s), (f)->rend = (void*)-1)
/third_party/musl/src/internal/
H A Dshgetc.c4 * the value of buf-rpos at the last function call (__shlim or __shgetc),
5 * so that between calls the inline shcnt macro can add rpos-buf to get
11 f->shcnt = f->buf - f->rpos; in __shlim()
13 if (lim && f->rend - f->rpos > lim) in __shlim()
14 f->shend = f->rpos + lim; in __shlim()
24 f->shcnt = f->buf - f->rpos + cnt; in __shgetc()
25 f->shend = f->rpos; in __shgetc()
30 if (f->shlim && f->rend - f->rpos > f->shlim - cnt) in __shgetc()
31 f->shend = f->rpos + (f->shlim - cnt); in __shgetc()
34 f->shcnt = f->buf - f->rpos in __shgetc()
[all...]
H A Dshgetc.h26 #define shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->buf))
28 #define shgetc(f) (((f)->rpos != (f)->shend) ? *(f)->rpos++ : __shgetc(f))
29 #define shunget(f) ((f)->shlim>=0 ? (void)(f)->rpos-- : (void)0)
32 ((f)->buf = (f)->rpos = (void *)(s), (f)->rend = (void*)-1)
/third_party/musl/porting/liteos_a/kernel/src/internal/
H A Dshgetc.c4 * the value of buf-rpos at the last function call (__shlim or __shgetc),
5 * so that between calls the inline shcnt macro can add rpos-buf to get
11 f->shcnt = f->buf - f->rpos; in __shlim()
13 if (lim && f->rend - f->rpos > lim) in __shlim()
14 f->shend = f->rpos + lim; in __shlim()
24 f->shcnt = f->buf - f->rpos + cnt; in __shgetc()
25 f->shend = f->rpos; in __shgetc()
30 if (f->shlim && f->rend - f->rpos > f->shlim - cnt) in __shgetc()
31 f->shend = f->rpos + (f->shlim - cnt); in __shgetc()
34 f->shcnt = f->buf - f->rpos in __shgetc()
[all...]
H A Dshgetc.h26 #define shcnt(f) ((f)->shcnt + ((f)->rpos - (f)->buf))
28 #define shgetc(f) (((f)->rpos != (f)->shend) ? *(f)->rpos++ : __shgetc(f))
29 #define shunget(f) ((f)->shlim>=0 ? (void)(f)->rpos-- : (void)0)
32 ((f)->buf = (f)->rpos = (void *)(s), (f)->rend = (void*)-1)
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dinternal.c134 char *rpos = val; in MHD_http_unescape() local
140 while ('\0' != *rpos) in MHD_http_unescape()
142 switch (*rpos) in MHD_http_unescape()
145 if ( ('\0' == rpos[1]) || in MHD_http_unescape()
146 ('\0' == rpos[2]) ) in MHD_http_unescape()
151 buf3[0] = rpos[1]; in MHD_http_unescape()
152 buf3[1] = rpos[2]; in MHD_http_unescape()
159 rpos += 3; in MHD_http_unescape()
164 *wpos = *rpos; in MHD_http_unescape()
166 rpos in MHD_http_unescape()
[all...]
/third_party/musl/src/stdio/
H A Dgetdelim.c28 if (f->rpos != f->rend) { in getdelim()
29 z = memchr(f->rpos, delim, f->rend - f->rpos); in getdelim()
30 k = z ? z - f->rpos + 1 : f->rend - f->rpos; in getdelim()
46 memcpy(*s+i, f->rpos, k); in getdelim()
47 f->rpos += k; in getdelim()
59 memcpy(*s+i, f->rpos, k); in getdelim()
60 f->rpos += k; in getdelim()
73 if (i+1 >= *n) *--f->rpos in getdelim()
[all...]
H A Dfgets.c29 if (f->rpos != f->rend) { in fgets()
30 z = memchr(f->rpos, '\n', MIN(f->rend - f->rpos, n)); in fgets()
31 k = z ? z - f->rpos + 1 : f->rend - f->rpos; in fgets()
33 memcpy(p, f->rpos, k); in fgets()
34 f->rpos += k; in fgets()
H A Dfread.c19 f->rpos = f->rend; in __fill_buffer()
23 f->rpos = f->buf; in __fill_buffer()
24 f->rend = f->rpos + k; in __fill_buffer()
51 if (f->rpos != f->rend) { in fread()
53 k = MIN(f->rend - f->rpos, l); in fread()
54 memcpy(dest, f->rpos, k); in fread()
55 f->rpos += k; in fread()
H A Dext2.c6 return f->rend ? f->rend - f->rpos : 0; in __freadahead()
11 if (f->rpos == f->rend) return 0; in __freadptr()
12 *sizep = f->rend - f->rpos; in __freadptr()
13 return (const char *)f->rpos; in __freadptr()
18 f->rpos += inc; in __freadptrinc()
H A Dungetwc.c19 if (!f->rpos) __toread(f); in ungetwc()
20 if (!f->rpos || c == WEOF || (l = wcrtomb((void *)mbc, c, 0)) < 0 || in ungetwc()
21 f->rpos < f->buf - UNGET + l) { in ungetwc()
27 if (isascii(c)) *--f->rpos = c; in ungetwc()
28 else memcpy(f->rpos -= l, mbc, l); in ungetwc()
H A Dungetc.c9 if (!f->rpos) __toread(f); in ungetc()
10 if (!f->rpos || f->rpos <= f->buf - UNGET) { in ungetc()
15 *--f->rpos = c; in ungetc()
H A Dfgetln.c11 if (f->rend && (z=memchr(f->rpos, '\n', f->rend - f->rpos))) { in fgetln()
12 ret = (char *)f->rpos; in fgetln()
14 f->rpos = (void *)z; in fgetln()
/third_party/musl/porting/linux/user/src/stdio/
H A Dfgets.c25 if (f->rpos != f->rend) { in fgets()
26 z = memchr(f->rpos, '\n', MIN(f->rend - f->rpos, n)); in fgets()
27 k = z ? z - f->rpos + 1 : f->rend - f->rpos; in fgets()
29 memcpy(p, f->rpos, k); in fgets()
30 f->rpos += k; in fgets()
H A Dfread.c17 f->rpos = f->rend; in __fill_buffer()
21 f->rpos = f->buf; in __fill_buffer()
22 f->rend = f->rpos + k; in __fill_buffer()
47 if (f->rpos != f->rend) { in fread()
49 k = MIN(f->rend - f->rpos, l); in fread()
50 memcpy(dest, f->rpos, k); in fread()
51 f->rpos += k; in fread()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dfgets.c24 if (f->rpos != f->rend) { in fgets()
25 z = memchr(f->rpos, '\n', f->rend - f->rpos); in fgets()
26 k = z ? z - f->rpos + 1 : f->rend - f->rpos; in fgets()
28 memcpy(p, f->rpos, k); in fgets()
29 f->rpos += k; in fgets()
H A Dungetc.c9 if (!f->rpos) __toread(f); in ungetc()
10 if (!f->rpos || f->rpos <= f->buf - UNGET) { in ungetc()
15 *--f->rpos = c; in ungetc()
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dfgets.c24 if (f->rpos != f->rend) { in fgets()
25 z = memchr(f->rpos, '\n', f->rend - f->rpos); in fgets()
26 k = z ? z - f->rpos + 1 : f->rend - f->rpos; in fgets()
28 memcpy(p, f->rpos, k); in fgets()
29 f->rpos += k; in fgets()
H A Dungetc.c9 if (!f->rpos) __toread(f); in ungetc()
10 if (!f->rpos || f->rpos <= f->buf - UNGET) { in ungetc()
15 *--f->rpos = c; in ungetc()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A Dungetc.c9 if (!f->rpos) __toread(f); in ungetc()
10 if (!f->rpos || f->rpos <= f->buf - UNGET) { in ungetc()
15 *--f->rpos = c; in ungetc()

Completed in 8 milliseconds

12345