Lines Matching defs:dot
318 /* If the locale name contains an encoding after the dot, return
320 const char *dot = strchr (locale, '.');
322 if (dot != NULL)
326 dot++;
328 modifier = strchr (dot, '@');
330 return dot;
331 if (modifier - dot < sizeof (buf))
333 memcpy (buf, dot, modifier - dot);
334 buf [modifier - dot] = '\0';
402 /* If the locale name contains an encoding after the dot, return it. */
403 const char *dot = strchr (locale, '.');
405 if (dot != NULL)
409 dot++;
411 modifier = strchr (dot, '@');
413 return dot;
414 if (modifier - dot < sizeof (buf))
416 memcpy (buf, dot, modifier - dot);
417 buf [modifier - dot] = '\0';