Lines Matching refs:start
2894 char *start = NULL; in on_cmd_gps_event() local
2902 start = value; in on_cmd_gps_event()
2903 event = strtol(start, &end, 10); in on_cmd_gps_event()
2905 start = end + 1; in on_cmd_gps_event()
2906 status = strtol(start, &end, 10); in on_cmd_gps_event()
3187 char *start; in on_cmd_polte_location() local
3215 start = rsp; in on_cmd_polte_location()
3218 start = strstr(start, ","); in on_cmd_polte_location()
3219 if (start != NULL && start < rsp_end) { in on_cmd_polte_location()
3220 *start = ' '; in on_cmd_polte_location()
3221 start += 1; in on_cmd_polte_location()
3229 } else if (start >= rsp_end) { in on_cmd_polte_location()
3233 start = strstr(start, "\"") + 1; in on_cmd_polte_location()
3234 end = strstr(start, POLTE_LOC_DELIMITER); in on_cmd_polte_location()
3235 if (start > rsp && start < rsp_end && end < rsp_end && end > start) { in on_cmd_polte_location()
3236 memcpy(data.latitude, start, MIN(end - start, sizeof(data.latitude) - 1)); in on_cmd_polte_location()
3241 start = end + strlen(POLTE_LOC_DELIMITER); in on_cmd_polte_location()
3242 end = strstr(start, POLTE_LOC_DELIMITER); in on_cmd_polte_location()
3243 if (start > rsp && start < rsp_end && end < rsp_end && end > start) { in on_cmd_polte_location()
3244 memcpy(data.longitude, start, MIN(end - start, sizeof(data.longitude) - 1)); in on_cmd_polte_location()
3249 start = end + strlen(POLTE_LOC_DELIMITER); in on_cmd_polte_location()
3250 end = strstr(start, POLTE_LOC_DELIMITER); in on_cmd_polte_location()
3251 if (start > rsp && start < rsp_end && end < rsp_end && end > start) { in on_cmd_polte_location()
3252 data.timestamp = (uint32_t)strtoul(start, NULL, 10); in on_cmd_polte_location()
3257 start = end + strlen(POLTE_LOC_DELIMITER); in on_cmd_polte_location()
3258 end = strstr(start, "\""); in on_cmd_polte_location()
3259 if (start > rsp && start < rsp_end && end < rsp_end && end > start) { in on_cmd_polte_location()
3260 memcpy(data.confidence_in_meters, start, in on_cmd_polte_location()
3261 MIN(end - start, sizeof(data.confidence_in_meters) - 1)); in on_cmd_polte_location()