• Home
  • Raw
  • Download

Lines Matching refs:vname

720     char kname[128], vname[128];  in clean_newline_char()  local
723 vname[0] = 0; in clean_newline_char()
724 vname_size = sizeof(vname); in clean_newline_char()
726 if(btif_config_get_str("Local", "Adapter", "Name", vname, &vname_size) && in clean_newline_char()
729 if(vname[vname_size - 2] == '\n') in clean_newline_char()
731 bdld("remove newline at the end of the adapter name:%s", vname); in clean_newline_char()
732 vname[vname_size - 2] = 0; in clean_newline_char()
733 btif_config_set_str("Local", "Adapter", "Name", vname); in clean_newline_char()
742 vname_size = sizeof(vname); in clean_newline_char()
743 vname[0] = 0; in clean_newline_char()
744 if(btif_config_get_str("Remote", kname, "Name", vname, &vname_size) && in clean_newline_char()
747 bdld("remote device name:%s", vname); in clean_newline_char()
748 if(vname[vname_size - 2] == '\n') in clean_newline_char()
750 bdld("remove newline at the end of the device name:%s", vname); in clean_newline_char()
751 vname[vname_size - 2] = 0; in clean_newline_char()
752 btif_config_set_str("Remote", kname, "Name", vname); in clean_newline_char()
814 char kname[128], vname[128]; in cfg_test_load() local
826 vname[0] = 0; in cfg_test_load()
827 vname_size = sizeof(vname); in cfg_test_load()
828 … while((vpos = btif_config_next_value(vpos, "Remote Devices", kname, vname, &vname_size)) != -1) in cfg_test_load()
833 int ret = btif_config_get("Remote Devices", kname, vname, v, &vsize, &vtype); in cfg_test_load()
835 ret, kname, vname, v, vsize, vtype); in cfg_test_load()
837 vname[0] = 0; in cfg_test_load()
838 vname_size = sizeof(vname); in cfg_test_load()