HomeSort by relevance Sort by last modified time
    Searched refs:ctxt (Results 26 - 50 of 241) sorted by null

12 3 4 5 6 7 8 910

  /external/libxml2/
xmlsave.c 326 * @ctxt: the saving context
331 xmlSaveCtxtInit(xmlSaveCtxtPtr ctxt)
336 if (ctxt == NULL) return;
337 if ((ctxt->encoding == NULL) && (ctxt->escape == NULL))
338 ctxt->escape = xmlEscapeEntities;
341 memset(&ctxt->indent[0], 0, MAX_INDENT + 1);
343 ctxt->indent_size = len;
344 ctxt->indent_nr = MAX_INDENT / ctxt->indent_size
2357 xmlSaveCtxt ctxt; local
2413 xmlSaveCtxt ctxt; local
2550 xmlSaveCtxt ctxt; local
2617 xmlSaveCtxt ctxt; local
2655 xmlSaveCtxt ctxt; local
2694 xmlSaveCtxt ctxt; local
    [all...]
testRegexp.c 91 runFileTest(xmlExpCtxtPtr ctxt, const char *filename) {
117 xmlExpFree(ctxt, expr);
118 if (xmlExpCtxtNbNodes(ctxt) != 0)
120 xmlExpCtxtNbNodes(ctxt));
124 expr = xmlExpParse(ctxt, str);
138 nodes1 = xmlExpCtxtNbNodes(ctxt);
139 sub = xmlExpParse(ctxt, expression + 2);
146 nodes2 = xmlExpCtxtNbNodes(ctxt);
147 ret = xmlExpSubsume(ctxt, expr, sub);
160 if (xmlExpCtxtNbNodes(ctxt) > nodes2)
275 xmlExpCtxtPtr ctxt = NULL; local
    [all...]
