Lines Matching refs:ptr
776 zend_string **end, **ptr = strings - 1; in zlib_create_dictionary_string() local
781 *++ptr = zval_get_string(cur); in zlib_create_dictionary_string()
782 if (!*ptr || ZSTR_LEN(*ptr) == 0) { in zlib_create_dictionary_string()
783 if (*ptr) { in zlib_create_dictionary_string()
784 efree(*ptr); in zlib_create_dictionary_string()
786 while (--ptr >= strings) { in zlib_create_dictionary_string()
787 efree(ptr); in zlib_create_dictionary_string()
793 for (i = 0; i < ZSTR_LEN(*ptr); i++) { in zlib_create_dictionary_string()
794 if (ZSTR_VAL(*ptr)[i] == 0) { in zlib_create_dictionary_string() local
796 efree(ptr); in zlib_create_dictionary_string()
797 } while (--ptr >= strings); in zlib_create_dictionary_string()
804 *dictlen += ZSTR_LEN(*ptr) + 1; in zlib_create_dictionary_string()
808 ptr = strings; in zlib_create_dictionary_string()
811 memcpy(dictptr, ZSTR_VAL(*ptr), ZSTR_LEN(*ptr)); in zlib_create_dictionary_string()
812 dictptr += ZSTR_LEN(*ptr); in zlib_create_dictionary_string()
814 zend_string_release(*ptr); in zlib_create_dictionary_string()
815 } while (++ptr != end); in zlib_create_dictionary_string()