Lines Matching refs:ptr
201 hexToInt(char **ptr, int *intValue) in hexToInt() argument
209 while (**ptr) { in hexToInt()
210 hexValue = hex(**ptr); in hexToInt()
217 (*ptr)++; in hexToInt()
321 char *ptr; in handle_exception() local
354 ptr = remcomOutBuffer; in handle_exception()
356 *ptr++ = 'T'; in handle_exception()
358 *ptr++ = hexchars[kd.sigval >> 4]; in handle_exception()
359 *ptr++ = hexchars[kd.sigval & 0xf]; in handle_exception()
364 *ptr++ = hexchars[rp->num >> 4]; in handle_exception()
365 *ptr++ = hexchars[rp->num & 0xf]; in handle_exception()
366 *ptr++ = ':'; in handle_exception()
367 ptr = (char *)mem2hex((char *)&rp->val, ptr, 4); in handle_exception()
368 *ptr++ = ';'; in handle_exception()
371 *ptr = 0; in handle_exception()
386 ptr = &remcomInBuffer[1]; in handle_exception()
417 length = strlen(ptr); in handle_exception()
419 hex2mem(ptr, remcomRegBuffer, length/2); in handle_exception()
427 if (hexToInt(&ptr, &addr) in handle_exception()
428 && *ptr++ == ',' in handle_exception()
429 && hexToInt(&ptr, &length)) { in handle_exception()
439 if (hexToInt(&ptr, &addr) in handle_exception()
440 && *ptr++ == ',' in handle_exception()
441 && hexToInt(&ptr, &length) in handle_exception()
442 && *ptr++ == ':') { in handle_exception()
443 hex2mem(ptr, (char *)addr, length); in handle_exception()
457 *ptr = '\0'; /* ignore the signal number for now */ in handle_exception()
464 if (hexToInt(&ptr, &addr)) { in handle_exception()
472 *ptr = '\0'; /* ignore the signal number for now */ in handle_exception()
478 if (hexToInt(&ptr, &addr)) { in handle_exception()
499 if (hexToInt(&ptr, &addr) in handle_exception()
500 && *ptr++ == '=' in handle_exception()
501 && ((length = strlen(ptr)) & 1) == 0) { in handle_exception()
502 hex2mem(ptr, remcomRegBuffer, length/2); in handle_exception()