/external/u-boot/include/fsl-mc/ |
D | fsl_dprc.h | 38 #define DPRC_RSP_GET_CONTAINER_ID(cmd, container_id) \ argument 39 MC_RSP_OP(cmd, 0, 0, 32, int, container_id) 42 #define DPRC_CMD_OPEN(cmd, container_id) \ argument 43 MC_CMD_OP(cmd, 0, 0, 32, int, container_id) 46 #define DPRC_CMD_CREATE_CONTAINER(cmd, cfg) \ argument 48 MC_CMD_OP(cmd, 0, 32, 16, uint16_t, cfg->icid); \ 49 MC_CMD_OP(cmd, 0, 0, 32, uint32_t, cfg->options); \ 50 MC_CMD_OP(cmd, 1, 32, 32, int, cfg->portal_id); \ 51 MC_CMD_OP(cmd, 2, 0, 8, char, cfg->label[0]);\ 52 MC_CMD_OP(cmd, 2, 8, 8, char, cfg->label[1]);\ [all …]
|
D | fsl_dpni.h | 47 #define DPNI_CMD_OPEN(cmd, dpni_id) \ argument 48 MC_CMD_OP(cmd, 0, 0, 32, int, dpni_id) 75 #define DPNI_CMD_CREATE(cmd, cfg) \ argument 77 MC_CMD_OP(cmd, 0, 0, 32, uint32_t, cfg->adv.options); \ 78 MC_CMD_OP(cmd, 0, 32, 8, uint8_t, cfg->adv.num_queues); \ 79 MC_CMD_OP(cmd, 0, 40, 8, uint8_t, cfg->adv.num_tcs); \ 80 MC_CMD_OP(cmd, 0, 48, 8, uint8_t, cfg->adv.mac_entries); \ 81 MC_CMD_OP(cmd, 1, 0, 8, uint8_t, cfg->adv.vlan_entries); \ 82 MC_CMD_OP(cmd, 1, 16, 8, uint8_t, cfg->adv.qos_entries); \ 83 MC_CMD_OP(cmd, 1, 32, 16, uint8_t, cfg->adv.fs_entries); \ [all …]
|
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_dump.c | 58 dump_SVGA3dVertexDecl(const SVGA3dVertexDecl *cmd) in dump_SVGA3dVertexDecl() argument 60 switch((*cmd).identity.type) { in dump_SVGA3dVertexDecl() 116 _debug_printf("\t\t.identity.type = %i\n", (*cmd).identity.type); in dump_SVGA3dVertexDecl() 119 switch((*cmd).identity.method) { in dump_SVGA3dVertexDecl() 142 _debug_printf("\t\t.identity.method = %i\n", (*cmd).identity.method); in dump_SVGA3dVertexDecl() 145 switch((*cmd).identity.usage) { in dump_SVGA3dVertexDecl() 192 _debug_printf("\t\t.identity.usage = %i\n", (*cmd).identity.usage); in dump_SVGA3dVertexDecl() 195 _debug_printf("\t\t.identity.usageIndex = %u\n", (*cmd).identity.usageIndex); in dump_SVGA3dVertexDecl() 196 _debug_printf("\t\t.array.surfaceId = %u\n", (*cmd).array.surfaceId); in dump_SVGA3dVertexDecl() 197 _debug_printf("\t\t.array.offset = %u\n", (*cmd).array.offset); in dump_SVGA3dVertexDecl() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_cmd.c | 109 uint32 cmd, // IN in SVGA3D_FIFOReserve() argument 119 header->id = cmd; in SVGA3D_FIFOReserve() 122 swc->last_command = cmd; in SVGA3D_FIFOReserve() 168 SVGA3dCmdDefineContext *cmd; in SVGA3D_DefineContext() local 170 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DefineContext() 171 SVGA_3D_CMD_CONTEXT_DEFINE, sizeof *cmd, 0); in SVGA3D_DefineContext() 172 if (!cmd) in SVGA3D_DefineContext() 175 cmd->cid = swc->cid; in SVGA3D_DefineContext() 202 SVGA3dCmdDestroyContext *cmd; in SVGA3D_DestroyContext() local 204 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DestroyContext() [all …]
|
D | svga_cmd_vgpu10.c | 82 SVGA3dCmdDX##CommandName *cmd; \ 84 cmd = SVGA3D_FIFOReserve(swc, SVGA_3D_CMD_DX_##CommandCode, \ 86 if (!cmd) \ 91 SVGA3dCmdDX##CommandName *cmd; \ 94 cmd = SVGA3D_FIFOReserve(swc, SVGA_3D_CMD_DX_##CommandCode, \ 97 if (!cmd) \ 103 cmd->VariableName = VariableName; \ 177 SVGA3dCmdDXPredCopyRegion *cmd = in SVGA3D_vgpu10_PredCopyRegion() local 182 if (!cmd) in SVGA3D_vgpu10_PredCopyRegion() 185 swc->surface_relocation(swc, &cmd->dstSid, NULL, dstSurf, SVGA_RELOC_WRITE); in SVGA3D_vgpu10_PredCopyRegion() [all …]
|
/external/vboot_reference/utility/ |
D | tlcl_generator.c | 56 static void AddVisibleField(Command* cmd, const char* name, int offset) { in AddVisibleField() argument 58 if (cmd->fields != NULL) { in AddVisibleField() 61 fld->next = cmd->fields; in AddVisibleField() 62 cmd->fields = fld; in AddVisibleField() 71 static void AddInitializedField(Command* cmd, int offset, in AddInitializedField() argument 74 fld->next = cmd->fields; in AddInitializedField() 75 cmd->fields = fld; in AddInitializedField() 86 Command* cmd = (Command*) calloc(1, sizeof(Command)); in newCommand() local 87 cmd->size = size; in newCommand() 88 AddInitializedField(cmd, 0, sizeof(TPM_TAG), TPM_TAG_RQU_COMMAND); in newCommand() [all …]
|
/external/u-boot/drivers/net/fsl-mc/ |
D | dpni.c | 36 struct mc_command cmd = { 0 }; in dpni_open() local 40 cmd.header = mc_encode_cmd_header(DPNI_CMDID_OPEN, in dpni_open() 43 DPNI_CMD_OPEN(cmd, dpni_id); in dpni_open() 46 err = mc_send_command(mc_io, &cmd); in dpni_open() 51 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpni_open() 60 struct mc_command cmd = { 0 }; in dpni_close() local 63 cmd.header = mc_encode_cmd_header(DPNI_CMDID_CLOSE, in dpni_close() 68 return mc_send_command(mc_io, &cmd); in dpni_close() 77 struct mc_command cmd = { 0 }; in dpni_create() local 81 cmd.header = mc_encode_cmd_header(DPNI_CMDID_CREATE, in dpni_create() [all …]
|
D | dprc.c | 17 struct mc_command cmd = { 0 }; in dprc_get_container_id() local 21 cmd.header = mc_encode_cmd_header(DPRC_CMDID_GET_CONT_ID, in dprc_get_container_id() 26 err = mc_send_command(mc_io, &cmd); in dprc_get_container_id() 31 DPRC_RSP_GET_CONTAINER_ID(cmd, *container_id); in dprc_get_container_id() 41 struct mc_command cmd = { 0 }; in dprc_open() local 45 cmd.header = mc_encode_cmd_header(DPRC_CMDID_OPEN, cmd_flags, in dprc_open() 47 DPRC_CMD_OPEN(cmd, container_id); in dprc_open() 50 err = mc_send_command(mc_io, &cmd); in dprc_open() 55 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dprc_open() 64 struct mc_command cmd = { 0 }; in dprc_close() local [all …]
|
D | dpmac.c | 19 struct mc_command cmd = { 0 }; in dpmac_open() local 23 cmd.header = mc_encode_cmd_header(DPMAC_CMDID_OPEN, in dpmac_open() 26 DPMAC_CMD_OPEN(cmd, dpmac_id); in dpmac_open() 29 err = mc_send_command(mc_io, &cmd); in dpmac_open() 34 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpmac_open() 43 struct mc_command cmd = { 0 }; in dpmac_close() local 46 cmd.header = mc_encode_cmd_header(DPMAC_CMDID_CLOSE, cmd_flags, in dpmac_close() 50 return mc_send_command(mc_io, &cmd); in dpmac_close() 59 struct mc_command cmd = { 0 }; in dpmac_create() local 63 cmd.header = mc_encode_cmd_header(DPMAC_CMDID_CREATE, in dpmac_create() [all …]
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_cmd.py | 6 from distutils.cmd import Command 19 self.cmd = MyCmd(dist) 23 cmd = self.cmd 24 cmd.not_string_list = ['one', 2, 'three'] 25 cmd.yes_string_list = ['one', 'two', 'three'] 26 cmd.not_string_list2 = object() 27 cmd.yes_string_list2 = 'ok' 28 cmd.ensure_string_list('yes_string_list') 29 cmd.ensure_string_list('yes_string_list2') 32 cmd.ensure_string_list, 'not_string_list') [all …]
|
D | test_build_ext.py | 62 cmd = support.missing_compiler_executable() 63 if cmd is not None: 64 self.skipTest('The %r command is not found' % cmd) 71 cmd = self.build_ext(dist) 72 fixup_build_ext(cmd) 73 cmd.build_lib = self.tmp_dir 74 cmd.build_temp = self.tmp_dir 81 cmd.ensure_finalized() 82 cmd.run() 107 cmd = self.build_ext(dist) [all …]
|
D | test_install.py | 47 cmd = install(dist) 48 cmd.home = destination 49 cmd.ensure_finalized() 51 self.assertEqual(cmd.install_base, destination) 52 self.assertEqual(cmd.install_platbase, destination) 60 check_path(cmd.install_lib, libdir) 61 check_path(cmd.install_platlib, libdir) 62 check_path(cmd.install_purelib, libdir) 63 check_path(cmd.install_headers, 65 check_path(cmd.install_scripts, os.path.join(destination, "bin")) [all …]
|
D | test_build_clib.py | 19 cmd = build_clib(dist) 22 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 'foo') 25 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 30 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 34 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 39 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 45 cmd.check_library_list(libs) 49 cmd = build_clib(dist) 53 cmd.libraries = [('name', {})] 54 self.assertRaises(DistutilsSetupError, cmd.get_source_files) [all …]
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_cmd.py | 6 from distutils.cmd import Command 19 self.cmd = MyCmd(dist) 23 cmd = self.cmd 24 cmd.not_string_list = ['one', 2, 'three'] 25 cmd.yes_string_list = ['one', 'two', 'three'] 26 cmd.not_string_list2 = object() 27 cmd.yes_string_list2 = 'ok' 28 cmd.ensure_string_list('yes_string_list') 29 cmd.ensure_string_list('yes_string_list2') 32 cmd.ensure_string_list, 'not_string_list') [all …]
|
D | test_build_ext.py | 53 cmd = build_ext(dist) 54 support.fixup_build_ext(cmd) 55 cmd.build_lib = self.tmp_dir 56 cmd.build_temp = self.tmp_dir 63 cmd.ensure_finalized() 64 cmd.run() 89 cmd = build_ext(dist) 97 cmd.ensure_finalized() 106 self.assertGreater(len(cmd.library_dirs), 0) 113 cmd = build_ext(dist) [all …]
|
D | test_build_clib.py | 19 cmd = build_clib(dist) 22 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 'foo') 25 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 30 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 34 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 39 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 45 cmd.check_library_list(libs) 49 cmd = build_clib(dist) 53 cmd.libraries = [('name', {})] 54 self.assertRaises(DistutilsSetupError, cmd.get_source_files) [all …]
|
D | test_install_lib.py | 19 cmd = install_lib(dist) 21 cmd.finalize_options() 22 self.assertEqual(cmd.compile, 1) 23 self.assertEqual(cmd.optimize, 0) 26 cmd.optimize = 'foo' 27 self.assertRaises(DistutilsOptionError, cmd.finalize_options) 28 cmd.optimize = '4' 29 self.assertRaises(DistutilsOptionError, cmd.finalize_options) 31 cmd.optimize = '2' 32 cmd.finalize_options() [all …]
|
D | test_install.py | 48 cmd = install(dist) 49 cmd.home = destination 50 cmd.ensure_finalized() 52 self.assertEqual(cmd.install_base, destination) 53 self.assertEqual(cmd.install_platbase, destination) 61 check_path(cmd.install_lib, libdir) 62 check_path(cmd.install_platlib, libdir) 63 check_path(cmd.install_purelib, libdir) 64 check_path(cmd.install_headers, 66 check_path(cmd.install_scripts, os.path.join(destination, "bin")) [all …]
|
D | test_sdist.py | 88 cmd = sdist(dist) 89 cmd.dist_dir = 'dist' 90 return dist, cmd 112 dist, cmd = self.get_cmd() 116 cmd.formats = ['zip'] 118 cmd.ensure_finalized() 119 cmd.run() 138 dist, cmd = self.get_cmd() 141 cmd.formats = ['gztar', 'tar'] 142 cmd.ensure_finalized() [all …]
|
/external/mesa3d/prebuilt-intermediates/main/ |
D | marshal_generated.c | 53 _mesa_unmarshal_MapGrid1d(struct gl_context *ctx, const struct marshal_cmd_MapGrid1d *cmd) in _mesa_unmarshal_MapGrid1d() argument 55 const GLint un = cmd->un; in _mesa_unmarshal_MapGrid1d() 56 const GLdouble u1 = cmd->u1; in _mesa_unmarshal_MapGrid1d() 57 const GLdouble u2 = cmd->u2; in _mesa_unmarshal_MapGrid1d() 65 struct marshal_cmd_MapGrid1d *cmd; in _mesa_marshal_MapGrid1d() local 68 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_MapGrid1d, cmd_size); in _mesa_marshal_MapGrid1d() 69 cmd->un = un; in _mesa_marshal_MapGrid1d() 70 cmd->u1 = u1; in _mesa_marshal_MapGrid1d() 71 cmd->u2 = u2; in _mesa_marshal_MapGrid1d() 91 _mesa_unmarshal_MapGrid1f(struct gl_context *ctx, const struct marshal_cmd_MapGrid1f *cmd) in _mesa_unmarshal_MapGrid1f() argument [all …]
|
/external/icu/icu4j/perf-tests/ |
D | resourcebundleperf.pl | 36 my $cmd = 'java -classpath "classes" '.$TESTCLASS; 41 … "Empty array", ["$cmd TestEmptyArrayJava", "$cmd TestEmptyArrayICU"], 42 …"Empty Explicit String", ["$cmd TestEmptyExplicitStringJava", "$cmd TestEmptyExplicitString… 43 … "Empty String", ["$cmd TestEmptyStringJava", "$cmd TestEmptyStringICU"], 44 … "Get 123", ["$cmd TestGet123Java", "$cmd TestGet123ICU"], 45 … "Get Binary Test", ["$cmd TestGetBinaryTestJava", "$cmd TestGetBinaryTestICU"], 46 … "Get Empty Binary", ["$cmd TestGetEmptyBinaryJava", "$cmd TestGetBinaryTestICU"], 47 … "Get Empty Menu", ["$cmd TestGetEmptyMenuJava", "$cmd TestGetEmptyMenuICU"], 48 … "Get Empty Int", ["$cmd TestGetEmptyIntJava", "$cmd TestGetEmptyIntICU"], 49 …"Get Empty Int Array", ["$cmd TestGetEmptyIntegerArrayJava", "$cmd TestGetEmptyIntegerArra… [all …]
|
/external/python/cpython2/Lib/distutils/ |
D | spawn.py | 18 def spawn(cmd, search_path=1, verbose=0, dry_run=0): argument 36 cmd = list(cmd) 38 _spawn_posix(cmd, search_path, dry_run=dry_run) 40 _spawn_nt(cmd, search_path, dry_run=dry_run) 42 _spawn_os2(cmd, search_path, dry_run=dry_run) 63 def _spawn_nt(cmd, search_path=1, verbose=0, dry_run=0): argument 64 executable = cmd[0] 65 cmd = _nt_quote_args(cmd) 69 log.info(' '.join([executable] + cmd[1:])) 73 rc = os.spawnv(os.P_WAIT, executable, cmd) [all …]
|
/external/u-boot/drivers/net/fsl-mc/dpio/ |
D | dpio.c | 16 struct mc_command cmd = { 0 }; in dpio_open() local 20 cmd.header = mc_encode_cmd_header(DPIO_CMDID_OPEN, in dpio_open() 23 DPIO_CMD_OPEN(cmd, dpio_id); in dpio_open() 26 err = mc_send_command(mc_io, &cmd); in dpio_open() 31 *token = MC_CMD_HDR_READ_TOKEN(cmd.header); in dpio_open() 40 struct mc_command cmd = { 0 }; in dpio_close() local 43 cmd.header = mc_encode_cmd_header(DPIO_CMDID_CLOSE, in dpio_close() 48 return mc_send_command(mc_io, &cmd); in dpio_close() 57 struct mc_command cmd = { 0 }; in dpio_create() local 61 cmd.header = mc_encode_cmd_header(DPIO_CMDID_CREATE, in dpio_create() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_state_init.c | 338 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/main/ |
D | marshal.c | 44 const struct marshal_cmd_Flush *cmd) in _mesa_unmarshal_Flush() argument 54 struct marshal_cmd_Flush *cmd = in _mesa_marshal_Flush() local 57 (void) cmd; in _mesa_marshal_Flush() 77 const struct marshal_cmd_Enable *cmd) in _mesa_unmarshal_Enable() argument 79 const GLenum cap = cmd->cap; in _mesa_unmarshal_Enable() 87 struct marshal_cmd_Enable *cmd; in _mesa_marshal_Enable() local 94 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Enable, in _mesa_marshal_Enable() 95 sizeof(*cmd)); in _mesa_marshal_Enable() 96 cmd->cap = cap; in _mesa_marshal_Enable() 119 const struct marshal_cmd_ShaderSource *cmd) in _mesa_unmarshal_ShaderSource() argument [all …]
|