Lines Matching refs:p
122 const char *p = str; in parse_qapi_name() local
124 if (*p == '_') { /* Downstream __RFQDN_ */ in parse_qapi_name()
125 p++; in parse_qapi_name()
126 if (*p != '_') { in parse_qapi_name()
129 while (*++p) { in parse_qapi_name()
130 if (!qemu_isalnum(*p) && *p != '-' && *p != '.') { in parse_qapi_name()
135 if (*p != '_') { in parse_qapi_name()
138 p++; in parse_qapi_name()
141 if (!qemu_isalpha(*p)) { in parse_qapi_name()
144 while (*++p) { in parse_qapi_name()
145 if (!qemu_isalnum(*p) && *p != '-' && *p != '_') { in parse_qapi_name()
150 if (complete && *p) { in parse_qapi_name()
153 return p - str; in parse_qapi_name()