/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_dump.c | 41 dump_SVGA3dVertexDecl(const SVGA3dVertexDecl *cmd) in dump_SVGA3dVertexDecl() argument 43 switch((*cmd).identity.type) { in dump_SVGA3dVertexDecl() 99 _debug_printf("\t\t.identity.type = %i\n", (*cmd).identity.type); in dump_SVGA3dVertexDecl() 102 switch((*cmd).identity.method) { in dump_SVGA3dVertexDecl() 125 _debug_printf("\t\t.identity.method = %i\n", (*cmd).identity.method); in dump_SVGA3dVertexDecl() 128 switch((*cmd).identity.usage) { in dump_SVGA3dVertexDecl() 175 _debug_printf("\t\t.identity.usage = %i\n", (*cmd).identity.usage); in dump_SVGA3dVertexDecl() 178 _debug_printf("\t\t.identity.usageIndex = %u\n", (*cmd).identity.usageIndex); in dump_SVGA3dVertexDecl() 179 _debug_printf("\t\t.array.surfaceId = %u\n", (*cmd).array.surfaceId); in dump_SVGA3dVertexDecl() 180 _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 | 106 uint32 cmd, // IN in SVGA3D_FIFOReserve() argument 116 header->id = cmd; in SVGA3D_FIFOReserve() 161 SVGA3dCmdDefineContext *cmd; in SVGA3D_DefineContext() local 163 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DefineContext() 164 SVGA_3D_CMD_CONTEXT_DEFINE, sizeof *cmd, 0); in SVGA3D_DefineContext() 165 if(!cmd) in SVGA3D_DefineContext() 168 cmd->cid = swc->cid; in SVGA3D_DefineContext() 195 SVGA3dCmdDestroyContext *cmd; in SVGA3D_DestroyContext() local 197 cmd = SVGA3D_FIFOReserve(swc, in SVGA3D_DestroyContext() 198 SVGA_3D_CMD_CONTEXT_DESTROY, sizeof *cmd, 0); in SVGA3D_DestroyContext() [all …]
|
D | svga_draw.c | 56 hwtnl->cmd.swc = swc; in svga_hwtnl_create() 75 for (i = 0; i < hwtnl->cmd.vdecl_count; i++) in svga_hwtnl_destroy() 76 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], NULL); in svga_hwtnl_destroy() 78 for (i = 0; i < hwtnl->cmd.prim_count; i++) in svga_hwtnl_destroy() 79 pipe_resource_reference(&hwtnl->cmd.prim_ib[i], NULL); in svga_hwtnl_destroy() 105 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_reset_vdecl() 107 for (i = count; i < hwtnl->cmd.vdecl_count; i++) { in svga_hwtnl_reset_vdecl() 108 pipe_resource_reference(&hwtnl->cmd.vdecl_vb[i], in svga_hwtnl_reset_vdecl() 112 hwtnl->cmd.vdecl_count = count; in svga_hwtnl_reset_vdecl() 121 assert(hwtnl->cmd.prim_count == 0); in svga_hwtnl_vdecl() [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/autotest/client/site_tests/platform_CryptohomeChangePassword/ |
D | platform_CryptohomeChangePassword.py | 17 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/ |
D | link_tool_exe_darwin.in | 141 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.5"; 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/iw/ |
D | iw.c | 86 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/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 …]
|
D | r200_state.c | 70 int pp_misc = rmesa->hw.ctx.cmd[CTX_PP_MISC]; in r200AlphaFunc() 107 rmesa->hw.ctx.cmd[CTX_PP_MISC] = pp_misc; in r200AlphaFunc() 119 …rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCOLOR] = radeonPackColor( 4, color[0], color[1], color[2], color[3… in r200BlendColor() 205 GLuint cntl = rmesa->hw.ctx.cmd[CTX_RB3D_CNTL] & in r200_set_blend_state() 218 rmesa->hw.ctx.cmd[CTX_RB3D_CNTL] = cntl | R200_ROP_ENABLE; in r200_set_blend_state() 219 rmesa->hw.ctx.cmd[CTX_RB3D_ABLENDCNTL] = eqn | func; in r200_set_blend_state() 220 rmesa->hw.ctx.cmd[CTX_RB3D_CBLENDCNTL] = eqn | func; in r200_set_blend_state() 223 … rmesa->hw.ctx.cmd[CTX_RB3D_CNTL] = cntl | R200_ALPHA_BLEND_ENABLE | R200_SEPARATE_ALPHA_ENABLE; in r200_set_blend_state() 226 rmesa->hw.ctx.cmd[CTX_RB3D_CNTL] = cntl; in r200_set_blend_state() 227 rmesa->hw.ctx.cmd[CTX_RB3D_ABLENDCNTL] = eqn | func; in r200_set_blend_state() [all …]
|
/external/autotest/client/cros/faft/utils/ |
D | shell_wrapper.py | 22 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/wpa_supplicant_8/hostapd/ |
D | hostapd_cli.c | 45 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/syslinux/gpxe/src/include/ |
D | cmdlinelib.h | 66 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/toybox/toys/pending/ |
D | sh.c | 106 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/ |
D | go2.patch | 20 - 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/ |
D | security_StatefulPermissions.py | 129 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/ |
D | xmllintcl.c | 60 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 …]
|
D | xmlcatlgcl.c | 73 extern void qshell(vary4 * cmd); 149 vary4 cmd; in main() local 156 cmd.len = 0; in main() 162 vary4append(&cmd, "XML_CATALOG_FILES="); in main() 168 vary4nappend(&cmd, &c, 1); in main() 170 vary4vescape(&cmd, in main() 173 vary4nappend(&cmd, "'", 1); in main() 175 vary4nappend(&cmd, " ", 1); in main() 183 vary4append(&cmd, "/QSYS.LIB/"); in main() 184 vary4nappend(&cmd, args->pgm, i); in main() [all …]
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
D | adb_wrapper.py | 175 def run_cmd(cmd): argument 176 send_cmd = '( %s ); echo $?; exit;\n' % cmd.rstrip() 183 def run_cmd(cmd): argument 184 send_cmd = '( %s ); echo DONE:$?;\n' % cmd.rstrip() 211 cmd = ['taskset', '-c', str(cpu_affinity)] 213 cmd = [] 214 cmd.append(cls.GetAdbPath()) 216 cmd.extend(['-s', device_serial]) 217 cmd.extend(args) 218 return cmd [all …]
|
/external/iproute2/tipc/ |
D | media.c | 45 static int cmd_media_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_list() argument 88 static int cmd_media_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_get_prop() argument 100 if (strcmp(cmd->cmd, "priority") == 0) in cmd_media_get_prop() 102 else if ((strcmp(cmd->cmd, "tolerance") == 0)) in cmd_media_get_prop() 104 else if ((strcmp(cmd->cmd, "window") == 0)) in cmd_media_get_prop() 110 (cmd->help)(cmdl); in cmd_media_get_prop() 143 static int cmd_media_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_get() argument 146 const struct cmd cmds[] = { in cmd_media_get() 153 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_get() 166 static int cmd_media_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_set_prop() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_state_init.c | 267 OUT_SCL(atom->cmd[0], atom->cmd+1); in scl_emit() 279 OUT_VEC(atom->cmd[0], atom->cmd+1); in vec_emit() 291 OUT_VEC(atom->cmd[LIT_CMD_0], atom->cmd+1); in lit_emit() 292 OUT_SCL(atom->cmd[LIT_CMD_1], atom->cmd+LIT_CMD_1+1); in lit_emit() 334 atom->cmd[CTX_RB3D_CNTL] &= ~(0xf << 10); in ctx_emit_cs() 336 atom->cmd[CTX_RB3D_CNTL] |= RADEON_COLOR_FORMAT_ARGB8888; in ctx_emit_cs() 339 atom->cmd[CTX_RB3D_CNTL] |= RADEON_COLOR_FORMAT_RGB565; in ctx_emit_cs() 342 atom->cmd[CTX_RB3D_CNTL] |= RADEON_COLOR_FORMAT_ARGB4444; in ctx_emit_cs() 345 atom->cmd[CTX_RB3D_CNTL] |= RADEON_COLOR_FORMAT_ARGB1555; in ctx_emit_cs() 364 atom->cmd[CTX_RB3D_ZSTENCILCNTL] &= ~RADEON_DEPTH_FORMAT_MASK; in ctx_emit_cs() [all …]
|
D | radeon_state.c | 69 int pp_misc = rmesa->hw.ctx.cmd[CTX_PP_MISC]; in radeonAlphaFunc() 106 rmesa->hw.ctx.cmd[CTX_PP_MISC] = pp_misc; in radeonAlphaFunc() 113 GLuint b = rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCNTL] & ~RADEON_COMB_FCN_MASK; in radeonBlendEquationSeparate() 139 rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCNTL] = b; in radeonBlendEquationSeparate() 142 rmesa->hw.ctx.cmd[CTX_RB3D_CNTL] |= RADEON_ROP_ENABLE; in radeonBlendEquationSeparate() 144 rmesa->hw.ctx.cmd[CTX_RB3D_CNTL] &= ~RADEON_ROP_ENABLE; in radeonBlendEquationSeparate() 154 GLuint b = rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCNTL] & in radeonBlendFuncSeparate() 252 rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCNTL] = b; in radeonBlendFuncSeparate() 266 rmesa->hw.ctx.cmd[CTX_RB3D_ZSTENCILCNTL] &= ~RADEON_Z_TEST_MASK; in radeonDepthFunc() 270 rmesa->hw.ctx.cmd[CTX_RB3D_ZSTENCILCNTL] |= RADEON_Z_TEST_NEVER; in radeonDepthFunc() [all …]
|
/external/vboot_reference/firmware/lib/tpm_lite/ |
D | tlcl.c | 184 struct s_tpm_nv_definespace_cmd cmd; in TlclDefineSpace() local 186 Memcpy(&cmd, &tpm_nv_definespace_cmd, sizeof(cmd)); in TlclDefineSpace() 187 ToTpmUint32(cmd.buffer + tpm_nv_definespace_cmd.index, index); in TlclDefineSpace() 188 ToTpmUint32(cmd.buffer + tpm_nv_definespace_cmd.perm, perm); in TlclDefineSpace() 189 ToTpmUint32(cmd.buffer + tpm_nv_definespace_cmd.size, size); in TlclDefineSpace() 190 return Send(cmd.buffer); in TlclDefineSpace() 194 struct s_tpm_nv_write_cmd cmd; in TlclWrite() local 200 Memcpy(&cmd, &tpm_nv_write_cmd, sizeof(cmd)); in TlclWrite() 202 SetTpmCommandSize(cmd.buffer, total_length); in TlclWrite() 204 ToTpmUint32(cmd.buffer + tpm_nv_write_cmd.index, index); in TlclWrite() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_wrapper.py | 191 def run_cmd(cmd): argument 192 send_cmd = '( %s ); echo $?; exit;\n' % cmd.rstrip() 199 def run_cmd(cmd): argument 200 send_cmd = '( %s ); echo DONE:$?;\n' % cmd.rstrip() 231 cmd = ['taskset', '-c', str(cpu_affinity)] 233 cmd = [] 234 cmd.append(cls.GetAdbPath()) 236 cmd.extend(['-s', device_serial]) 237 cmd.extend(args) 238 return cmd [all …]
|
/external/autotest/server/ |
D | subcommand_unittest.py | 40 def check_attributes(cmd, func, args, subdir=None, debug=None, argument 43 self.assertEquals(cmd.func, func) 44 self.assertEquals(cmd.args, args) 45 self.assertEquals(cmd.subdir, subdir) 46 self.assertEquals(cmd.debug, debug) 47 self.assertEquals(cmd.pid, pid) 48 self.assertEquals(cmd.returncode, returncode) 49 self.assertEquals(cmd.fork_hooks, fork_hooks) 50 self.assertEquals(cmd.join_hooks, join_hooks) 55 cmd = subcommand.subcommand(func, (2, 3)) [all …]
|