/external/libxml2/ |
rngparser.c | 142 #define CUR_CHAR(l) xmlXPathCurrentChar(ctxt, &l) 159 { xmlCRNGErr(ctxt, X, NULL); return(0); } 161 { xmlCRNGErr(ctxt, X, NULL); } 164 { xmlCRNGErr(ctxt, CRNG_MEMORY_ERROR, NULL); return(0); } 166 { xmlCRNGErr(ctxt, CRNG_MEMORY_ERROR, NULL); } 168 #define ERROR(str) xmlCRNGErr(ctxt, 0, str); 171 xmlCRNGErr(xmlCRelaxNGParserCtxtPtr ctxt, int err_no, const char *err_msg) { 176 if (ctxt != NULL) { 177 if (ctxt->filename != NULL) 178 fprintf(stderr, "%s:%d ", ctxt->filename, ctxt->lineno) 1437 struct _xmlCRelaxNGParserCtxt ctxt; local [all...] |
parser.c | 91 xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *info); 97 static void xmlHaltParser(xmlParserCtxtPtr ctxt); 126 xmlParserEntityCheck(xmlParserCtxtPtr ctxt, size_t size, 131 if ((ctxt == NULL) || (ctxt->options & XML_PARSE_HUGE)) 133 if (ctxt->lastError.code == XML_ERR_ENTITY_LOOP) 142 (ctxt->errNo != XML_ERR_ENTITY_LOOP)) { 143 unsigned long oldnbent = ctxt->nbentities; 148 ++ctxt->depth; 149 rep = xmlStringDecodeEntities(ctxt, ent->content 609 ctxt, NULL, XML_FROM_PARSER, error, local 1349 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) data; local 12338 xmlParserCtxtPtr ctxt; local 12503 xmlParserCtxtPtr ctxt; local 12574 xmlParserCtxtPtr ctxt; local 12705 xmlParserCtxtPtr ctxt; local 12864 xmlParserCtxtPtr ctxt; local 13071 xmlParserCtxtPtr ctxt; local 13337 xmlParserCtxtPtr ctxt; local 13531 xmlParserCtxtPtr ctxt; local 13766 xmlParserCtxtPtr ctxt; local 13921 xmlParserCtxtPtr ctxt; local 13985 xmlParserCtxtPtr ctxt; local 14078 xmlParserCtxtPtr ctxt; local 14147 xmlParserCtxtPtr ctxt; local 14314 xmlParserCtxtPtr ctxt; local 14365 xmlParserCtxtPtr ctxt; local 14424 xmlParserCtxtPtr ctxt; local 14522 xmlParserCtxtPtr ctxt; local 14594 xmlParserCtxtPtr ctxt; local 15222 xmlParserCtxtPtr ctxt; local 15247 xmlParserCtxtPtr ctxt; local 15271 xmlParserCtxtPtr ctxt; local 15296 xmlParserCtxtPtr ctxt; local 15340 xmlParserCtxtPtr ctxt; local [all...] |
SAX2.c | 56 * @ctxt: an XML validation parser context 60 xmlSAX2ErrMemory(xmlParserCtxtPtr ctxt, const char *msg) { 64 if (ctxt != NULL) { 65 ctxt->errNo = XML_ERR_NO_MEMORY; 66 if ((ctxt->sax != NULL) && (ctxt->sax->initialized == XML_SAX2_MAGIC)) 67 schannel = ctxt->sax->serror; 69 ctxt->vctxt.error, ctxt->vctxt.userData, 70 ctxt, NULL, XML_FROM_PARSER, XML_ERR_NO_MEMORY 259 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 275 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 291 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 307 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 323 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 339 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 357 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 395 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 521 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 558 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 638 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 668 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 738 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 805 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 851 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 904 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 985 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 1050 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 1099 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 1594 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 1801 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 2214 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 2456 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 2493 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 2525 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 2672 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 2735 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local 2797 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx; local [all...] |
parserInternals.c | 58 #define CUR(ctxt) ctxt->input->cur 59 #define END(ctxt) ctxt->input->end 60 #define VALID_CTXT(ctxt) (CUR(ctxt) <= END(ctxt)) 107 * @ctxt: an XML parser context 113 xmlErrMemory(xmlParserCtxtPtr ctxt, const char *extra) 115 if ((ctxt != NULL) && (ctxt->disableSAX != 0) & 1853 xmlParserCtxtPtr ctxt; local [all...] |
relaxng.c | 432 * @ctxt: an Relax-NG parser context 438 xmlRngPErrMemory(xmlRelaxNGParserCtxtPtr ctxt, const char *extra) 444 if (ctxt != NULL) { 445 if (ctxt->serror != NULL) 446 schannel = ctxt->serror; 448 channel = ctxt->error; 449 data = ctxt->userData; 450 ctxt->nbErrors++; 467 * @ctxt: a Relax-NG validation context 473 xmlRngVErrMemory(xmlRelaxNGValidCtxtPtr ctxt, const char *extra 3786 xmlRelaxNGValidCtxt ctxt; local 4318 xmlRelaxNGParserCtxtPtr ctxt = (xmlRelaxNGParserCtxtPtr) data; local 4668 xmlRelaxNGParserCtxtPtr ctxt = (xmlRelaxNGParserCtxtPtr) data; local 5677 xmlRelaxNGParserCtxtPtr ctxt = (xmlRelaxNGParserCtxtPtr) data; local 5733 xmlRelaxNGParserCtxtPtr ctxt = (xmlRelaxNGParserCtxtPtr) data; local 7933 xmlRelaxNGValidCtxtPtr ctxt = (xmlRelaxNGValidCtxtPtr) inputdata; local 8146 xmlRelaxNGValidCtxtPtr ctxt = (xmlRelaxNGValidCtxtPtr) inputdata; local [all...] |
debugXML.c | 54 static void xmlCtxtDumpNodeList(xmlDebugCtxtPtr ctxt, xmlNodePtr node); 57 xmlCtxtDumpInitCtxt(xmlDebugCtxtPtr ctxt) 61 ctxt->depth = 0; 62 ctxt->check = 0; 63 ctxt->errors = 0; 64 ctxt->output = stdout; 65 ctxt->doc = NULL; 66 ctxt->node = NULL; 67 ctxt->dict = NULL; 68 ctxt->nodict = 0 1236 xmlDebugCtxtPtr ctxt = (xmlDebugCtxtPtr) data; local 1380 xmlDebugCtxt ctxt; local 1401 xmlDebugCtxt ctxt; local 1421 xmlDebugCtxt ctxt; local 1442 xmlDebugCtxt ctxt; local 1463 xmlDebugCtxt ctxt; local 1485 xmlDebugCtxt ctxt; local 1506 xmlDebugCtxt ctxt; local 1527 xmlDebugCtxt ctxt; local 1548 xmlDebugCtxt ctxt; local 1578 xmlDebugCtxt ctxt; local 2361 xmlRelaxNGParserCtxtPtr ctxt; local 2816 xmlShellCtxtPtr ctxt; local [all...] |
nanohttp.c | 276 * @ctxt: an HTTP context 284 xmlNanoHTTPScanURL(xmlNanoHTTPCtxtPtr ctxt, const char *URL) { 291 if (ctxt->protocol != NULL) { 292 xmlFree(ctxt->protocol); 293 ctxt->protocol = NULL; 295 if (ctxt->hostname != NULL) { 296 xmlFree(ctxt->hostname); 297 ctxt->hostname = NULL; 299 if (ctxt->path != NULL) { 300 xmlFree(ctxt->path) 1275 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr) ctx; local 1330 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr) ctx; local 1359 xmlNanoHTTPCtxtPtr ctxt; local 1633 void *ctxt = NULL; local 1722 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr) ctx; local 1740 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr) ctx; local 1759 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr)ctx; local 1774 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr)ctx; local 1789 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr)ctx; local 1804 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr)ctx; local 1823 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr)ctx; local [all...] |
xinclude.c | 92 xmlXIncludeDoProcess(xmlXIncludeCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr tree); 108 xmlXIncludeErrMemory(xmlXIncludeCtxtPtr ctxt, xmlNodePtr node, 111 if (ctxt != NULL) 112 ctxt->nbErrors++; 113 __xmlRaiseError(NULL, NULL, NULL, ctxt, node, XML_FROM_XINCLUDE, 121 * @ctxt: the XInclude context 129 xmlXIncludeErr(xmlXIncludeCtxtPtr ctxt, xmlNodePtr node, int error, 132 if (ctxt != NULL) 133 ctxt->nbErrors++; 134 __xmlRaiseError(NULL, NULL, NULL, ctxt, node, XML_FROM_XINCLUDE 1252 xmlXIncludeCtxtPtr ctxt; member in struct:_xmlXIncludeMergeData 1270 xmlXIncludeCtxtPtr ctxt; local 2480 xmlXIncludeCtxtPtr ctxt; local 2566 xmlXIncludeCtxtPtr ctxt; local [all...] |
nanoftp.c | 294 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 300 if (ctxt->protocol != NULL) { 301 xmlFree(ctxt->protocol); 302 ctxt->protocol = NULL; 304 if (ctxt->hostname != NULL) { 305 xmlFree(ctxt->hostname); 306 ctxt->hostname = NULL; 308 if (ctxt->path != NULL) { 309 xmlFree(ctxt->path); 310 ctxt->path = NULL 363 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 501 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 561 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 641 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 731 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 758 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 786 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 820 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 850 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 1238 xmlNanoFTPCtxtPtr ctxt; local 1276 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 1325 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 1375 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 1548 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 1728 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 1837 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 1903 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 1970 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 2000 xmlNanoFTPCtxtPtr ctxt; local 2032 xmlNanoFTPCtxtPtr ctxt = (xmlNanoFTPCtxtPtr) ctx; local 2074 void *ctxt; local [all...] |
/external/libxml2/python/tests/ |
validate.py | 8 ctxt = libxml2.createFileParserCtxt("valid.xml") variable 9 ctxt.validate(1) 10 ctxt.parseDocument() 11 doc = ctxt.doc() 12 valid = ctxt.isValid() 28 ctxt = libxml2.createFileParserCtxt("valid.xml") variable 29 ctxt.validate(1) 30 ctxt.parseDocument() 31 doc = ctxt.doc() 32 valid = ctxt.isValid( 45 ctxt = libxml2.createFileParserCtxt("invalid.xml") variable [all...] |
push.py | 8 ctxt = libxml2.createPushParser(None, "<foo", 4, "test.xml") variable 9 ctxt.parseChunk("/>", 2, 1) 10 doc = ctxt.doc() 11 ctxt=None variable 22 ctxt = libxml2.createPushParser(None, "<foo", 4, "test.xml") variable 23 ctxt.parseChunk("/>", 2, 1) 24 doc = ctxt.doc() 27 ctxt=None variable
|
xpath.py | 17 ctxt = doc.xpathNewContext() variable 18 res = ctxt.xpathEval("//*") 25 ctxt.setContextNode(res[0]) 26 res = ctxt.xpathEval("foo") 34 ctxt.xpathFreeContext() 38 ctxt = doc.xpathNewContext() variable 39 res = ctxt.xpathEval("//*") 41 ctxt.xpathFreeContext() 43 del ctxt
|
/external/libxml2/include/libxml/ |
xpathInternals.h | 36 * @ctxt: an XPath parser context 41 #define xmlXPathSetError(ctxt, err) \ 42 { xmlXPatherror((ctxt), __FILE__, __LINE__, (err)); \ 43 if ((ctxt) != NULL) (ctxt)->error = (err); } 47 * @ctxt: an XPath parser context 51 #define xmlXPathSetArityError(ctxt) \ 52 xmlXPathSetError((ctxt), XPATH_INVALID_ARITY) 56 * @ctxt: an XPath parser context 60 #define xmlXPathSetTypeError(ctxt) \ [all...] |
/external/curl/lib/ |
hmac.c | 56 HMAC_context *ctxt; local 61 i = sizeof *ctxt + 2 * hashparams->hmac_ctxtsize + 63 ctxt = malloc(i); 65 if(!ctxt) 66 return ctxt; 68 ctxt->hmac_hash = hashparams; 69 ctxt->hmac_hashctxt1 = (void *) (ctxt + 1); 70 ctxt->hmac_hashctxt2 = (void *) ((char *) ctxt->hmac_hashctxt1 [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/obj/ |
line.go | 12 func (ctxt *Link) AddImport(pkg string) { 13 ctxt.Imports = append(ctxt.Imports, pkg) 16 func linkgetlineFromPos(ctxt *Link, xpos src.XPos) (f string, l int32) { 17 pos := ctxt.PosTable.Pos(xpos)
|
/prebuilts/go/darwin-x86/src/cmd/link/internal/mips64/ |
asm.go | 43 func gentext(ctxt *ld.Link) {} 45 func adddynrel(ctxt *ld.Link, s *sym.Symbol, r *sym.Reloc) bool { 50 func elfreloc1(ctxt *ld.Link, r *sym.Reloc, sectoff int64) bool { 60 ctxt.Out.Write64(uint64(sectoff)) 63 ctxt.Out.Write32(uint32(elfsym)) 64 ctxt.Out.Write8(0) 65 ctxt.Out.Write8(0) 66 ctxt.Out.Write8(0) 73 ctxt.Out.Write8(uint8(elf.R_MIPS_32)) 75 ctxt.Out.Write8(uint8(elf.R_MIPS_64) [all...] |
/prebuilts/go/linux-x86/src/cmd/internal/obj/ |
line.go | 12 func (ctxt *Link) AddImport(pkg string) { 13 ctxt.Imports = append(ctxt.Imports, pkg) 16 func linkgetlineFromPos(ctxt *Link, xpos src.XPos) (f string, l int32) { 17 pos := ctxt.PosTable.Pos(xpos)
|
/prebuilts/go/linux-x86/src/cmd/link/internal/mips64/ |
asm.go | 43 func gentext(ctxt *ld.Link) {} 45 func adddynrel(ctxt *ld.Link, s *sym.Symbol, r *sym.Reloc) bool { 50 func elfreloc1(ctxt *ld.Link, r *sym.Reloc, sectoff int64) bool { 60 ctxt.Out.Write64(uint64(sectoff)) 63 ctxt.Out.Write32(uint32(elfsym)) 64 ctxt.Out.Write8(0) 65 ctxt.Out.Write8(0) 66 ctxt.Out.Write8(0) 73 ctxt.Out.Write8(uint8(elf.R_MIPS_32)) 75 ctxt.Out.Write8(uint8(elf.R_MIPS_64) [all...] |
/prebuilts/go/darwin-x86/src/cmd/link/internal/ld/ |
symtab.go | 80 func putelfsym(ctxt *Link, x *sym.Symbol, s string, t SymbolType, addr int64, go_ *sym.Symbol) { 140 if !ctxt.DynlinkingGo() && ctxt.LinkMode == LinkExternal && !x.Attr.CgoExportStatic() && elfshnum != SHN_UNDEF { 144 if ctxt.LinkMode == LinkExternal && elfshnum != SHN_UNDEF { 156 if ctxt.Arch.Family == sys.PPC64 && typ == STT_FUNC && x.Attr.Shared() && x.Name != "runtime.duffzero" && x.Name != "runtime.duffcopy" { 169 if !ctxt.DynlinkingGo() { 174 if ctxt.DynlinkingGo() && bind == STB_GLOBAL && elfbind == STB_LOCAL && x.Type == sym.STEXT { 183 putelfsyment(ctxt.Out, putelfstr("local."+s), addr, size, STB_LOCAL<<4|typ&0xf, elfshnum, other) 191 putelfsyment(ctxt.Out, putelfstr(s), addr, size, bind<<4|typ&0xf, elfshnum, other) 202 func Asmelfsym(ctxt *Link) [all...] |
main.go | 101 ctxt := linknew(arch) 102 ctxt.Bso = bufio.NewWriter(os.Stdout) 114 addstrdata1(ctxt, "runtime/internal/sys.DefaultGoroot="+final) 115 addstrdata1(ctxt, "cmd/internal/objabi.defaultGOROOT="+final) 118 if ctxt.Arch.Family == sys.AMD64 && objabi.GOOS == "plan9" { 122 flag.BoolVar(&ctxt.linkShared, "linkshared", false, "link against installed Go shared libraries") 123 flag.Var(&ctxt.LinkMode, "linkmode", "set link `mode`") 124 flag.Var(&ctxt.BuildMode, "buildmode", "set build `mode`") 126 objabi.Flagfn1("L", "add specified `directory` to library path", func(a string) { Lflag(ctxt, a) }) 128 objabi.Flagfn1("X", "add string value `definition` of the form importpath.name=value", func(s string) { addstrdata1(ctxt, s) } [all...] |
/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
symtab.go | 80 func putelfsym(ctxt *Link, x *sym.Symbol, s string, t SymbolType, addr int64, go_ *sym.Symbol) { 140 if !ctxt.DynlinkingGo() && ctxt.LinkMode == LinkExternal && !x.Attr.CgoExportStatic() && elfshnum != SHN_UNDEF { 144 if ctxt.LinkMode == LinkExternal && elfshnum != SHN_UNDEF { 156 if ctxt.Arch.Family == sys.PPC64 && typ == STT_FUNC && x.Attr.Shared() && x.Name != "runtime.duffzero" && x.Name != "runtime.duffcopy" { 169 if !ctxt.DynlinkingGo() { 174 if ctxt.DynlinkingGo() && bind == STB_GLOBAL && elfbind == STB_LOCAL && x.Type == sym.STEXT { 183 putelfsyment(ctxt.Out, putelfstr("local."+s), addr, size, STB_LOCAL<<4|typ&0xf, elfshnum, other) 191 putelfsyment(ctxt.Out, putelfstr(s), addr, size, bind<<4|typ&0xf, elfshnum, other) 202 func Asmelfsym(ctxt *Link) [all...] |
/external/tensorflow/tensorflow/python/ops/ |
control_flow_util.py | 37 ctxt = op._get_control_flow_context() # pylint: disable=protected-access 38 return GetContainingXLAContext(ctxt) is not None 42 ctxt = op._get_control_flow_context() # pylint: disable=protected-access 43 return GetContainingWhileContext(ctxt) is not None 47 ctxt = op._get_control_flow_context() # pylint: disable=protected-access 48 return GetContainingCondContext(ctxt) is not None 69 ctxt = op._get_control_flow_context() # pylint: disable=protected-access 70 return ctxt and ctxt.IsWhileContext() 90 ctxt = op._get_control_flow_context() # pylint: disable=protected-acces [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
sys_arm.go | 9 // adjust Gobuf as if it executed a call to fn with context ctxt 11 func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { 17 buf.ctxt = ctxt
|
sys_arm64.go | 9 // adjust Gobuf as if it executed a call to fn with context ctxt 11 func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { 17 buf.ctxt = ctxt
|
sys_mips64x.go | 11 // adjust Gobuf as if it executed a call to fn with context ctxt 13 func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) { 19 buf.ctxt = ctxt
|