Searched refs:to_send (Results 1 – 5 of 5) sorted by relevance
/external/dbus/dbus/ |
D | dbus-auth-script.c | 478 DBusString to_send; in _dbus_auth_script_run() local 482 if (!_dbus_string_init (&to_send)) in _dbus_auth_script_run() 488 if (!append_quoted_string (&to_send, &line)) in _dbus_auth_script_run() 492 _dbus_string_free (&to_send); in _dbus_auth_script_run() 496 _dbus_verbose ("Sending '%s'\n", _dbus_string_get_const_data (&to_send)); in _dbus_auth_script_run() 498 if (!_dbus_string_append (&to_send, "\r\n")) in _dbus_auth_script_run() 502 _dbus_string_free (&to_send); in _dbus_auth_script_run() 510 if (_dbus_string_find (&to_send, 0, in _dbus_auth_script_run() 518 _dbus_string_free (&to_send); in _dbus_auth_script_run() 526 _dbus_string_free (&to_send); in _dbus_auth_script_run() [all …]
|
/external/chromium/chrome/browser/ |
D | process_singleton_win.cc | 92 std::wstring to_send(L"START\0", 6); // want the NULL in the string. in NotifyOtherProcess() local 96 to_send.append(cur_dir.value()); in NotifyOtherProcess() 97 to_send.append(L"\0", 1); // Null separator. in NotifyOtherProcess() 98 to_send.append(GetCommandLineW()); in NotifyOtherProcess() 99 to_send.append(L"\0", 1); // Null separator. in NotifyOtherProcess() 115 cds.cbData = static_cast<DWORD>((to_send.length() + 1) * sizeof(wchar_t)); in NotifyOtherProcess() 116 cds.lpData = const_cast<wchar_t*>(to_send.c_str()); in NotifyOtherProcess()
|
D | process_singleton_linux.cc | 832 std::string to_send(kStartToken); in NotifyOtherProcessWithTimeout() local 833 to_send.push_back(kTokenDelimiter); in NotifyOtherProcessWithTimeout() 838 to_send.append(current_dir.value()); in NotifyOtherProcessWithTimeout() 843 to_send.push_back(kTokenDelimiter); in NotifyOtherProcessWithTimeout() 844 to_send.append(*it); in NotifyOtherProcessWithTimeout() 848 if (!WriteToSocket(socket.fd(), to_send.data(), to_send.length())) { in NotifyOtherProcessWithTimeout()
|
/external/dbus/bus/ |
D | connection.c | 1917 MessageToSend *to_send) in message_to_send_free() argument 1919 if (to_send->message) in message_to_send_free() 1920 dbus_message_unref (to_send->message); in message_to_send_free() 1922 if (to_send->preallocated) in message_to_send_free() 1923 dbus_connection_free_preallocated_send (connection, to_send->preallocated); in message_to_send_free() 1925 dbus_free (to_send); in message_to_send_free() 2033 MessageToSend *to_send; in bus_transaction_send() local 2058 to_send = dbus_new (MessageToSend, 1); in bus_transaction_send() 2059 if (to_send == NULL) in bus_transaction_send() 2064 to_send->preallocated = dbus_connection_preallocate_send (connection); in bus_transaction_send() [all …]
|
/external/qemu/android/ |
D | android-device.c | 533 _android_dev_socket_send(AndroidDevSocket* ads, const char* buff, int to_send) in _android_dev_socket_send() argument 547 int res = socket_send(ads->fd, buff + sent, to_send - sent); in _android_dev_socket_send() 572 } while (sent < to_send); in _android_dev_socket_send() 1158 AsyncSendBuffer* to_send = adsevent->send_pending; in _on_event_socket_io() local 1159 const int offset = to_send->data_size - to_send->data_remaining; in _on_event_socket_io() 1160 const int sent = socket_send(ads->fd, to_send->data + offset, in _on_event_socket_io() 1161 to_send->data_remaining); in _on_event_socket_io() 1181 } else if (sent == to_send->data_remaining) { in _on_event_socket_io() 1184 adsevent->send_pending = to_send->next; in _on_event_socket_io() 1185 _async_send_buffer_complete(to_send, ATR_SUCCESS); in _on_event_socket_io() [all …]
|