Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 1323) sorted by relevance

12345678910>>...53

/external/chromium_org/gpu/command_buffer/common/
Dgles2_cmd_format_test_autogen.h18 cmds::ActiveTexture& cmd = *GetBufferAs<cmds::ActiveTexture>(); in TEST_F() local
19 void* next_cmd = cmd.Set(&cmd, static_cast<GLenum>(11)); in TEST_F()
21 cmd.header.command); in TEST_F()
22 EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u); in TEST_F()
23 EXPECT_EQ(static_cast<GLenum>(11), cmd.texture); in TEST_F()
24 CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd)); in TEST_F()
28 cmds::AttachShader& cmd = *GetBufferAs<cmds::AttachShader>(); in TEST_F() local
30 cmd.Set(&cmd, static_cast<GLuint>(11), static_cast<GLuint>(12)); in TEST_F()
32 cmd.header.command); in TEST_F()
33 EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u); in TEST_F()
[all …]
Dgles2_cmd_format_autogen.h17 static const cmd::ArgFlags kArgFlags = cmd::kFixed;
31 void* Set(void* cmd, GLenum _texture) { in Set()
32 static_cast<ValueType*>(cmd)->Init(_texture); in Set()
33 return NextCmdAddress<ValueType>(cmd); in Set()
49 static const cmd::ArgFlags kArgFlags = cmd::kFixed;
64 void* Set(void* cmd, GLuint _program, GLuint _shader) { in Set()
65 static_cast<ValueType*>(cmd)->Init(_program, _shader); in Set()
66 return NextCmdAddress<ValueType>(cmd); in Set()
85 static const cmd::ArgFlags kArgFlags = cmd::kFixed;
101 void* Set(void* cmd, in Set()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c41 dump_SVGA3dVertexDecl(const SVGA3dVertexDecl *cmd) in dump_SVGA3dVertexDecl() argument
43 switch((*cmd).identity.type) { in dump_SVGA3dVertexDecl()
99 _debug_printf("\t\t.identity.type = %i\n", (*cmd).identity.type); in dump_SVGA3dVertexDecl()
102 switch((*cmd).identity.method) { in dump_SVGA3dVertexDecl()
125 _debug_printf("\t\t.identity.method = %i\n", (*cmd).identity.method); in dump_SVGA3dVertexDecl()
128 switch((*cmd).identity.usage) { in dump_SVGA3dVertexDecl()
175 _debug_printf("\t\t.identity.usage = %i\n", (*cmd).identity.usage); in dump_SVGA3dVertexDecl()
178 _debug_printf("\t\t.identity.usageIndex = %u\n", (*cmd).identity.usageIndex); in dump_SVGA3dVertexDecl()
179 _debug_printf("\t\t.array.surfaceId = %u\n", (*cmd).array.surfaceId); in dump_SVGA3dVertexDecl()
180 _debug_printf("\t\t.array.offset = %u\n", (*cmd).array.offset); in dump_SVGA3dVertexDecl()
[all …]
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c41 dump_SVGA3dVertexDecl(const SVGA3dVertexDecl *cmd) in dump_SVGA3dVertexDecl() argument
43 switch((*cmd).identity.type) { in dump_SVGA3dVertexDecl()
99 _debug_printf("\t\t.identity.type = %i\n", (*cmd).identity.type); in dump_SVGA3dVertexDecl()
102 switch((*cmd).identity.method) { in dump_SVGA3dVertexDecl()
125 _debug_printf("\t\t.identity.method = %i\n", (*cmd).identity.method); in dump_SVGA3dVertexDecl()
128 switch((*cmd).identity.usage) { in dump_SVGA3dVertexDecl()
175 _debug_printf("\t\t.identity.usage = %i\n", (*cmd).identity.usage); in dump_SVGA3dVertexDecl()
178 _debug_printf("\t\t.identity.usageIndex = %u\n", (*cmd).identity.usageIndex); in dump_SVGA3dVertexDecl()
179 _debug_printf("\t\t.array.surfaceId = %u\n", (*cmd).array.surfaceId); in dump_SVGA3dVertexDecl()
180 _debug_printf("\t\t.array.offset = %u\n", (*cmd).array.offset); in dump_SVGA3dVertexDecl()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.c106 uint32 cmd, // IN in SVGA3D_FIFOReserve() argument
116 header->id = cmd; in SVGA3D_FIFOReserve()
161 SVGA3dCmdDefineContext *cmd; in SVGA3D_DefineContext() local
163 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DefineContext()
164 SVGA_3D_CMD_CONTEXT_DEFINE, sizeof *cmd, 0); in SVGA3D_DefineContext()
165 if(!cmd) in SVGA3D_DefineContext()
168 cmd->cid = swc->cid; in SVGA3D_DefineContext()
195 SVGA3dCmdDestroyContext *cmd; in SVGA3D_DestroyContext() local
197 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DestroyContext()
198 SVGA_3D_CMD_CONTEXT_DESTROY, sizeof *cmd, 0); in SVGA3D_DestroyContext()
[all …]
Dsvga_draw.c56 hwtnl->cmd.swc = swc; in svga_hwtnl_create()
75 for (i = 0; i < hwtnl->cmd.vdecl_count; i++) in svga_hwtnl_destroy()
76 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], NULL); in svga_hwtnl_destroy()
78 for (i = 0; i < hwtnl->cmd.prim_count; i++) in svga_hwtnl_destroy()
79 pipe_resource_reference(&hwtnl->cmd.prim_ib[i], NULL); in svga_hwtnl_destroy()
105 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_reset_vdecl()
107 for (i = count; i < hwtnl->cmd.vdecl_count; i++) { in svga_hwtnl_reset_vdecl()
108 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], in svga_hwtnl_reset_vdecl()
112 hwtnl->cmd.vdecl_count = count; in svga_hwtnl_reset_vdecl()
121 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_vdecl()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_cmd.c106 uint32 cmd, // IN in SVGA3D_FIFOReserve() argument
116 header->id = cmd; in SVGA3D_FIFOReserve()
161 SVGA3dCmdDefineContext *cmd; in SVGA3D_DefineContext() local
163 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DefineContext()
164 SVGA_3D_CMD_CONTEXT_DEFINE, sizeof *cmd, 0); in SVGA3D_DefineContext()
165 if(!cmd) in SVGA3D_DefineContext()
168 cmd->cid = swc->cid; in SVGA3D_DefineContext()
195 SVGA3dCmdDestroyContext *cmd; in SVGA3D_DestroyContext() local
197 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DestroyContext()
198 SVGA_3D_CMD_CONTEXT_DESTROY, sizeof *cmd, 0); in SVGA3D_DestroyContext()
[all …]
Dsvga_draw.c56 hwtnl->cmd.swc = swc; in svga_hwtnl_create()
75 for (i = 0; i < hwtnl->cmd.vdecl_count; i++) in svga_hwtnl_destroy()
76 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], NULL); in svga_hwtnl_destroy()
78 for (i = 0; i < hwtnl->cmd.prim_count; i++) in svga_hwtnl_destroy()
79 pipe_resource_reference(&hwtnl->cmd.prim_ib[i], NULL); in svga_hwtnl_destroy()
105 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_reset_vdecl()
107 for (i = count; i < hwtnl->cmd.vdecl_count; i++) { in svga_hwtnl_reset_vdecl()
108 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], in svga_hwtnl_reset_vdecl()
112 hwtnl->cmd.vdecl_count = count; in svga_hwtnl_reset_vdecl()
121 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_vdecl()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Drun-command.c18 int start_command(struct child_process *cmd) in start_command() argument
28 need_in = !cmd->no_stdin && cmd->in < 0; in start_command()
31 if (cmd->out > 0) in start_command()
32 close(cmd->out); in start_command()
35 cmd->in = fdin[1]; in start_command()
38 need_out = !cmd->no_stdout in start_command()
39 && !cmd->stdout_to_stderr in start_command()
40 && cmd->out < 0; in start_command()
45 else if (cmd->in) in start_command()
46 close(cmd->in); in start_command()
[all …]
/external/chromium_org/gpu/command_buffer/service/
Dgles2_cmd_decoder_unittest_2_autogen.h18 cmds::Scissor cmd; in TEST_P() local
19 cmd.Init(1, 2, 3, 4); in TEST_P()
20 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
27 cmds::Scissor cmd; in TEST_P() local
28 cmd.Init(1, 2, -1, 4); in TEST_P()
29 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
36 cmds::Scissor cmd; in TEST_P() local
37 cmd.Init(1, 2, 3, -1); in TEST_P()
38 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
48 cmds::StencilFunc cmd; in TEST_P() local
[all …]
Dgles2_cmd_decoder_unittest_1_autogen.h20 cmds::AttachShader cmd; in TEST_P() local
21 cmd.Init(client_program_id_, client_shader_id_); in TEST_P()
22 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
30 cmds::BindBuffer cmd; in TEST_P() local
31 cmd.Init(GL_ARRAY_BUFFER, client_buffer_id_); in TEST_P()
32 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
41 cmds::BindBuffer cmd; in TEST_P() local
42 cmd.Init(GL_ARRAY_BUFFER, kNewClientId); in TEST_P()
43 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
51 cmds::BindBuffer cmd; in TEST_P() local
[all …]
Dgles2_cmd_decoder_unittest_programs.cc59 GetProgramInfoCHROMIUM cmd; in TEST_P() local
60 cmd.Init(client_program_id_, kBucketId); in TEST_P()
61 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
70 GetProgramInfoCHROMIUM cmd; in TEST_P() local
71 cmd.Init(kInvalidClientId, kBucketId); in TEST_P()
72 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
89 GetUniformiv cmd; in TEST_P() local
90 cmd.Init(client_program_id_, in TEST_P()
96 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
105 GetUniformiv cmd; in TEST_P() local
[all …]
Dcommon_decoder_unittest.cc55 return GetCommonCommandName(static_cast<cmd::CommandId>(command_id)); in GetCommandName()
168 error::Error ExecuteCmd(const T& cmd) { in ExecuteCmd() argument
169 COMPILE_ASSERT(T::kArgFlags == cmd::kFixed, Cmd_kArgFlags_not_kFixed); in ExecuteCmd()
170 return decoder_.DoCommand(cmd.kCmdId, in ExecuteCmd()
171 ComputeNumEntries(sizeof(cmd)) - 1, in ExecuteCmd()
172 &cmd); in ExecuteCmd()
176 error::Error ExecuteImmediateCmd(const T& cmd, size_t data_size) { in ExecuteImmediateCmd() argument
177 COMPILE_ASSERT(T::kArgFlags == cmd::kAtLeastN, Cmd_kArgFlags_not_kAtLeastN); in ExecuteImmediateCmd()
178 return decoder_.DoCommand(cmd.kCmdId, in ExecuteImmediateCmd()
179 ComputeNumEntries(sizeof(cmd) + data_size) - 1, in ExecuteImmediateCmd()
[all …]
Dgles2_cmd_decoder_unittest_drawing.cc129 ColorMask cmd; in TEST_P() local
130 cmd.Init(true, true, true, true); in TEST_P()
131 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
180 DepthMask cmd; in TEST_P() local
181 cmd.Init(true); in TEST_P()
182 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
229 StencilMask cmd; in TEST_P() local
230 cmd.Init(kMask); in TEST_P()
231 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
275 ColorMask cmd; in TEST_P() local
[all …]
Dgles2_cmd_decoder_unittest_attribs.cc66 GetVertexAttribPointerv cmd; in TEST_P() local
67 cmd.Init(kIndexToTest, in TEST_P()
71 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
80 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
93 GetVertexAttribPointerv cmd; in TEST_P() local
94 cmd.Init(kIndexToTest, in TEST_P()
98 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
105 cmd.Init(kNumVertexAttribs, in TEST_P()
109 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); in TEST_P()
115 cmd.Init(kIndexToTest, in TEST_P()
[all …]
/external/valgrind/main/coregrind/
Dlink_tool_exe_darwin.in141 my $cmd = "/usr/bin/ld";
143 $cmd = "$cmd -static";
149 $cmd = "$cmd -new_linker";
152 $cmd = "$cmd -arch $archstr";
153 $cmd = "$cmd -macosx_version_min 10.5";
154 $cmd = "$cmd -o $outname";
155 $cmd = "$cmd -u __start -e __start";
161 $cmd = "$cmd -image_base $ala";
162 $cmd = "$cmd -stack_addr $stack_addr_str";
163 $cmd = "$cmd -stack_size $stack_size_str";
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dupdate-w3c-deps29 cmd = CommandRunner(Host(), options)
31 update_repo(cmd, 'web-platform-tests')
32 update_repo(cmd, 'csswg-test')
35 def update_repo(cmd, repo): argument
36 if cmd.options.verbose:
40 cmd.cd('')
41 if cmd.call(['git', 'diff', '--quiet', 'HEAD']):
45 local_blink_commits = cmd.run(['git', 'log', '--oneline', 'origin/master..HEAD'])
46 if local_blink_commits and not cmd.options.allow_local_blink_commits:
52 blink_commitish = cmd.run(['git', 'show-ref', 'HEAD']).split()[0]
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dperf.c30 const char *cmd; member
71 const char *cmd; member
78 if (!prefixcmp(var, "pager.") && !strcmp(var + 6, c->cmd)) in pager_command_config()
84 int check_pager_config(const char *cmd) in check_pager_config() argument
87 c.cmd = cmd; in check_pager_config()
96 if (!prefixcmp(var, "tui.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
98 if (!prefixcmp(var, "gtk.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
107 static int check_browser_config(const char *cmd) in check_browser_config() argument
110 c.cmd = cmd; in check_browser_config()
135 const char *cmd = (*argv)[0]; in handle_options() local
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dr200_state_init.c338 if (r200->hw.set.cmd[SET_RE_CNTL] & R200_STIPPLE_ENABLE) in check_polygon_stipple()
350 OUT_VEC(atom->cmd[MTL_CMD_0], (atom->cmd+1)); in mtl_emit()
351 OUT_SCL2(atom->cmd[MTL_CMD_1], (atom->cmd + 18)); in mtl_emit()
362 OUT_VEC(atom->cmd[LIT_CMD_0], atom->cmd+1); in lit_emit()
363 OUT_SCL(atom->cmd[LIT_CMD_1], atom->cmd+LIT_CMD_1+1); in lit_emit()
374 OUT_VEC(atom->cmd[PTP_CMD_0], atom->cmd+1); in ptp_emit()
375 OUT_VEC(atom->cmd[PTP_CMD_1], atom->cmd+PTP_CMD_1+1); in ptp_emit()
385 OUT_VECLINEAR(atom->cmd[0], atom->cmd+1); in veclinear_emit()
395 OUT_SCL(atom->cmd[0], atom->cmd+1); in scl_emit()
407 OUT_VEC(atom->cmd[0], atom->cmd+1); in vec_emit()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state_init.c338 if (r200->hw.set.cmd[SET_RE_CNTL] & R200_STIPPLE_ENABLE) in check_polygon_stipple()
350 OUT_VEC(atom->cmd[MTL_CMD_0], (atom->cmd+1)); in mtl_emit()
351 OUT_SCL2(atom->cmd[MTL_CMD_1], (atom->cmd + 18)); in mtl_emit()
362 OUT_VEC(atom->cmd[LIT_CMD_0], atom->cmd+1); in lit_emit()
363 OUT_SCL(atom->cmd[LIT_CMD_1], atom->cmd+LIT_CMD_1+1); in lit_emit()
374 OUT_VEC(atom->cmd[PTP_CMD_0], atom->cmd+1); in ptp_emit()
375 OUT_VEC(atom->cmd[PTP_CMD_1], atom->cmd+PTP_CMD_1+1); in ptp_emit()
385 OUT_VECLINEAR(atom->cmd[0], atom->cmd+1); in veclinear_emit()
395 OUT_SCL(atom->cmd[0], atom->cmd+1); in scl_emit()
407 OUT_VEC(atom->cmd[0], atom->cmd+1); in vec_emit()
[all …]
/external/chromium_org/gpu/command_buffer/client/
Dcmd_buffer_helper.h152 COMPILE_ASSERT(T::kArgFlags == cmd::kFixed, Cmd_kArgFlags_not_kFixed); in GetCmdSpace()
162 COMPILE_ASSERT(T::kArgFlags == cmd::kAtLeastN, Cmd_kArgFlags_not_kAtLeastN); in GetImmediateCmdSpace()
172 COMPILE_ASSERT(T::kArgFlags == cmd::kAtLeastN, Cmd_kArgFlags_not_kAtLeastN); in GetImmediateCmdSpaceTotalSize()
189 cmd::Noop* cmd = GetImmediateCmdSpace<cmd::Noop>( in Noop() local
191 if (cmd) { in Noop()
192 cmd->Init(skip_count); in Noop()
197 cmd::SetToken* cmd = GetCmdSpace<cmd::SetToken>(); in SetToken() local
198 if (cmd) { in SetToken()
199 cmd->Init(token); in SetToken()
204 cmd::SetBucketSize* cmd = GetCmdSpace<cmd::SetBucketSize>(); in SetBucketSize() local
[all …]
Dgles2_implementation_unittest_autogen.h18 cmds::AttachShader cmd; in TEST_F() member
21 expected.cmd.Init(1, 2); in TEST_F()
30 cmds::BindBuffer cmd; in TEST_F() member
33 expected.cmd.Init(GL_ARRAY_BUFFER, 2); in TEST_F()
44 cmds::BindFramebuffer cmd; in TEST_F() member
47 expected.cmd.Init(GL_FRAMEBUFFER, 2); in TEST_F()
58 cmds::BindRenderbuffer cmd; in TEST_F() member
61 expected.cmd.Init(GL_RENDERBUFFER, 2); in TEST_F()
72 cmds::BlendColor cmd; in TEST_F() member
75 expected.cmd.Init(1, 2, 3, 4); in TEST_F()
[all …]
/external/wpa_supplicant_8/hostapd/
Dhostapd_cli.c173 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument
184 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command()
187 printf("'%s' command timed out.\n", cmd); in _wpa_ctrl_command()
190 printf("'%s' command failed.\n", cmd); in _wpa_ctrl_command()
201 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument
203 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command()
381 char cmd[256]; in hostapd_cli_cmd_wps_check_pin() local
391 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", in hostapd_cli_cmd_wps_check_pin()
394 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", in hostapd_cli_cmd_wps_check_pin()
396 if (res < 0 || (size_t) res >= sizeof(cmd) - 1) { in hostapd_cli_cmd_wps_check_pin()
[all …]
/external/chromium_org/tools/site_compare/commands/
Dcompare2.py26 cmd = cmdline.AddCommand(
32 cmd.AddArgument(
35 cmd.AddArgument(
38 cmd.AddArgument(
41 cmd.AddArgument(
43 cmd.AddArgument(
45 cmd.AddArgument(
48 cmd.AddArgument(
51 cmd.AddArgument(
53 cmd.AddArgument(
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_state_init.c267 OUT_SCL(atom->cmd[0], atom->cmd+1); in scl_emit()
279 OUT_VEC(atom->cmd[0], atom->cmd+1); in vec_emit()
291 OUT_VEC(atom->cmd[LIT_CMD_0], atom->cmd+1); in lit_emit()
292 OUT_SCL(atom->cmd[LIT_CMD_1], atom->cmd+LIT_CMD_1+1); in lit_emit()
334 atom->cmd[CTX_RB3D_CNTL] &= ~(0xf << 10); in ctx_emit_cs()
336 atom->cmd[CTX_RB3D_CNTL] |= RADEON_COLOR_FORMAT_ARGB8888; in ctx_emit_cs()
339 atom->cmd[CTX_RB3D_CNTL] |= RADEON_COLOR_FORMAT_RGB565; in ctx_emit_cs()
342 atom->cmd[CTX_RB3D_CNTL] |= RADEON_COLOR_FORMAT_ARGB4444; in ctx_emit_cs()
345 atom->cmd[CTX_RB3D_CNTL] |= RADEON_COLOR_FORMAT_ARGB1555; in ctx_emit_cs()
364 atom->cmd[CTX_RB3D_ZSTENCILCNTL] &= ~RADEON_DEPTH_FORMAT_MASK; in ctx_emit_cs()
[all …]

12345678910>>...53