Home
last modified time | relevance | path

Searched refs:param_str_value (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/gps/msm8960/utils/
Dloc_cfg.cpp113 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/sdm845/gps/msm8960/utils/
Dloc_cfg.cpp113 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/sdm845/gps/msm8994/utils/
Dloc_cfg.cpp69 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/
Dloc_cfg.cpp69 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/msm8994/utils/
Dloc_cfg.cpp69 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/sdm845/gps/msm8996/utils/
Dloc_cfg.cpp69 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/sdm845/gps/msm8084/utils/
Dloc_cfg.cpp69 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/msm8909w_3100/utils/
Dloc_cfg.cpp69 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/sdm845/gps/utils/
Dloc_cfg.cpp69 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/msm8996/utils/
Dloc_cfg.cpp69 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/msm8998/utils/
Dloc_cfg.cpp69 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/msm8909/utils/
Dloc_cfg.cpp69 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/
Dloc_cfg.cpp69 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/sdm845/gps/msm8909/utils/
Dloc_cfg.cpp69 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/sdm845/gps/msm8998/utils/
Dloc_cfg.cpp69 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/sdm845/gps/sdm845/utils/
Dloc_cfg.cpp72 char* param_str_value; member
124 if (strcmp(config_value->param_str_value, "NULL") == 0) in loc_set_config_entry()
130 config_value->param_str_value, in loc_set_config_entry()
211 config_value.param_str_value = strtok_r(NULL, "=", &lasts); in loc_fill_conf_item()
214 if (config_value.param_str_value) { in loc_fill_conf_item()
217 loc_util_trim_space(config_value.param_str_value); in loc_fill_conf_item()
220 if ((strlen(config_value.param_str_value) >=3) && in loc_fill_conf_item()
221 (config_value.param_str_value[0] == '0') && in loc_fill_conf_item()
222 (tolower(config_value.param_str_value[1]) == 'x')) in loc_fill_conf_item()
225 config_value.param_int_value = (int) strtol(&config_value.param_str_value[2], in loc_fill_conf_item()
[all …]