Lines Matching refs:src

1614 shmedia_parse_reg (char *src, int *mode, int *reg, shmedia_arg_type argtype)  in shmedia_parse_reg()  argument
1616 int l0 = TOLOWER (src[0]); in shmedia_parse_reg()
1617 int l1 = l0 ? TOLOWER (src[1]) : 0; in shmedia_parse_reg()
1621 if (src[1] >= '1' && src[1] <= '5') in shmedia_parse_reg()
1623 if (src[2] >= '0' && src[2] <= '9' in shmedia_parse_reg()
1624 && ! IDENT_CHAR ((unsigned char) src[3])) in shmedia_parse_reg()
1627 *reg = 10 * (src[1] - '0') + src[2] - '0'; in shmedia_parse_reg()
1632 if (src[1] == '6') in shmedia_parse_reg()
1634 if (src[2] >= '0' && src[2] <= '3' in shmedia_parse_reg()
1635 && ! IDENT_CHAR ((unsigned char) src[3])) in shmedia_parse_reg()
1638 *reg = 60 + src[2] - '0'; in shmedia_parse_reg()
1643 if (src[1] >= '0' && src[1] <= '9' in shmedia_parse_reg()
1644 && ! IDENT_CHAR ((unsigned char) src[2])) in shmedia_parse_reg()
1647 *reg = (src[1] - '0'); in shmedia_parse_reg()
1654 if (src[2] >= '0' && src[2] <= '7' in shmedia_parse_reg()
1655 && ! IDENT_CHAR ((unsigned char) src[3])) in shmedia_parse_reg()
1658 *reg = (src[2] - '0'); in shmedia_parse_reg()
1665 if (src[2] >= '1' && src[2] <= '5') in shmedia_parse_reg()
1667 if (src[3] >= '0' && src[3] <= '9' in shmedia_parse_reg()
1668 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1671 *reg = 10 * (src[2] - '0') + src[3] - '0'; in shmedia_parse_reg()
1675 if (src[2] == '6') in shmedia_parse_reg()
1677 if (src[3] >= '0' && src[3] <= '3' in shmedia_parse_reg()
1678 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1681 *reg = 60 + src[3] - '0'; in shmedia_parse_reg()
1685 if (src[2] >= '0' && src[2] <= '9' in shmedia_parse_reg()
1686 && ! IDENT_CHAR ((unsigned char) src[3])) in shmedia_parse_reg()
1689 *reg = (src[2] - '0'); in shmedia_parse_reg()
1696 if (src[2] >= '1' && src[2] <= '5') in shmedia_parse_reg()
1698 if (src[3] >= '0' && src[3] <= '9' in shmedia_parse_reg()
1699 && ((10 * (src[2] - '0') + src[3] - '0') % 4) == 0 in shmedia_parse_reg()
1700 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1703 *reg = 10 * (src[2] - '0') + src[3] - '0'; in shmedia_parse_reg()
1707 if (src[2] == '6') in shmedia_parse_reg()
1709 if (src[3] == '0' in shmedia_parse_reg()
1710 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1713 *reg = 60 + src[3] - '0'; in shmedia_parse_reg()
1717 if (src[2] >= '0' && src[2] <= '9' in shmedia_parse_reg()
1718 && ((src[2] - '0') % 4) == 0 in shmedia_parse_reg()
1719 && ! IDENT_CHAR ((unsigned char) src[3])) in shmedia_parse_reg()
1722 *reg = (src[2] - '0'); in shmedia_parse_reg()
1729 if (src[2] >= '1' && src[2] <= '5') in shmedia_parse_reg()
1731 if (src[3] >= '0' && src[3] <= '9' in shmedia_parse_reg()
1732 && ((src[3] - '0') % 2) == 0 in shmedia_parse_reg()
1733 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1736 *reg = 10 * (src[2] - '0') + src[3] - '0'; in shmedia_parse_reg()
1741 if (src[2] == '6') in shmedia_parse_reg()
1743 if ((src[3] == '0' || src[3] == '2') in shmedia_parse_reg()
1744 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1747 *reg = 60 + src[3] - '0'; in shmedia_parse_reg()
1752 if (src[2] >= '0' && src[2] <= '9' in shmedia_parse_reg()
1753 && ((src[2] - '0') % 2) == 0 in shmedia_parse_reg()
1754 && ! IDENT_CHAR ((unsigned char) src[3])) in shmedia_parse_reg()
1757 *reg = (src[2] - '0'); in shmedia_parse_reg()
1764 if (src[2] >= '1' && src[2] <= '5') in shmedia_parse_reg()
1766 if (src[3] >= '0' && src[3] <= '9' in shmedia_parse_reg()
1767 && ((src[3] - '0') % 2) == 0 in shmedia_parse_reg()
1768 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1771 *reg = 10 * (src[2] - '0') + src[3] - '0'; in shmedia_parse_reg()
1776 if (src[2] == '6') in shmedia_parse_reg()
1778 if ((src[3] == '0' || src[3] == '2') in shmedia_parse_reg()
1779 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1782 *reg = 60 + src[3] - '0'; in shmedia_parse_reg()
1787 if (src[2] >= '0' && src[2] <= '9' in shmedia_parse_reg()
1788 && ((src[2] - '0') % 2) == 0 in shmedia_parse_reg()
1789 && ! IDENT_CHAR ((unsigned char) src[3])) in shmedia_parse_reg()
1792 *reg = (src[2] - '0'); in shmedia_parse_reg()
1797 if (l0 == 'm' && strncasecmp (src, "mtrx", 4) == 0) in shmedia_parse_reg()
1799 if (src[4] == '0' && ! IDENT_CHAR ((unsigned char) src[5])) in shmedia_parse_reg()
1806 if (src[4] == '1' && src[5] == '6' in shmedia_parse_reg()
1807 && ! IDENT_CHAR ((unsigned char) src[6])) in shmedia_parse_reg()
1814 if (src[4] == '3' && src[5] == '2' in shmedia_parse_reg()
1815 && ! IDENT_CHAR ((unsigned char) src[6])) in shmedia_parse_reg()
1822 if (src[4] == '4' && src[5] == '8' in shmedia_parse_reg()
1823 && ! IDENT_CHAR ((unsigned char) src[6])) in shmedia_parse_reg()
1833 if (src[2] >= '1' && src[2] <= '5') in shmedia_parse_reg()
1835 if (src[3] >= '0' && src[3] <= '9' in shmedia_parse_reg()
1836 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1839 *reg = 10 * (src[2] - '0') + src[3] - '0'; in shmedia_parse_reg()
1843 if (src[2] == '6') in shmedia_parse_reg()
1845 if (src[3] >= '0' && src[3] <= '3' in shmedia_parse_reg()
1846 && ! IDENT_CHAR ((unsigned char) src[4])) in shmedia_parse_reg()
1849 *reg = 60 + src[3] - '0'; in shmedia_parse_reg()
1853 if (src[2] >= '0' && src[2] <= '9' in shmedia_parse_reg()
1854 && ! IDENT_CHAR ((unsigned char) src[3])) in shmedia_parse_reg()
1857 *reg = (src[2] - '0'); in shmedia_parse_reg()
1878 if (strncasecmp (cregp->name, src, len) == 0 in shmedia_parse_reg()
1879 && ! IDENT_CHAR (src[len])) in shmedia_parse_reg()
2224 char *src = *ptr; in shmedia_get_operand() local
2228 len = shmedia_parse_reg (src, &mode, &(op->reg), argtype); in shmedia_get_operand()
2231 *ptr = src + len; in shmedia_get_operand()
2237 *ptr = shmedia_parse_exp (src, op); in shmedia_get_operand()
3478 char *src, *dest, *start=input_line_pointer; in strip_datalabels() local
3480 for (src=input_line_pointer, dest=input_line_pointer; *src != '\n'; ) in strip_datalabels()
3482 if (strncasecmp (src, "datalabel", 9) == 0 in strip_datalabels()
3483 && ISSPACE (src[9]) in strip_datalabels()
3484 && (src == start || !(ISALNUM (src[-1])) || src[-1] == '_')) in strip_datalabels()
3485 src += 10; in strip_datalabels()
3487 *dest++ = *src++; in strip_datalabels()
3490 if (dest < src) in strip_datalabels()
3492 return src + 1; in strip_datalabels()