Home
last modified time | relevance | path

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

/device/google/trout/hal/sensors/2.1/
Diio_utils.cpp177 char* pch = strtok_r(const_cast<char*>(line.c_str()), " ,", &rest); in get_sampling_frequency_available() local
178 while (pch != nullptr) { in get_sampling_frequency_available()
179 sfa->push_back(atof(pch)); in get_sampling_frequency_available()
180 pch = strtok_r(nullptr, " ,", &rest); in get_sampling_frequency_available()
205 char* pch = strtok_r(const_cast<char*>(line.c_str()), " ", &rest); in get_sensor_range() local
207 while (pch != nullptr) { in get_sensor_range()
208 range_avail.push_back(pch); in get_sensor_range()
209 pch = strtok_r(nullptr, " ", &rest); in get_sensor_range()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c565 char *pch = NULL; in set_Ip_Addr() local
566 pch = strchr(myaddr, '/'); in set_Ip_Addr()
567 if (pch) { in set_Ip_Addr()
568 *pch = '\0'; in set_Ip_Addr()
569 pfxlen = atoi(++pch); in set_Ip_Addr()