Files
Ernesto A. Fernández 6e11fb3883 Optimize normalization for the ascii case
Handle ascii characters with the isascii() and tolower() kernel macros,
and skip the costly trie searches.
2018-06-09 22:38:05 -03:00

19 lines
437 B
C

// SPDX-License-Identifier: GPL-2.0
/*
* linux/fs/apfs/unicode.c
*
* Copyright (C) 2018 Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com>
*
* Routines and data for the normalization of unicode strings.
* Somewhat based on linux/fs/hfsplus/unicode.c
*/
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/nls.h>
#include <linux/ctype.h>
#include "unicode.h"