Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dhash_map_utils.cc43 char* kvpair = strtok_r(str, ";", &tmpstr); in hash_map_utils_new_from_string_params() local
44 while (kvpair && *kvpair) { in hash_map_utils_new_from_string_params()
45 char* eq = strchr(kvpair, '='); in hash_map_utils_new_from_string_params()
47 if (eq == kvpair) goto next_pair; in hash_map_utils_new_from_string_params()
52 key = osi_strndup(kvpair, eq - kvpair); in hash_map_utils_new_from_string_params()
58 key = osi_strdup(kvpair); in hash_map_utils_new_from_string_params()
69 kvpair = strtok_r(NULL, ";", &tmpstr); in hash_map_utils_new_from_string_params()
/system/core/libcutils/
Dstr_parms.cpp143 char *kvpair; in str_parms_create_str() local
157 kvpair = strtok_r(str, ";", &tmpstr); in str_parms_create_str()
158 while (kvpair && *kvpair) { in str_parms_create_str()
159 char *eq = strchr(kvpair, '='); /* would love strchrnul */ in str_parms_create_str()
164 if (eq == kvpair) in str_parms_create_str()
168 key = strndup(kvpair, eq - kvpair); in str_parms_create_str()
174 key = strdup(kvpair); in str_parms_create_str()
190 kvpair = strtok_r(NULL, ";", &tmpstr); in str_parms_create_str()