Lines Matching refs:ucs
188 ucstooem(char *oem, const smb_wchar_t *ucs, size_t nbytes, uint32_t cpid) in ucstooem() argument
194 if (ucs == NULL || oem == NULL) in ucstooem()
200 while (nbytes != 0 && (oemchar = ucspage->value[*ucs]) != 0) { in ucstooem()
213 ucs++; in ucstooem()
230 oemtoucs(smb_wchar_t *ucs, const char *oem, size_t nwchars, uint32_t cpid) in oemtoucs() argument
236 if (ucs == NULL || oem == NULL) in oemtoucs()
250 *ucs = 0; in oemtoucs()
255 *ucs = LE_IN16(&oempage->value[oemchar]); in oemtoucs()
257 *ucs = oempage->value[oemchar]; in oemtoucs()
260 ucs++; in oemtoucs()
263 *ucs = 0; in oemtoucs()