Lines Matching refs:ZSTR_LEN

578 	ZSTR_LEN(str) = 0;  in xml_utf8_encode()
582 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (char) c; in xml_utf8_encode()
584 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xc0 | (c >> 6)); in xml_utf8_encode()
585 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0x80 | (c & 0x3f)); in xml_utf8_encode()
587 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xe0 | (c >> 12)); in xml_utf8_encode()
588 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xc0 | ((c >> 6) & 0x3f)); in xml_utf8_encode()
589 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0x80 | (c & 0x3f)); in xml_utf8_encode()
591 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xf0 | (c >> 18)); in xml_utf8_encode()
592 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xe0 | ((c >> 12) & 0x3f)); in xml_utf8_encode()
593 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xc0 | ((c >> 6) & 0x3f)); in xml_utf8_encode()
594 ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0x80 | (c & 0x3f)); in xml_utf8_encode()
599 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in xml_utf8_encode()
600 str = zend_string_truncate(str, ZSTR_LEN(str), 0); in xml_utf8_encode()
627 ZSTR_LEN(str) = 0; in xml_utf8_decode()
636 ZSTR_VAL(str)[ZSTR_LEN(str)++] = decoder ? (unsigned int)decoder(c) : c; in xml_utf8_decode()
638 ZSTR_VAL(str)[ZSTR_LEN(str)] = '\0'; in xml_utf8_decode()
639 if (ZSTR_LEN(str) < len) { in xml_utf8_decode()
640 str = zend_string_truncate(str, ZSTR_LEN(str), 0); in xml_utf8_decode()
702 php_strtoupper(ZSTR_VAL(str), ZSTR_LEN(str)); in _xml_decode_tag()
867 for (i = 0; i < ZSTR_LEN(decoded_value); i++) { in _xml_characterDataHandler()
887 int newlen = Z_STRLEN_P(myval) + ZSTR_LEN(decoded_value); in _xml_characterDataHandler()
889 strncpy(Z_STRVAL_P(myval) + Z_STRLEN_P(myval) - ZSTR_LEN(decoded_value), in _xml_characterDataHandler()
890 ZSTR_VAL(decoded_value), ZSTR_LEN(decoded_value) + 1); in _xml_characterDataHandler()
904 int newlen = Z_STRLEN_P(myval) + ZSTR_LEN(decoded_value); in _xml_characterDataHandler()
906 strncpy(Z_STRVAL_P(myval) + Z_STRLEN_P(myval) - ZSTR_LEN(decoded_value), in _xml_characterDataHandler()
907 ZSTR_VAL(decoded_value), ZSTR_LEN(decoded_value) + 1); in _xml_characterDataHandler()