Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 25 of 38) sorted by relevance

12

/system/bt/main/
Dbte_conf.c81strlcpy(record.client_executable_url, config_get_string(config, section_name, "clientExecutableURL… in bte_load_did_conf()
82strlcpy(record.service_description, config_get_string(config, section_name, "serviceDescription", … in bte_load_did_conf()
83strlcpy(record.documentation_url, config_get_string(config, section_name, "documentationURL", ""),… in bte_load_did_conf()
/system/bt/bta/hf_client/
Dbta_hf_client_act.c619 strlcpy(evt.operator.name, name, BTA_HF_CLIENT_OPERATOR_NAME_LEN + 1); in bta_hf_client_operator_name()
642 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_clip()
664 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_ccwa()
716 strlcpy(evt.clcc.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_clcc()
740 strlcpy(evt.cnum.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_cnum()
762 strlcpy(evt.number.number, number, BTA_HF_CLIENT_NUMBER_LEN + 1); in bta_hf_client_binp()
Dbta_hf_client_api.c277 strlcpy(p_buf->str, str, BTA_HF_CLIENT_NUMBER_LEN + 1); in BTA_HfClientSendAT()
/system/core/libsync/
Dsync.c44 strlcpy(data.name, name, sizeof(data.name)); in sync_merge()
110 strlcpy(data.name, name, sizeof(data.name)); in sw_sync_fence_create()
/system/vold/
DLoop.cpp125 strlcpy(buffer, filename, len); in lookupActive()
195 strlcpy(loopDeviceBuffer, filename, len); in create()
215 strlcpy((char*) li.lo_crypt_name, id, LO_NAME_SIZE); in create()
216 strlcpy((char*) li.lo_file_name, loopFile, LO_NAME_SIZE); in create()
DProcess.cpp113 strlcpy(openFilename, link, max); in checkFileDescriptorSymLinks()
143 strlcpy(openFilename, path, max); in checkFileMaps()
DDevmapper.cpp127 size_t ret = strlcpy(io->name, name, sizeof(io->name)); in ioctlInit()
231 strlcpy(tgt->target_type, "crypt", sizeof(tgt->target_type)); in create()
Dvdc.c154 strlcpy(tmp, buffer + offset, sizeof(tmp)); in do_monitor()
Dcryptfs.c458 strlcpy(io->name, name, sizeof(io->name)); in ioctl_init()
573 strlcpy(cached_metadata_fname, real_blkdev, sizeof(cached_metadata_fname)); in get_crypt_ftr_info()
581 strlcpy(cached_metadata_fname, key_loc, sizeof(cached_metadata_fname)); in get_crypt_ftr_info()
1081 strlcpy(tgt->target_type, "req-crypt", DM_MAX_TYPE_NAME); in load_crypto_mapping_table()
1084 strlcpy(tgt->target_type, "crypt", DM_MAX_TYPE_NAME); in load_crypto_mapping_table()
1087 strlcpy(tgt->target_type, "crypt", DM_MAX_TYPE_NAME); in load_crypto_mapping_table()
3052strlcpy((char *)crypt_ftr.crypto_type_name, "aes-cbc-essiv:sha256", MAX_CRYPTO_TYPE_NAME_LEN);
3054 strlcpy((char *)crypt_ftr.crypto_type_name, "aes-xts", MAX_CRYPTO_TYPE_NAME_LEN);
3335 strlcpy(value, persist_data->persist_entry[i].val, PROPERTY_VALUE_MAX);
3361 strlcpy(persist_data->persist_entry[i].val, value, PROPERTY_VALUE_MAX);
[all …]
DExt4Crypt.cpp128 strlcpy(reinterpret_cast<char*>(crypt_ftr.crypto_type_name), in get_crypt_ftr_and_key()
501 strlcpy(value, v.c_str(), len); in e4crypt_get_field()
/system/bt/osi/include/
Dcompat.h30 size_t strlcpy(char *dst, const char *src, size_t siz);
/system/extras/showmap/
Dshowmap.c57 strlcpy(name, line + name_pos, sizeof(name)); in parse_header()
63 strlcpy(name, prev->name, sizeof(name)); in parse_header()
66 strlcpy(name, "[anon]", sizeof(name)); in parse_header()
81 strlcpy(info->name, name, name_size); in parse_header()
/system/core/libcutils/
Dstrlcpy.c33 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
Dashmem-dev.c53 strlcpy(buf, name, sizeof(buf)); in ashmem_create_region()
DAndroid.mk25 strlcpy.c \
Dstr_parms.c276 return strlcpy(val, value, len); in str_parms_get_str()
/system/core/include/cutils/
Dmemory.h35 size_t strlcpy(char *dst, const char *src, size_t size);
/system/bt/osi/src/
Dcompat.c67 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
/system/core/toolbox/
Dlsof.c180 strlcpy(info.user, pw->pw_name, sizeof(info.user)); in lsof_dumpinfo()
208 strlcpy(info.cmdline, basename(cmdline), sizeof(info.cmdline)); in lsof_dumpinfo()
Dmount.c111 strlcpy(loopdev, s + 5, LOOPDEV_MAXLEN); in parse_mount_options()
117 strlcpy(loopdev, DEFAULT_LOOP_DEVICE, LOOPDEV_MAXLEN); in parse_mount_options()
Dls.c178 strlcpy(out, pw->pw_name, out_size); in user2str()
188 strlcpy(out, gr->gr_name, out_size); in group2str()
Dtop.c392 strlcpy(proc->policy, "unk", POLICY_NAME_LEN); in read_policy()
394 strlcpy(proc->policy, get_sched_policy_name(p), POLICY_NAME_LEN); in read_policy()
/system/core/libmemtrack/
Dmemtrack_test.c65 if (strlcpy(buf, unknown_cmdline, (size_t)len) >= (size_t)len) { in getprocname()
/system/core/fs_mgr/
Dfs_mgr.c476 strlcpy(tmp_mnt, rec->mount_point, sizeof(tmp_mnt)); in handle_encryptable()
877 strlcpy(key_loc, fstab->recs[i].key_loc, size); in fs_mgr_get_crypt_info()
880 strlcpy(real_blk_device, fstab->recs[i].blk_device, size); in fs_mgr_get_crypt_info()
/system/core/logd/
DLogAudit.cpp216 strlcpy(newstr + 1, comm, l); in logPrint()

12