valid.c 52 * @ctxt: an XML validation parser context
58 xmlVErrMemory(xmlValidCtxtPtr ctxt, const char *extra)
64 if (ctxt != NULL) {
65 channel = ctxt->error;
66 data = ctxt->userData;
69 if ((ctxt->finishDtd == XML_CTXT_FINISH_DTD_0) ||
70 (ctxt->finishDtd == XML_CTXT_FINISH_DTD_1)) {
71 long delta = (char *) ctxt - (char *) ctxt->userData;
73 pctxt = ctxt->userData
2818 xmlValidCtxtPtr ctxt; member in struct:xmlValidateMemo_t
    [all...]
xmlregexp.c 51 ctxt->error = XML_REGEXP_COMPILE_ERROR; \
52 xmlRegexpErrCompile(ctxt, str);
53 #define NEXT ctxt->cur++
54 #define CUR (*(ctxt->cur))
55 #define NXT(index) (ctxt->cur[index])
58 #define NEXTL(l) ctxt->cur += l;
62 * when it's guaranteed that cur is not at the beginning of ctxt->string!
64 #define PREV (ctxt->cur[-1])
356 static void xmlFAParseRegExp(xmlRegParserCtxtPtr ctxt, int top);
378 xmlRegexpErrMemory(xmlRegParserCtxtPtr ctxt, const char *extra
5461 xmlRegParserCtxtPtr ctxt; local
5609 xmlAutomataPtr ctxt; local
    [all...]
pattern.c 323 * @ctxt: an XSLT parser context
325 * Free up the memory allocated by @ctxt
328 xmlFreePatParserContext(xmlPatParserContextPtr ctxt) {
329 if (ctxt == NULL)
331 memset(ctxt, -1, sizeof(xmlPatParserContext));
332 xmlFree(ctxt);
347 xmlPatternAdd(xmlPatParserContextPtr ctxt ATTRIBUTE_UNUSED,
356 ERROR(ctxt, NULL, NULL,
427 ERROR(ctxt, NULL, NULL,
716 #define CUR (*ctxt->cur
2361 xmlPatParserContextPtr ctxt = NULL; local
    [all...]
testRelax.c 85 xmlRelaxNGParserCtxtPtr ctxt; local
101 ctxt = xmlRelaxNGNewMemParserCtxt((char *)base,info.st_size);
103 xmlRelaxNGSetParserErrors(ctxt,
107 schema = xmlRelaxNGParse(ctxt);
108 xmlRelaxNGFreeParserCtxt(ctxt);
113 ctxt = xmlRelaxNGNewParserCtxt(argv[i]);
114 xmlRelaxNGSetParserErrors(ctxt,
118 schema = xmlRelaxNGParse(ctxt);
119 xmlRelaxNGFreeParserCtxt(ctxt);
142 xmlRelaxNGValidCtxtPtr ctxt; local
    [all...]
testSchemas.c 81 xmlSchemaParserCtxtPtr ctxt; local
97 ctxt = xmlSchemaNewMemParserCtxt((char *)base,info.st_size);
99 xmlSchemaSetParserErrors(ctxt,
103 schema = xmlSchemaParse(ctxt);
104 xmlSchemaFreeParserCtxt(ctxt);
109 ctxt = xmlSchemaNewParserCtxt(argv[i]);
110 xmlSchemaSetParserErrors(ctxt,
114 schema = xmlSchemaParse(ctxt);
115 xmlSchemaFreeParserCtxt(ctxt);
133 xmlSchemaValidCtxtPtr ctxt; local
    [all...]
testchar.c 26 static void testDocumentRangeByte1(xmlParserCtxtPtr ctxt, char *document,
33 xmlCtxtReset(ctxt);
66 static void testDocumentRangeByte2(xmlParserCtxtPtr ctxt, char *document,
74 xmlCtxtReset(ctxt);
145 xmlParserCtxtPtr ctxt; local
152 ctxt = xmlNewParserCtxt();
153 if (ctxt == NULL) {
166 testDocumentRangeByte1(ctxt, &document1[0], strlen(document1),
175 testDocumentRangeByte1(ctxt, &document1[0], strlen(document1),
186 testDocumentRangeByte1(ctxt, &document2[0], strlen(document2)
535 xmlParserCtxtPtr ctxt; local
    [all...]
xpointer.c 83 * @ctxt: an XPTR evaluation context
89 xmlXPtrErr(xmlXPathParserContextPtr ctxt, int error,
92 if (ctxt != NULL)
93 ctxt->error = error;
94 if ((ctxt == NULL) || (ctxt->context == NULL)) {
102 ctxt->context->lastError.domain = XML_FROM_XPOINTER;
103 ctxt->context->lastError.code = error;
104 ctxt->context->lastError.level = XML_ERR_ERROR;
105 ctxt->context->lastError.str1 = (char *) xmlStrdup(ctxt->base)
1367 xmlXPathParserContextPtr ctxt; local
    [all...]
  /external/libxml2/doc/examples/
parse4.c 45 xmlParserCtxtPtr ctxt; local
67 ctxt = xmlCreatePushParserCtxt(NULL, NULL,
69 if (ctxt == NULL) {
80 xmlParseChunk(ctxt, chars, res, 0);
86 xmlParseChunk(ctxt, chars, 0, 1);
92 doc = ctxt->myDoc;
93 res = ctxt->wellFormed;
94 xmlFreeParserCtxt(ctxt);
  /external/libxml2/include/libxml/
xmlschemas.h 145 xmlSchemaFreeParserCtxt (xmlSchemaParserCtxtPtr ctxt);
147 xmlSchemaSetParserErrors (xmlSchemaParserCtxtPtr ctxt,
152 xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxtPtr ctxt,
156 xmlSchemaGetParserErrors(xmlSchemaParserCtxtPtr ctxt,
161 xmlSchemaIsValid (xmlSchemaValidCtxtPtr ctxt);
164 xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt);
176 xmlSchemaSetValidErrors (xmlSchemaValidCtxtPtr ctxt,
181 xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxtPtr ctxt,
185 xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt,
190 xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt,
    [all...]
xmlsave.h 66 xmlSaveDoc (xmlSaveCtxtPtr ctxt,
69 xmlSaveTree (xmlSaveCtxtPtr ctxt,
73 xmlSaveFlush (xmlSaveCtxtPtr ctxt);
75 xmlSaveClose (xmlSaveCtxtPtr ctxt);
77 xmlSaveSetEscape (xmlSaveCtxtPtr ctxt,
80 xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt,
relaxng.h 136 xmlRelaxParserSetFlag (xmlRelaxNGParserCtxtPtr ctxt,
140 xmlRelaxNGFreeParserCtxt (xmlRelaxNGParserCtxtPtr ctxt);
142 xmlRelaxNGSetParserErrors(xmlRelaxNGParserCtxtPtr ctxt,
147 xmlRelaxNGGetParserErrors(xmlRelaxNGParserCtxtPtr ctxt,
153 xmlRelaxNGParserCtxtPtr ctxt,
157 xmlRelaxNGParse (xmlRelaxNGParserCtxtPtr ctxt);
172 xmlRelaxNGSetValidErrors(xmlRelaxNGValidCtxtPtr ctxt,
177 xmlRelaxNGGetValidErrors(xmlRelaxNGValidCtxtPtr ctxt,
182 xmlRelaxNGSetValidStructuredErrors(xmlRelaxNGValidCtxtPtr ctxt,
187 xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxtPtr ctxt);
    [all...]
xmlregexp.h 120 xmlExpFreeCtxt (xmlExpCtxtPtr ctxt);
126 xmlExpCtxtNbNodes(xmlExpCtxtPtr ctxt);
128 xmlExpCtxtNbCons(xmlExpCtxtPtr ctxt);
154 xmlExpFree (xmlExpCtxtPtr ctxt,
163 xmlExpParse (xmlExpCtxtPtr ctxt,
166 xmlExpNewAtom (xmlExpCtxtPtr ctxt,
170 xmlExpNewOr (xmlExpCtxtPtr ctxt,
174 xmlExpNewSeq (xmlExpCtxtPtr ctxt,
178 xmlExpNewRange (xmlExpCtxtPtr ctxt,
190 xmlExpGetLanguage(xmlExpCtxtPtr ctxt,
    [all...]
schematron.h 80 xmlSchematronFreeParserCtxt (xmlSchematronParserCtxtPtr ctxt);
83 xmlSchematronSetParserErrors(xmlSchematronParserCtxtPtr ctxt,
88 xmlSchematronGetParserErrors(xmlSchematronParserCtxtPtr ctxt,
93 xmlSchematronIsValid (xmlSchematronValidCtxtPtr ctxt);
96 xmlSchematronParse (xmlSchematronParserCtxtPtr ctxt);
104 xmlSchematronValidCtxtPtr ctxt,
109 xmlSchematronSetValidErrors (xmlSchematronValidCtxtPtr ctxt,
114 xmlSchematronGetValidErrors (xmlSchematronValidCtxtPtr ctxt,
119 xmlSchematronSetValidOptions(xmlSchematronValidCtxtPtr ctxt,
122 xmlSchematronValidCtxtGetOptions(xmlSchematronValidCtxtPtr ctxt);
    [all...]
  /external/libxml2/python/tests/
sync.py 47 ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") variable
48 ctxt.parseChunk(chunk, len(chunk), 0)
49 ctxt=None variable
59 ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") variable
60 ctxt.parseChunk(chunk, len(chunk), 0)
61 ctxt=None variable
71 ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") variable
72 ctxt.parseChunk(chunk, len(chunk), 0)
73 ctxt=None variable
83 ctxt = libxml2.createPushParser(handler, None, 0, "test.xml" variable
85 ctxt=None variable
96 ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") variable
98 ctxt=None variable
109 ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") variable
111 ctxt=None variable
122 ctxt = libxml2.createPushParser(handler, None, 0, "test.xml") variable
124 ctxt=None variable
    [all...]
dtdvalid.py 13 ctxt = libxml2.newValidCtxt() variable
15 ret = doc.validateDtd(ctxt, dtd)
23 del ctxt
xpathleak.py 36 ctxt = doc.xpathNewContext() variable
37 ctxt.setContextNode(doc)
44 ctxt.xpathEval(expr)
49 ctxt.xpathFreeContext()
xpathret.py 26 ctxt = doc.xpathNewContext() variable
27 libxml2.registerXPathFunction(ctxt._o, "foo", None, foo)
28 res = ctxt.xpathEval("foo('hello')")
49 ctxt.xpathFreeContext()
validDTD.py 29 ctxt = libxml2.newValidCtxt() variable
31 ctxt.setValidityErrorHandler(e.handler, e.handler, ARG)
35 ret = doc.validateDtd(ctxt, dtd)
43 ret = doc.validateDtd(ctxt, dtd)
50 del ctxt
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
vc1parse_bpic.c 25 vc1_Status vc1_ParsePictureHeader_ProgressiveBpicture(void* ctxt, vc1_Info *pInfo)
31 if ((status = vc1_DecodeHuffmanPair(ctxt, VC1_BFRACTION_TBL,
53 if ((status = vc1_MVRangeDecode(ctxt, pInfo)) != VC1_STATUS_OK)
60 if ((status = vc1_DecodeBitplane(ctxt, pInfo,
66 if ((status = vc1_DecodeBitplane(ctxt, pInfo,
75 if ((status = vc1_VOPDQuant(ctxt, pInfo)) != VC1_STATUS_OK)
vc1parse_ipic_adv.c 25 vc1_Status vc1_ParsePictureHeader_ProgressiveIpicture_Adv(void* ctxt, vc1_Info *pInfo)
31 if ((status = vc1_DecodeBitplane(ctxt, pInfo,
48 if ((status = vc1_DecodeBitplane(ctxt, pInfo,
76 status = vc1_VOPDQuant(ctxt, pInfo);
92 vc1_Status vc1_ParsePictureHeader_InterlaceIpicture_Adv(void* ctxt, vc1_Info *pInfo)
98 if ((status = vc1_DecodeBitplane(ctxt, pInfo,
104 if ((status = vc1_DecodeBitplane(ctxt, pInfo,
121 if ((status = vc1_DecodeBitplane(ctxt, pInfo,
149 status = vc1_VOPDQuant(ctxt, pInfo);
165 vc1_Status vc1_ParseFieldHeader_InterlaceIpicture_Adv(void* ctxt, vc1_Info *pInfo)
    [all...]
vc1parse_pic_com.c 25 vc1_Status vc1_ParsePictureHeader(void* ctxt, vc1_Info *pInfo)
41 result = viddec_pm_peek_bits(ctxt, &tempValue, 17);
91 status = vc1_ParsePictureHeader_ProgressiveIpicture(ctxt, pInfo);
94 status = vc1_ParsePictureHeader_ProgressivePpicture(ctxt, pInfo);
96 status = vc1_ParsePictureHeader_ProgressiveBpicture(ctxt, pInfo);
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ViewStubTest.java 19 private Context ctxt; field in class:ViewStubTest
22 ctxt = Robolectric.application;
27 ViewStub viewStub = new ViewStub(ctxt);
35 LinearLayout root = new LinearLayout(ctxt);
36 root.addView(new View(ctxt));
38 root.addView(new View(ctxt));
52 ViewStub viewStub = new ViewStub(ctxt,
  /external/curl/lib/vauth/
cram.c 99 HMAC_context *ctxt; local
107 ctxt = Curl_HMAC_init(Curl_HMAC_MD5,
110 if(!ctxt)
115 Curl_HMAC_update(ctxt, (const unsigned char *) chlg,
119 Curl_HMAC_final(ctxt, digest);

Completed in 1062 milliseconds

12 3 4 5 6 7 8 910