Lines Matching refs:p

737 	const TCHAR *p = *str;  in tchar2uni()  local
742 uc = *p++; /* Get a unit */ in tchar2uni()
744 wc = *p++; /* Get low surrogate */ in tchar2uni()
753 uc = (BYTE)*p++; /* Get an encoding unit */ in tchar2uni()
765 b = (BYTE)*p++; in tchar2uni()
774 uc = (TCHAR)*p++; /* Get a unit */ in tchar2uni()
782 wc = (BYTE)*p++; /* Get a byte */ in tchar2uni()
784 b = (BYTE)*p++; /* Get 2nd byte */ in tchar2uni()
795 *str = p; /* Next read pointer */ in tchar2uni()
1216 BYTE *p; in put_fat() local
1226 p = fs->win + bc++ % SS(fs); in put_fat()
1227 *p = (clst & 1) ? ((*p & 0x0F) | ((BYTE)val << 4)) : (BYTE)val; /* Update 1st byte */ in put_fat()
1231 p = fs->win + bc % SS(fs); in put_fat()
1232 …*p = (clst & 1) ? (BYTE)(val >> 4) : ((*p & 0xF0) | ((BYTE)(val >> 8) & 0x0F)); /* Update 2nd byte… in put_fat()
2811 const TCHAR *p; local
2815 p = *path; lfn = dp->obj.fs->lfnbuf; di = 0;
2817 uc = tchar2uni(&p); /* Get a character */
2829 while (IsSeparator(*p)) p++; /* Skip duplicated separators if exist */
2831 if (IsTerminator(*p)) cf = NS_LAST; /* Ignore terminating separator */
2833 *path = p; /* Return pointer to the next segment */
2935 const char *p;
2938 p = *path; sfn = dp->fn;
2942 if (p[si] == '.') { /* Is this a dot entry? */
2944 c = (BYTE)p[si++];
2949 *path = p + si; /* Return pointer to the next segment */
2955 c = (BYTE)p[si++]; /* Get a byte */
2958 while (IsSeparator(p[si])) si++; /* Skip duplicated separator if exist */
2976 d = (BYTE)p[si++]; /* Get 2nd byte */
2986 *path = &p[si]; /* Return pointer to the next segment */
2990 …sfn[NSFLAG] = (c <= ' ' || p[si] <= ' ') ? NS_LAST : 0; /* Set last segment flag if end of the pat…
6345 TCHAR *p = buff; local
6410 *p++ = (TCHAR)(0xD800 | ((dc >> 10) - 0x40)); nc++; /* Make and output high surrogate */
6413 *p++ = (TCHAR)dc; nc++;
6417 *p++ = (TCHAR)dc;
6422 *p++ = (TCHAR)(0xC0 | (dc >> 6 & 0x1F));
6423 *p++ = (TCHAR)(0x80 | (dc >> 0 & 0x3F));
6427 *p++ = (TCHAR)(0xE0 | (dc >> 12 & 0x0F));
6428 *p++ = (TCHAR)(0x80 | (dc >> 6 & 0x3F));
6429 *p++ = (TCHAR)(0x80 | (dc >> 0 & 0x3F));
6432 *p++ = (TCHAR)(0xF0 | (dc >> 18 & 0x07));
6433 *p++ = (TCHAR)(0x80 | (dc >> 12 & 0x3F));
6434 *p++ = (TCHAR)(0x80 | (dc >> 6 & 0x3F));
6435 *p++ = (TCHAR)(0x80 | (dc >> 0 & 0x3F));
6450 *p++ = (TCHAR)dc; nc++;
6455 *p = 0; /* Terminate the string */