You've already forked apfs-ucd-parser
mirror of
https://github.com/linux-apfs/apfs-ucd-parser.git
synced 2026-05-01 15:01:06 -07:00
6e11fb3883
Handle ascii characters with the isascii() and tolower() kernel macros, and skip the costly trie searches.
19 lines
437 B
C
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"
|
|
|