Lines Matching refs:is_unicode
60 static int pdo_odbc_utf82ucs2(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_utf82ucs2() argument
64 if (is_unicode && buflen) { in pdo_odbc_utf82ucs2()
95 static int pdo_odbc_ucs22utf8(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_ucs22utf8() argument
99 if (is_unicode && buflen) { in pdo_odbc_ucs22utf8()
196 switch (pdo_odbc_utf82ucs2(stmt, P->is_unicode, in odbc_stmt_execute()
350 P->is_unicode = pdo_odbc_sqltype_is_unicode(S, sqltype); in odbc_stmt_param_hook()
351 if (P->is_unicode) { in odbc_stmt_param_hook()
368 if (P->is_unicode) { in odbc_stmt_param_hook()
371 P->outbuf = emalloc(P->len + (P->is_unicode ? 2:1)); in odbc_stmt_param_hook()
462 switch (pdo_odbc_utf82ucs2(stmt, P->is_unicode, in odbc_stmt_param_hook()
502 switch (pdo_odbc_ucs22utf8(stmt, P->is_unicode, P->outbuf, P->len, &ulen)) { in odbc_stmt_param_hook()
616 S->cols[colno].is_unicode = pdo_odbc_sqltype_is_unicode(S, S->cols[colno].coltype); in odbc_stmt_describe()
629 S->cols[colno].is_unicode ? SQL_C_BINARY : SQL_C_CHAR, in odbc_stmt_describe()
664 rc = SQLGetData(S->stmt, colno+1, C->is_unicode ? SQL_C_BINARY : SQL_C_CHAR, C->data, in odbc_stmt_get_col()
720 if (C->is_unicode) { in odbc_stmt_get_col()
743 if (C->is_unicode) { in odbc_stmt_get_col()
755 switch (pdo_odbc_ucs22utf8(stmt, C->is_unicode, *ptr, *len, &ulen)) { in odbc_stmt_get_col()