Home
last modified time | relevance | path

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

/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_event_test.cpp233 std::string portStr = UsbSubscriberTest::eventData_.GetData(); variable
234 std::cout << portStr << std::endl;
239 …auto parseResult = reader->parse(portStr.c_str(), portStr.c_str() + portStr.length(), &portJson, &…
267 std::string portStr = UsbSubscriberTest::eventData_.GetData(); variable
268 std::cout << portStr << std::endl;
273 …auto parseResult = reader->parse(portStr.c_str(), portStr.c_str() + portStr.length(), &portJson, &…
/base/startup/init/services/loopevent/socket/
Dle_socket.c91 const char *portStr = strstr(server, ":"); in GetSockaddrFromServer_() local
92 LE_CHECK(portStr != NULL, return LE_FAILURE, "Failed to get addr %s", server); in GetSockaddrFromServer_()
93 uint16_t port = atoi(portStr + 1); in GetSockaddrFromServer_()