Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 108) sorted by relevance

12345

/device/google/cuttlefish/host/frontend/adb_connector/
Dadb_connection_maintainer.cpp43 std::string MakeTransportMessage(const std::string& address) { in MakeTransportMessage() argument
44 return MakeMessage("host:transport:" + address); in MakeTransportMessage()
47 std::string MakeConnectMessage(const std::string& address) { in MakeConnectMessage() argument
48 return MakeMessage("host:connect:" + address); in MakeConnectMessage()
51 std::string MakeDisconnectMessage(const std::string& address) { in MakeDisconnectMessage() argument
52 return MakeMessage("host:connect:" + address); in MakeDisconnectMessage()
112 bool AdbConnect(const std::string& address) { in AdbConnect() argument
113 return AdbSendMessage(MakeConnectMessage(address)); in AdbConnect()
116 bool AdbDisconnect(const std::string& address) { in AdbDisconnect() argument
117 return AdbSendMessage(MakeDisconnectMessage(address)); in AdbDisconnect()
[all …]
Dmain.cpp42 void LaunchConnectionMaintainerThread(const std::string& address) { in LaunchConnectionMaintainerThread() argument
43 std::thread(cuttlefish::EstablishAndMaintainConnection, address).detach(); in LaunchConnectionMaintainerThread()
89 for (auto address : ParseAddressList(FLAGS_addresses)) { in main() local
90 LaunchConnectionMaintainerThread(address); in main()
Dadb_connection_maintainer.h20 [[noreturn]] void EstablishAndMaintainConnection(std::string address);
/device/google/contexthub/util/stm32_flash/
Dflash.c80 uint32_t address = 0x08000000; in main() local
107 address); in main()
131 address = strtol(optarg, NULL, 0); in main()
238 write_filename, address); in main()
251 ret = write_memory(handle, address, in main()
255 ret = write_memory(handle, address, in main()
279 ret = read_memory(handle, address, length, buffer); in main()
285 length, read_filename, address); in main()
293 ret = read_memory(handle, address, sizeof(uint32_t), tmp_buf); in main()
302 ret = read_memory(handle, address, in main()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxf-fio.c71 TRACE(CMD, _b("C[%08x]:(%x,%08x,%u)"), msg->id, msg->opcode, msg->address, msg->length); in xf_ipc_send()
115 TRACE(RSP, _b("R[%08x]:(%x,%u,%08x)"), msg->id, msg->opcode, msg->length, msg->address); in xf_ipc_recv()
118 XF_CHK_ERR((*buffer = xf_ipc_a2b(ipc, msg->address)) != (void *)-1, -EBADFD); in xf_ipc_recv()
129 *buffer = xf_ipc_a2b(ipc, temp.address); in xf_ipc_recv()
131 XF_CHK_ERR((*buffer = xf_ipc_a2b(ipc, temp.address)) != (void *)-1, -EBADFD); in xf_ipc_recv()
132 msg->address = temp.address; in xf_ipc_recv()
Dxf-proxy.c57 XF_CHK_ERR((m.address = xf_proxy_b2a(proxy, msg->buffer)) != XF_PROXY_BADADDR, -EINVAL); in xf_proxy_cmd_exec()
69 XF_CHK_ERR((msg->buffer = xf_proxy_a2b(proxy, m.address)) != (void *)-1, -EBADFD); in xf_proxy_cmd_exec()
88 XF_CHK_ERR((msg.address = xf_proxy_b2a(proxy, m->buffer)) != XF_PROXY_BADADDR, -EINVAL);
270 BUG(msg.buffer == (void *)-1, _x("Invalid buffer address: %08x"), m.address); in xf_proxy_thread()
275 TRACE(RSP, _b("R[%08x]:(%08x,%u,%08x)"), m.id, m.opcode, m.length, m.address); in xf_proxy_thread()
551 XF_CHK_ERR((msg.address = xf_proxy_b2a(proxy, buffer)) != XF_PROXY_BADADDR, -EINVAL); in xf_command()
608 b->address = data; in xf_pool_alloc()
/device/linaro/dragonboard/qcom/rmtfs/
Dsharedmem.c23 uint64_t address; member
95 ret = parse_hex_sysattr(dev, "phys_addr", &rmem->address); in rmtfs_mem_open_rfsa()
165 ret = parse_hex_sysattr(dev, "maps/map0/addr", &rmem->address); in rmtfs_mem_open_uio()
230 rmem->address = strtoull(val, &endptr, 16); in rmtfs_mem_open_rfsa()
231 if ((rmem->address == ULLONG_MAX && errno == ERANGE) || endptr == val) { in rmtfs_mem_open_rfsa()
301 base = mmap(0, rmem->size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, rmem->address); in rmtfs_mem_open()
330 return rmem->address; in rmtfs_mem_alloc()
348 if (start < rmem->address || end > rmem->address + rmem->size) in rmtfs_mem_ptr()
351 return (char*)rmem->base + phys_address - rmem->address; in rmtfs_mem_ptr()
366 offset = phys_address - rmem->address; in rmtfs_mem_read()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxf-proxy.h60 uint64_t address; member
77 uint64_t address; member
108 void *address; member
139 return buffer->address; in xf_buffer_data()
208 static inline void * xf_proxy_a2b(xf_proxy_t *proxy, u32 address) in xf_proxy_a2b() argument
210 return xf_ipc_a2b(&proxy->ipc, address); in xf_proxy_a2b()
/device/google/cuttlefish/common/libs/net/
Dnetwork_interface.h68 NetworkInterface& SetAddress(const std::string& address) { in SetAddress() argument
69 ip_address_ = address; in SetAddress()
79 NetworkInterface& SetBroadcastAddress(const std::string& address) { in SetBroadcastAddress() argument
80 bc_address_ = address; in SetBroadcastAddress()
Dnetwork_interface_manager.cpp47 in_addr_t address{inet_addr(interface.Address().c_str())}; in BuildAddrRequest() local
48 request.AddInt(IFA_LOCAL, address); in BuildAddrRequest()
49 request.AddInt(IFA_ADDRESS, address); in BuildAddrRequest()
/device/generic/goldfish/dhcp/client/
Dinterface.cpp29 in_addr_t broadcastFromNetmask(in_addr_t address, in_addr_t netmask) { in broadcastFromNetmask() argument
36 return address | (~netmask); in broadcastFromNetmask()
109 Result Interface::setAddress(in_addr_t address, in_addr_t subnetMask) { in setAddress() argument
130 addRouterAttribute(request, IFA_ADDRESS, &address, sizeof(address)); in setAddress()
131 addRouterAttribute(request, IFA_LOCAL, &address, sizeof(address)); in setAddress()
132 in_addr_t broadcast = broadcastFromNetmask(address, subnetMask); in setAddress()
/device/linaro/hikey/hifi/xaf/host-apf/include/sys/fio/
Dxf-ipc.h60 static inline void * xf_ipc_a2b(xf_proxy_ipc_data_t *ipc, u32 address) in xf_ipc_a2b() argument
62 if (address < XF_CFG_REMOTE_IPC_POOL_SIZE) in xf_ipc_a2b()
63 return (unsigned char *) ipc->shmem + address; in xf_ipc_a2b()
64 else if (address == XF_PROXY_NULL) in xf_ipc_a2b()
/device/generic/goldfish/dhcp/common/
Dutils.cpp19 std::string addrToStr(in_addr_t address) { in addrToStr() argument
21 if (::inet_ntop(AF_INET, &address, buffer, sizeof(buffer)) == nullptr) { in addrToStr()
/device/google/contexthub/firmware/os/core/
Dbl.c75 uint8_t *address; member
136 ((dst < mBlFlashTable[0].address)) || in blProgramFlash()
137 ((dst + length) > (mBlFlashTable[sector_cnt-1].address + in blProgramFlash()
144 if (dst >= mBlFlashTable[i].address && in blProgramFlash()
145 dst < (mBlFlashTable[i].address + mBlFlashTable[i].length)) { in blProgramFlash()
153 offset = (uint32_t)(dst - mBlFlashTable[i].address); in blProgramFlash()
154 ptr = mBlFlashTable[i].address; in blProgramFlash()
159 ptr = mBlFlashTable[i].address; in blProgramFlash()
188 if ((dst >= mBlFlashTable[i].address && in blProgramTypedArea()
189 dst < (mBlFlashTable[i].address + mBlFlashTable[i].length)) || in blProgramTypedArea()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/
Dxf-ipc.h283 static inline void * xf_ipc_a2b(u32 core, u32 address) in xf_ipc_a2b() argument
288 if (address < XF_CFG_REMOTE_IPC_POOL_SIZE) in xf_ipc_a2b()
289 return start + address; in xf_ipc_a2b()
290 else if (address == XF_PROXY_NULL) in xf_ipc_a2b()
/device/google/cuttlefish/common/libs/utils/
Dnetwork.cpp60 bool ParseAddress(const std::string& address, const std::string& separator, in ParseAddress() argument
62 auto components = android::base::Split(address, separator); in ParseAddress()
64 LOG(ERROR) << "Address \"" << address << "\" had wrong number of parts. " in ParseAddress()
80 bool ParseMacAddress(const std::string& address, std::uint8_t mac[6]) { in ParseMacAddress() argument
81 return ParseAddress(address, ":", 6, 16, mac); in ParseMacAddress()
84 bool ParseIpAddress(const std::string& address, std::uint8_t ip[4]) { in ParseIpAddress() argument
85 return ParseAddress(address, ".", 4, 10, ip); in ParseIpAddress()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-proxy.h51 uint64_t address; member
69 uint64_t address; member
/device/google/cuttlefish/host/frontend/gcastv2/https/
DPlainSocket.cpp36 sockaddr *address, in recvfrom() argument
38 return ::recvfrom(fd(), data, size, 0, address, addressLen); in recvfrom()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/board-hikey/
Ddsp_driver_ipc.h35 #define WORD_REF(address) (* ((unsigned int volatile *) (address)))
Dxf-board.h53 #define WORD_REF(address) (* ((unsigned int volatile *) (address))) argument
/device/google/cuttlefish/host/commands/modem_simulator/
Dpdu_parser.cpp206 std::string address; in GetPhoneNumberFromAddress() local
208 address = originator_address_.substr(6); in GetPhoneNumberFromAddress()
210 address = originator_address_.substr(4); in GetPhoneNumberFromAddress()
213 return BCDToString(address); in GetPhoneNumberFromAddress()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
DREADME23 An optional macro is available to specify the I2C address of ISL29034 device.
26 ISL29034_I2C_ADDR /* specify device I2C address */
/device/google/contexthub/firmware/lib/builtins/
DCREDITS.TXT7 beautification by scripts. The fields are: name (N), email (E), web-address
8 (W), PGP key ID and fingerprint (P), description (D), and snail-mail address
/device/generic/goldfish/dhcp/common/include/
Dutils.h23 std::string addrToStr(in_addr_t address);
/device/generic/goldfish-opengl/shared/GoldfishAddressSpace/
DAndroid.bp15 "-DLOG_TAG=\"goldfish-address-space\"",

12345