Home | History | Annotate | Download | only in strings

Lines Matching defs:Map

379 // Map returns a copy of the string s with all its characters modified
382 func Map(mapping func(rune) rune, s string) string {
447 func ToUpper(s string) string { return Map(unicode.ToUpper, s) }
450 func ToLower(s string) string { return Map(unicode.ToLower, s) }
453 func ToTitle(s string) string { return Map(unicode.ToTitle, s) }
458 return Map(func(r rune) rune { return c.ToUpper(r) }, s)
464 return Map(func(r rune) rune { return c.ToLower(r) }, s)
470 return Map(func(r rune) rune { return c.ToTitle(r) }, s)
504 // Hackish but effective. Depends on Map scanning in order and calling
507 return Map(
596 // most-significant bit of the highest word, map to the full range of all