Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 22 of 22) sorted by relevance

/system/tpm/trunks/
Derror_codes.cc194 std::stringstream ss; in GetErrorString() local
198 ss << "Resource Manager: "; in GetErrorString()
203 ss << "Parameter "; in GetErrorString()
205 ss << "Session "; in GetErrorString()
207 ss << "Handle "; in GetErrorString()
210 ss << ((error & kFormatOneSubjectMask) >> 8) << ": "; in GetErrorString()
214 ss << error_string; in GetErrorString()
218 ss << "Unknown error: " << error << " (0x" << std::hex << error << ")"; in GetErrorString()
220 return ss.str(); in GetErrorString()
/system/extras/perfprofd/
Dcpuconfig.cc79 std::stringstream ss; in OnlineCore() local
80 ss << SYSFSCPU "/cpu" << i << "/online"; in OnlineCore()
81 FILE *fp = fopen(ss.str().c_str(), "we"); in OnlineCore()
86 W_ALOGW("open failed for %s", ss.str().c_str()); in OnlineCore()
Dconfigreader.cc256 std::stringstream ss(contents); in readFile() local
259 std::getline(ss,line,'\n'); in readFile()
Dperfprofdcore.cc324 std::stringstream ss(dump_output); in get_camera_active() local
326 while (std::getline(ss,line,'\n')) { in get_camera_active()
/system/core/libutils/
DUnicode.cpp113 const char32_t *ss = s; in strlen32() local
114 while ( *ss ) in strlen32()
115 ss++; in strlen32()
116 return ss-s; in strlen32()
121 const char32_t *ss = s; in strnlen32() local
122 while ((maxlen > 0) && *ss) { in strnlen32()
123 ss++; in strnlen32()
126 return ss-s; in strnlen32()
254 const char16_t *ss = s; in strlen16() local
255 while ( *ss ) in strlen16()
[all …]
/system/bt/btcore/test/
Ddevice_class_test.cpp35 std::stringstream ss; in check_bitfield() local
37 ss.str(""); in check_bitfield()
38 ss << std::showbase << std::hex << std::setw(8) << std::setfill('0') << m; in check_bitfield()
39 std::string expected_str = ss.str(); in check_bitfield()
41 ss.str(""); in check_bitfield()
42 ss << std::showbase << std::hex << std::setw(8) << std::setfill('0') << n; in check_bitfield()
43 std::string actual_str = ss.str(); in check_bitfield()
/system/extras/multinetwork/
Dhttpurl.cpp35 Parameters() : ss({}), port("80"), path("/") {} in Parameters()
37 struct sockaddr_storage ss; member
130 memcpy(&(parameters->ss), result[0].ai_addr, result[0].ai_addrlen); in parseUrl()
170 reinterpret_cast<const struct sockaddr *>(&(parameters.ss)), in doHttpQuery()
171 (parameters.ss.ss_family == AF_INET6) in doHttpQuery()
239 parameters.ss.ss_family, in main()
/system/core/adb/
Dadb_listeners.cpp37 sockaddr_storage ss; in ss_listener_event_func() local
38 sockaddr* addrp = reinterpret_cast<sockaddr*>(&ss); in ss_listener_event_func()
39 socklen_t alen = sizeof(ss); in ss_listener_event_func()
62 sockaddr_storage ss; in listener_event_func() local
63 sockaddr* addrp = reinterpret_cast<sockaddr*>(&ss); in listener_event_func()
67 alen = sizeof(ss); in listener_event_func()
Dtransport_local.cpp148 sockaddr_storage ss; in server_socket_thread() local
149 sockaddr *addrp = reinterpret_cast<sockaddr*>(&ss); in server_socket_thread()
168 alen = sizeof(ss); in server_socket_thread()
Djdwp_service.cpp526 sockaddr_storage ss; in jdwp_control_event() local
527 sockaddr* addrp = reinterpret_cast<sockaddr*>(&ss); in jdwp_control_event()
528 socklen_t addrlen = sizeof(ss); in jdwp_control_event()
Dsockets.cpp854 asocket* ss = create_smart_socket(); in connect_to_smartsocket() local
855 s->peer = ss; in connect_to_smartsocket()
856 ss->peer = s; in connect_to_smartsocket()
/system/core/libcutils/tests/
DPropertiesTest.cpp40 std::stringstream ss; in HexString() local
41 ss << "0x" << std::hex << std::uppercase << value; in HexString()
42 return ss.str(); in HexString()
75 std::stringstream ss; in ToString() local
76 ss << value; in ToString()
78 return ss.str(); in ToString()
/system/core/libnetutils/
Difc_utils.c103 int string_to_ip(const char *string, struct sockaddr_storage *ss) { in string_to_ip() argument
107 if (ss == NULL) { in string_to_ip()
118 memcpy(ss, ai->ai_addr, ai->ai_addrlen); in string_to_ip()
263 struct sockaddr_storage ss; in ifc_act_on_address() local
291 ret = string_to_ip(address, &ss); in ifc_act_on_address()
297 if (ss.ss_family == AF_INET) { in ifc_act_on_address()
298 struct sockaddr_in *sin = (struct sockaddr_in *) &ss; in ifc_act_on_address()
301 } else if (ss.ss_family == AF_INET6) { in ifc_act_on_address()
302 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) &ss; in ifc_act_on_address()
319 req.r.ifa_family = ss.ss_family; in ifc_act_on_address()
[all …]
/system/extras/perfprofd/tests/
Dperfprofd_test.cc240 std::stringstream ss; in encodedLoadModuleToString() local
241 ss << "name: \"" << lm.name() << "\"\n"; in encodedLoadModuleToString()
243 ss << "build_id: \"" << lm.build_id() << "\"\n"; in encodedLoadModuleToString()
245 return ss.str(); in encodedLoadModuleToString()
250 std::stringstream ss; in encodedModuleSamplesToString() local
252 ss << "load_module_id: " << mod.load_module_id() << "\n"; in encodedModuleSamplesToString()
255 ss << " address_samples {\n"; in encodedModuleSamplesToString()
259 ss << " address: " << address << "\n"; in encodedModuleSamplesToString()
261 ss << " count: " << sample.count() << "\n"; in encodedModuleSamplesToString()
262 ss << " }\n"; in encodedModuleSamplesToString()
[all …]
/system/core/libsysutils/src/
DSocketListener.cpp202 sockaddr_storage ss; in runListener() local
203 sockaddr* addrp = reinterpret_cast<sockaddr*>(&ss); in runListener()
208 alen = sizeof(ss); in runListener()
/system/core/debuggerd/x86_64/
Dmachine.cpp64 r.cs, r.ss); in dump_registers()
/system/extras/perfprofd/quipper/base/
Dlogging.h252 std::ostringstream ss; in MakeCheckOpString() local
253 ss << names << " (" << v1 << " vs. " << v2 << ")"; in MakeCheckOpString()
254 std::string* msg = new std::string(ss.str()); in MakeCheckOpString()
/system/core/lmkd/
Dlmkd.c400 struct sockaddr_storage ss; in ctrl_connect_handler() local
401 struct sockaddr *addrp = (struct sockaddr *)&ss; in ctrl_connect_handler()
410 alen = sizeof(ss); in ctrl_connect_handler()
/system/core/debuggerd/
Ddebuggerd.cpp827 sockaddr_storage ss; in do_server() local
828 sockaddr* addrp = reinterpret_cast<sockaddr*>(&ss); in do_server()
829 socklen_t alen = sizeof(ss); in do_server()
/system/update_engine/payload_generator/
Dinplace_generator_unittest.cc81 stringstream ss(stringstream::out); in DumpVect() local
84 ss << *it << ", "; in DumpVect()
86 LOG(INFO) << "{" << ss.str() << "}"; in DumpVect()
/system/bt/bta/jv/
Dbta_jv_act.c2605 tBTA_JV_API_L2CAP_SERVER *ss = &(p_data->l2cap_server); in bta_jv_l2cap_start_server_le() local
2613 t = fcclient_alloc(ss->local_chan, TRUE, NULL); in bta_jv_l2cap_start_server_le()
2617 t->p_cback = ss->p_cback; in bta_jv_l2cap_start_server_le()
2618 t->user_data = ss->user_data; in bta_jv_l2cap_start_server_le()
2626 ss->p_cback(BTA_JV_L2CAP_START_EVT, (tBTA_JV *)&evt_data, ss->user_data); in bta_jv_l2cap_start_server_le()
/system/core/rootdir/
Dinit.rc427 mkdir /data/ss 0700 system system