| 282 | */ |
| 283 | |
| 284 | int |
| 285 | xmlStrcasecmp(const xmlChar *str1, const xmlChar *str2) { |
| 286 | register int tmp; |
| 287 | |
| 288 | if (str1 == str2) return(0); |
| 289 | if (str1 == NULL) return(-1); |
| 290 | if (str2 == NULL) return(1); |
| 291 | do { |
| 292 | tmp = casemap[*str1++] - casemap[*str2]; |
| 293 | if (tmp != 0) return(tmp); |
| 294 | } while (*str2++ != 0); |
| 295 | return 0; |
| 296 | } |
| 297 | |
| 298 | /** |
| 299 | * xmlStrncasecmp: |
no outgoing calls
no test coverage detected