Lines Matching defs:ucs
186 ucstooem(char *oem, const smb_wchar_t *ucs, size_t nbytes, uint32_t cpid)
192 if (ucs == NULL || oem == NULL)
198 while (nbytes != 0 && (oemchar = ucspage->value[*ucs]) != 0) {
211 ucs++;
228 oemtoucs(smb_wchar_t *ucs, const char *oem, size_t nwchars, uint32_t cpid)
234 if (ucs == NULL || oem == NULL)
248 *ucs = 0;
253 *ucs = LE_IN16(&oempage->value[oemchar]);
255 *ucs = oempage->value[oemchar];
258 ucs++;
261 *ucs = 0;
285 * Get a pointer to the ucs page for the specific codepage id.