Home
last modified time | relevance | path

Searched refs:cstr (Results 1 – 25 of 54) sorted by relevance

123

/OK3568_Linux_fs/kernel/fs/crypto/
H A Dhooks.c313 struct fscrypt_str cstr, pstr; in fscrypt_get_symlink() local
343 cstr.name = (unsigned char *)sd->encrypted_path; in fscrypt_get_symlink()
344 cstr.len = le16_to_cpu(sd->len); in fscrypt_get_symlink()
346 if (cstr.len == 0) in fscrypt_get_symlink()
349 if (cstr.len + sizeof(*sd) - 1 > max_size) in fscrypt_get_symlink()
352 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr); in fscrypt_get_symlink()
356 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr); in fscrypt_get_symlink()
/OK3568_Linux_fs/u-boot/scripts/
H A Dunpack_bootimg50 def cstr(s): function
208 info.product_name = cstr(unpack('16s',
210 info.cmdline = cstr(unpack('512s', args.boot_img.read(512))[0].decode())
212 info.extra_cmdline = cstr(unpack('1024s',
215 info.cmdline = cstr(unpack('1536s',
382 info.cmdline = cstr(unpack('2048s', args.boot_img.read(2048))[0].decode())
384 info.product_name = cstr(unpack('16s', args.boot_img.read(16))[0].decode())
419 ramdisk_name = cstr(unpack(
/OK3568_Linux_fs/kernel/scripts/
H A Dunpack_bootimg50 def cstr(s): function
214 info.product_name = cstr(unpack('16s',
216 info.cmdline = cstr(unpack('512s', boot_img.read(512))[0].decode())
218 info.extra_cmdline = cstr(unpack('1024s',
221 info.cmdline = cstr(unpack('1536s',
389 info.cmdline = cstr(unpack('2048s', boot_img.read(2048))[0].decode())
391 info.product_name = cstr(unpack('16s', boot_img.read(16))[0].decode())
426 ramdisk_name = cstr(unpack(
/OK3568_Linux_fs/external/xserver/hw/xfree86/parser/
H A Dscan.c1052 const char *cstr; in xf86addComment() local
1067 cstr = add; in xf86addComment()
1069 while (*cstr) { in xf86addComment()
1070 if (*cstr != ' ' && *cstr != '\t') in xf86addComment()
1072 ++cstr; in xf86addComment()
1074 iscomment = (*cstr == '#'); in xf86addComment()
/OK3568_Linux_fs/kernel/scripts/gcc-plugins/
H A Dgcc-common.h172 tree cstr, elem, index, type; in build_const_char_string() local
174 cstr = build_string(len, str); in build_const_char_string()
178 TREE_TYPE(cstr) = type; in build_const_char_string()
179 TREE_CONSTANT(cstr) = 1; in build_const_char_string()
180 TREE_READONLY(cstr) = 1; in build_const_char_string()
181 TREE_STATIC(cstr) = 1; in build_const_char_string()
182 return cstr; in build_const_char_string()
/OK3568_Linux_fs/buildroot/package/transmission/
H A D0001-fix-utypes.patch20 typedef const char * cstr;
/OK3568_Linux_fs/buildroot/package/ibrcommon/
H A D0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch13 However, the std::string.cstr() method returns a const char*.
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-diff.c233 char *cstr = (char *) str; in setup_compute() local
258 cstr = buf; in setup_compute()
262 if (!strcmp(cstr, compute_names[i])) { in setup_compute()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/
H A Drtw_cmd.h587 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Drtw_cmd.h587 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/
H A Drtw_cmd.h683 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/
H A Drtw_cmd.h693 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/
H A Drtw_cmd.h692 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/include/
H A Drtw_cmd.h698 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/
H A Drtw_cmd.h683 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/
H A Drtw_cmd.h683 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_cmd.c4127 static s32 rtw_customer_str_cmd_hdl(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd_hdl() argument
4132 ret = rtw_hal_h2c_customer_str_write(adapter, cstr); in rtw_customer_str_cmd_hdl()
4139 static u8 rtw_customer_str_cmd(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd() argument
4169 _rtw_memcpy(str, cstr, RTW_CUSTOMER_STR_LEN); in rtw_customer_str_cmd()
4207 inline u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr) in rtw_customer_str_write_cmd() argument
4209 return rtw_customer_str_cmd(adapter, 1, cstr); in rtw_customer_str_write_cmd()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/
H A Drtw_cmd.h722 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/
H A Drtw_cmd.h722 u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_cmd.c4696 static s32 rtw_customer_str_cmd_hdl(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd_hdl() argument
4701 ret = rtw_hal_h2c_customer_str_write(adapter, cstr); in rtw_customer_str_cmd_hdl()
4708 static u8 rtw_customer_str_cmd(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd() argument
4738 _rtw_memcpy(str, cstr, RTW_CUSTOMER_STR_LEN); in rtw_customer_str_cmd()
4776 inline u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr) in rtw_customer_str_write_cmd() argument
4778 return rtw_customer_str_cmd(adapter, 1, cstr); in rtw_customer_str_write_cmd()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_cmd.c4888 static s32 rtw_customer_str_cmd_hdl(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd_hdl() argument
4893 ret = rtw_hal_h2c_customer_str_write(adapter, cstr); in rtw_customer_str_cmd_hdl()
4900 static u8 rtw_customer_str_cmd(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd() argument
4930 _rtw_memcpy(str, cstr, RTW_CUSTOMER_STR_LEN); in rtw_customer_str_cmd()
4968 inline u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr) in rtw_customer_str_write_cmd() argument
4970 return rtw_customer_str_cmd(adapter, 1, cstr); in rtw_customer_str_write_cmd()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_cmd.c4969 static s32 rtw_customer_str_cmd_hdl(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd_hdl() argument
4974 ret = rtw_hal_h2c_customer_str_write(adapter, cstr); in rtw_customer_str_cmd_hdl()
4981 static u8 rtw_customer_str_cmd(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd() argument
5011 _rtw_memcpy(str, cstr, RTW_CUSTOMER_STR_LEN); in rtw_customer_str_cmd()
5049 inline u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr) in rtw_customer_str_write_cmd() argument
5051 return rtw_customer_str_cmd(adapter, 1, cstr); in rtw_customer_str_write_cmd()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_cmd.c4890 static s32 rtw_customer_str_cmd_hdl(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd_hdl() argument
4895 ret = rtw_hal_h2c_customer_str_write(adapter, cstr); in rtw_customer_str_cmd_hdl()
4902 static u8 rtw_customer_str_cmd(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd() argument
4932 _rtw_memcpy(str, cstr, RTW_CUSTOMER_STR_LEN); in rtw_customer_str_cmd()
4970 inline u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr) in rtw_customer_str_write_cmd() argument
4972 return rtw_customer_str_cmd(adapter, 1, cstr); in rtw_customer_str_write_cmd()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_cmd.c4576 static s32 rtw_customer_str_cmd_hdl(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd_hdl() argument
4581 ret = rtw_hal_h2c_customer_str_write(adapter, cstr); in rtw_customer_str_cmd_hdl()
4588 static u8 rtw_customer_str_cmd(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd() argument
4618 _rtw_memcpy(str, cstr, RTW_CUSTOMER_STR_LEN); in rtw_customer_str_cmd()
4656 inline u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr) in rtw_customer_str_write_cmd() argument
4658 return rtw_customer_str_cmd(adapter, 1, cstr); in rtw_customer_str_write_cmd()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_cmd.c4692 static s32 rtw_customer_str_cmd_hdl(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd_hdl() argument
4697 ret = rtw_hal_h2c_customer_str_write(adapter, cstr); in rtw_customer_str_cmd_hdl()
4704 static u8 rtw_customer_str_cmd(_adapter *adapter, u8 write, const u8 *cstr) in rtw_customer_str_cmd() argument
4734 _rtw_memcpy(str, cstr, RTW_CUSTOMER_STR_LEN); in rtw_customer_str_cmd()
4772 inline u8 rtw_customer_str_write_cmd(_adapter *adapter, const u8 *cstr) in rtw_customer_str_write_cmd() argument
4774 return rtw_customer_str_cmd(adapter, 1, cstr); in rtw_customer_str_write_cmd()

123