/external/virglrenderer/tests/ |
D | test_fuzzer_formats.c | 120 uint32_t cmd[VIRGL_CMD_BLIT_SIZE + 1]; in test_format_wrong_size() local 123 cmd[i++] = VIRGL_CMD_BLIT_SIZE << 16 | 0 << 8 | VIRGL_CCMD_BLIT; in test_format_wrong_size() 124 cmd[i++] = 0x8000001; // s0 in test_format_wrong_size() 125 cmd[i++] = 0; // minxy in test_format_wrong_size() 126 cmd[i++] = 0; // maxxy in test_format_wrong_size() 127 cmd[i++] = 10; //dhandle in test_format_wrong_size() 128 cmd[i++] = 0; // dlevel in test_format_wrong_size() 129 cmd[i++] = 0x1000029; //dformat in test_format_wrong_size() 130 cmd[i++] = 0; //dx in test_format_wrong_size() 131 cmd[i++] = 0; // dy in test_format_wrong_size() [all …]
|
/external/iptables/iptables/ |
D | nft-cmd.c | 23 struct nft_cmd *cmd; in nft_cmd_new() local 25 cmd = calloc(1, sizeof(struct nft_cmd)); in nft_cmd_new() 26 if (!cmd) in nft_cmd_new() 29 cmd->command = command; in nft_cmd_new() 30 cmd->table = strdup(table); in nft_cmd_new() 32 cmd->chain = strdup(chain); in nft_cmd_new() 33 cmd->rulenum = rulenum; in nft_cmd_new() 34 cmd->verbose = verbose; in nft_cmd_new() 41 cmd->obj.rule = rule; in nft_cmd_new() 44 cmd->jumpto = strdup(state->jumpto); in nft_cmd_new() [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/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/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/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 | 56 cmd = support.missing_compiler_executable() 57 if cmd is not None: 58 self.skipTest('The %r command is not found' % cmd) 65 cmd = self.build_ext(dist) 66 fixup_build_ext(cmd) 67 cmd.build_lib = self.tmp_dir 68 cmd.build_temp = self.tmp_dir 75 cmd.ensure_finalized() 76 cmd.run() 116 cmd = self.build_ext(dist) [all …]
|
D | test_build_clib.py | 18 cmd = build_clib(dist) 21 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 'foo') 24 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 29 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 33 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 38 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 44 cmd.check_library_list(libs) 48 cmd = build_clib(dist) 52 cmd.libraries = [('name', {})] 53 self.assertRaises(DistutilsSetupError, cmd.get_source_files) [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) 62 check_path(cmd.install_platlib, platlibdir) 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_install_lib.py | 21 cmd = install_lib(dist) 23 cmd.finalize_options() 24 self.assertEqual(cmd.compile, 1) 25 self.assertEqual(cmd.optimize, 0) 28 cmd.optimize = 'foo' 29 self.assertRaises(DistutilsOptionError, cmd.finalize_options) 30 cmd.optimize = '4' 31 self.assertRaises(DistutilsOptionError, cmd.finalize_options) 33 cmd.optimize = '2' 34 cmd.finalize_options() [all …]
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_cmd_buffer.c | 62 struct lvp_cmd_buffer_entry *tmp, *cmd; in lvp_cmd_buffer_free_all_cmds() local 63 LIST_FOR_EACH_ENTRY_SAFE(cmd, tmp, &cmd_buffer->cmds, cmd_link) { in lvp_cmd_buffer_free_all_cmds() 64 list_del(&cmd->cmd_link); in lvp_cmd_buffer_free_all_cmds() 65 vk_free(&cmd_buffer->pool->alloc, cmd); in lvp_cmd_buffer_free_all_cmds() 269 struct lvp_cmd_buffer_entry *cmd; in cmd_buf_entry_alloc_size() local 270 uint32_t cmd_size = sizeof(*cmd) + extra_size; in cmd_buf_entry_alloc_size() 271 cmd = vk_alloc(&cmd_buffer->pool->alloc, in cmd_buf_entry_alloc_size() 274 if (!cmd) in cmd_buf_entry_alloc_size() 277 cmd->cmd_type = type; in cmd_buf_entry_alloc_size() 278 return cmd; in cmd_buf_entry_alloc_size() [all …]
|
/external/rust/crates/csv/tests/ |
D | tests.rs | 26 let mut cmd = cmd_for_example("cookbook-read-basic"); in cookbook_read_basic() localVariable 27 let out = cmd_output_with(&mut cmd, SMALLPOP.as_bytes()); in cookbook_read_basic() 33 let mut cmd = cmd_for_example("cookbook-read-serde"); in cookbook_read_serde() localVariable 34 let out = cmd_output_with(&mut cmd, SMALLPOP.as_bytes()); in cookbook_read_serde() 40 let mut cmd = cmd_for_example("cookbook-read-colon"); in cookbook_read_colon() localVariable 41 let out = cmd_output_with(&mut cmd, SMALLPOP_COLON.as_bytes()); in cookbook_read_colon() 47 let mut cmd = cmd_for_example("cookbook-read-no-headers"); in cookbook_read_no_headers() localVariable 48 let out = cmd_output_with(&mut cmd, SMALLPOP_NO_HEADERS.as_bytes()); in cookbook_read_no_headers() 54 let mut cmd = cmd_for_example("cookbook-write-basic"); in cookbook_write_basic() localVariable 55 let out = cmd_output(&mut cmd); in cookbook_write_basic() [all …]
|
/external/tinyalsa_new/utils/ |
D | tinyplay.c | 40 struct cmd { struct 51 void cmd_init(struct cmd *cmd) in cmd_init() argument 53 cmd->filename = NULL; in cmd_init() 54 cmd->filetype = NULL; in cmd_init() 55 cmd->card = 0; in cmd_init() 56 cmd->device = 0; in cmd_init() 57 cmd->flags = PCM_OUT; in cmd_init() 58 cmd->config.period_size = 1024; in cmd_init() 59 cmd->config.period_count = 2; in cmd_init() 60 cmd->config.channels = 2; in cmd_init() [all …]
|
/external/iptables/iptables/tests/shell/testcases/iptables/ |
D | 0004-return-codes_0 | 8 cmd() { # (rc, msg, cmd, [args ...]) function 46 cmd 0 -N foo 47 cmd 1 "$EEXIST" -N foo 52 cmd 0 -F foo 53 cmd 0 -Z foo 54 cmd 1 "$ENOENT" -F bar 55 cmd 1 "$ENOENT" -Z bar 58 cmd 0 -E foo bar 59 cmd 1 "$EEXIST_F" -E foo bar 60 cmd 1 "$ENOENT" -E foo bar2 [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/toolchain-utils/go/patch/go-1.10.3/ |
D | go2.patch | 20 - cmd := []string{"go", "tool", "compile", "-e"} 21 + cmd := []string{findGoCmd(), "tool", "compile", "-e"} 22 cmd = append(cmd, flags...) 24 - cmd = append(cmd, "-dynlink", "-installsuffix=dynlink") 26 cmd = append(cmd, longname) 27 return runcmd(cmd...) 31 - cmd := []string{"go", "tool", "compile", "-e", "-D", ".", "-I", "."} 32 + cmd := []string{findGoCmd(), "tool", "compile", "-e", "-D", ".", "-I", "."} 33 cmd = append(cmd, flags...) 35 - cmd = append(cmd, "-dynlink", "-installsuffix=dynlink") [all …]
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_cmd_buffer.c | 39 tu6_emit_event_write(struct tu_cmd_buffer *cmd, in tu6_emit_event_write() argument 60 tu_cs_emit_qw(cs, global_iova(cmd, seqno_dummy)); in tu6_emit_event_write() 171 tu6_emit_zs(struct tu_cmd_buffer *cmd, in tu6_emit_zs() argument 175 const struct tu_framebuffer *fb = cmd->state.framebuffer; in tu6_emit_zs() 201 &cmd->state.pass->attachments[a]; in tu6_emit_zs() 240 tu6_emit_mrt(struct tu_cmd_buffer *cmd, in tu6_emit_mrt() argument 244 const struct tu_framebuffer *fb = cmd->state.framebuffer; in tu6_emit_mrt() 256 tu_cs_emit(cs, cmd->state.pass->attachments[a].gmem_offset); in tu6_emit_mrt() 320 tu6_emit_render_cntl(struct tu_cmd_buffer *cmd, in tu6_emit_render_cntl() argument 325 const struct tu_framebuffer *fb = cmd->state.framebuffer; in tu6_emit_render_cntl() [all …]
|