Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 25 of 30) sorted by relevance

12

/device/google/cuttlefish_common/common/libs/threads/
Dcuttlefish_thread_test.cpp67 CHECK(busy_ == NULL); in FastThread()
75 CHECK(busy_ == NULL); in FastThread()
77 CHECK(stage_ == 2); in FastThread()
87 CHECK(busy_== NULL); in SlowThread()
89 CHECK(stage_ == 1); in SlowThread()
129 CHECK(signalled_== 1); in SignalThread()
134 CHECK(signalled_ == 2); in SignalThread()
177 CHECK(signalled_ == 2); in SignalThread()
215 CHECK(stage_ == 2); in SignalThread()
224 CHECK(stage_ == 0); in WaitThread()
[all …]
/device/google/cuttlefish_common/common/frontend/socket_vsock_proxy/
Dmain.cpp116 CHECK(packet.IsData()); in VsockToSocket()
142 CHECK(server->IsOpen()) << "Could not start server on " << FLAGS_tcp_port; in host()
147 CHECK(client_socket->IsOpen()) << "error creating client socket"; in host()
204 CHECK(vsock->IsOpen()) << "Could not start server on " << FLAGS_vsock_port; in guest()
208 CHECK(vsock_client->IsOpen()) << "error creating vsock socket"; in guest()
211 CHECK(client->IsOpen()) << "error connecting to guest client"; in guest()
224 CHECK(FLAGS_tcp_port != 0) << "Must specify -tcp_port flag"; in main()
225 CHECK(FLAGS_vsock_port != 0) << "Must specify -vsock_port flag"; in main()
227 CHECK(FLAGS_vsock_guest_cid != 0) << "Must specify -vsock_guest_cid flag"; in main()
/device/google/cuttlefish_common/host/commands/logcat_receiver/
Dmain.cpp37 CHECK(logcat_file->IsOpen()) in main()
49 CHECK(server_fd->IsOpen()) << "Error creating or inheriting logcat server: " in main()
67 CHECK(written == read) in main()
/device/google/cuttlefish_common/common/vsoc/lib/
Dsocket_forward_region_view.cpp54 CHECK(packet != nullptr); in Recv()
59 CHECK(!packet->empty()) << "zero-size data message received"; in Recv()
64 CHECK(!packet.empty()); in Send()
109 CHECK(received_packet_.IsData()); in Recv()
151 CHECK(!saw_end_ || received_packet_.IsRestart()); in CheckPacketForEnd()
Dregion_view.cpp21 CHECK(!thread_.joinable()); in start()
Dsocket_forward_region_view.h103 CHECK(IsBegin()); in port()
/device/linaro/hikey/bluetooth/
Dh4_protocol.cc50 CHECK(!bad_packet_type); in OnPacketReady()
61 CHECK(bytes_read == 1); in OnDataReady()
Dhci_packetizer.cc56 CHECK(bytes_read > 0); in OnDataReady()
75 CHECK(bytes_read > 0); in OnDataReady()
Dbluetooth_hci.cc72 CHECK(static_cast<int>(bytes_read) == tty_bytes); in initialize()
75 CHECK(static_cast<int>(bytes_written) == tty_bytes); in initialize()
/device/google/cuttlefish_common/host/frontend/vnc_server/
Dblackboard.cpp54 CHECK(!clients_.count(conn)); in Register()
62 CHECK(clients_.count(conn)); in Unregister()
67 CHECK(seq_nums.size() == most_recent_stripe_seq_nums_.size()); in NoNewStripesFor()
165 CHECK(clients_.count(conn)); in GetStateForClient()
Dframe_buffer_watcher.cpp75 CHECK(from < raw.size()); in Rotated()
76 CHECK(to < rotated.size()); in Rotated()
98 CHECK(seq_numbers.size() == stripes.size()); in StripesNewerThan()
/device/google/cuttlefish_common/common/frontend/socket_forward_proxy/
Dmain.cpp134 CHECK(packet.IsData()); in ShmToSocket()
261 CHECK(server->IsOpen()) << "Could not start server on port " << host_port; in host_impl()
265 CHECK(client_socket->IsOpen()) << "error creating client socket"; in host_impl()
274 CHECK(!ports.empty()); in host()
294 CHECK(guest_ports.size() == host_ports.size()); in ParsePortsList()
368 CHECK(!FLAGS_guest_ports.empty()) << "Must specify --guest_ports flag"; in main()
369 CHECK(!FLAGS_host_ports.empty()) << "Must specify --host_ports flag"; in main()
/device/google/cuttlefish_common/tools/play_audio/
Dplay_audio.cpp93 CHECK(dec.valid()) << "Could not construct Decoder. Maybe bad frame_rate (" in main()
98 CHECK(dec.valid()) << "decoder in invalid state"; in main()
/device/sample/apps/tv/SetupValidation/
Dgradlew129 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
132 if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
/device/sample/apps/tv/SetupCustomizationSample/
Dgradlew129 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
132 if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dinflate.h45 CHECK, /* i: waiting for 32-bit check value */ enumerator
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
Dinflate.h47 CHECK, /* i: waiting for 32-bit check value */ enumerator
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dinflate.h47 CHECK, /* i: waiting for 32-bit check value */ enumerator
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/
Dmain.cc63 CHECK(usbip_.Init()) << "Could not start USB/IP server"; in main()
/device/google/cuttlefish_common/host/frontend/adb_connector/
Dmain.cpp82 CHECK(!FLAGS_addresses.empty()) << "Must specify --addresses flag"; in main()
/device/google/cuttlefish_common/host/frontend/stream_audio/
Dmain.cpp208 CHECK(enc.valid()) << "Could not construct Encoder. Maybe bad frame_rate (" in HandleClient()
217 CHECK(enc.valid()) << "encoder in invalid state"; in HandleClient()
/device/google/cuttlefish_common/guest/commands/vsock_logcat/
Dmain.cpp100 CHECK(FLAGS_port != 0) << "Port flag is required"; in main()
/device/google/contexthub/util/common/
DJSONObject.cpp38 CHECK(isdigit(data[i])); in parseInt32()
157 CHECK(key.getString(&keyVal)); in Parse()
522 CHECK(in != out->c_str()); in EscapeString()
/device/google/cuttlefish_common/common/libs/tcp_socket/
Dtcp_socket.cpp65 CHECK(total_read == static_cast<ssize_t>(length)); in Recv()
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/vadb/
Dvirtual_adb_client.cpp41 CHECK(vhci_.Init());

12