/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 | 34 my $cmd = 'java -classpath "classes" '.$TESTCLASS; 39 … "Empty array", ["$cmd TestEmptyArrayJava", "$cmd TestEmptyArrayICU"], 40 …"Empty Explicit String", ["$cmd TestEmptyExplicitStringJava", "$cmd TestEmptyExplicitString… 41 … "Empty String", ["$cmd TestEmptyStringJava", "$cmd TestEmptyStringICU"], 42 … "Get 123", ["$cmd TestGet123Java", "$cmd TestGet123ICU"], 43 … "Get Binary Test", ["$cmd TestGetBinaryTestJava", "$cmd TestGetBinaryTestICU"], 44 … "Get Empty Binary", ["$cmd TestGetEmptyBinaryJava", "$cmd TestGetBinaryTestICU"], 45 … "Get Empty Menu", ["$cmd TestGetEmptyMenuJava", "$cmd TestGetEmptyMenuICU"], 46 … "Get Empty Int", ["$cmd TestGetEmptyIntJava", "$cmd TestGetEmptyIntICU"], 47 …"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/autotest/client/tests/kvm/tests/ |
D | qemu_img.py | 16 cmd = virt_utils.get_path(test.bindir, params.get("qemu_img_binary")) 17 if not os.path.exists(cmd): 24 def _check(cmd, img): argument 31 cmd += " check %s" % img 34 output = utils.system_output(cmd) 43 def check_test(cmd): argument 59 s, o = _check(cmd, test_image) 65 _convert(cmd, fmt, test_image, output_image) 66 s, o = _check(cmd, output_image) 74 def _create(cmd, img_name, fmt, img_size=None, base_img=None, argument [all …]
|
D | multi_disk.py | 36 cmd = params.get("clean_cmd") 37 session.cmd_status_output(cmd) 39 cmd = params.get("pre_cmd") 41 session.cmd(cmd, timeout=cmd_timeout) 42 cmd = params.get("list_volume_command") 43 output = session.cmd_output(cmd, timeout=cmd_timeout) 68 cmd = params.get("format_command") % (fs, disk) 70 session.cmd(cmd, timeout=cmd_timeout) 72 cmd = params.get("mount_command") % (disk, disk, disk) 73 session.cmd(cmd, timeout=cmd_timeout) [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/autotest/client/virt/tests/ |
D | whql_client_install.py | 62 cmd = "echo %computername%" 63 server_name = server_session.cmd_output(cmd).strip() 64 client_name = session.cmd_output(cmd).strip() 65 cmd = "wmic computersystem get domain" 66 server_workgroup = server_session.cmd_output(cmd).strip() 69 cmd = "reg query %s /v Domain" % regkey 70 o = server_session.cmd_output(cmd).strip().splitlines()[-1] 77 server_session.cmd("cd %s" % server_studio_path) 78 cmd = "%s %s %s" % (os.path.basename(dsso_delete_machine_binary), 80 server_session.cmd(cmd, print_func=logging.info) [all …]
|
/external/toybox/toys/pending/ |
D | sh.c | 204 struct command *cmd; member 213 static char *parse_word(char *start, struct command **cmd) in parse_word() argument 223 (*cmd)->argv[(*cmd)->argc++] = xstrndup(start, end-start); in parse_word() 227 if (!((*cmd)->argc & 7)) in parse_word() 228 *cmd=xrealloc(*cmd, in parse_word() 229 sizeof(struct command) + ((*cmd)->argc+8)*sizeof(char *)); in parse_word() 230 (*cmd)->argv[(*cmd)->argc] = 0; in parse_word() 239 struct command **cmd = &(line->cmd); in parse_pipeline() local 258 if (!*cmd) *cmd = xzalloc(sizeof(struct command)+8*sizeof(char *)); in parse_pipeline() 261 end = parse_word(start, cmd); in parse_pipeline() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | hostapd_cli.c | 192 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument 203 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command() 206 printf("'%s' command timed out.\n", cmd); in _wpa_ctrl_command() 209 printf("'%s' command failed.\n", cmd); in _wpa_ctrl_command() 220 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument 222 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 226 static int write_cmd(char *buf, size_t buflen, const char *cmd, int argc, in write_cmd() argument 235 res = os_snprintf(pos, end - pos, "%s", cmd); in write_cmd() 256 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, in hostapd_cli_cmd() argument 263 cmd, min_args, min_args > 1 ? "s are" : " is"); in hostapd_cli_cmd() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_wrapper.py | 97 cmd = ['taskset', '-c', str(cpu_affinity)] 99 cmd = [] 100 cmd.append(cls.GetAdbPath()) 102 cmd.extend(['-s', device_serial]) 103 cmd.extend(args) 104 return cmd 243 cmd = ['devices'] 245 cmd.append('-l') 246 output = cls._RunAdbCmd(cmd, timeout=timeout, retries=retries) 278 cmd = ['pull', remote, local] [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/libcxx/test/libcxx/ |
D | compiler.py | 42 cmd = [] 44 cmd += ['ccache'] 45 cmd += [self.path] 47 cmd += ['-o', out] 49 cmd += ['-x', 'c++'] 51 cmd += source_files 53 cmd += [source_files] 56 return cmd 59 cmd = self._basicCmd(source_files, out, input_is_cxx=True) + ['-E'] 60 cmd += self.flags + self.compile_flags + flags [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 …]
|
/external/bison/build-aux/ |
D | gendocs.sh | 252 cmd="$SETLANG $MAKEINFO -o $PACKAGE.info $commonarg $infoarg \"$srcfile\"" 253 echo "Generating info file(s)... ($cmd)" 254 eval "$cmd" 261 cmd="$SETLANG $TEXI2DVI $commonarg \"$srcfile\"" 262 echo "Generating dvi ... ($cmd)" 263 eval "$cmd" 270 cmd="$SETLANG $TEXI2DVI --pdf $commonarg \"$srcfile\"" 271 echo "Generating pdf ... ($cmd)" 272 eval "$cmd" 277 cmd="$SETLANG $MAKEINFO $opt \"$srcfile\"" [all …]
|
/external/autotest/client/virt/ |
D | kvm_monitor.py | 47 def __init__(self, cmd, qmp_args, data): argument 48 MonitorError.__init__(self, cmd, qmp_args, data) 49 self.cmd = cmd 55 "error message: %r)" % (self.cmd, self.qmp_args, self.data)) 185 self._help_str = self.cmd("help", debug=False) 213 def _send(self, cmd): argument 223 "monitor command '%s'" % cmd) 227 self._socket.sendall(cmd + "\n") 230 cmd, e) 238 def cmd(self, command, timeout=20, debug=True): member in HumanMonitor [all …]
|