Home
last modified time | relevance | path

Searched refs:nls (Results 1 – 25 of 89) sorted by relevance

1234

/OK3568_Linux_fs/kernel/fs/nls/
H A Dnls_base.c235 int __register_nls(struct nls_table *nls, struct module *owner) in __register_nls() argument
239 if (nls->next) in __register_nls()
242 nls->owner = owner; in __register_nls()
245 if (nls == *tmp) { in __register_nls()
251 nls->next = tables; in __register_nls()
252 tables = nls; in __register_nls()
258 int unregister_nls(struct nls_table * nls) in unregister_nls() argument
264 if (nls == *tmp) { in unregister_nls()
265 *tmp = nls->next; in unregister_nls()
277 struct nls_table *nls; in find_nls() local
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Decho.c18 char *nls; /* new-line suppression */ in do_echo() local
23 nls = strstr(p, "\\c"); in do_echo()
24 if (nls) { in do_echo()
32 while (nls) { in do_echo()
33 *nls = '\0'; in do_echo()
35 *nls = '\\'; in do_echo()
36 prenls = nls + 2; in do_echo()
37 nls = strstr(prenls, "\\c"); in do_echo()
/OK3568_Linux_fs/kernel/fs/hfsplus/
H A Doptions.c169 if (sbi->nls) { in hfsplus_parse_options()
175 sbi->nls = load_nls(p); in hfsplus_parse_options()
176 if (!sbi->nls) { in hfsplus_parse_options()
205 if (!sbi->nls) { in hfsplus_parse_options()
207 sbi->nls = load_nls("utf8"); in hfsplus_parse_options()
208 if (!sbi->nls) in hfsplus_parse_options()
209 sbi->nls = load_nls_default(); in hfsplus_parse_options()
210 if (!sbi->nls) in hfsplus_parse_options()
232 if (sbi->nls) in hfsplus_show_options()
233 seq_printf(seq, ",nls=%s", sbi->nls->charset); in hfsplus_show_options()
H A Dsuper.c305 unload_nls(sbi->nls); in hfsplus_put_super()
382 struct nls_table *nls = NULL; in hfsplus_fill_super() local
405 nls = sbi->nls; in hfsplus_fill_super()
406 sbi->nls = load_nls("utf8"); in hfsplus_fill_super()
407 if (!sbi->nls) { in hfsplus_fill_super()
588 unload_nls(sbi->nls); in hfsplus_fill_super()
589 sbi->nls = nls; in hfsplus_fill_super()
610 unload_nls(sbi->nls); in hfsplus_fill_super()
611 unload_nls(nls); in hfsplus_fill_super()
H A Dunicode.c127 struct nls_table *nls = HFSPLUS_SB(sb)->nls; in hfsplus_uni2asc() local
193 res = nls->uni2char(c0, op, len); in hfsplus_uni2asc()
236 res = nls->uni2char(cc, op, len); in hfsplus_uni2asc()
259 int size = HFSPLUS_SB(sb)->nls->char2uni(astr, len, uc); in asc2unichar()
/OK3568_Linux_fs/kernel/fs/isofs/
H A Djoliet.c18 uni16_to_x8(unsigned char *ascii, __be16 *uni, int len, struct nls_table *nls) in uni16_to_x8() argument
28 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
44 struct nls_table *nls; in get_joliet_filename() local
47 nls = ISOFS_SB(inode->i_sb)->s_nls_iocharset; in get_joliet_filename()
49 if (!nls) { in get_joliet_filename()
55 de->name_len[0] >> 1, nls); in get_joliet_filename()
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/libfm/libfm-extra/
H A D0001-nls.m4-Take-it-from-gettext-0.15.patch4 Subject: [PATCH] nls.m4: Take it from gettext-0.15
12 m4/nls.m4 | 30 ++++++++++++++++++++++++++++++
14 create mode 100644 m4/nls.m4
16 diff --git a/m4/nls.m4 b/m4/nls.m4
20 +++ b/m4/nls.m4
46 +AC_ARG_ENABLE(nls,
47 +[ --disable-nls do not use Native Language Support],
/OK3568_Linux_fs/kernel/samples/connector/
H A Dcn_test.c22 static struct sock *nls; variable
106 netlink_unicast(nls, skb, 0, 0);
167 if (nls && nls->sk_socket) in cn_test_init()
168 sock_release(nls->sk_socket); in cn_test_init()
179 if (nls && nls->sk_socket) in cn_test_fini()
180 sock_release(nls->sk_socket); in cn_test_fini()
/OK3568_Linux_fs/kernel/drivers/connector/
H A Dconnector.c91 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult()
113 return netlink_broadcast(dev->nls, skb, portid, group, in cn_netlink_send_mult()
115 return netlink_unicast(dev->nls, skb, portid, in cn_netlink_send_mult()
254 dev->nls = netlink_kernel_create(&init_net, NETLINK_CONNECTOR, &cfg); in cn_init()
255 if (!dev->nls) in cn_init()
258 dev->cbdev = cn_queue_alloc_dev("cqueue", dev->nls); in cn_init()
260 netlink_kernel_release(dev->nls); in cn_init()
280 netlink_kernel_release(dev->nls); in cn_fini()
H A Dcn_queue.c112 struct cn_queue_dev *cn_queue_alloc_dev(const char *name, struct sock *nls) in cn_queue_alloc_dev() argument
125 dev->nls = nls; in cn_queue_alloc_dev()
/OK3568_Linux_fs/buildroot/package/ushare/
H A D0001-Don-t-build-po-files-if-NLS-is-disabled.patch41 + --enable-nls) nls="yes"
43 --disable-nls) nls="no"
50 +append_config "NLS=$nls"
H A Dushare.mk24 USHARE_CONF_OPTS += --enable-nls
27 USHARE_CONF_OPTS += --disable-nls
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/xorg-lib/libx11/
H A Ddisable_tests.patch9 diff -Nurd libX11-1.5.0/nls/Makefile.am libX11-1.5.0/nls/Makefile.am
10 --- libX11-1.5.0/nls/Makefile.am 2012-06-02 09:37:18.000000000 +0300
11 +++ libX11-1.5.0/nls/Makefile.am 2013-01-02 16:10:24.960156131 +0200
/OK3568_Linux_fs/kernel/fs/befs/
H A Dlinuxvfs.c188 if (BEFS_SB(sb)->nls) { in befs_lookup()
250 if (BEFS_SB(sb)->nls) { in befs_readdir()
510 struct nls_table *nls = BEFS_SB(sb)->nls; in befs_utf2nls() local
523 if (!nls) { in befs_utf2nls()
542 unilen = nls->uni2char(uni, &result[o], in_len - o); in befs_utf2nls()
555 "cannot be converted to unicode.", nls->charset); in befs_utf2nls()
587 struct nls_table *nls = BEFS_SB(sb)->nls; in befs_nls2utf() local
601 if (!nls) { in befs_nls2utf()
616 unilen = nls->char2uni(&in[i], in_len - i, &uni); in befs_nls2utf()
635 "cannot be converted to unicode.", nls->charset); in befs_nls2utf()
[all …]
/OK3568_Linux_fs/kernel/fs/exfat/
H A Dnls.c405 static int exfat_convert_char_to_ucs2(struct nls_table *nls, in exfat_convert_char_to_ucs2() argument
418 len = nls->char2uni(ch, ch_len, ucs2); in exfat_convert_char_to_ucs2()
429 static int exfat_convert_ucs2_to_char(struct nls_table *nls, in exfat_convert_ucs2_to_char() argument
441 len = nls->uni2char(ucs2, ch, MAX_CHARSET_SIZE); in exfat_convert_ucs2_to_char()
547 struct nls_table *nls = EXFAT_SB(sb)->nls_io; in __exfat_utf16_to_nls() local
554 len = exfat_convert_ucs2_to_char(nls, *uniname, buf, in __exfat_utf16_to_nls()
602 struct nls_table *nls = EXFAT_SB(sb)->nls_io; in exfat_nls_to_ucs2() local
607 i += exfat_convert_char_to_ucs2(nls, p_cstring + i, len - i, in exfat_nls_to_ucs2()
/OK3568_Linux_fs/kernel/fs/ntfs/
H A Dunistr.c248 struct nls_table *nls = vol->nls_map; in ntfs_nlstoucs() local
258 wc_len = nls->char2uni(ins + i, ins_len - i, in ntfs_nlstoucs()
286 "Unicode.", nls->charset); in ntfs_nlstoucs()
325 struct nls_table *nls = vol->nls_map; in ntfs_ucstonls() local
344 retry: wc = nls->uni2char(le16_to_cpu(ins[i]), ns + o, in ntfs_ucstonls()
375 "try to use the mount option nls=utf8.", nls->charset); in ntfs_ucstonls()
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dgettext.bbclass10 return '--disable-nls'
13 return '--disable-nls'
14 return "--enable-nls"
/OK3568_Linux_fs/kernel/fs/vboxsf/
H A Dsuper.c147 sbi->nls = load_nls_default(); in vboxsf_fill_super()
149 sbi->nls = load_nls(nls_name); in vboxsf_fill_super()
151 if (!sbi->nls) { in vboxsf_fill_super()
225 if (sbi->nls) in vboxsf_fill_super()
226 unload_nls(sbi->nls); in vboxsf_fill_super()
272 if (sbi->nls) in vboxsf_put_super()
273 unload_nls(sbi->nls); in vboxsf_put_super()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dnetlink.c315 struct sock *nls; in rdma_nl_net_init() local
317 nls = netlink_kernel_create(net, NETLINK_RDMA, &cfg); in rdma_nl_net_init()
318 if (!nls) in rdma_nl_net_init()
321 nls->sk_sndtimeo = 10 * HZ; in rdma_nl_net_init()
322 rnet->nl_sock = nls; in rdma_nl_net_init()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/gettext/gettext-minimal-0.21/aclocal/
H A Dnls.m41 # nls.m4 serial 6 (gettext-0.20.2)
27 AC_ARG_ENABLE([nls], optenable
28 [ --disable-nls do not use Native Language Support],
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-gnome/gcab/
H A Dgcab_1.4.bb17 ${@bb.utils.contains('USE_NLS', 'yes', 'nls', '', d)} \
21 PACKAGECONFIG[nls] = "-Dnls=true,-Dnls=false"
/OK3568_Linux_fs/kernel/include/linux/
H A Dconnector.h29 struct sock *nls; member
52 struct sock *nls; member
H A Dnls.h53 #define register_nls(nls) __register_nls((nls), THIS_MODULE) argument
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/xorg-lib/
H A Dlibx11-compose-data_1.6.8.bb29 oe_runmake -C nls
33 oe_runmake DESTDIR=${D} -C nls install
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/dos2unix/
H A Ddos2unix_7.4.2.bb22 # need have meta-perl in bblayers.conf before enabling nls in
25 PACKAGECONFIG[nls] = "ENABLE_NLS=1,ENABLE_NLS=,po4a-native"

1234