Lines Matching defs:gs

479  * @gs: a pointer to a newly allocated global state
485 xmlInitializeGlobalState(xmlGlobalStatePtr gs)
489 (unsigned long) gs, xmlGetThreadId());
501 initdocbDefaultSAXHandler(&gs->docbDefaultSAXHandler);
504 inithtmlDefaultSAXHandler(&gs->htmlDefaultSAXHandler);
507 gs->oldXMLWDcompatibility = 0;
508 gs->xmlBufferAllocScheme = xmlBufferAllocSchemeThrDef;
509 gs->xmlDefaultBufferSize = xmlDefaultBufferSizeThrDef;
511 initxmlDefaultSAXHandler(&gs->xmlDefaultSAXHandler, 1);
513 gs->xmlDefaultSAXLocator.getPublicId = xmlSAX2GetPublicId;
514 gs->xmlDefaultSAXLocator.getSystemId = xmlSAX2GetSystemId;
515 gs->xmlDefaultSAXLocator.getLineNumber = xmlSAX2GetLineNumber;
516 gs->xmlDefaultSAXLocator.getColumnNumber = xmlSAX2GetColumnNumber;
517 gs->xmlDoValidityCheckingDefaultValue =
520 gs->xmlFree = (xmlFreeFunc) xmlMemFree;
521 gs->xmlMalloc = (xmlMallocFunc) xmlMemMalloc;
522 gs->xmlMallocAtomic = (xmlMallocFunc) xmlMemMalloc;
523 gs->xmlRealloc = (xmlReallocFunc) xmlMemRealloc;
524 gs->xmlMemStrdup = (xmlStrdupFunc) xmlMemoryStrdup;
526 gs->xmlFree = (xmlFreeFunc) free;
527 gs->xmlMalloc = (xmlMallocFunc) malloc;
528 gs->xmlMallocAtomic = (xmlMallocFunc) malloc;
529 gs->xmlRealloc = (xmlReallocFunc) realloc;
530 gs->xmlMemStrdup = (xmlStrdupFunc) xmlStrdup;
532 gs->xmlGetWarningsDefaultValue = xmlGetWarningsDefaultValueThrDef;
533 gs->xmlIndentTreeOutput = xmlIndentTreeOutputThrDef;
534 gs->xmlTreeIndentString = xmlTreeIndentStringThrDef;
535 gs->xmlKeepBlanksDefaultValue = xmlKeepBlanksDefaultValueThrDef;
536 gs->xmlLineNumbersDefaultValue = xmlLineNumbersDefaultValueThrDef;
537 gs->xmlLoadExtDtdDefaultValue = xmlLoadExtDtdDefaultValueThrDef;
538 gs->xmlParserDebugEntities = xmlParserDebugEntitiesThrDef;
539 gs->xmlParserVersion = LIBXML_VERSION_STRING;
540 gs->xmlPedanticParserDefaultValue = xmlPedanticParserDefaultValueThrDef;
541 gs->xmlSaveNoEmptyTags = xmlSaveNoEmptyTagsThrDef;
542 gs->xmlSubstituteEntitiesDefaultValue =
545 gs->xmlGenericError = xmlGenericErrorThrDef;
546 gs->xmlStructuredError = xmlStructuredErrorThrDef;
547 gs->xmlGenericErrorContext = xmlGenericErrorContextThrDef;
548 gs->xmlRegisterNodeDefaultValue = xmlRegisterNodeDefaultValueThrDef;
549 gs->xmlDeregisterNodeDefaultValue = xmlDeregisterNodeDefaultValueThrDef;
551 gs->xmlParserInputBufferCreateFilenameValue = xmlParserInputBufferCreateFilenameValueThrDef;
552 gs->xmlOutputBufferCreateFilenameValue = xmlOutputBufferCreateFilenameValueThrDef;
553 memset(&gs->xmlLastError, 0, sizeof(xmlError));