Lines Matching refs:optr
1871 const char *optr; in expand() local
1875 optr = name; in expand()
1878 while (*optr) { in expand()
1882 if (*optr != '$') { in expand()
1883 *nptr++ = *optr++, nrem--; in expand()
1889 if (strncmp(optr, MSG_ORIG(MSG_STR_ORIGIN), in expand()
1913 optr += MSG_STR_ORIGIN_SIZE; in expand()
1916 } else if (strncmp(optr, MSG_ORIG(MSG_STR_MACHINE), in expand()
1941 optr += MSG_STR_MACHINE_SIZE; in expand()
1945 } else if (strncmp(optr, MSG_ORIG(MSG_STR_PLATFORM), in expand()
1970 optr += MSG_STR_PLATFORM_SIZE; in expand()
1974 } else if (strncmp(optr, MSG_ORIG(MSG_STR_OSNAME), in expand()
1991 optr += MSG_STR_OSNAME_SIZE; in expand()
1995 } else if (strncmp(optr, MSG_ORIG(MSG_STR_OSREL), in expand()
2012 optr += MSG_STR_OSREL_SIZE; in expand()
2016 } else if ((strncmp(optr, MSG_ORIG(MSG_STR_ISALIST), in expand()
2027 size_t mlen, tlen, hlen = optr - name; in expand()
2037 optr += MSG_STR_ISALIST_SIZE; in expand()
2040 tlen = strlen(optr); in expand()
2063 (void) strncpy(lptr, optr, tlen); in expand()
2078 *nptr++ = *optr++, nrem--; in expand()