| /third_party/backends/backend/ |
| D | canon-scsi.c | 48 static u_char cmd[6]; in test_unit_ready() local 52 memset (cmd, 0, sizeof (cmd)); in test_unit_ready() 53 status = sanei_scsi_cmd2 (fd, cmd, sizeof (cmd), NULL, 0, NULL, NULL); in test_unit_ready() 63 static u_char cmd[6]; in request_sense() local 67 memset (cmd, 0, sizeof (cmd)); in request_sense() 68 cmd[0] = 0x03; in request_sense() 69 cmd[4] = 14; in request_sense() 70 status = sanei_scsi_cmd2 (fd, cmd, sizeof (cmd), NULL, 0, buf, buf_size); in request_sense() 80 static u_char cmd[6]; in inquiry() local 84 memset (cmd, 0, sizeof (cmd)); in inquiry() [all …]
|
| D | ibm-scsi.c | 142 static SANE_Byte cmd[6]; in test_unit_ready() local 146 cmd[0] = IBM_SCSI_TEST_UNIT_READY; in test_unit_ready() 147 memset (cmd, 0, sizeof (cmd)); in test_unit_ready() 148 status = sanei_scsi_cmd (fd, cmd, sizeof (cmd), 0, 0); in test_unit_ready() 157 static SANE_Byte cmd[6]; in inquiry() local 161 memset (cmd, 0, sizeof (cmd)); in inquiry() 162 cmd[0] = IBM_SCSI_INQUIRY; in inquiry() 163 cmd[4] = *buf_size; in inquiry() 164 status = sanei_scsi_cmd (fd, cmd, sizeof (cmd), buf, buf_size); in inquiry() 174 struct scsi_mode_select_cmd cmd; in mode_select() member [all …]
|
| D | ricoh-scsi.c | 128 static SANE_Byte cmd[6]; in test_unit_ready() local 132 cmd[0] = RICOH_SCSI_TEST_UNIT_READY; in test_unit_ready() 133 memset (cmd, 0, sizeof (cmd)); in test_unit_ready() 134 status = sanei_scsi_cmd (fd, cmd, sizeof (cmd), 0, 0); in test_unit_ready() 143 static SANE_Byte cmd[6]; in inquiry() local 147 memset (cmd, 0, sizeof (cmd)); in inquiry() 148 cmd[0] = RICOH_SCSI_INQUIRY; in inquiry() 149 cmd[4] = *buf_size; in inquiry() 150 status = sanei_scsi_cmd (fd, cmd, sizeof (cmd), buf, buf_size); in inquiry() 160 struct scsi_mode_select_cmd cmd; in mode_select() member [all …]
|
| D | epson2_scsi.c | 45 unsigned char cmd[6]; in sanei_epson2_scsi_inquiry() local 48 memset(cmd, 0, 6); in sanei_epson2_scsi_inquiry() 49 cmd[0] = INQUIRY_COMMAND; in sanei_epson2_scsi_inquiry() 50 cmd[4] = *buf_size > 255 ? 255 : *buf_size; in sanei_epson2_scsi_inquiry() 51 status = sanei_scsi_cmd(fd, cmd, sizeof cmd, buf, buf_size); in sanei_epson2_scsi_inquiry() 59 unsigned char cmd[6]; in sanei_epson2_scsi_test_unit_ready() local 61 memset(cmd, 0, 6); in sanei_epson2_scsi_test_unit_ready() 62 cmd[0] = TEST_UNIT_READY_COMMAND; in sanei_epson2_scsi_test_unit_ready() 64 return sanei_scsi_cmd2(fd, cmd, sizeof(cmd), NULL, 0, NULL, NULL); in sanei_epson2_scsi_test_unit_ready() 71 unsigned char cmd[6]; in sanei_epson2_scsi_read() local [all …]
|
| /third_party/python/Lib/distutils/tests/ |
| D | test_cmd.py | 1 """Tests for distutils.cmd.""" 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') [all …]
|
| D | test_build_ext.py | 60 cmd = support.missing_compiler_executable() 61 if cmd is not None: 62 self.skipTest('The %r command is not found' % cmd) 69 cmd = self.build_ext(dist) 70 fixup_build_ext(cmd) 71 cmd.build_lib = self.tmp_dir 72 cmd.build_temp = self.tmp_dir 79 cmd.ensure_finalized() 80 cmd.run() 120 cmd = self.build_ext(dist) [all …]
|
| D | test_install.py | 56 cmd = install(dist) 57 cmd.home = destination 58 cmd.ensure_finalized() 60 self.assertEqual(cmd.install_base, destination) 61 self.assertEqual(cmd.install_platbase, destination) 69 check_path(cmd.install_lib, libdir) 71 check_path(cmd.install_platlib, platlibdir) 72 check_path(cmd.install_purelib, libdir) 73 check_path(cmd.install_headers, 75 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 …]
|
| D | test_build_clib.py | 30 cmd = build_clib(dist) 33 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 'foo') 36 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 41 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 45 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 50 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 56 cmd.check_library_list(libs) 60 cmd = build_clib(dist) 64 cmd.libraries = [('name', {})] 65 self.assertRaises(DistutilsSetupError, cmd.get_source_files) [all …]
|
| D | test_sdist.py | 78 """Returns a cmd""" 87 cmd = sdist(dist) 88 cmd.dist_dir = 'dist' 89 return dist, cmd 111 dist, cmd = self.get_cmd() 115 cmd.formats = ['zip'] 117 cmd.ensure_finalized() 118 cmd.run() 143 dist, cmd = self.get_cmd() 146 cmd.formats = ['gztar', 'tar'] [all …]
|
| /third_party/rust/crates/clap/clap_complete/tests/snapshots/ |
| D | quoting.fish | 9 complete -c my-app -n "__fish_use_subcommand" -f -a "cmd-single-quotes" -d 'Can be \'always\', \'au… 10 complete -c my-app -n "__fish_use_subcommand" -f -a "cmd-double-quotes" -d 'Can be "always", "auto"… 11 complete -c my-app -n "__fish_use_subcommand" -f -a "cmd-backticks" -d 'For more information see `e… 12 complete -c my-app -n "__fish_use_subcommand" -f -a "cmd-backslash" -d 'Avoid \'\\n\'' 13 complete -c my-app -n "__fish_use_subcommand" -f -a "cmd-brackets" -d 'List packages [filter]' 14 complete -c my-app -n "__fish_use_subcommand" -f -a "cmd-expansions" -d 'Execute the shell command … 16 complete -c my-app -n "__fish_seen_subcommand_from cmd-single-quotes" -s h -l help -d 'Print help' 17 complete -c my-app -n "__fish_seen_subcommand_from cmd-double-quotes" -s h -l help -d 'Print help' 18 complete -c my-app -n "__fish_seen_subcommand_from cmd-backticks" -s h -l help -d 'Print help' 19 complete -c my-app -n "__fish_seen_subcommand_from cmd-backslash" -s h -l help -d 'Print help' [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/cachetests/ |
| D | cachetest_args.sh | 29 cmd="${CACHE_ADMIN} --start --stop" 30 CacheAdminCmd "${cmd}" 1 34 cmd="${CACHE_ADMIN} --port 50082" 35 CacheAdminCmd "${cmd}" 1 39 cmd="${CACHE_ADMIN} -p abc --start" 40 CacheAdminCmd "${cmd}" 1 44 cmd="${CACHE_ADMIN} -p --start" 45 CacheAdminCmd "${cmd}" 1 49 cmd="${CACHE_ADMIN} -p 50082 --start --not_exist_cmd" 50 CacheAdminCmd "${cmd}" 1 [all …]
|
| /third_party/ffmpeg/tests/fate/ |
| D | h264.mak | 240 fate-h264-conformance-aud_mw_e: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro 243 fate-h264-conformance-ba1_ft_c: CMD = framecrc -framerate 19 -i $(TARGET_SAMPLES)… macro 245 fate-h264-conformance-ba1_sony_d: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro 246 fate-h264-conformance-ba2_sony_f: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro 247 fate-h264-conformance-ba3_sva_c: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro 248 fate-h264-conformance-ba_mw_d: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro 249 fate-h264-conformance-bamq1_jvc_c: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro 250 fate-h264-conformance-bamq2_jvc_c: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro 251 fate-h264-conformance-banm_mw_d: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro 252 fate-h264-conformance-basqp1_sony_c: CMD = framecrc -i $(TARGET_SAMPLES)/h264-conforma… macro [all …]
|
| D | video.mak | 2 fate-4xm-1: CMD = framecrc -i $(TARGET_SAMPLES)/4xm/version1.4xm -pix_fmt rgb24 -an -vf scale macro 5 fate-4xm-2: CMD = framecrc -i $(TARGET_SAMPLES)/4xm/version2.4xm -pix_fmt rgb24 -an -vf scale macro 12 fate-012v: CMD = framecrc -i $(TARGET_SAMPLES)/012v/sample.avi -pix_fmt yuv422p16le -vf scale macro 15 fate-aasc: CMD = framecrc -i $(TARGET_SAMPLES)/aasc/AASC-1.5MB.AVI -pix_fmt rgb24 -vf scale macro 18 fate-aic: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/aic/small_apple_intermediate_codec.mov -… macro 21 fate-aic-oddsize: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/aic/aic_odd_dimensions.mov macro 24 fate-alg-mm: CMD = framecrc -i $(TARGET_SAMPLES)/alg-mm/ibmlogo.mm -an -pix_fmt rgb24 -vf scale macro 27 fate-amv: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/amv/MTV_high_res_320x240_sample_Penguin_… macro 30 fate-ansi: CMD = framecrc -chars_per_frame 44100 -i $(TARGET_SAMPLES)/ansi/TRE-IOM5.ANS -pix_fmt rg… macro 33 fate-ansi256: CMD = framecrc -chars_per_frame 44100 -i $(TARGET_SAMPLES)/ansi/ansi256.ans -pix_fmt … macro [all …]
|
| /third_party/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 …]
|
| /third_party/mesa3d/src/gallium/drivers/svga/ |
| 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 …]
|
| 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 …]
|
| /third_party/mesa3d/src/freedreno/vulkan/ |
| D | tu_cmd_buffer.c | 21 tu6_emit_event_write(struct tu_cmd_buffer *cmd, in tu6_emit_event_write() argument 42 tu_cs_emit_qw(cs, global_iova(cmd, seqno_dummy)); in tu6_emit_event_write() 53 tu6_lazy_emit_tessfactor_addr(struct tu_cmd_buffer *cmd) in tu6_lazy_emit_tessfactor_addr() argument 55 if (cmd->state.tessfactor_addr_set) in tu6_lazy_emit_tessfactor_addr() 58 tu_cs_emit_regs(&cmd->cs, A6XX_PC_TESSFACTOR_ADDR(.qword = cmd->device->tess_bo->iova)); in tu6_lazy_emit_tessfactor_addr() 60 cmd->state.cache.flush_bits |= TU_CMD_FLAG_WAIT_FOR_IDLE; in tu6_lazy_emit_tessfactor_addr() 61 cmd->state.tessfactor_addr_set = true; in tu6_lazy_emit_tessfactor_addr() 185 tu6_emit_zs(struct tu_cmd_buffer *cmd, in tu6_emit_zs() argument 206 const struct tu_image_view *iview = cmd->state.attachments[a]; in tu6_emit_zs() 208 &cmd->state.pass->attachments[a]; in tu6_emit_zs() [all …]
|
| D | tu_lrz.c | 152 tu6_write_lrz_reg(struct tu_cmd_buffer *cmd, struct tu_cs *cs, in tu6_write_lrz_reg() argument 155 if (cmd->device->physical_device->info->a6xx.lrz_track_quirk) { in tu6_write_lrz_reg() 167 tu6_disable_lrz_via_depth_view(struct tu_cmd_buffer *cmd, struct tu_cs *cs) in tu6_disable_lrz_via_depth_view() argument 170 tu6_write_lrz_reg(cmd, cs, A6XX_GRAS_LRZ_DEPTH_VIEW( in tu6_disable_lrz_via_depth_view() 176 tu6_write_lrz_reg(cmd, cs, A6XX_GRAS_LRZ_CNTL( in tu6_disable_lrz_via_depth_view() 181 tu6_emit_event_write(cmd, cs, LRZ_CLEAR); in tu6_disable_lrz_via_depth_view() 182 tu6_emit_event_write(cmd, cs, LRZ_FLUSH); in tu6_disable_lrz_via_depth_view() 186 tu_lrz_init_state(struct tu_cmd_buffer *cmd, in tu_lrz_init_state() argument 191 assert((cmd->device->instance->debug_flags & TU_DEBUG_NOLRZ) || in tu_lrz_init_state() 199 cmd->device->physical_device->info->a6xx.has_lrz_dir_tracking; in tu_lrz_init_state() [all …]
|
| /third_party/mesa3d/src/vulkan/runtime/ |
| D | vk_cmd_enqueue.c | 42 struct vk_cmd_queue_entry *cmd = in vk_cmd_enqueue_CmdDrawMultiEXT() local 43 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdDrawMultiEXT() 45 if (!cmd) in vk_cmd_enqueue_CmdDrawMultiEXT() 48 cmd->type = VK_CMD_DRAW_MULTI_EXT; in vk_cmd_enqueue_CmdDrawMultiEXT() 49 list_addtail(&cmd->cmd_link, &cmd_buffer->cmd_queue.cmds); in vk_cmd_enqueue_CmdDrawMultiEXT() 51 cmd->u.draw_multi_ext.draw_count = drawCount; in vk_cmd_enqueue_CmdDrawMultiEXT() 54 cmd->u.draw_multi_ext.vertex_info = in vk_cmd_enqueue_CmdDrawMultiEXT() 56 sizeof(*cmd->u.draw_multi_ext.vertex_info) * drawCount, 8, in vk_cmd_enqueue_CmdDrawMultiEXT() 60 memcpy(&cmd->u.draw_multi_ext.vertex_info[i], draw, in vk_cmd_enqueue_CmdDrawMultiEXT() 61 sizeof(*cmd->u.draw_multi_ext.vertex_info)); in vk_cmd_enqueue_CmdDrawMultiEXT() [all …]
|
| /third_party/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 …]
|
| /third_party/musl/scripts/ |
| D | runtest_linux.sh | 18 CMD=hdc_std 51 for device in $($CMD list targets); do 59 ABILIST=$(${CMD} shell param get const.product.cpu.abilist) 85 ${CMD} shell rm -rf ${REMOTE} 86 ${CMD} shell mkdir /data/tests 87 ${CMD} shell mkdir ${REMOTE} 90 ${CMD} shell mkdir /tmp 91 ${CMD} shell mkdir /dev/shm 95 ${CMD} file send ${TESTDIR} ${REMOTE}/src 96 ${CMD} shell mv ${REMOTE}/src/libc-test/* ${REMOTE}/src [all …]
|
| /third_party/zlib/os400/ |
| D | make.sh | 89 CMD="CRTCMOD MODULE(${TARGETLIB}/${1}) SRCSTMF('${2}')" 90 CMD="${CMD} SYSIFCOPT(*IFS64IO) OPTION(*INCDIRFIRST)" 91 CMD="${CMD} LOCALETYPE(*LOCALE) FLAG(10)" 92 CMD="${CMD} INCDIR('${IFSDIR}/include' ${INCLUDES})" 93 CMD="${CMD} TGTCCSID(${TGTCCSID}) TGTRLS(${TGTRLS})" 94 CMD="${CMD} OUTPUT(${OUTPUT})" 95 CMD="${CMD} OPTIMIZE(${OPTIMIZE})" 96 CMD="${CMD} DBGVIEW(${DEBUG})" 97 system "${CMD}" 167 then CMD="CRTLIB LIB(${TARGETLIB}) TEXT('ZLIB: Data compression API')" [all …]
|
| /third_party/rust/crates/clap/clap_mangen/tests/ |
| D | roff.rs | 6 let cmd = common::basic_command(name); in basic() localVariable 7 common::assert_matches_path("tests/snapshots/basic.bash.roff", cmd); in basic() 13 let cmd = common::feature_sample_command(name); in feature_sample() localVariable 14 common::assert_matches_path("tests/snapshots/feature_sample.bash.roff", cmd); in feature_sample() 20 let cmd = common::special_commands_command(name); in special_commands() localVariable 21 common::assert_matches_path("tests/snapshots/special_commands.bash.roff", cmd); in special_commands() 27 let cmd = common::quoting_command(name); in quoting() localVariable 28 common::assert_matches_path("tests/snapshots/quoting.bash.roff", cmd); in quoting() 34 let cmd = common::aliases_command(name); in aliases() localVariable 35 common::assert_matches_path("tests/snapshots/aliases.bash.roff", cmd); in aliases() [all …]
|
| /third_party/openssl/test/recipes/80-test_cmp_http_data/ |
| D | test_commands.csv | 1 expected,description, -section,val, -cmd,val,val2, -cacertsout,val,val2, -infotype,val,, -oldcert,v… 4 1,minimum options, -section,, -cmd,ir,,BLANK,,,BLANK,,,BLANK,,BLANK, 6 0,no cmd, -section,,BLANK,,,BLANK,,,BLANK,,,BLANK,,BLANK, 7 0,cmd missing arg, -section,, -cmd,,,BLANK,,,BLANK,,,BLANK,,BLANK, 8 0,cmd undefined , -section,, -cmd,abc,,BLANK,,,BLANK,,,BLANK,,BLANK, 9 0,cmd incomplete, -section,, -cmd,i,,BLANK,,,BLANK,,,BLANK,,BLANK, 11 1,no cacertsout, -section,, -cmd,ir,,BLANK,,,BLANK,,,BLANK,,BLANK, 12 1,cacertsout given, -section,, -cmd,ir,, -cacertsout,_RESULT_DIR/test.cacerts.pem,,BLANK,,,BLANK,,B… 13 0,cacertsout missing arg, -section,, -cmd,ir,, -cacertsout,,,BLANK,,,BLANK,,BLANK, 15 1, --- get certificate for revocation ----, -section,, -cmd,cr,,BLANK,,,BLANK,,,BLANK,,BLANK, [all …]
|