Home
last modified time | relevance | path

Searched refs:kvpair (Results 1 – 2 of 2) sorted by relevance

/system/bt/osi/src/
Dhash_map_utils.c53 char *kvpair = strtok_r(str, ";", &tmpstr); in hash_map_utils_new_from_string_params() local
54 while (kvpair && *kvpair) { in hash_map_utils_new_from_string_params()
55 char *eq = strchr(kvpair, '='); in hash_map_utils_new_from_string_params()
57 if (eq == kvpair) in hash_map_utils_new_from_string_params()
63 key = osi_strndup(kvpair, eq - kvpair); in hash_map_utils_new_from_string_params()
69 key = osi_strdup(kvpair); in hash_map_utils_new_from_string_params()
77 kvpair = strtok_r(NULL, ";", &tmpstr); in hash_map_utils_new_from_string_params()
/system/core/libcutils/
Dstr_parms.c150 char *kvpair; in str_parms_create_str() local
164 kvpair = strtok_r(str, ";", &tmpstr); in str_parms_create_str()
165 while (kvpair && *kvpair) { in str_parms_create_str()
166 char *eq = strchr(kvpair, '='); /* would love strchrnul */ in str_parms_create_str()
171 if (eq == kvpair) in str_parms_create_str()
175 key = strndup(kvpair, eq - kvpair); in str_parms_create_str()
181 key = strdup(kvpair); in str_parms_create_str()
197 kvpair = strtok_r(NULL, ";", &tmpstr); in str_parms_create_str()