Home
last modified time | relevance | path

Searched refs:cmd_size (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/gpu/command_buffer/client/
Dcmd_buffer_helper_test.cc154 void AddUniqueCommandWithExpect(error::Error _return, int cmd_size) { in AddUniqueCommandWithExpect() argument
155 EXPECT_GE(cmd_size, 1); in AddUniqueCommandWithExpect()
156 EXPECT_LT(cmd_size, kTotalNumCommandEntries); in AddUniqueCommandWithExpect()
157 int arg_count = cmd_size - 1; in AddUniqueCommandWithExpect()
173 void TestCommandWrappingFull(int32 cmd_size, int32 start_commands) { in TestCommandWrappingFull() argument
174 const int32 num_args = cmd_size - 1; in TestCommandWrappingFull()
175 EXPECT_EQ(kTotalNumCommandEntries % cmd_size, 0); in TestCommandWrappingFull()
190 (start_commands * cmd_size) % kTotalNumCommandEntries); in TestCommandWrappingFull()
192 (start_commands * cmd_size) % kTotalNumCommandEntries); in TestCommandWrappingFull()
198 for (int32 ii = 0; ii < kTotalNumCommandEntries / cmd_size + 2; ++ii) { in TestCommandWrappingFull()
/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_api.c585 UINT16 cmd_size, in NFA_HciSendCommand() argument
602 if ((cmd_size && (p_data == NULL)) || (cmd_size > NFA_MAX_HCI_CMD_LEN)) in NFA_HciSendCommand()
604 NFA_TRACE_API1 ("NFA_HciSendCommand (): Invalid cmd size:0x%02x", cmd_size); in NFA_HciSendCommand()
618 p_msg->cmd_len = cmd_size; in NFA_HciSendCommand()
620 if (cmd_size) in NFA_HciSendCommand()
621 memcpy (p_msg->data, p_data, cmd_size); in NFA_HciSendCommand()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_ioctl.h104 rmesa->hw.ATOM.cmd_size * 4)
110 if (memcmp(atom->cmd, atom->lastcmd, atom->cmd_size*4)) { in R200_DB_STATECHANGE()
Dradeon_queryobj.h44 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
Dr200_state_init.c226 return (FLAG) ? atom->cmd_size + (ADD) : 0; \
233 …return (!rmesa->radeon.TclFallback && !ctx->VertexProgram._Enabled && (FLAG)) ? atom->cmd_size + (…
240 return (!rmesa->radeon.TclFallback && (FLAG)) ? atom->cmd_size + (ADD) : 0; \
248 …return (!rmesa->radeon.TclFallback && ctx->VertexProgram._Enabled && (FLAG)) ? atom->cmd_size + (A…
331 return atom->cmd_size; in check_rrb()
339 return atom->cmd_size; in check_polygon_stipple()
429 if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM) in check_always_ctx()
516 if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM) { in ctx_emit_cs()
526 uint32_t dwords = atom->cmd_size + 2; in get_tex_mm_size()
570 if (!r200->state.texture.unit[i].unitneeded && !(dwords <= atom->cmd_size)) in tex_emit_mm()
[all …]
Dradeon_common.c445 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
448 if (dwords > state->cmd_size) in radeon_print_state_atom()
449 dwords = state->cmd_size; in radeon_print_state_atom()
Dradeon_queryobj.c201 return atom->cmd_size; in radeon_check_query_active()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dr200_ioctl.h104 rmesa->hw.ATOM.cmd_size * 4)
110 if (memcmp(atom->cmd, atom->lastcmd, atom->cmd_size*4)) { in R200_DB_STATECHANGE()
Dradeon_queryobj.h44 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
Dr200_state_init.c226 return (FLAG) ? atom->cmd_size + (ADD) : 0; \
233 …return (!rmesa->radeon.TclFallback && !ctx->VertexProgram._Enabled && (FLAG)) ? atom->cmd_size + (…
240 return (!rmesa->radeon.TclFallback && (FLAG)) ? atom->cmd_size + (ADD) : 0; \
248 …return (!rmesa->radeon.TclFallback && ctx->VertexProgram._Enabled && (FLAG)) ? atom->cmd_size + (A…
331 return atom->cmd_size; in check_rrb()
339 return atom->cmd_size; in check_polygon_stipple()
429 if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM) in check_always_ctx()
516 if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM) { in ctx_emit_cs()
526 uint32_t dwords = atom->cmd_size + 2; in get_tex_mm_size()
570 if (!r200->state.texture.unit[i].unitneeded && !(dwords <= atom->cmd_size)) in tex_emit_mm()
[all …]
Dradeon_common.c445 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
448 if (dwords > state->cmd_size) in radeon_print_state_atom()
449 dwords = state->cmd_size; in radeon_print_state_atom()
Dradeon_queryobj.c201 return atom->cmd_size; in radeon_check_query_active()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_ioctl.h111 rmesa->hw.ATOM.cmd_size * 4)
116 if (memcmp(atom->cmd, atom->lastcmd, atom->cmd_size*4)) { in RADEON_DB_STATECHANGE()
Dradeon_queryobj.h44 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
Dradeon_common.c445 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
448 if (dwords > state->cmd_size) in radeon_print_state_atom()
449 dwords = state->cmd_size; in radeon_print_state_atom()
Dradeon_state_init.c191 return FLAG ? atom->cmd_size + (ADD) : 0; \
198 return (!rmesa->radeon.TclFallback && (FLAG)) ? atom->cmd_size + (ADD) : 0; \
455 uint32_t dwords = atom->cmd_size; in tex_emit_cs()
516 rmesa->hw.ATOM.cmd_size = SZ; \ in radeonInitState()
Dradeon_queryobj.c201 return atom->cmd_size; in radeon_check_query_active()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_ioctl.h111 rmesa->hw.ATOM.cmd_size * 4)
116 if (memcmp(atom->cmd, atom->lastcmd, atom->cmd_size*4)) { in RADEON_DB_STATECHANGE()
Dradeon_queryobj.h44 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
Dradeon_common.c445 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
448 if (dwords > state->cmd_size) in radeon_print_state_atom()
449 dwords = state->cmd_size; in radeon_print_state_atom()
Dradeon_state_init.c191 return FLAG ? atom->cmd_size + (ADD) : 0; \
198 return (!rmesa->radeon.TclFallback && (FLAG)) ? atom->cmd_size + (ADD) : 0; \
455 uint32_t dwords = atom->cmd_size; in tex_emit_cs()
516 rmesa->hw.ATOM.cmd_size = SZ; \ in radeonInitState()
Dradeon_queryobj.c201 return atom->cmd_size; in radeon_check_query_active()
/external/fio/
Dserver.c212 size_t cmd_size = 0, pdu_offset = 0; in fio_net_recv_cmd() local
229 cmd_size = sizeof(cmd) + cmd.pdu_len + 1; in fio_net_recv_cmd()
232 cmd_size += cmd.pdu_len; in fio_net_recv_cmd()
234 if (cmd_size / 1024 > FIO_SERVER_MAX_CMD_MB * 1024) { in fio_net_recv_cmd()
235 log_err("fio: cmd+pdu too large (%llu)\n", (unsigned long long) cmd_size); in fio_net_recv_cmd()
240 tmp = realloc(cmdret, cmd_size); in fio_net_recv_cmd()
/external/libnfc-nci/src/nfa/include/
Dnfa_hci_api.h491 UINT16 cmd_size,
/external/lldb/source/Host/macosx/
DSymbols.cpp121 uint32_t cmd_size = data.GetU32(&data_offset); in SkinnyMachOFileContainsArchAndUUID() local
129 data_offset = cmd_offset + cmd_size; in SkinnyMachOFileContainsArchAndUUID()

12