• Home
  • Raw
  • Download

Lines Matching refs:cptr

9312     xmlChar *cptr;  in xmlXPathTranslateFunction()  local
9326 for (cptr = str->stringval; (ch=*cptr); ) { in xmlXPathTranslateFunction()
9327 offset = xmlUTF8Strloc(from->stringval, cptr); in xmlXPathTranslateFunction()
9335 xmlBufferAdd(target, cptr, xmlUTF8Strsize(cptr, 1)); in xmlXPathTranslateFunction()
9338 cptr++; in xmlXPathTranslateFunction()
9349 if ( (*cptr++ & 0xc0) != 0x80 ) { in xmlXPathTranslateFunction()
15101 xmlChar *cptr; in xmlXPathEscapeUriFunction() local
15117 for (cptr = str->stringval; *cptr; cptr++) { in xmlXPathEscapeUriFunction()
15118 if ((*cptr >= 'A' && *cptr <= 'Z') || in xmlXPathEscapeUriFunction()
15119 (*cptr >= 'a' && *cptr <= 'z') || in xmlXPathEscapeUriFunction()
15120 (*cptr >= '0' && *cptr <= '9') || in xmlXPathEscapeUriFunction()
15121 *cptr == '-' || *cptr == '_' || *cptr == '.' || in xmlXPathEscapeUriFunction()
15122 *cptr == '!' || *cptr == '~' || *cptr == '*' || in xmlXPathEscapeUriFunction()
15123 *cptr == '\''|| *cptr == '(' || *cptr == ')' || in xmlXPathEscapeUriFunction()
15124 (*cptr == '%' && in xmlXPathEscapeUriFunction()
15125 ((cptr[1] >= 'A' && cptr[1] <= 'F') || in xmlXPathEscapeUriFunction()
15126 (cptr[1] >= 'a' && cptr[1] <= 'f') || in xmlXPathEscapeUriFunction()
15127 (cptr[1] >= '0' && cptr[1] <= '9')) && in xmlXPathEscapeUriFunction()
15128 ((cptr[2] >= 'A' && cptr[2] <= 'F') || in xmlXPathEscapeUriFunction()
15129 (cptr[2] >= 'a' && cptr[2] <= 'f') || in xmlXPathEscapeUriFunction()
15130 (cptr[2] >= '0' && cptr[2] <= '9'))) || in xmlXPathEscapeUriFunction()
15132 (*cptr == ';' || *cptr == '/' || *cptr == '?' || in xmlXPathEscapeUriFunction()
15133 *cptr == ':' || *cptr == '@' || *cptr == '&' || in xmlXPathEscapeUriFunction()
15134 *cptr == '=' || *cptr == '+' || *cptr == '$' || in xmlXPathEscapeUriFunction()
15135 *cptr == ','))) { in xmlXPathEscapeUriFunction()
15136 xmlBufferAdd(target, cptr, 1); in xmlXPathEscapeUriFunction()
15138 if ((*cptr >> 4) < 10) in xmlXPathEscapeUriFunction()
15139 escape[1] = '0' + (*cptr >> 4); in xmlXPathEscapeUriFunction()
15141 escape[1] = 'A' - 10 + (*cptr >> 4); in xmlXPathEscapeUriFunction()
15142 if ((*cptr & 0xF) < 10) in xmlXPathEscapeUriFunction()
15143 escape[2] = '0' + (*cptr & 0xF); in xmlXPathEscapeUriFunction()
15145 escape[2] = 'A' - 10 + (*cptr & 0xF); in xmlXPathEscapeUriFunction()