MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlCreateURI

Function xmlCreateURI

ThirdParty/libxml2/vtklibxml2/uri.c:1082–1092  ·  view source on GitHub ↗

* xmlCreateURI: * * Simply creates an empty xmlURI * * Returns the new structure or NULL in case of error */

Source from the content-addressed store, hash-verified

1080 * Returns the new structure or NULL in case of error
1081 */
1082xmlURIPtr
1083xmlCreateURI(void) {
1084 xmlURIPtr ret;
1085
1086 ret = (xmlURIPtr) xmlMalloc(sizeof(xmlURI));
1087 if (ret == NULL)
1088 return(NULL);
1089 memset(ret, 0, sizeof(xmlURI));
1090 ret->port = PORT_EMPTY;
1091 return(ret);
1092}
1093
1094/**
1095 * xmlSaveUriRealloc:

Callers 7

getRealPathMethod · 0.85
handleURIFunction · 0.85
xmlParseURISafeFunction · 0.85
xmlParseURIRawFunction · 0.85
xmlURIEscapeFunction · 0.85
xmlBuildURISafeFunction · 0.85
xmlParseUriOrPathFunction · 0.85

Calls

no outgoing calls

Tested by 1

handleURIFunction · 0.68