Home
last modified time | relevance | path

Searched refs:WCLEN (Results 1 – 10 of 10) sorted by relevance

/dports/databases/postgresql-odbc/psqlodbc-13.02.0000/
H A Dodbcapi30w.c173 bMax = cbValueMax * 3 / WCLEN; in SQLGetDescFieldW()
190 blen = (SQLINTEGER) utf8_to_ucs2(rgbV, blen, (SQLWCHAR *) rgbValue, cbValueMax / WCLEN); in SQLGetDescFieldW()
191 if (SQL_SUCCESS == ret && blen * WCLEN >= cbValueMax) in SQLGetDescFieldW()
197 *pcbValue = blen * WCLEN; in SQLGetDescFieldW()
306 bMax = cbCharAttrMax * 3 / WCLEN; in SQLColAttributeW()
324 blen = (SQLSMALLINT) utf8_to_ucs2(rgbD, blen, (SQLWCHAR *) pCharAttr, cbCharAttrMax / WCLEN); in SQLColAttributeW()
325 if (SQL_SUCCESS == ret && blen * WCLEN >= cbCharAttrMax) in SQLColAttributeW()
331 *pcbCharAttr = blen * WCLEN; in SQLColAttributeW()
374 bMax = cbDiagInfoMax * 3 / WCLEN + 1; in SQLGetDiagFieldW()
398 if (SQL_SUCCESS == ret && blen * WCLEN >= cbDiagInfoMax) in SQLGetDiagFieldW()
[all …]
H A Dunicode_support.h15 #define WCLEN sizeof(SQLWCHAR) macro
H A Doptions.c589 len = utf8_to_ucs2(p, len, (SQLWCHAR *) pvParam , BufferLength / WCLEN); in PGAPI_GetConnectOption()
590 len *= WCLEN; in PGAPI_GetConnectOption()
H A Dwin_unicode.c1066 count = used / WCLEN; in bindpara_wchar_to_msg()
1067 if (used + WCLEN <= sizeof(ntsbuf)) in bindpara_wchar_to_msg()
1071 if (NULL == (alloc_nts = (SQLWCHAR *) malloc(used + WCLEN))) in bindpara_wchar_to_msg()
H A Dpgtypes.c1107 return prec * WCLEN; in pgtype_attr_buffer_length()
1244 return column_size * WCLEN; in pgtype_attr_transfer_octet_length()
1663 return column_size * WCLEN; in pgtype_transfer_octet_length()
H A Dpsqlodbc.h299 #define WCLEN sizeof(SQLWCHAR) macro
H A Dconvert.c889 return WCLEN; in get_terminator_len()
906 return (len / WCLEN) * WCLEN; in get_adjust_len()
993 len = WCLEN * unicode_count; in setup_getdataclass()
1371 if (rgbValueBindRow && cbValueMax >= WCLEN) in copy_and_convert_field()
1372 memset(rgbValueBindRow, 0, WCLEN); in copy_and_convert_field()
4784 allocbuf = ucs2_to_utf8((SQLWCHAR *) buffer, used > 0 ? used / WCLEN : used, &used, FALSE); in ResolveOneParam()
H A Dexecute.c1602 putlen = WCLEN * ucs2strlen((SQLWCHAR *) rgbValue); in PGAPI_PutData()
H A Dinfo.c1093 len = utf8_to_ucs2(p, len, (SQLWCHAR *) rgbInfoValue, cbInfoValueMax / WCLEN); in PGAPI_GetInfo()
1094 len *= WCLEN; in PGAPI_GetInfo()
1108 len *= WCLEN; in PGAPI_GetInfo()
/dports/archivers/zoo/zoo-2.10.1_4/
H A Dmakelist.c62 #define WCLEN 4 /* length needed for wildcard, and a little extra */ macro
69 this_arg = emalloc (strlen (*argv) + WCLEN);