Searched refs:WCLEN (Results 1 – 10 of 10) sorted by relevance
/dports/databases/postgresql-odbc/psqlodbc-13.02.0000/ |
H A D | odbcapi30w.c | 173 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 D | unicode_support.h | 15 #define WCLEN sizeof(SQLWCHAR) macro
|
H A D | options.c | 589 len = utf8_to_ucs2(p, len, (SQLWCHAR *) pvParam , BufferLength / WCLEN); in PGAPI_GetConnectOption() 590 len *= WCLEN; in PGAPI_GetConnectOption()
|
H A D | win_unicode.c | 1066 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 D | pgtypes.c | 1107 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 D | psqlodbc.h | 299 #define WCLEN sizeof(SQLWCHAR) macro
|
H A D | convert.c | 889 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 D | execute.c | 1602 putlen = WCLEN * ucs2strlen((SQLWCHAR *) rgbValue); in PGAPI_PutData()
|
H A D | info.c | 1093 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 D | makelist.c | 62 #define WCLEN 4 /* length needed for wildcard, and a little extra */ macro 69 this_arg = emalloc (strlen (*argv) + WCLEN);
|