Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 20 of 20) sorted by relevance

/system/libfmq/tests/
Dmq_test.cpp343 MessageQueueSync::MemTransaction tx; in TEST_F() local
344 ASSERT_TRUE(mQueue->beginWrite(dataLen, &tx)); in TEST_F()
346 ASSERT_TRUE(tx.copyTo(data, 0 /* startIdx */, dataLen)); in TEST_F()
352 ASSERT_TRUE(mQueue->beginRead(dataLen, &tx)); in TEST_F()
354 ASSERT_TRUE(tx.copyFrom(readData, 0 /* startIdx */, dataLen)); in TEST_F()
371 MessageQueueSync::MemTransaction tx; in TEST_F() local
372 ASSERT_TRUE(mQueue->beginWrite(dataLen, &tx)); in TEST_F()
374 auto first = tx.getFirstRegion(); in TEST_F()
375 auto second = tx.getSecondRegion(); in TEST_F()
379 uint8_t* ptr = tx.getSlot(i); in TEST_F()
[all …]
Dmsgq_test_client.cpp439 MessageQueueSync::MemTransaction tx; in TEST_F() local
440 ASSERT_TRUE(mQueue->beginRead(dataLen, &tx)); in TEST_F()
442 auto first = tx.getFirstRegion(); in TEST_F()
443 auto second = tx.getSecondRegion(); in TEST_F()
485 MessageQueueSync::MemTransaction tx; in TEST_F() local
486 ASSERT_TRUE(mQueue->beginWrite(dataLen, &tx)); in TEST_F()
488 auto first = tx.getFirstRegion(); in TEST_F()
489 auto second = tx.getSecondRegion(); in TEST_F()
669 MessageQueueSync::MemTransaction tx; in TEST_F() local
670 ASSERT_TRUE(mQueue->beginWrite(mNumMessagesMax, &tx)); in TEST_F()
[all …]
/system/core/libpixelflinger/
Dpicker.cpp135 const texture_t& tx = c->state.texture[i]; in ggl_pick() local
136 if (tx.enable) { in ggl_pick()
138 t |= GGL_BUILD_NEEDS(tx.surface.format, T_FORMAT); in ggl_pick()
139 t |= GGL_BUILD_NEEDS(ggl_env_to_needs(tx.env), T_ENV); in ggl_pick()
141 if (tx.s_coord==GGL_ONE_TO_ONE && tx.t_coord==GGL_ONE_TO_ONE) { in ggl_pick()
146 t |= GGL_BUILD_NEEDS(ggl_wrap_to_needs(tx.s_wrap), T_S_WRAP); in ggl_pick()
147 t |= GGL_BUILD_NEEDS(ggl_wrap_to_needs(tx.t_wrap), T_T_WRAP); in ggl_pick()
149 if (tx.mag_filter == GGL_LINEAR) { in ggl_pick()
152 if (tx.min_filter == GGL_LINEAR) { in ggl_pick()
Dscanline.cpp717 texture_t& tx = c->state.texture[i]; in scanline() local
718 if (!tx.enable) in scanline()
720 texture_iterators_t& ti = tx.iterators; in scanline()
724 if (tx.s_coord != GGL_ONE_TO_ONE) { in scanline()
725 const int w = tx.surface.width; in scanline()
726 u = wrapping(tc[i].s, w, tx.s_wrap); in scanline()
729 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF; in scanline()
733 if (tx.t_coord != GGL_ONE_TO_ONE) { in scanline()
734 const int h = tx.surface.height; in scanline()
735 v = wrapping(tc[i].t, h, tx.t_wrap); in scanline()
[all …]
/system/core/trusty/storage/lib/
Dstorage.c148 struct iovec tx[3] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}, {(void *)name, strlen(name)}}; in storage_open_file() local
152 ssize_t rc = send_reqv(session, tx, 3, rx, 2); in storage_open_file()
170 struct iovec tx[2] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}}; in storage_close_file() local
173 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 1); in storage_close_file()
184 struct iovec tx[3] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}, {(void *)name, strlen(name)}}; in storage_delete_file() local
187 ssize_t rc = send_reqv(session, tx, 3, rx, 1); in storage_delete_file()
195 struct iovec tx[2] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}}; in _read_chunk() local
198 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 2); in _read_chunk()
230 struct iovec tx[3] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}, {(void *)buf, size}}; in _write_req() local
233 ssize_t rc = send_reqv(_to_session(fh), tx, 3, rx, 1); in _write_req()
[all …]
/system/bt/stack/rfcomm/
Dport_utils.cc123 memset(&p_port->tx, 0, sizeof(p_port->tx)); in port_set_defaults()
125 p_port->tx.queue = fixed_queue_new(SIZE_MAX); in port_set_defaults()
215 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->tx.queue)) != in port_release_port()
219 p_port->tx.queue_size = 0; in port_release_port()
237 fixed_queue_free(p_port->tx.queue, nullptr); in port_release_port()
238 p_port->tx.queue = nullptr; in port_release_port()
388 bool fc = p_port->tx.peer_fc || !p_port->rfc.p_mcb || in port_flow_control_user()
390 (p_port->tx.queue_size > PORT_TX_HIGH_WM) || in port_flow_control_user()
391 (fixed_queue_length(p_port->tx.queue) > PORT_TX_BUF_HIGH_WM); in port_flow_control_user()
393 if (p_port->tx.user_fc == fc) return (0); in port_flow_control_user()
[all …]
Dport_api.cc1030 p_status->out_queue_size = (uint16_t)p_port->tx.queue_size; in PORT_GetQueueStatus()
1097 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->tx.queue)) != NULL) in PORT_Purge()
1100 p_port->tx.queue_size = 0; in PORT_Purge()
1287 if (p_port->tx.peer_fc || !p_port->rfc.p_mcb || in port_write()
1292 if ((p_port->tx.queue_size > PORT_TX_CRITICAL_WM) || in port_write()
1293 (fixed_queue_length(p_port->tx.queue) > PORT_TX_BUF_CRITICAL_WM)) { in port_write()
1294 RFCOMM_TRACE_WARNING("PORT_Write: Queue size: %d", p_port->tx.queue_size); in port_write()
1307 p_port->tx.peer_fc, in port_write()
1311 fixed_queue_enqueue(p_port->tx.queue, p_buf); in port_write()
1312 p_port->tx.queue_size += p_buf->len; in port_write()
[all …]
Dport_rfc.cc860 p_port->tx.peer_fc = !enable_data; in PORT_FlowInd()
903 if (p_port->tx.queue_size > 0) { in port_rfc_send_tx_data()
905 while (!p_port->tx.peer_fc && p_port->rfc.p_mcb && in port_rfc_send_tx_data()
910 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->tx.queue); in port_rfc_send_tx_data()
912 p_port->tx.queue_size -= p_buf->len; in port_rfc_send_tx_data()
917 p_port->tx.queue_size); in port_rfc_send_tx_data()
923 if (p_port->tx.queue_size == 0) { in port_rfc_send_tx_data()
1022 if (p_port->credit_tx == 0) p_port->tx.peer_fc = true; in port_get_credits()
Drfc_utils.cc383 if (p_port->tx.peer_fc) PORT_FlowInd(p_port->rfc.p_mcb, p_port->dlci, true); in rfc_inc_credit()
402 if (p_port->credit_tx == 0) p_port->tx.peer_fc = true; in rfc_dec_credit()
Dport_int.h168 tPORT_DATA tx; /* Control block for data from app to peer */ member
Drfc_port_fsm.cc767 if (new_peer_fc != p_port->tx.peer_fc) in rfc_process_msc()
/system/libfmq/include/fmq/
DMessageQueue.h724 MemTransaction tx; in write() local
725 return beginWrite(nMessages, &tx) && in write()
726 tx.copyTo(data, 0 /* startIdx */, nMessages) && in write()
1059 MemTransaction tx; in read() local
1060 return beginRead(nMessages, &tx) && in read()
1061 tx.copyFrom(data, 0 /* startIdx */, nMessages) && in read()
/system/core/liblog/tests/
Dliblog_benchmark.cpp720 log_time tx(eventData + 4 + 1); in BM_log_latency() local
721 if (ts != tx) { in BM_log_latency()
794 log_time tx(eventData + 4 + 1); in BM_log_delay() local
795 if (ts != tx) { in BM_log_delay()
Dliblog_test.cpp239 log_time tx(reinterpret_cast<char*>(&eventData->payload.data)); in TEST()
240 if (ts == tx) { in TEST()
242 } else if (ts1 == tx) { in TEST()
353 log_time tx(reinterpret_cast<char*>(&eventData->payload.data)); in TEST()
354 if (ts == tx) { in TEST()
1736 log_time tx(reinterpret_cast<char*>(&eventData->payload.data)); in count_matching_ts()
1737 if (ts != tx) continue; in count_matching_ts()
2063 log_time tx(reinterpret_cast<char*>(&eventData->payload.data)); in TEST()
2064 if (ts == tx) { in TEST()
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.cpp374 int tx = scratches.obtain(); in build_scanline_prolog() local
376 AND(AL, 0, tx, Rx, imm(GGL_DITHER_MASK)); in build_scanline_prolog()
378 ADD(AL, 0, tx, tx, reg_imm(ty, LSL, GGL_DITHER_ORDER_SHIFT)); in build_scanline_prolog()
379 ORR(AL, 0, parts.count.reg, tx, reg_imm(parts.count.reg, LSL, 16)); in build_scanline_prolog()
/system/core/logd/tests/
Dlogd_test.cpp1015 log_time tx(eventData + 4 + 1); in __android_log_btwrite_multiple__helper() local
1016 if (ts == tx) { in __android_log_btwrite_multiple__helper()
1018 } else if (ts1 == tx) { in __android_log_btwrite_multiple__helper()
/system/core/logcat/tests/
Dlogcat_test.cpp488 log_time tx((const char*)&t); in TEST() local
489 if (ts == tx) { in TEST()
534 log_time tx((const char*)&t); in TEST() local
535 if (ts == tx) { in TEST()
/system/core/logcat/
Devent.logtags107 52001 http_stats (useragent|3),(response|2|3),(processing|2|3),(tx|1|2),(rx|1|2)
/system/bt/stack/l2cap/
Dl2c_api.cc1415 bool L2CA_SetChnlDataRate(uint16_t cid, tL2CAP_CHNL_DATA_RATE tx, in L2CA_SetChnlDataRate() argument
1419 L2CAP_TRACE_API("L2CA_SetChnlDataRate() CID: 0x%04x, tx:%d, rx:%d", cid, tx, in L2CA_SetChnlDataRate()
1430 p_ccb->tx_data_rate = tx; in L2CA_SetChnlDataRate()
/system/bt/stack/include/
Dl2c_api.h816 extern bool L2CA_SetChnlDataRate(uint16_t cid, tL2CAP_CHNL_DATA_RATE tx,