Searched refs:param_str_value (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/gps/msm8960/utils/ |
D | loc_cfg.cpp | 113 char* param_str_value; member 153 if (strcmp(config_value->param_str_value, "NULL") == 0) in loc_set_config_entry() 159 config_value->param_str_value, in loc_set_config_entry() 253 config_value.param_str_value = strtok_r(NULL, "=", &lasts); in loc_read_conf() 254 …if (config_value.param_str_value == NULL) continue; /* skip lines that do not contain two operand… in loc_read_conf() 258 trim_space(config_value.param_str_value); in loc_read_conf() 261 if (config_value.param_str_value[0] == '0' && tolower(config_value.param_str_value[1]) == 'x') in loc_read_conf() 264 … config_value.param_int_value = (int) strtol(&config_value.param_str_value[2], (char**) NULL, 16); in loc_read_conf() 267 config_value.param_double_value = (double) atof(config_value.param_str_value); /* float */ in loc_read_conf() 268 config_value.param_int_value = atoi(config_value.param_str_value); /* dec */ in loc_read_conf()
|
/hardware/qcom/gps/msm8974/utils/ |
D | loc_cfg.cpp | 69 char* param_str_value; member 110 if (strcmp(config_value->param_str_value, "NULL") == 0) in loc_set_config_entry() 116 config_value->param_str_value, in loc_set_config_entry() 197 config_value.param_str_value = strtok_r(NULL, "=", &lasts); in loc_fill_conf_item() 200 if (config_value.param_str_value) { in loc_fill_conf_item() 203 loc_util_trim_space(config_value.param_str_value); in loc_fill_conf_item() 206 if ((strlen(config_value.param_str_value) >=3) && in loc_fill_conf_item() 207 (config_value.param_str_value[0] == '0') && in loc_fill_conf_item() 208 (tolower(config_value.param_str_value[1]) == 'x')) in loc_fill_conf_item() 211 config_value.param_int_value = (int) strtol(&config_value.param_str_value[2], in loc_fill_conf_item() [all …]
|
/hardware/qcom/gps/msm8084/utils/ |
D | loc_cfg.cpp | 69 char* param_str_value; member 110 if (strcmp(config_value->param_str_value, "NULL") == 0) in loc_set_config_entry() 116 config_value->param_str_value, in loc_set_config_entry() 197 config_value.param_str_value = strtok_r(NULL, "=", &lasts); in loc_fill_conf_item() 200 if (config_value.param_str_value) { in loc_fill_conf_item() 203 loc_util_trim_space(config_value.param_str_value); in loc_fill_conf_item() 206 if ((strlen(config_value.param_str_value) >=3) && in loc_fill_conf_item() 207 (config_value.param_str_value[0] == '0') && in loc_fill_conf_item() 208 (tolower(config_value.param_str_value[1]) == 'x')) in loc_fill_conf_item() 211 config_value.param_int_value = (int) strtol(&config_value.param_str_value[2], in loc_fill_conf_item() [all …]
|
/hardware/qcom/gps/utils/ |
D | loc_cfg.cpp | 69 char* param_str_value; member 110 if (strcmp(config_value->param_str_value, "NULL") == 0) in loc_set_config_entry() 116 config_value->param_str_value, in loc_set_config_entry() 197 config_value.param_str_value = strtok_r(NULL, "=", &lasts); in loc_fill_conf_item() 200 if (config_value.param_str_value) { in loc_fill_conf_item() 203 loc_util_trim_space(config_value.param_str_value); in loc_fill_conf_item() 206 if ((strlen(config_value.param_str_value) >=3) && in loc_fill_conf_item() 207 (config_value.param_str_value[0] == '0') && in loc_fill_conf_item() 208 (tolower(config_value.param_str_value[1]) == 'x')) in loc_fill_conf_item() 211 config_value.param_int_value = (int) strtol(&config_value.param_str_value[2], in loc_fill_conf_item() [all …]
|