Lines Matching defs:ucs
188 ucstooem(char *oem, const smb_wchar_t *ucs, size_t nbytes, uint32_t cpid)
194 if (ucs == NULL || oem == NULL)
200 while (nbytes != 0 && (oemchar = ucspage->value[*ucs]) != 0) {
213 ucs++;
230 oemtoucs(smb_wchar_t *ucs, const char *oem, size_t nwchars, uint32_t cpid)
236 if (ucs == NULL || oem == NULL)
250 *ucs = 0;
255 *ucs = LE_IN16(&oempage->value[oemchar]);
257 *ucs = oempage->value[oemchar];
260 ucs++;
263 *ucs = 0;
287 * Get a pointer to the ucs page for the specific codepage id.