Home
last modified time | relevance | path

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

12345678910>>...79

/external/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 …]
/external/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()
166 SVGA3dCmdDefineContext *cmd; in SVGA3D_DefineContext() local
168 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DefineContext()
169 SVGA_3D_CMD_CONTEXT_DEFINE, sizeof *cmd, 0); in SVGA3D_DefineContext()
170 if (!cmd) in SVGA3D_DefineContext()
173 cmd->cid = swc->cid; in SVGA3D_DefineContext()
200 SVGA3dCmdDestroyContext *cmd; in SVGA3D_DestroyContext() local
202 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 …]
/external/vboot_reference/utility/
Dtlcl_generator.c56 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/
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 …]
/external/python/cpython2/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.py52 cmd = build_ext(dist)
53 support.fixup_build_ext(cmd)
54 cmd.build_lib = self.tmp_dir
55 cmd.build_temp = self.tmp_dir
62 cmd.ensure_finalized()
63 cmd.run()
88 cmd = build_ext(dist)
96 cmd.ensure_finalized()
105 self.assertGreater(len(cmd.library_dirs), 0)
112 cmd = build_ext(dist)
[all …]
Dtest_build_clib.py19 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 …]
Dtest_install_lib.py19 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 …]
Dtest_install.py47 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 …]
Dtest_sdist.py88 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 …]
Dtest_check.py19 cmd = check(dist)
20 cmd.initialize_options()
22 setattr(cmd, name, value)
23 cmd.ensure_finalized()
24 cmd.run()
25 return cmd
31 cmd = self._run()
32 self.assertEqual(cmd._warnings, 2)
40 cmd = self._run(metadata)
41 self.assertEqual(cmd._warnings, 0)
[all …]
/external/autotest/client/site_tests/platform_CryptohomeChangePassword/
Dplatform_CryptohomeChangePassword.py17 def __run_cmd(self, cmd): argument
18 result = utils.system_output(cmd + ' 2>&1', retain_output=True,
27 cmd = ('/usr/sbin/cryptohome --action=obfuscate_user --user='
29 user_hash = self.__run_cmd(cmd).strip()
32 cmd = ('/usr/sbin/cryptohome --action=remove --force --user='
34 self.__run_cmd(cmd)
40 cmd = ('/usr/sbin/cryptohome --async --action=mount --user=' + test_user
42 self.__run_cmd(cmd)
47 cmd = ('/usr/sbin/cryptohome --action=is_mounted')
48 if (self.__run_cmd(cmd).strip() == 'false'):
[all …]
/external/valgrind/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.6";
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/python/cpython2/Lib/distutils/
Dspawn.py18 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/iw/
Diw.c86 extern struct cmd __start___cmd;
87 extern struct cmd __stop___cmd;
91 _cmd = (const struct cmd *)((char *)_cmd + cmd_size))
94 static void __usage_cmd(const struct cmd *cmd, char *indent, bool full) in __usage_cmd() argument
100 switch (cmd->idby) { in __usage_cmd()
113 if (cmd->parent && cmd->parent->name) in __usage_cmd()
114 printf("%s ", cmd->parent->name); in __usage_cmd()
115 printf("%s", cmd->name); in __usage_cmd()
117 if (cmd->args) { in __usage_cmd()
119 start = cmd->args; in __usage_cmd()
[all …]
/external/autotest/client/cros/faft/utils/
Dshell_wrapper.py22 def _run_command(self, cmd, block=True): argument
29 self._os_if.log('Executing %s' % cmd)
30 process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
36 def run_command(self, cmd, block=True): argument
45 process = self._run_command(cmd, block)
47 err = ['Failed running: %s' % cmd]
55 (cmd, process.returncode))
57 def run_command_get_status(self, cmd): argument
62 process = self._run_command(cmd)
65 def run_command_get_output(self, cmd): argument
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state_init.c337 if (r200->hw.set.cmd[SET_RE_CNTL] & R200_STIPPLE_ENABLE) in check_polygon_stipple()
349 OUT_VEC(atom->cmd[MTL_CMD_0], (atom->cmd+1)); in mtl_emit()
350 OUT_SCL2(atom->cmd[MTL_CMD_1], (atom->cmd + 18)); in mtl_emit()
361 OUT_VEC(atom->cmd[LIT_CMD_0], atom->cmd+1); in lit_emit()
362 OUT_SCL(atom->cmd[LIT_CMD_1], atom->cmd+LIT_CMD_1+1); in lit_emit()
373 OUT_VEC(atom->cmd[PTP_CMD_0], atom->cmd+1); in ptp_emit()
374 OUT_VEC(atom->cmd[PTP_CMD_1], atom->cmd+PTP_CMD_1+1); in ptp_emit()
384 OUT_VECLINEAR(atom->cmd[0], atom->cmd+1); in veclinear_emit()
394 OUT_SCL(atom->cmd[0], atom->cmd+1); in scl_emit()
406 OUT_VEC(atom->cmd[0], atom->cmd+1); in vec_emit()
[all …]
/external/syslinux/gpxe/src/include/
Dcmdlinelib.h66 void cmdl_setputchar(cmd_line* cmd, cmdl_putchar_t in);
67 void cmdl_setgetchar(cmd_line* cmd, cmdl_getchar_t in);
68 void cmdl_setprintf(cmd_line* cmd, cmdl_printf_t in);
72 void cmdl_parsechar(cmd_line* cmd, char in);
74 void cmdl_addreplace(cmd_line* cmd, char in);
75 void cmdl_addinsert(cmd_line* cmd, char in);
76 void cmdl_enterloop(cmd_line* cmd);
77 void cmdl_exec(cmd_line* cmd);
78 void cmdl_setexit(cmd_line* cmd, int exit);
79 int cmdl_getexit(cmd_line* cmd);
[all …]
/external/python/cpython2/Lib/
Dpipes.py108 def append(self, cmd, kind): argument
110 if type(cmd) is not type(''):
122 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd):
125 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd):
128 self.steps.append((cmd, kind))
130 def prepend(self, cmd, kind): argument
132 if type(cmd) is not type(''):
144 if kind[0] == 'f' and not re.search(r'\$IN\b', cmd):
147 if kind[1] == 'f' and not re.search(r'\$OUT\b', cmd):
150 self.steps.insert(0, (cmd, kind))
[all …]
/external/wpa_supplicant_8/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 …]
/external/toybox/toys/pending/
Dsh.c106 struct command *cmd; member
127 static char *parse_word(char *start, struct command **cmd) in parse_word() argument
137 (*cmd)->argv[(*cmd)->argc++] = xstrndup(start, end-start); in parse_word()
141 if (!((*cmd)->argc & 7)) in parse_word()
142 *cmd=xrealloc(*cmd, in parse_word()
143 sizeof(struct command) + ((*cmd)->argc+8)*sizeof(char *)); in parse_word()
144 (*cmd)->argv[(*cmd)->argc] = 0; in parse_word()
153 struct command **cmd = &(line->cmd); in parse_pipeline() local
172 if (!*cmd) *cmd = xzalloc(sizeof(struct command)+8*sizeof(char *)); in parse_pipeline()
175 end = parse_word(start, cmd); in parse_pipeline()
[all …]
/external/toolchain-utils/go/patch/
Dgo2.patch20 - cmd := []string{"go", "tool", "compile", "-e"}
22 - cmd = append(cmd, "-dynlink", "-installsuffix=dynlink")
24 - cmd = append(cmd, longname)
25 - return runcmd(cmd...)
30 - cmd := []string{"go", "tool", "compile", "-e", "-D", ".", "-I", "."}
32 - cmd = append(cmd, "-dynlink", "-installsuffix=dynlink")
34 + cmd := []string{findGoCmd(), "tool", "compile", "-e", "-D", ".", "-I", "."}
36 cmd = append(cmd, filepath.Join(dir, name))
42 - cmd := []string{"go", "tool", "link", "-w", "-o", "a.exe", "-L", "."}
44 - cmd = append(cmd, "-linkshared", "-installsuffix=dynlink")
[all …]
/external/autotest/client/site_tests/security_StatefulPermissions/
Dsecurity_StatefulPermissions.py129 cmd = "-regextype posix-extended -regex STATEFUL_ROOT/home/.shadow/"
130 cmd += "[[:alnum:]]{40}/(vault/root|mount/[^/]*)/[^/]*/[^/]* "
131 cmd += "-uid {0} \\( -gid {1} -o -gid {2} \\) -prune -o ".format(
134 return cmd
170 cmd = "find STATEFUL_ROOT "
171 cmd += self.generate_prune_arguments(prunelist)
174 cmd += " -path STATEFUL_ROOT/encrypted/var/tmp -o "
175 cmd += " -writable -ls -o -user %s -ls 2>/dev/null" % user
176 return cmd
190 cmd = "find STATEFUL_ROOT "
[all …]
/external/libxml2/os400/
Dxmllintcl.c60 extern void qshell(vary4 * cmd);
133 vary4 cmd; in main() local
143 cmd.len = 0; in main()
144 vary4append(&cmd, "/QSYS.LIB/"); in main()
145 vary4nappend(&cmd, args->pgm, i); in main()
146 vary4append(&cmd, ".LIB/XMLLINT.PGM"); in main()
152 vary4arg(&cmd, "--dtdvalidfpi"); in main()
154 vary4arg(&cmd, "--dtdvalid"); in main()
156 vary4vargquote(&cmd, args->dtd); in main()
160 vary4varg(&cmd, args->schemakind); in main()
[all …]

12345678910>>...79