Lines Matching refs:optr
1830 const char *optr; in expand() local
1834 optr = name; in expand()
1837 while (*optr) { in expand()
1841 if (*optr != '$') { in expand()
1842 *nptr++ = *optr++, nrem--; in expand()
1848 if (strncmp(optr, MSG_ORIG(MSG_STR_ORIGIN), in expand()
1872 optr += MSG_STR_ORIGIN_SIZE; in expand()
1875 } else if (strncmp(optr, MSG_ORIG(MSG_STR_MACHINE), in expand()
1900 optr += MSG_STR_MACHINE_SIZE; in expand()
1904 } else if (strncmp(optr, MSG_ORIG(MSG_STR_PLATFORM), in expand()
1929 optr += MSG_STR_PLATFORM_SIZE; in expand()
1933 } else if (strncmp(optr, MSG_ORIG(MSG_STR_OSNAME), in expand()
1950 optr += MSG_STR_OSNAME_SIZE; in expand()
1954 } else if (strncmp(optr, MSG_ORIG(MSG_STR_OSREL), in expand()
1971 optr += MSG_STR_OSREL_SIZE; in expand()
1975 } else if ((strncmp(optr, MSG_ORIG(MSG_STR_ISALIST), in expand()
1986 size_t mlen, tlen, hlen = optr - name; in expand()
1996 optr += MSG_STR_ISALIST_SIZE; in expand()
1999 tlen = strlen(optr); in expand()
2022 (void) strncpy(lptr, optr, tlen); in expand()
2037 *nptr++ = *optr++, nrem--; in expand()