Lines Matching refs:p
82 char* p = reinterpret_cast<char*>(m1); in memswap() local
83 char* p_end = p + n; in memswap()
85 while (p < p_end) { in memswap()
86 char tmp = *p; in memswap()
87 *p = *q; in memswap()
89 p++; in memswap()
151 const unsigned char* p = (const unsigned char *)nptr; in strntoumax() local
152 const unsigned char* end = p + n; in strntoumax()
157 while (p < end && isspace(*p)) { in strntoumax()
158 p++; in strntoumax()
161 if (p < end) { in strntoumax()
162 char c = p[0]; in strntoumax()
165 p++; in strntoumax()
170 if (p+2 < end && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) { in strntoumax()
171 p += 2; in strntoumax()
173 } else if (p+1 < end && p[0] == '0') { in strntoumax()
174 p += 1; in strntoumax()
180 if (p+2 < end && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) { in strntoumax()
181 p += 2; in strntoumax()
185 while (p < end && (d = digitval(*p)) >= 0 && d < base) { in strntoumax()
187 p += 1; in strntoumax()
191 *endptr = (char*) p; in strntoumax()