Lines Matching refs:ptr
200 hexToInt(char **ptr, int *intValue) in hexToInt() argument
208 while (**ptr) { in hexToInt()
209 hexValue = hex(**ptr); in hexToInt()
216 (*ptr)++; in hexToInt()
320 char *ptr; in handle_exception() local
353 ptr = remcomOutBuffer; in handle_exception()
355 *ptr++ = 'T'; in handle_exception()
357 *ptr++ = hexchars[kd.sigval >> 4]; in handle_exception()
358 *ptr++ = hexchars[kd.sigval & 0xf]; in handle_exception()
363 *ptr++ = hexchars[rp->num >> 4]; in handle_exception()
364 *ptr++ = hexchars[rp->num & 0xf]; in handle_exception()
365 *ptr++ = ':'; in handle_exception()
366 ptr = (char *)mem2hex((char *)&rp->val, ptr, 4); in handle_exception()
367 *ptr++ = ';'; in handle_exception()
370 *ptr = 0; in handle_exception()
385 ptr = &remcomInBuffer[1]; in handle_exception()
416 length = strlen(ptr); in handle_exception()
418 hex2mem(ptr, remcomRegBuffer, length/2); in handle_exception()
426 if (hexToInt(&ptr, &addr) in handle_exception()
427 && *ptr++ == ',' in handle_exception()
428 && hexToInt(&ptr, &length)) { in handle_exception()
438 if (hexToInt(&ptr, &addr) in handle_exception()
439 && *ptr++ == ',' in handle_exception()
440 && hexToInt(&ptr, &length) in handle_exception()
441 && *ptr++ == ':') { in handle_exception()
442 hex2mem(ptr, (char *)addr, length); in handle_exception()
456 *ptr = '\0'; /* ignore the signal number for now */ in handle_exception()
463 if (hexToInt(&ptr, &addr)) { in handle_exception()
471 *ptr = '\0'; /* ignore the signal number for now */ in handle_exception()
477 if (hexToInt(&ptr, &addr)) { in handle_exception()
498 if (hexToInt(&ptr, &addr) in handle_exception()
499 && *ptr++ == '=' in handle_exception()
500 && ((length = strlen(ptr)) & 1) == 0) { in handle_exception()
501 hex2mem(ptr, remcomRegBuffer, length/2); in handle_exception()