• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/

Lines Matching +refs:string +refs:utf

15 #include <string.h>
463 xmlSchemaTypeStringDef = xmlSchemaInitBasicType("string",
876 * Accessor for the string value of a computed value.
878 * Returns the string value or NULL if there was none, or on
930 * string based types. We need this for anySimpleType as well.
1181 * @str: pointer to the string to analyze
1275 * @str: pointer to the string to analyze
1305 * @str: pointer to the string to analyze
1334 * @str: pointer to the string to analyze
1358 /* the ':' insures this string is xs:time */
1386 * @str: pointer to the string to analyze
1536 * @dateTime: string to analyze
1759 * @duration: string to analyze
1805 /* input string should be empty or invalid date/time item */
1881 * Removes the leading and ending spaces of a string
1883 * Returns the new string or NULL if no change was required.
1907 * Returns the new string or NULL if no change was required.
1938 * Removes and normalize white spaces in the string
1940 * Returns the new string or NULL if no change was required.
2058 * @str: pointer to the string R/W
2345 * Terminate the (preparsed) string.
3659 * Copies the precomputed value. This duplicates any string within.
3669 * Copy the string values.
4230 * @x: a first string value
4231 * @y: a second string value
4234 * Compare 2 string for their normalized values.
4235 * @x is a string with whitespace of "preserve", @y is
4236 * a string with a whitespace of "replace". I.e. @x could
4237 * be an "xsd:string" and @y an "xsd:normalizedString".
4299 * @x: a first string value
4300 * @y: a second string value
4302 * Compare 2 string for their normalized values.
4303 * @x is a string with whitespace of "preserve", @y is
4304 * a string with a whitespace of "collapse". I.e. @x could
4305 * be an "xsd:string" and @y an "xsd:normalizedString".
4318 * Skip leading blank chars of the collapsed string.
4344 * Skip contiguous blank chars of the collapsed string.
4372 * Skip trailing blank chars of the collapsed string.
4388 * @x: a first string value
4389 * @y: a second string value
4391 * Compare 2 string for their normalized values.
4392 * @x is a string with whitespace of "preserve", @y is
4393 * a string with a whitespace of "collapse". I.e. @x could
4394 * be an "xsd:string" and @y an "xsd:normalizedString".
4407 * Skip leading blank chars of the collapsed string.
4433 * Skip contiguous blank chars of the collapsed string.
4469 * Skip trailing blank chars of the collapsed string.
4486 * @x: a first string value
4487 * @y: a second string value
4489 * Compare 2 string for their normalized values.
4533 * @x: a first string value
4534 * @y: a second string value
4536 * Compare 2 string for their normalized values.
4653 * @xvalue: the first value as a string (optional)
4656 * @xvalue: the second value as a string (optional)
4739 * Note that we will support comparison of string types against
4986 * @value: a string
4988 * Computes the UTF8 length of the normalized value of the string
4994 const xmlChar *utf;
4999 utf = value;
5000 while (IS_BLANK_CH(*utf)) utf++;
5001 while (*utf != 0) {
5002 if (utf[0] & 0x80) {
5003 if ((utf[1] & 0xc0) != 0x80)
5005 if ((utf[0] & 0xe0) == 0xe0) {
5006 if ((utf[2] & 0xc0) != 0x80)
5008 if ((utf[0] & 0xf0) == 0xf0) {
5009 if ((utf[0] & 0xf8) != 0xf0 || (utf[3] & 0xc0) != 0x80)
5011 utf += 4;
5013 utf += 3;
5016 utf += 2;
5018 } else if (IS_BLANK_CH(*utf)) {
5019 while (IS_BLANK_CH(*utf)) utf++;
5020 if (*utf == 0)
5023 utf++;
5573 * Convert the number into a string representation.