/system/tpm/trunks/ |
D | error_codes.cc | 194 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/ |
D | cpuconfig.cc | 79 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()
|
D | configreader.cc | 256 std::stringstream ss(contents); in readFile() local 259 std::getline(ss,line,'\n'); in readFile()
|
D | perfprofdcore.cc | 324 std::stringstream ss(dump_output); in get_camera_active() local 326 while (std::getline(ss,line,'\n')) { in get_camera_active()
|
/system/core/libutils/ |
D | Unicode.cpp | 113 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/ |
D | device_class_test.cpp | 35 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/ |
D | httpurl.cpp | 35 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/ |
D | adb_listeners.cpp | 37 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()
|
D | transport_local.cpp | 148 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()
|
D | jdwp_service.cpp | 526 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()
|
D | sockets.cpp | 854 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/ |
D | PropertiesTest.cpp | 40 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/ |
D | ifc_utils.c | 103 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/ |
D | perfprofd_test.cc | 240 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/ |
D | SocketListener.cpp | 202 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/ |
D | machine.cpp | 64 r.cs, r.ss); in dump_registers()
|
/system/extras/perfprofd/quipper/base/ |
D | logging.h | 252 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/ |
D | lmkd.c | 400 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/ |
D | debuggerd.cpp | 827 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/ |
D | inplace_generator_unittest.cc | 81 stringstream ss(stringstream::out); in DumpVect() local 84 ss << *it << ", "; in DumpVect() 86 LOG(INFO) << "{" << ss.str() << "}"; in DumpVect()
|
/system/bt/bta/jv/ |
D | bta_jv_act.c | 2605 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/ |
D | init.rc | 427 mkdir /data/ss 0700 system system
|