Lines Matching refs:p
16 static int traverse_string(const unsigned char *p, int len, int inform,
51 unsigned char *p; in ASN1_mbstring_ncopy() local
189 if ((p = OPENSSL_malloc(outlen + 1)) == NULL) { in ASN1_mbstring_ncopy()
197 dest->data = p; in ASN1_mbstring_ncopy()
198 p[outlen] = 0; in ASN1_mbstring_ncopy()
199 traverse_string(in, len, inform, cpyfunc, &p); in ASN1_mbstring_ncopy()
208 static int traverse_string(const unsigned char *p, int len, int inform, in traverse_string() argument
216 value = *p++; in traverse_string()
219 value = *p++ << 8; in traverse_string()
220 value |= *p++; in traverse_string()
223 value = ((unsigned long)*p++) << 24; in traverse_string()
224 value |= ((unsigned long)*p++) << 16; in traverse_string()
225 value |= *p++ << 8; in traverse_string()
226 value |= *p++; in traverse_string()
229 ret = UTF8_getc(p, len, &value); in traverse_string()
233 p += ret; in traverse_string()
306 unsigned char **p, *q; in cpy_asc() local
307 p = arg; in cpy_asc()
308 q = *p; in cpy_asc()
310 (*p)++; in cpy_asc()
318 unsigned char **p, *q; in cpy_bmp() local
319 p = arg; in cpy_bmp()
320 q = *p; in cpy_bmp()
323 *p += 2; in cpy_bmp()
331 unsigned char **p, *q; in cpy_univ() local
332 p = arg; in cpy_univ()
333 q = *p; in cpy_univ()
338 *p += 4; in cpy_univ()
346 unsigned char **p; in cpy_utf8() local
348 p = arg; in cpy_utf8()
350 ret = UTF8_putc(*p, 0xff, value); in cpy_utf8()
351 *p += ret; in cpy_utf8()