Lines Matching defs:from
111 __gnu_test::pod_char::char_type::from(const V2& v)
129 __gnu_test::pod_uchar::char_type::from(const V2& v)
184 do_out(state_type& state, const intern_type* from,
189 while (from < from_end && to < to_limit)
191 unsigned char tmp = (state.value ^ from->value);
208 ++from;
211 from_next = from;
213 return (from < from_end) ? partial : ok;
217 do_in(state_type& state, const extern_type* from,
222 while (from < from_end && to < to_limit)
224 unsigned char c = *from;
229 ++from;
236 if (from >= from_end - 2)
238 tmp = (*from++ & 0x7);
239 tmp |= ((*from++ << 3) & 0x38);
240 tmp |= ((*from++ << 6) & 0xc0);
244 if (from >= from_end - 1)
246 tmp = (*from++ & 0xf);
247 tmp |= ((*from++ << 4) & 0xf0);
254 from_next = from;
256 return (from < from_end) ? partial : ok;
292 do_length(state_type& state, const extern_type* from,
295 const extern_type* beg = from;
296 while (from < end)
298 unsigned char c = *from;
303 ++from;
312 if (from >= end - 2)
314 tmp = (*from++ & 0x7);
315 tmp |= ((*from++ << 3) & 0x38);
316 tmp |= ((*from++ << 6) & 0xc0);
320 if (from >= end - 1)
322 tmp = (*from++ & 0xf);
323 tmp |= ((*from++ << 4) & 0xf0);
328 return from - beg;
391 { return __gnu_test::pod_uchar::from<char>(c); }
396 transform(low, high, dest, &__gnu_test::pod_uchar::from<char>);