Lines Matching refs:buf
130 * the collating symbol is converted to multibyte in <buf,size>
132 * -1 syntax error or buf not large enough
134 * or ligature value in buf
138 regcollate(register const char* s, char** e, char* buf, int size)
181 b = buf;
182 x = buf + size - 2;
220 if (b == buf)
230 if (b > buf && *(b - 1) == ' ')
241 if (z = (Ucs_map_t*)dtmatch(local.names, buf))
251 buf[0] = local.a2n[a->code];
253 buf[0] = a->code;
255 buf[r = 1] = 0;
262 if ((r = wcstombs(buf, w, size)) > 0)
276 memcpy(buf, t, n);
277 buf[n] = 0;
282 for (t = buf; isalnum(*t); t++);
297 memcpy(buf, t, n);
298 buf[r = n] = 0;