Lines Matching refs:to_len
4377 size_t to_len; local
4405 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4408 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4410 RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
4526 size_t to_len; local
4534 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len);
4535 to = estrndup(tmp, to_len);
4538 to = (char *)php_pgsql_unescape_bytea((unsigned char*)from, &to_len);
4544 RETVAL_STRINGL(to, to_len);
6344 size_t to_len; local
6347 tmp = PQescapeByteaConn(pg_link, (unsigned char *)Z_STRVAL_P(val), Z_STRLEN_P(val), &to_len);
6349 tmp = PQescapeBytea(Z_STRVAL_P(val), (unsigned char *)Z_STRLEN_P(val), &to_len);
6351 …ZVAL_STRINGL(&new_val, (char *)tmp, to_len - 1); /* PQescapeBytea's to_len includes additional '\0…