Lines Matching defs:space

202  * Builds the QName @prefix:@ncname in @memory if there is enough space
352 * @space: allow spaces in front and end of the string
354 * Check that a value conforms to the lexical space of NCName
360 xmlValidateNCName(const xmlChar *value, int space) {
370 if (space)
382 if (space)
393 if (space) {
409 if (space) {
426 * @space: allow spaces in front and end of the string
428 * Check that a value conforms to the lexical space of QName
434 xmlValidateQName(const xmlChar *value, int space) {
443 if (space)
469 if (space)
480 if (space) {
510 if (space) {
524 * @space: allow spaces in front and end of the string
526 * Check that a value conforms to the lexical space of Name
532 xmlValidateName(const xmlChar *value, int space) {
541 if (space)
553 if (space)
564 if (space) {
579 if (space) {
593 * @space: allow spaces in front and end of the string
595 * Check that a value conforms to the lexical space of NMToken
601 xmlValidateNMToken(const xmlChar *value, int space) {
610 if (space)
624 if (space)
635 if (space) {
651 if (space) {
4651 * @val: the xml:space value ("0": default, 1: "preserve")
4653 * Set (or reset) the space preserving behaviour of a node, i.e. the
4654 * value of the xml:space attribute.
4693 xmlSetNsProp(cur, ns, BAD_CAST "space", BAD_CAST "default");
4696 xmlSetNsProp(cur, ns, BAD_CAST "space", BAD_CAST "preserve");
4706 * Searches the space preserving behaviour of a node, i.e. the values
4707 * of the xml:space attribute or the one carried by the nearest
4710 * Returns -1 if xml:space is not inherited, 0 if "default", 1 if "preserve"
4714 xmlChar *space;
4717 space = xmlGetNsProp(cur, BAD_CAST "space", XML_XML_NAMESPACE);
4718 if (space != NULL) {
4719 if (xmlStrEqual(space, BAD_CAST "preserve")) {
4720 xmlFree(space);
4723 if (xmlStrEqual(space, BAD_CAST "default")) {
4724 xmlFree(space);
4727 xmlFree(space);
5572 * Search a Ns registered under a given name space for a document.
6767 * Grow the available space of an XML buffer.
6769 * Returns the new available space or -1 in case of error