Home | History | Annotate | Download | only in libxml2

Lines Matching defs:out

356  * try to use a meta which had been commented out, that's the reason it
484 "Char 0x%X out of allowed range\n", val);
491 "Char 0x%X out of allowed range\n", 0);
1972 * @out: a pointer to an array of bytes to store the result
1973 * @outlen: the length of @out
1978 * plus HTML entities block of chars out.
1986 UTF8ToHtml(unsigned char* out, int *outlen,
1990 const unsigned char* outstart = out;
1996 if ((out == NULL) || (outlen == NULL) || (inlen == NULL)) return(-1);
2006 outend = out + (*outlen);
2012 *outlen = out - outstart;
2020 *outlen = out - outstart;
2038 if (out + 1 >= outend)
2040 *out++ = c;
2059 if (out + 2 + len >= outend)
2061 *out++ = '&';
2062 memcpy(out, cp, len);
2063 out += len;
2064 *out++ = ';';
2068 *outlen = out - outstart;
2075 * @out: a pointer to an array of bytes to store the result
2076 * @outlen: the length of @out
2082 * plus HTML entities block of chars out.
2090 htmlEncodeEntities(unsigned char* out, int *outlen,
2094 const unsigned char* outstart = out;
2100 if ((out == NULL) || (outlen == NULL) || (inlen == NULL) || (in == NULL))
2102 outend = out + (*outlen);
2109 *outlen = out - outstart;
2117 *outlen = out - outstart;
2127 *outlen = out - outstart;
2138 if (out >= outend)
2140 *out++ = c;
2158 if (out + 2 + len > outend)
2160 *out++ = '&';
2161 memcpy(out, cp, len);
2162 out += len;
2163 *out++ = ';';
2167 *outlen = out - outstart;
2536 xmlChar *out = NULL;
2550 out = buffer;
2565 { *out++ = c; bits= -6; }
2567 { *out++ =((c >> 6) & 0x1F) | 0xC0; bits= 0; }
2569 { *out++ =((c >> 12) & 0x0F) | 0xE0; bits= 6; }
2571 { *out++ =((c >> 18) & 0x07) | 0xF0; bits= 12; }
2574 *out++ = ((c >> bits) & 0x3F) | 0x80;
2577 if (out - buffer > buffer_size - 100) {
2578 int indx = out - buffer;
2581 out = &buffer[indx];
2586 *out++ = '&';
2587 if (out - buffer > buffer_size - 100) {
2588 int indx = out - buffer;
2591 out = &buffer[indx];
2594 *out++ = '&';
2597 if (out - buffer > buffer_size - 100) {
2598 int indx = out - buffer;
2601 out = &buffer[indx];
2603 *out++ = *cur++;
2609 if (out - buffer > buffer_size - 100) {
2610 int indx = out - buffer;
2613 out = &buffer[indx];
2617 { *out++ = c; bits= -6; }
2619 { *out++ =((c >> 6) & 0x1F) | 0xC0; bits= 0; }
2621 { *out++ =((c >> 12) & 0x0F) | 0xE0; bits= 6; }
2623 { *out++ =((c >> 18) & 0x07) | 0xF0; bits= 12; }
2626 *out++ = ((c >> bits) & 0x3F) | 0x80;
2634 if (out - buffer > buffer_size - 100) {
2635 int indx = out - buffer;
2638 out = &buffer[indx];
2642 { *out++ = c; bits= -6; }
2644 { *out++ =((c >> 6) & 0x1F) | 0xC0; bits= 0; }
2646 { *out++ =((c >> 12) & 0x0F) | 0xE0; bits= 6; }
2648 { *out++ =((c >> 18) & 0x07) | 0xF0; bits= 12; }
2651 *out++ = ((c >> bits) & 0x3F) | 0x80;
2656 *out = 0;
3911 * out now.
3944 * With the exception that the autoclose may have popped stuff out
3984 xmlChar out[6];
3996 if (c < 0x80) { out[i++]= c; bits= -6; }
3997 else if (c < 0x800) { out[i++]=((c >> 6) & 0x1F) | 0xC0; bits= 0; }
3998 else if (c < 0x10000) { out[i++]=((c >> 12) & 0x0F) | 0xE0; bits= 6; }
3999 else { out[i++]=((c >> 18) & 0x07) | 0xF0; bits= 12; }
4002 out[i++]= ((c >> bits) & 0x3F) | 0x80;
4004 out[i] = 0;
4008 ctxt->sax->characters(ctxt->userData, out, i);
4030 { out[i++]= c; bits= -6; }
4032 { out[i++]=((c >> 6) & 0x1F) | 0xC0; bits= 0; }
4034 { out[i++]=((c >> 12) & 0x0F) | 0xE0; bits= 6; }
4036 { out[i++]=((c >> 18) & 0x07) | 0xF0; bits= 12; }
4039 out[i++]= ((c >> bits) & 0x3F) | 0x80;
4041 out[i] = 0;
4045 ctxt->sax->characters(ctxt->userData, out, i);
4113 * Has this node been popped out during parsing of
4519 * Has this node been popped out during parsing of
4684 * Wipe out everything which is before the first '<'
4788 htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
4793 htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
4803 htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
4820 htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
4836 htmlErrMemory(NULL, "htmlInitParserCtxt: out of memory\n");
4909 htmlErrMemory(NULL, "NewParserCtxt: out of memory\n");
5824 * before handing out the data to the parser
6273 xmlDefaultSAXHandler.error(NULL, "out of memory\n");