Home
last modified time | relevance | path

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

12345678910>>...90

/third_party/mindspore/tests/ut/python/cachetests/
Dcachetest_args.sh29 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/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c58 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/iptables/iptables/
Dnft-cmd.c23 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 …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.c109 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 …]
Dsvga_cmd_vgpu10.c82 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 …]
/third_party/icu/icu4j/perf-tests/
Dresourcebundleperf.pl36 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/python/Lib/distutils/tests/
Dtest_cmd.py6 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 …]
Dtest_build_ext.py60 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 …]
Dtest_install.py56 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 …]
Dtest_build_clib.py28 cmd = build_clib(dist)
31 self.assertRaises(DistutilsSetupError, cmd.check_library_list, 'foo')
34 self.assertRaises(DistutilsSetupError, cmd.check_library_list,
39 self.assertRaises(DistutilsSetupError, cmd.check_library_list,
43 self.assertRaises(DistutilsSetupError, cmd.check_library_list,
48 self.assertRaises(DistutilsSetupError, cmd.check_library_list,
54 cmd.check_library_list(libs)
58 cmd = build_clib(dist)
62 cmd.libraries = [('name', {})]
63 self.assertRaises(DistutilsSetupError, cmd.get_source_files)
[all …]
Dtest_install_lib.py21 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 …]
Dtest_sdist.py87 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']
147 cmd.ensure_finalized()
[all …]
Dtest_register.py108 cmd = self._get_cmd()
125 cmd.run()
147 cmd.show_response = 1
148 cmd.run()
163 cmd = self._get_cmd()
164 cmd._set_config()
165 cmd.finalize_options()
166 cmd.send_metadata()
170 self.assertEqual(cmd.distribution.password, 'password')
174 cmd = self._get_cmd()
[all …]
/third_party/node/test/parallel/
Dtest-child-process-spawn-typeerror.js27 const cmd = common.isWindows ? 'rundll32' : 'ls'; constant
47 spawn(cmd);
48 spawn(cmd, []);
49 spawn(cmd, {});
50 spawn(cmd, [], {});
67 spawn(cmd, true);
71 spawn(cmd, [], null);
75 spawn(cmd, [], 1);
79 spawn(cmd, [], { uid: 2 ** 63 });
83 spawn(cmd, [], { gid: 2 ** 63 });
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_command_buffer.c33 vn_cmd_get_image_memory_barriers(struct vn_command_buffer *cmd, in vn_cmd_get_image_memory_barriers() argument
37 if (count > cmd->builder.image_barrier_count) { in vn_cmd_get_image_memory_barriers()
40 vk_realloc(&cmd->allocator, cmd->builder.image_barriers, size, in vn_cmd_get_image_memory_barriers()
46 cmd->builder.image_barrier_count = count; in vn_cmd_get_image_memory_barriers()
47 cmd->builder.image_barriers = img_barriers; in vn_cmd_get_image_memory_barriers()
50 return cmd->builder.image_barriers; in vn_cmd_get_image_memory_barriers()
116 vn_cmd_fix_image_memory_barrier(const struct vn_command_buffer *cmd, in vn_cmd_fix_image_memory_barrier() argument
155 dst_qfi == cmd->queue_family_index) { in vn_cmd_fix_image_memory_barrier()
157 out_barrier->dstQueueFamilyIndex = cmd->queue_family_index; in vn_cmd_fix_image_memory_barrier()
178 src_qfi == cmd->queue_family_index) { in vn_cmd_fix_image_memory_barrier()
[all …]
/third_party/iptables/iptables/tests/shell/testcases/iptables/
D0004-return-codes_08 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 …]
/third_party/boost/libs/geometry/doc/index/
Dmake_qbk.py18 cmd = "doxygen_xml2qbk" variable
19 cmd = cmd + " --xml xml/%s.xml" variable
20 cmd = cmd + " --start_include boost/" variable
21 cmd = cmd + " --output_style alt" variable
22 cmd = cmd + " --alt_max_synopsis_length 59" variable
23 cmd = cmd + " > generated/%s.qbk" variable
38 run_command(cmd % ("classboost_1_1geometry_1_1index_1_1rtree", "rtree"))
39 run_command(cmd % ("group__rtree__functions", "rtree_functions"))
41 run_command(cmd % ("structboost_1_1geometry_1_1index_1_1linear", "rtree_linear"))
42 run_command(cmd % ("structboost_1_1geometry_1_1index_1_1quadratic", "rtree_quadratic"))
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c41 tu6_emit_event_write(struct tu_cmd_buffer *cmd, in tu6_emit_event_write() argument
62 tu_cs_emit_qw(cs, global_iova(cmd, seqno_dummy)); in tu6_emit_event_write()
186 tu6_emit_zs(struct tu_cmd_buffer *cmd, in tu6_emit_zs() argument
212 const struct tu_image_view *iview = cmd->state.attachments[a]; in tu6_emit_zs()
214 &cmd->state.pass->attachments[a]; in tu6_emit_zs()
252 tu6_emit_mrt(struct tu_cmd_buffer *cmd, in tu6_emit_mrt() argument
256 const struct tu_framebuffer *fb = cmd->state.framebuffer; in tu6_emit_mrt()
263 const struct tu_image_view *iview = cmd->state.attachments[a]; in tu6_emit_mrt()
268 tu_cs_emit(cs, cmd->state.pass->attachments[a].gmem_offset); in tu6_emit_mrt()
353 tu6_emit_render_cntl(struct tu_cmd_buffer *cmd, in tu6_emit_render_cntl() argument
[all …]
/third_party/boost/tools/build/src/engine/
Dcommand.cpp29 CMDLIST * cmdlist_append_cmd( CMDLIST * l, CMD * cmd ) in cmdlist_append_cmd() argument
34 result->impl.cmd = cmd; in cmdlist_append_cmd()
63 CMD * cmd = (CMD *)BJAM_MALLOC( sizeof( CMD ) ); in cmd_new() local
66 assert( cmd ); in cmd_new()
67 cmd->rule = rule; in cmd_new()
68 cmd->shell = shell; in cmd_new()
69 cmd->next = 0; in cmd_new()
70 cmd->noop = 0; in cmd_new()
71 cmd->asynccnt = 1; in cmd_new()
72 cmd->status = 0; in cmd_new()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state_init.c339 if (r200->hw.set.cmd[SET_RE_CNTL] & R200_STIPPLE_ENABLE) in check_polygon_stipple()
351 OUT_VEC(atom->cmd[MTL_CMD_0], (atom->cmd+1)); in mtl_emit()
352 OUT_SCL2(atom->cmd[MTL_CMD_1], (atom->cmd + 18)); in mtl_emit()
363 OUT_VEC(atom->cmd[LIT_CMD_0], atom->cmd+1); in lit_emit()
364 OUT_SCL(atom->cmd[LIT_CMD_1], atom->cmd+LIT_CMD_1+1); in lit_emit()
375 OUT_VEC(atom->cmd[PTP_CMD_0], atom->cmd+1); in ptp_emit()
376 OUT_VEC(atom->cmd[PTP_CMD_1], atom->cmd+PTP_CMD_1+1); in ptp_emit()
386 OUT_VECLINEAR(atom->cmd[0], atom->cmd+1); in veclinear_emit()
396 OUT_SCL(atom->cmd[0], atom->cmd+1); in scl_emit()
408 OUT_VEC(atom->cmd[0], atom->cmd+1); in vec_emit()
[all …]
/third_party/python/Lib/
Dpipes.py110 def append(self, cmd, kind): argument
112 if not isinstance(cmd, str):
120 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd):
122 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd):
124 self.steps.append((cmd, kind))
126 def prepend(self, cmd, kind): argument
128 if not isinstance(cmd, str):
136 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd):
138 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd):
140 self.steps.insert(0, (cmd, kind))
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommands.cpp101 EndComputePassCmd* cmd = commands->NextCommand<EndComputePassCmd>(); in FreeCommands() local
102 cmd->~EndComputePassCmd(); in FreeCommands()
106 EndOcclusionQueryCmd* cmd = commands->NextCommand<EndOcclusionQueryCmd>(); in FreeCommands() local
107 cmd->~EndOcclusionQueryCmd(); in FreeCommands()
111 EndRenderPassCmd* cmd = commands->NextCommand<EndRenderPassCmd>(); in FreeCommands() local
112 cmd->~EndRenderPassCmd(); in FreeCommands()
116 ExecuteBundlesCmd* cmd = commands->NextCommand<ExecuteBundlesCmd>(); in FreeCommands() local
117 auto bundles = commands->NextData<Ref<RenderBundleBase>>(cmd->count); in FreeCommands()
118 for (size_t i = 0; i < cmd->count; ++i) { in FreeCommands()
121 cmd->~ExecuteBundlesCmd(); in FreeCommands()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DCommands.cpp82 EndComputePassCmd* cmd = commands->NextCommand<EndComputePassCmd>(); in FreeCommands() local
83 cmd->~EndComputePassCmd(); in FreeCommands()
86 EndRenderPassCmd* cmd = commands->NextCommand<EndRenderPassCmd>(); in FreeCommands() local
87 cmd->~EndRenderPassCmd(); in FreeCommands()
90 InsertDebugMarkerCmd* cmd = commands->NextCommand<InsertDebugMarkerCmd>(); in FreeCommands() local
91 commands->NextData<char>(cmd->length + 1); in FreeCommands()
92 cmd->~InsertDebugMarkerCmd(); in FreeCommands()
95 PopDebugGroupCmd* cmd = commands->NextCommand<PopDebugGroupCmd>(); in FreeCommands() local
96 cmd->~PopDebugGroupCmd(); in FreeCommands()
99 PushDebugGroupCmd* cmd = commands->NextCommand<PushDebugGroupCmd>(); in FreeCommands() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dhostapd_cli.c45 static void print_help(FILE *stream, const char *cmd);
190 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) in _wpa_ctrl_command() argument
201 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command()
204 printf("'%s' command timed out.\n", cmd); in _wpa_ctrl_command()
207 printf("'%s' command failed.\n", cmd); in _wpa_ctrl_command()
218 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() argument
220 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command()
224 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, in hostapd_cli_cmd() argument
231 cmd, min_args, min_args > 1 ? "s are" : " is"); in hostapd_cli_cmd()
234 if (write_cmd(buf, sizeof(buf), cmd, argc, argv) < 0) in hostapd_cli_cmd()
[all …]
/third_party/mesa3d/src/mesa/main/
Dglthread_draw.c269 const struct marshal_cmd_DrawArrays *cmd, in _mesa_unmarshal_DrawArrays() argument
277 const GLenum mode = cmd->mode; in _mesa_unmarshal_DrawArrays()
278 const GLint first = cmd->first; in _mesa_unmarshal_DrawArrays()
279 const GLsizei count = cmd->count; in _mesa_unmarshal_DrawArrays()
280 const GLsizei instance_count = cmd->instance_count; in _mesa_unmarshal_DrawArrays()
281 const GLuint baseinstance = cmd->baseinstance; in _mesa_unmarshal_DrawArrays()
286 return cmd->cmd_base.cmd_size; in _mesa_unmarshal_DrawArrays()
294 struct marshal_cmd_DrawArrays *cmd = in draw_arrays_async() local
297 cmd->mode = mode; in draw_arrays_async()
298 cmd->first = first; in draw_arrays_async()
[all …]

12345678910>>...90