Lines Matching refs:gs
506 xmlInitializeGlobalState(xmlGlobalStatePtr gs) in xmlInitializeGlobalState() argument
510 (unsigned long) gs, xmlGetThreadId()); in xmlInitializeGlobalState()
522 initdocbDefaultSAXHandler(&gs->docbDefaultSAXHandler); in xmlInitializeGlobalState()
525 inithtmlDefaultSAXHandler(&gs->htmlDefaultSAXHandler); in xmlInitializeGlobalState()
528 gs->oldXMLWDcompatibility = 0; in xmlInitializeGlobalState()
529 gs->xmlBufferAllocScheme = xmlBufferAllocSchemeThrDef; in xmlInitializeGlobalState()
530 gs->xmlDefaultBufferSize = xmlDefaultBufferSizeThrDef; in xmlInitializeGlobalState()
532 initxmlDefaultSAXHandler(&gs->xmlDefaultSAXHandler, 1); in xmlInitializeGlobalState()
534 gs->xmlDefaultSAXLocator.getPublicId = xmlSAX2GetPublicId; in xmlInitializeGlobalState()
535 gs->xmlDefaultSAXLocator.getSystemId = xmlSAX2GetSystemId; in xmlInitializeGlobalState()
536 gs->xmlDefaultSAXLocator.getLineNumber = xmlSAX2GetLineNumber; in xmlInitializeGlobalState()
537 gs->xmlDefaultSAXLocator.getColumnNumber = xmlSAX2GetColumnNumber; in xmlInitializeGlobalState()
538 gs->xmlDoValidityCheckingDefaultValue = in xmlInitializeGlobalState()
541 gs->xmlFree = (xmlFreeFunc) xmlMemFree; in xmlInitializeGlobalState()
542 gs->xmlMalloc = (xmlMallocFunc) xmlMemMalloc; in xmlInitializeGlobalState()
543 gs->xmlMallocAtomic = (xmlMallocFunc) xmlMemMalloc; in xmlInitializeGlobalState()
544 gs->xmlRealloc = (xmlReallocFunc) xmlMemRealloc; in xmlInitializeGlobalState()
545 gs->xmlMemStrdup = (xmlStrdupFunc) xmlMemoryStrdup; in xmlInitializeGlobalState()
547 gs->xmlFree = (xmlFreeFunc) free; in xmlInitializeGlobalState()
548 gs->xmlMalloc = (xmlMallocFunc) malloc; in xmlInitializeGlobalState()
549 gs->xmlMallocAtomic = (xmlMallocFunc) malloc; in xmlInitializeGlobalState()
550 gs->xmlRealloc = (xmlReallocFunc) realloc; in xmlInitializeGlobalState()
551 gs->xmlMemStrdup = (xmlStrdupFunc) xmlStrdup; in xmlInitializeGlobalState()
553 gs->xmlGetWarningsDefaultValue = xmlGetWarningsDefaultValueThrDef; in xmlInitializeGlobalState()
554 gs->xmlIndentTreeOutput = xmlIndentTreeOutputThrDef; in xmlInitializeGlobalState()
555 gs->xmlTreeIndentString = xmlTreeIndentStringThrDef; in xmlInitializeGlobalState()
556 gs->xmlKeepBlanksDefaultValue = xmlKeepBlanksDefaultValueThrDef; in xmlInitializeGlobalState()
557 gs->xmlLineNumbersDefaultValue = xmlLineNumbersDefaultValueThrDef; in xmlInitializeGlobalState()
558 gs->xmlLoadExtDtdDefaultValue = xmlLoadExtDtdDefaultValueThrDef; in xmlInitializeGlobalState()
559 gs->xmlParserDebugEntities = xmlParserDebugEntitiesThrDef; in xmlInitializeGlobalState()
560 gs->xmlParserVersion = LIBXML_VERSION_STRING; in xmlInitializeGlobalState()
561 gs->xmlPedanticParserDefaultValue = xmlPedanticParserDefaultValueThrDef; in xmlInitializeGlobalState()
562 gs->xmlSaveNoEmptyTags = xmlSaveNoEmptyTagsThrDef; in xmlInitializeGlobalState()
563 gs->xmlSubstituteEntitiesDefaultValue = in xmlInitializeGlobalState()
566 gs->xmlGenericError = xmlGenericErrorThrDef; in xmlInitializeGlobalState()
567 gs->xmlStructuredError = xmlStructuredErrorThrDef; in xmlInitializeGlobalState()
568 gs->xmlGenericErrorContext = xmlGenericErrorContextThrDef; in xmlInitializeGlobalState()
569 gs->xmlStructuredErrorContext = xmlStructuredErrorContextThrDef; in xmlInitializeGlobalState()
570 gs->xmlRegisterNodeDefaultValue = xmlRegisterNodeDefaultValueThrDef; in xmlInitializeGlobalState()
571 gs->xmlDeregisterNodeDefaultValue = xmlDeregisterNodeDefaultValueThrDef; in xmlInitializeGlobalState()
573 gs->xmlParserInputBufferCreateFilenameValue = xmlParserInputBufferCreateFilenameValueThrDef; in xmlInitializeGlobalState()
574 gs->xmlOutputBufferCreateFilenameValue = xmlOutputBufferCreateFilenameValueThrDef; in xmlInitializeGlobalState()
575 memset(&gs->xmlLastError, 0, sizeof(xmlError)); in xmlInitializeGlobalState()