Lines Matching refs:is_unicode
56 static int pdo_odbc_utf82ucs2(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_utf82ucs2() argument
60 if (is_unicode && buflen) { in pdo_odbc_utf82ucs2()
91 static int pdo_odbc_ucs22utf8(pdo_stmt_t *stmt, int is_unicode, zval *result) in pdo_odbc_ucs22utf8() argument
95 if (is_unicode && Z_STRLEN_P(result) != 0) { in pdo_odbc_ucs22utf8()
190 switch (pdo_odbc_utf82ucs2(stmt, P->is_unicode, in odbc_stmt_execute()
360 P->is_unicode = pdo_odbc_sqltype_is_unicode(S, sqltype); in odbc_stmt_param_hook()
361 if (P->is_unicode) { in odbc_stmt_param_hook()
378 if (P->is_unicode) { in odbc_stmt_param_hook()
381 P->outbuf = emalloc(P->len + (P->is_unicode ? 2:1)); in odbc_stmt_param_hook()
472 switch (pdo_odbc_utf82ucs2(stmt, P->is_unicode, in odbc_stmt_param_hook()
505 switch (pdo_odbc_ucs22utf8(stmt, P->is_unicode, parameter)) { in odbc_stmt_param_hook()
613 S->cols[colno].is_unicode = pdo_odbc_sqltype_is_unicode(S, S->cols[colno].coltype); in odbc_stmt_describe()
623 S->cols[colno].is_unicode ? SQL_C_BINARY : SQL_C_CHAR, in odbc_stmt_describe()
663 rc = SQLGetData(S->stmt, colno+1, C->is_unicode ? SQL_C_BINARY : SQL_C_CHAR, C->data, in odbc_stmt_get_col()
690 …rc = SQLGetData(S->stmt, colno+1, C->is_unicode ? SQL_C_BINARY : SQL_C_CHAR, buf2, 256, &C->fetche… in odbc_stmt_get_col()
723 if (C->is_unicode) { in odbc_stmt_get_col()
742 if (C->is_unicode) { in odbc_stmt_get_col()
753 switch (pdo_odbc_ucs22utf8(stmt, C->is_unicode, result)) { in odbc_stmt_get_col()