/third_party/backends/backend/ |
H A 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[ in request_sense() 80 static u_char cmd[6]; inquiry() local 99 static u_char cmd[6 + 12]; mode_select() local 121 static u_char cmd[6]; reserve_unit() local 137 static u_char cmd[6]; release_unit() local 153 static u_char cmd[6]; mode_sense() local 170 static u_char cmd[6 + 1]; scan() local 186 static u_char cmd[6]; send_diagnostic() local 202 static u_char cmd[10]; set_window() local 218 static u_char cmd[10]; get_window() local 235 static u_char cmd[10]; read_data() local 253 static u_char cmd[10]; medium_position() local 269 static u_char cmd[10]; execute_shading() local 285 static u_char cmd[10]; execute_auto_focus() local 309 static u_char cmd[6]; set_adf_mode() local 324 static u_char cmd[6]; get_scan_mode() local 363 static u_char cmd[6]; define_scan_mode() local 406 static u_char cmd[10]; get_density_curve() local 428 static u_char cmd[10]; get_density_curve_data_format() local 451 static u_char cmd[10]; set_density_curve() local 497 static u_char cmd[10]; get_power_on_timer() local 516 static u_char cmd[10]; get_film_status() local 534 static u_char cmd[10]; get_data_status() local 551 static u_char cmd[6]; reset_scanner() local 566 static u_char cmd[6]; execute_calibration() local 585 static u_char cmd[6]; get_calibration_status() local 636 static u_char cmd[10]; cancel() local [all...] |
H A 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[ in inquiry() 174 struct scsi_mode_select_cmd cmd; mode_select() member 222 static struct scsi_start_scan_cmd cmd; trigger_scan() local 247 struct scsi_window_cmd cmd; set_window() member 268 static struct scsi_window_cmd cmd; get_window() local 290 static struct scsi_read_scanner_cmd cmd; read_data() local 306 static struct scsi_object_position_cmd cmd; object_position() local 332 static struct scsi_get_buffer_status_cmd cmd; get_data_status() local [all...] |
H A 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[ in inquiry() 160 struct scsi_mode_select_cmd cmd; mode_select() member 206 static struct scsi_start_scan_cmd cmd; trigger_scan() local 229 struct scsi_window_cmd cmd; set_window() member 250 static struct scsi_window_cmd cmd; get_window() local 272 static struct scsi_read_scanner_cmd cmd; read_data() local 288 static SANE_Byte cmd[10]; object_position() local 303 static struct scsi_get_buffer_status_cmd cmd; get_data_status() local [all...] |
H A 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, sizeo in sanei_epson2_scsi_test_unit_ready() 71 unsigned char cmd[6]; sanei_epson2_scsi_read() local 90 unsigned char cmd[6]; sanei_epson2_scsi_write() local [all...] |
H A D | epson_scsi.c | 56 u_char cmd[6]; in sanei_epson_scsi_inquiry() local 59 memset (cmd, 0, 6); in sanei_epson_scsi_inquiry() 60 cmd[0] = INQUIRY_COMMAND; in sanei_epson_scsi_inquiry() 61 cmd[2] = page_code; in sanei_epson_scsi_inquiry() 62 cmd[4] = *buf_size > 255 ? 255 : *buf_size; in sanei_epson_scsi_inquiry() 63 status = sanei_scsi_cmd (fd, cmd, sizeof cmd, buf, buf_size); in sanei_epson_scsi_inquiry() 76 u_char cmd[6]; in sanei_epson_scsi_read() local 78 memset (cmd, 0, 6); in sanei_epson_scsi_read() 79 cmd[ in sanei_epson_scsi_read() 99 u_char *cmd; sanei_epson_scsi_write() local [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/ |
H A 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) in dump_SVGA3dVertexDecl() 204 dump_SVGA3dTextureState(const SVGA3dTextureState *cmd) dump_SVGA3dTextureState() argument 310 dump_SVGA3dViewport(const SVGA3dViewport *cmd) dump_SVGA3dViewport() argument 321 dump_SVGA3dSamplerId(const SVGA3dSamplerId *cmd) dump_SVGA3dSamplerId() argument 327 dump_SVGA3dSoTarget(const SVGA3dSoTarget *cmd) dump_SVGA3dSoTarget() argument 334 dump_SVGA3dInputElementDesc(const SVGA3dInputElementDesc *cmd) dump_SVGA3dInputElementDesc() argument 345 dump_SVGA3dVertexBuffer(const SVGA3dVertexBuffer *cmd) dump_SVGA3dVertexBuffer() argument 353 dump_SVGA3dCopyBox(const SVGA3dCopyBox *cmd) dump_SVGA3dCopyBox() argument 373 dump_SVGA3dCmdSetClipPlane(const SVGA3dCmdSetClipPlane *cmd) dump_SVGA3dCmdSetClipPlane() argument 384 dump_SVGA3dCmdWaitForQuery(const SVGA3dCmdWaitForQuery *cmd) dump_SVGA3dCmdWaitForQuery() argument 403 dump_SVGA3dCmdSetRenderTarget(const SVGA3dCmdSetRenderTarget *cmd) dump_SVGA3dCmdSetRenderTarget() argument 423 dump_SVGA3dCmdSetTextureState(const SVGA3dCmdSetTextureState *cmd) dump_SVGA3dCmdSetTextureState() argument 429 dump_SVGA3dCmdSurfaceCopy(const SVGA3dCmdSurfaceCopy *cmd) dump_SVGA3dCmdSurfaceCopy() argument 440 dump_SVGA3dCmdSetMaterial(const SVGA3dCmdSetMaterial *cmd) dump_SVGA3dCmdSetMaterial() argument 486 dump_SVGA3dCmdSetLightData(const SVGA3dCmdSetLightData *cmd) dump_SVGA3dCmdSetLightData() argument 544 dump_SVGA3dCmdSetViewport(const SVGA3dCmdSetViewport *cmd) dump_SVGA3dCmdSetViewport() argument 554 dump_SVGA3dCmdSetScissorRect(const SVGA3dCmdSetScissorRect *cmd) dump_SVGA3dCmdSetScissorRect() argument 564 dump_SVGA3dCopyRect(const SVGA3dCopyRect *cmd) dump_SVGA3dCopyRect() argument 575 dump_SVGA3dCmdSetShader(const SVGA3dCmdSetShader *cmd) dump_SVGA3dCmdSetShader() argument 583 dump_SVGA3dCmdEndQuery(const SVGA3dCmdEndQuery *cmd) dump_SVGA3dCmdEndQuery() argument 602 dump_SVGA3dSize(const SVGA3dSize *cmd) dump_SVGA3dSize() argument 610 dump_SVGA3dCmdDestroySurface(const SVGA3dCmdDestroySurface *cmd) dump_SVGA3dCmdDestroySurface() argument 616 dump_SVGA3dCmdDefineContext(const SVGA3dCmdDefineContext *cmd) dump_SVGA3dCmdDefineContext() argument 622 dump_SVGA3dRect(const SVGA3dRect *cmd) dump_SVGA3dRect() argument 631 dump_SVGA3dCmdBeginQuery(const SVGA3dCmdBeginQuery *cmd) dump_SVGA3dCmdBeginQuery() argument 648 dump_SVGA3dRenderState(const SVGA3dRenderState *cmd) dump_SVGA3dRenderState() argument 954 dump_SVGA3dVertexDivisor(const SVGA3dVertexDivisor *cmd) dump_SVGA3dVertexDivisor() argument 963 dump_SVGA3dCmdDefineShader(const SVGA3dCmdDefineShader *cmd) dump_SVGA3dCmdDefineShader() argument 1041 dump_SVGA3dCmdSetShaderConst(const SVGA3dCmdSetShaderConst *cmd, uint32 numConsts) dump_SVGA3dCmdSetShaderConst() argument 1050 dump_SVGA3dCmdSetGBShaderConstInline(const SVGA3dCmdSetGBShaderConstInline *cmd, uint32 numConsts) dump_SVGA3dCmdSetGBShaderConstInline() argument 1060 dump_SVGA3dCmdSetZRange(const SVGA3dCmdSetZRange *cmd) dump_SVGA3dCmdSetZRange() argument 1068 dump_SVGA3dCmdDrawPrimitives(const SVGA3dCmdDrawPrimitives *cmd) dump_SVGA3dCmdDrawPrimitives() argument 1076 dump_SVGA3dCmdSetLightEnabled(const SVGA3dCmdSetLightEnabled *cmd) dump_SVGA3dCmdSetLightEnabled() argument 1084 dump_SVGA3dPrimitiveRange(const SVGA3dPrimitiveRange *cmd) dump_SVGA3dPrimitiveRange() argument 1124 dump_SVGA3dCmdPresent(const SVGA3dCmdPresent *cmd) dump_SVGA3dCmdPresent() argument 1130 dump_SVGA3dCmdSetRenderState(const SVGA3dCmdSetRenderState *cmd) dump_SVGA3dCmdSetRenderState() argument 1136 dump_SVGA3dCmdSurfaceStretchBlt(const SVGA3dCmdSurfaceStretchBlt *cmd) dump_SVGA3dCmdSurfaceStretchBlt() argument 1173 dump_SVGA3dCmdSurfaceDMA(const SVGA3dCmdSurfaceDMA *cmd) dump_SVGA3dCmdSurfaceDMA() argument 1195 dump_SVGA3dCmdSurfaceDMASuffix(const SVGA3dCmdSurfaceDMASuffix *cmd) dump_SVGA3dCmdSurfaceDMASuffix() argument 1204 dump_SVGA3dCmdSetTransform(const SVGA3dCmdSetTransform *cmd) dump_SVGA3dCmdSetTransform() argument 1279 dump_SVGA3dCmdDestroyShader(const SVGA3dCmdDestroyShader *cmd) dump_SVGA3dCmdDestroyShader() argument 1297 dump_SVGA3dCmdDestroyContext(const SVGA3dCmdDestroyContext *cmd) dump_SVGA3dCmdDestroyContext() argument 1303 dump_SVGA3dCmdClear(const SVGA3dCmdClear *cmd) dump_SVGA3dCmdClear() argument 1326 dump_SVGA3dCmdDefineSurface(const SVGA3dCmdDefineSurface *cmd) dump_SVGA3dCmdDefineSurface() argument 1359 dump_SVGASignedRect(const SVGASignedRect *cmd) dump_SVGASignedRect() argument 1376 dump_SVGA3dCmdBlitSurfaceToScreen(const SVGA3dCmdBlitSurfaceToScreen *cmd) dump_SVGA3dCmdBlitSurfaceToScreen() argument 1393 dump_SVGA3dCmdDefineGBContext(const SVGA3dCmdDefineGBContext *cmd) dump_SVGA3dCmdDefineGBContext() argument 1399 dump_SVGA3dCmdBindGBContext(const SVGA3dCmdBindGBContext *cmd) dump_SVGA3dCmdBindGBContext() argument 1407 dump_SVGA3dCmdDestroyGBContext(const SVGA3dCmdDestroyGBContext *cmd) dump_SVGA3dCmdDestroyGBContext() argument 1413 dump_SVGA3dCmdDefineGBShader(const SVGA3dCmdDefineGBShader *cmd) dump_SVGA3dCmdDefineGBShader() argument 1421 dump_SVGA3dCmdBindGBShader(const SVGA3dCmdBindGBShader *cmd) dump_SVGA3dCmdBindGBShader() argument 1429 dump_SVGA3dCmdDestroyGBShader(const SVGA3dCmdDestroyGBShader *cmd) dump_SVGA3dCmdDestroyGBShader() argument 1435 dump_SVGA3dCmdBindGBSurface(const SVGA3dCmdBindGBSurface *cmd) dump_SVGA3dCmdBindGBSurface() argument 1442 dump_SVGA3dCmdUpdateGBSurface(const SVGA3dCmdUpdateGBSurface *cmd) dump_SVGA3dCmdUpdateGBSurface() argument 1448 dump_SVGA3dCmdUpdateGBImage(const SVGA3dCmdUpdateGBImage *cmd) dump_SVGA3dCmdUpdateGBImage() argument 1457 dump_SVGA3dCmdReadbackGBImage(const SVGA3dCmdReadbackGBImage *cmd) dump_SVGA3dCmdReadbackGBImage() argument 1465 dump_SVGA3dCmdInvalidateGBImage(const SVGA3dCmdInvalidateGBImage *cmd) dump_SVGA3dCmdInvalidateGBImage() argument 1473 dump_SVGA3dCmdInvalidateGBImagePartial(const SVGA3dCmdInvalidateGBImagePartial *cmd) dump_SVGA3dCmdInvalidateGBImagePartial() argument 1784 dump_SVGA3dCmdDXDefineBlendState(const SVGA3dCmdDXDefineBlendState *cmd) dump_SVGA3dCmdDXDefineBlendState() argument 1996 dump_SVGA3dCmdDXUpdateSubResource(const SVGA3dCmdDXUpdateSubResource *cmd) dump_SVGA3dCmdDXUpdateSubResource() argument 2004 dump_SVGA3dCmdDXReadbackSubResource(const SVGA3dCmdDXReadbackSubResource *cmd) dump_SVGA3dCmdDXReadbackSubResource() argument 2045 dump_SVGA3dCmdIntraSurfaceCopy(const SVGA3dCmdIntraSurfaceCopy *cmd) dump_SVGA3dCmdIntraSurfaceCopy() argument 2054 dump_SVGA3dCmdInvalidateGBSurface(const SVGA3dCmdInvalidateGBSurface *cmd) dump_SVGA3dCmdInvalidateGBSurface() argument 2158 const SVGA3dCmdDXSetRenderTargets *cmd = svga_dump_command() local 2174 const SVGA3dCmdDefineSurface *cmd = (const SVGA3dCmdDefineSurface *)body; svga_dump_command() local 2186 const SVGA3dCmdDestroySurface *cmd = (const SVGA3dCmdDestroySurface *)body; svga_dump_command() local 2194 const SVGA3dCmdSurfaceCopy *cmd = (const SVGA3dCmdSurfaceCopy *)body; svga_dump_command() local 2206 const SVGA3dCmdSurfaceStretchBlt *cmd = (const SVGA3dCmdSurfaceStretchBlt *)body; svga_dump_command() local 2214 const SVGA3dCmdSurfaceDMA *cmd = (const SVGA3dCmdSurfaceDMA *)body; svga_dump_command() local 2230 const SVGA3dCmdDefineContext *cmd = (const SVGA3dCmdDefineContext *)body; svga_dump_command() local 2238 const SVGA3dCmdDestroyContext *cmd = (const SVGA3dCmdDestroyContext *)body; svga_dump_command() local 2246 const SVGA3dCmdSetTransform *cmd = (const SVGA3dCmdSetTransform *)body; svga_dump_command() local 2254 const SVGA3dCmdSetZRange *cmd = (const SVGA3dCmdSetZRange *)body; svga_dump_command() local 2262 const SVGA3dCmdSetRenderState *cmd = (const SVGA3dCmdSetRenderState *)body; svga_dump_command() local 2274 const SVGA3dCmdSetRenderTarget *cmd = (const SVGA3dCmdSetRenderTarget *)body; svga_dump_command() local 2282 const SVGA3dCmdSetTextureState *cmd = (const SVGA3dCmdSetTextureState *)body; svga_dump_command() local 2294 const SVGA3dCmdSetMaterial *cmd = (const SVGA3dCmdSetMaterial *)body; svga_dump_command() local 2302 const SVGA3dCmdSetLightData *cmd = (const SVGA3dCmdSetLightData *)body; svga_dump_command() local 2310 const SVGA3dCmdSetLightEnabled *cmd = (const SVGA3dCmdSetLightEnabled *)body; svga_dump_command() local 2318 const SVGA3dCmdSetViewport *cmd = (const SVGA3dCmdSetViewport *)body; svga_dump_command() local 2326 const SVGA3dCmdSetClipPlane *cmd = (const SVGA3dCmdSetClipPlane *)body; svga_dump_command() local 2334 const SVGA3dCmdClear *cmd = (const SVGA3dCmdClear *)body; svga_dump_command() local 2346 const SVGA3dCmdPresent *cmd = (const SVGA3dCmdPresent *)body; svga_dump_command() local 2358 const SVGA3dCmdDefineShader *cmd = (const SVGA3dCmdDefineShader *)body; svga_dump_command() local 2370 const SVGA3dCmdDestroyShader *cmd = (const SVGA3dCmdDestroyShader *)body; svga_dump_command() local 2378 const SVGA3dCmdSetShader *cmd = (const SVGA3dCmdSetShader *)body; svga_dump_command() local 2386 const SVGA3dCmdSetShaderConst *cmd = (const SVGA3dCmdSetShaderConst *)body; svga_dump_command() local 2395 const SVGA3dCmdDrawPrimitives *cmd = (const SVGA3dCmdDrawPrimitives *)body; svga_dump_command() local 2416 const SVGA3dCmdSetScissorRect *cmd = (const SVGA3dCmdSetScissorRect *)body; svga_dump_command() local 2424 const SVGA3dCmdBeginQuery *cmd = (const SVGA3dCmdBeginQuery *)body; svga_dump_command() local 2432 const SVGA3dCmdEndQuery *cmd = (const SVGA3dCmdEndQuery *)body; svga_dump_command() local 2440 const SVGA3dCmdWaitForQuery *cmd = (const SVGA3dCmdWaitForQuery *)body; svga_dump_command() local 2448 const SVGA3dCmdBlitSurfaceToScreen *cmd = (const SVGA3dCmdBlitSurfaceToScreen *)body; svga_dump_command() local 2460 const SVGA3dCmdDefineGBContext *cmd = (const SVGA3dCmdDefineGBContext *) body; svga_dump_command() local 2468 const SVGA3dCmdBindGBContext *cmd = (const SVGA3dCmdBindGBContext *) body; svga_dump_command() local 2476 const SVGA3dCmdDestroyGBContext *cmd = (const SVGA3dCmdDestroyGBContext *) body; svga_dump_command() local 2484 const SVGA3dCmdDefineGBShader *cmd = (const SVGA3dCmdDefineGBShader *) body; svga_dump_command() local 2492 const SVGA3dCmdBindGBShader *cmd = (const SVGA3dCmdBindGBShader *) body; svga_dump_command() local 2500 const SVGA3dCmdDestroyGBShader *cmd = (const SVGA3dCmdDestroyGBShader *) body; svga_dump_command() local 2508 const SVGA3dCmdBindGBSurface *cmd = (const SVGA3dCmdBindGBSurface *) body; svga_dump_command() local 2516 const SVGA3dCmdUpdateGBSurface *cmd = (const SVGA3dCmdUpdateGBSurface *) body; svga_dump_command() local 2524 const SVGA3dCmdReadbackGBImage *cmd = (SVGA3dCmdReadbackGBImage *) body; svga_dump_command() local 2532 const SVGA3dCmdUpdateGBImage *cmd = (const SVGA3dCmdUpdateGBImage *) body; svga_dump_command() local 2540 const SVGA3dCmdInvalidateGBImage *cmd = (const SVGA3dCmdInvalidateGBImage *) body; svga_dump_command() local 2548 const SVGA3dCmdInvalidateGBImagePartial *cmd = (const SVGA3dCmdInvalidateGBImagePartial *) body; svga_dump_command() local 2557 const SVGA3dCmdSetGBShaderConstInline *cmd = (const SVGA3dCmdSetGBShaderConstInline *)body; svga_dump_command() local 2566 const SVGA3dCmdInvalidateGBSurface *cmd = (const SVGA3dCmdInvalidateGBSurface *)body; svga_dump_command() local 2574 const SVGA3dCmdIntraSurfaceCopy *cmd = (const SVGA3dCmdIntraSurfaceCopy *)body; svga_dump_command() local [all...] |
/third_party/python/Lib/distutils/tests/ |
H A 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 [all...] |
H A 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 [all...] |
H A 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 [all...] |
H A 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 [all...] |
H A 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 [all...] |
H A 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 [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A 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 in tu_lrz_init_state() 232 tu_lrz_init_secondary(struct tu_cmd_buffer *cmd, const struct tu_render_pass_attachment *att) tu_lrz_init_secondary() argument 269 tu_lrz_begin_resumed_renderpass(struct tu_cmd_buffer *cmd, const VkClearValue *clear_values) tu_lrz_begin_resumed_renderpass() argument 296 tu_lrz_begin_renderpass(struct tu_cmd_buffer *cmd, const VkClearValue *clear_values) tu_lrz_begin_renderpass() argument 340 tu_lrz_begin_secondary_cmdbuf(struct tu_cmd_buffer *cmd) tu_lrz_begin_secondary_cmdbuf() argument 351 tu_lrz_tiling_begin(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu_lrz_tiling_begin() argument 422 tu_lrz_tiling_end(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu_lrz_tiling_end() argument 457 tu_lrz_sysmem_begin(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu_lrz_sysmem_begin() argument 492 tu_lrz_sysmem_end(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu_lrz_sysmem_end() argument 499 tu_disable_lrz(struct tu_cmd_buffer *cmd, struct tu_cs *cs, struct tu_image *image) tu_disable_lrz() argument 514 tu_lrz_clear_depth_image(struct tu_cmd_buffer *cmd, struct tu_image *image, const VkClearDepthStencilValue *pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange *pRanges) tu_lrz_clear_depth_image() argument 565 tu_lrz_disable_during_renderpass(struct tu_cmd_buffer *cmd) tu_lrz_disable_during_renderpass() argument 637 tu6_calculate_lrz_state(struct tu_cmd_buffer *cmd, const uint32_t a) tu6_calculate_lrz_state() argument 849 tu6_emit_lrz(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu6_emit_lrz() argument [all...] |
H A 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 in tu6_emit_zs() 244 tu6_emit_mrt(struct tu_cmd_buffer *cmd, const struct tu_subpass *subpass, struct tu_cs *cs) tu6_emit_mrt() argument 346 tu6_emit_render_cntl(struct tu_cmd_buffer *cmd, const struct tu_subpass *subpass, struct tu_cs *cs, bool binning) tu6_emit_render_cntl() argument 405 tu6_emit_blit_scissor(struct tu_cmd_buffer *cmd, struct tu_cs *cs, bool align) tu6_emit_blit_scissor() argument 544 use_hw_binning(struct tu_cmd_buffer *cmd) use_hw_binning() argument 575 use_sysmem_rendering(struct tu_cmd_buffer *cmd, struct tu_renderpass_result **autotune_result) use_sysmem_rendering() argument 629 tu6_emit_cond_for_load_stores(struct tu_cmd_buffer *cmd, struct tu_cs *cs, uint32_t pipe, uint32_t slot, bool wfm) tu6_emit_cond_for_load_stores() argument 643 tu6_emit_tile_select(struct tu_cmd_buffer *cmd, struct tu_cs *cs, uint32_t tx, uint32_t ty, uint32_t pipe, uint32_t slot) tu6_emit_tile_select() argument 685 tu6_emit_sysmem_resolve(struct tu_cmd_buffer *cmd, struct tu_cs *cs, uint32_t layer_mask, uint32_t a, uint32_t gmem_a) tu6_emit_sysmem_resolve() argument 699 tu6_emit_sysmem_resolves(struct tu_cmd_buffer *cmd, struct tu_cs *cs, const struct tu_subpass *subpass) tu6_emit_sysmem_resolves() argument 747 tu6_emit_tile_load(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu6_emit_tile_load() argument 756 tu6_emit_tile_store(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu6_emit_tile_store() argument 786 tu_disable_draw_states(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu_disable_draw_states() argument 799 tu6_init_hw(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu6_init_hw() argument 946 update_vsc_pipe(struct tu_cmd_buffer *cmd, struct tu_cs *cs) update_vsc_pipe() argument 971 emit_vsc_overflow_test(struct tu_cmd_buffer *cmd, struct tu_cs *cs) emit_vsc_overflow_test() argument 1003 tu6_emit_binning_pass(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu6_emit_binning_pass() argument 1089 tu_emit_input_attachments(struct tu_cmd_buffer *cmd, const struct tu_subpass *subpass, bool gmem) tu_emit_input_attachments() argument 1223 tu_set_input_attachments(struct tu_cmd_buffer *cmd, const struct tu_subpass *subpass) tu_set_input_attachments() argument 1236 tu_emit_renderpass_begin(struct tu_cmd_buffer *cmd, const VkClearValue *clear_values) tu_emit_renderpass_begin() argument 1261 tu6_sysmem_render_begin(struct tu_cmd_buffer *cmd, struct tu_cs *cs, struct tu_renderpass_result *autotune_result) tu6_sysmem_render_begin() argument 1296 tu6_sysmem_render_end(struct tu_cmd_buffer *cmd, struct tu_cs *cs, struct tu_renderpass_result *autotune_result) tu6_sysmem_render_end() argument 1317 tu6_tile_render_begin(struct tu_cmd_buffer *cmd, struct tu_cs *cs, struct tu_renderpass_result *autotune_result) tu6_tile_render_begin() argument 1374 tu6_render_tile(struct tu_cmd_buffer *cmd, struct tu_cs *cs, uint32_t tx, uint32_t ty, uint32_t pipe, uint32_t slot) tu6_render_tile() argument 1418 tu6_tile_render_end(struct tu_cmd_buffer *cmd, struct tu_cs *cs, struct tu_renderpass_result *autotune_result) tu6_tile_render_end() argument 1433 tu_cmd_render_tiles(struct tu_cmd_buffer *cmd, struct tu_renderpass_result *autotune_result) tu_cmd_render_tiles() argument 1498 tu_cmd_render_sysmem(struct tu_cmd_buffer *cmd, struct tu_renderpass_result *autotune_result) tu_cmd_render_sysmem() argument 2396 tu_cmd_dynamic_state(struct tu_cmd_buffer *cmd, uint32_t id, uint32_t size) tu_cmd_dynamic_state() argument 3409 tu_restore_suspended_pass(struct tu_cmd_buffer *cmd, struct tu_cmd_buffer *suspended) tu_restore_suspended_pass() argument 3426 tu_append_pre_chain(struct tu_cmd_buffer *cmd, struct tu_cmd_buffer *secondary) tu_append_pre_chain() argument 3448 tu_append_post_chain(struct tu_cmd_buffer *cmd, struct tu_cmd_buffer *secondary) tu_append_post_chain() argument 3472 tu_append_pre_post_chain(struct tu_cmd_buffer *cmd, struct tu_cmd_buffer *secondary) tu_append_pre_post_chain() argument 3494 tu_save_pre_chain(struct tu_cmd_buffer *cmd) tu_save_pre_chain() argument 3810 tu_emit_subpass_begin(struct tu_cmd_buffer *cmd) tu_emit_subpass_begin() argument 4177 tu6_const_size(struct tu_cmd_buffer *cmd, const struct tu_pipeline *pipeline, bool compute) tu6_const_size() argument 4198 tu6_emit_consts(struct tu_cmd_buffer *cmd, const struct tu_pipeline *pipeline, bool compute) tu6_emit_consts() argument 4233 tu6_writes_depth(struct tu_cmd_buffer *cmd, bool depth_test_enable) tu6_writes_depth() argument 4247 tu6_writes_stencil(struct tu_cmd_buffer *cmd) tu6_writes_stencil() argument 4291 tu6_build_depth_plane_z_mode(struct tu_cmd_buffer *cmd, struct tu_cs *cs) tu6_build_depth_plane_z_mode() argument 4321 tu6_emit_blend(struct tu_cs *cs, struct tu_cmd_buffer *cmd) tu6_emit_blend() argument 4360 tu6_draw_common(struct tu_cmd_buffer *cmd, struct tu_cs *cs, bool indexed, uint32_t draw_count) tu6_draw_common() argument 4561 tu_draw_initiator(struct tu_cmd_buffer *cmd, enum pc_di_src_sel src_sel) tu_draw_initiator() argument 4610 vs_params_offset(struct tu_cmd_buffer *cmd) vs_params_offset() argument 4631 tu6_emit_empty_vs_params(struct tu_cmd_buffer *cmd) tu6_emit_empty_vs_params() argument 4640 tu6_emit_vs_params(struct tu_cmd_buffer *cmd, uint32_t vertex_offset, uint32_t first_instance) tu6_emit_vs_params() argument 4742 draw_wfm(struct tu_cmd_buffer *cmd) draw_wfm() argument 4929 tu_emit_compute_driver_params(struct tu_cmd_buffer *cmd, struct tu_cs *cs, struct tu_pipeline *pipeline, const struct tu_dispatch_info *info) tu_emit_compute_driver_params() argument 5033 tu_dispatch(struct tu_cmd_buffer *cmd, const struct tu_dispatch_info *info) tu_dispatch() argument 5220 tu_barrier(struct tu_cmd_buffer *cmd, const VkDependencyInfo *dep_info) tu_barrier() argument 5337 write_event(struct tu_cmd_buffer *cmd, struct tu_event *event, VkPipelineStageFlags2 stageMask, unsigned value) write_event() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_cmd.c | 109 uint32 cmd, // IN in SVGA3D_FIFOReserve() 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 in SVGA3D_DestroyContext() 108 SVGA3D_FIFOReserve(struct svga_winsys_context *swc, uint32 cmd, uint32 cmdSize, uint32 nr_relocs) SVGA3D_FIFOReserve() argument 282 SVGA3dCmdDefineSurface *cmd; SVGA3D_BeginDefineSurface() local 370 SVGA3dCmdDestroySurface *cmd; SVGA3D_DestroySurface() local 436 SVGA3dCmdSurfaceDMA *cmd; SVGA3D_SurfaceDMA() local 498 SVGA3dCmdSurfaceDMA *cmd; SVGA3D_BufferDMA() local 592 SVGA3dCmdSetRenderTarget *cmd; SVGA3D_SetRenderTarget() local 643 SVGA3dCmdDefineShader *cmd; SVGA3D_DefineShader() local 687 SVGA3dCmdDestroyShader *cmd; SVGA3D_DestroyShader() local 734 SVGA3dCmdSetShaderConst *cmd; SVGA3D_SetShaderConst() local 801 SVGA3dCmdSetShaderConst *cmd; SVGA3D_SetShaderConsts() local 851 SVGA3dCmdSetShader *cmd; SVGA3D_SetShader() local 904 SVGA3dCmdClear *cmd; SVGA3D_BeginClear() local 1001 SVGA3dCmdDrawPrimitives *cmd; SVGA3D_BeginDrawPrimitives() local 1062 SVGA3dCmdSurfaceCopy *cmd; SVGA3D_BeginSurfaceCopy() local 1106 SVGA3dCmdSurfaceStretchBlt *cmd; SVGA3D_SurfaceStretchBlt() local 1147 SVGA3dCmdSetViewport *cmd; SVGA3D_SetViewport() local 1186 SVGA3dCmdSetScissorRect *cmd; SVGA3D_SetScissorRect() local 1223 SVGA3dCmdSetClipPlane *cmd; SVGA3D_SetClipPlane() local 1264 SVGA3dCmdSetZRange *cmd; SVGA3D_SetZRange() local 1311 SVGA3dCmdSetTextureState *cmd; SVGA3D_BeginSetTextureState() local 1357 SVGA3dCmdSetRenderState *cmd; SVGA3D_BeginSetRenderState() local 1393 SVGA3dCmdBeginGBQuery *cmd; SVGA3D_BeginGBQuery() local 1431 SVGA3dCmdBeginQuery *cmd; SVGA3D_BeginQuery() local 1473 SVGA3dCmdEndGBQuery *cmd; SVGA3D_EndGBQuery() local 1515 SVGA3dCmdEndQuery *cmd; SVGA3D_EndQuery() local 1560 SVGA3dCmdWaitForGBQuery *cmd; SVGA3D_WaitForGBQuery() local 1607 SVGA3dCmdWaitForQuery *cmd; SVGA3D_WaitForQuery() local 1635 SVGA3dCmdBindGBShader *cmd = SVGA3D_BindGBShader() local 1658 SVGA3dCmdSetShader *cmd; SVGA3D_SetGBShader() local 1688 SVGA3dCmdBindGBSurface *cmd = SVGA3D_BindGBSurface() local 1717 SVGA3dCmdUpdateGBImage *cmd = SVGA3D_UpdateGBImage() local 1747 SVGA3dCmdUpdateGBSurface *cmd = SVGA3D_UpdateGBSurface() local 1775 SVGA3dCmdReadbackGBImage *cmd = SVGA3D_ReadbackGBImage() local 1804 SVGA3dCmdReadbackGBSurface *cmd = SVGA3D_ReadbackGBSurface() local 1830 SVGA3dCmdReadbackGBImagePartial *cmd = SVGA3D_ReadbackGBImagePartial() local 1859 SVGA3dCmdInvalidateGBImagePartial *cmd = SVGA3D_InvalidateGBImagePartial() local 1883 SVGA3dCmdInvalidateGBSurface *cmd = SVGA3D_InvalidateGBSurface() local 1906 SVGA3dCmdSetGBShaderConstInline *cmd; SVGA3D_SetGBShaderConstsInline() local [all...] |
H A 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 in SVGA3D_vgpu10_PredCopyRegion() 202 SVGA3dCmdDXPredCopy *cmd = SVGA3D_vgpu10_PredCopy() local 239 SVGA3dCmdDXSetShader *cmd = SVGA3D_FIFOReserve(swc, SVGA3D_vgpu10_SetShader() local 264 SVGA3dCmdDXSetShaderResources *cmd; SVGA3D_vgpu10_SetShaderResources() local 314 SVGA3dCmdDXClearRenderTargetView *cmd; SVGA3D_vgpu10_ClearRenderTargetView() local 348 SVGA3dCmdDXSetRenderTargets *cmd; SVGA3D_vgpu10_SetRenderTargets() local 444 SVGA3dCmdDXSetPredication *cmd; SVGA3D_vgpu10_SetPredication() local 464 SVGA3dCmdDXSetSOTargets *cmd; SVGA3D_vgpu10_SetSOTargets() local 502 SVGA3dCmdDXSetScissorRects *cmd; SVGA3D_vgpu10_SetScissorRects() local 645 SVGA3dCmdDXBindQuery *cmd = SVGA3D_FIFOReserve(swc, SVGA3D_vgpu10_BindQuery() local 698 SVGA3dCmdDXClearDepthStencilView *cmd; SVGA3D_vgpu10_ClearDepthStencilView() local 732 SVGA3dCmdDXDefineShaderResourceView *cmd; SVGA3D_vgpu10_DefineShaderResourceView() local 773 SVGA3dCmdDXDefineRenderTargetView *cmd; SVGA3D_vgpu10_DefineRenderTargetView() local 813 SVGA3dCmdDXDefineDepthStencilView *cmd; SVGA3D_vgpu10_DefineDepthStencilView() local 855 SVGA3dCmdDXDefineElementLayout *cmd; SVGA3D_vgpu10_DefineElementLayout() local 1178 SVGA3dCmdDXSetVertexBuffers *cmd; SVGA3D_vgpu10_SetVertexBuffers() local 1213 SVGA3dCmdDXSetVertexBuffersOffsetAndSize *cmd; SVGA3D_vgpu10_SetVertexBuffersOffsetAndSize() local 1260 SVGA3dCmdDXSetIndexBuffer *cmd; SVGA3D_vgpu10_SetIndexBuffer() local 1282 SVGA3dCmdDXSetIndexBuffer_v2 *cmd; SVGA3D_vgpu10_SetIndexBuffer_v2() local 1303 SVGA3dCmdDXSetIndexBufferOffsetAndSize *cmd; SVGA3D_vgpu10_SetIndexBufferOffsetAndSize() local 1325 SVGA3dCmdDXSetSingleConstantBuffer *cmd; SVGA3D_vgpu10_SetSingleConstantBuffer() local 1357 SVGA3dCmdDXSetConstantBufferOffset *cmd; SVGA3D_vgpu10_SetConstantBufferOffset() local 1381 SVGA3dCmdDXReadbackSubResource *cmd; SVGA3D_vgpu10_ReadbackSubResource() local 1403 SVGA3dCmdDXUpdateSubResource *cmd; SVGA3D_vgpu10_UpdateSubResource() local 1425 SVGA3dCmdDXGenMips *cmd; SVGA3D_vgpu10_GenMips() local 1448 SVGA3dCmdDXBufferCopy *cmd; SVGA3D_vgpu10_BufferCopy() local 1474 SVGA3dCmdDXTransferFromBuffer *cmd; SVGA3D_vgpu10_TransferFromBuffer() local 1500 SVGA3dCmdIntraSurfaceCopy *cmd = SVGA3D_vgpu10_IntraSurfaceCopy() local 1526 SVGA3dCmdDXResolveCopy *cmd = SVGA3D_vgpu10_ResolveCopy() local 1551 SVGA3dCmdDXDrawIndexedInstancedIndirect *cmd = SVGA3D_sm5_DrawIndexedInstancedIndirect() local 1574 SVGA3dCmdDXDrawInstancedIndirect *cmd = SVGA3D_sm5_DrawInstancedIndirect() local 1600 SVGA3dCmdDXDefineUAView *cmd; SVGA3D_sm5_DefineUAView() local 1638 SVGA3dCmdDXSetUAViews *cmd; SVGA3D_sm5_SetUAViews() local 1669 SVGA3dCmdDXDispatch *cmd; SVGA3D_sm5_Dispatch() local 1692 SVGA3dCmdDXDispatchIndirect *cmd; SVGA3D_sm5_DispatchIndirect() local 1716 SVGA3dCmdDXSetCSUAViews *cmd; SVGA3D_sm5_SetCSUAViews() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-child-process-spawn-typeerror.js | 27 const cmd = common.isWindows ? 'rundll32' : 'ls'; 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, [], { gi [all...] |
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | help.js | 25 * @param {Command} cmd 29 visibleCommands(cmd) { 30 const visibleCommands = cmd.commands.filter(cmd => !cmd._hidden); 31 if (cmd._hasImplicitHelpCommand()) { 33 const [, helpName, helpArgs] = cmd._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/); 34 const helpCommand = cmd.createCommand(helpName) 36 helpCommand.description(cmd._helpCommandDescription); 67 * @param {Command} cmd [all...] |
/third_party/rust/crates/clap/clap_mangen/tests/ |
H A D | roff.rs | 6 let cmd = common::basic_command(name); in basic() 7 common::assert_matches_path("tests/snapshots/basic.bash.roff", cmd); in basic() 13 let cmd = common::feature_sample_command(name); in feature_sample() 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() 21 common::assert_matches_path("tests/snapshots/special_commands.bash.roff", cmd); in special_commands() 27 let cmd = common::quoting_command(name); in quoting() 28 common::assert_matches_path("tests/snapshots/quoting.bash.roff", cmd); in quoting() 34 let cmd = common::aliases_command(name); in aliases() 35 common::assert_matches_path("tests/snapshots/aliases.bash.roff", cmd); in aliases() 76 let mut cmd = common::sub_subcommands_command(name); sub_subcommands_help() variables [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A 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 in vk_cmd_enqueue_CmdDrawMultiEXT() 80 struct vk_cmd_queue_entry *cmd = vk_cmd_enqueue_CmdDrawMultiIndexedEXT() local 132 struct vk_cmd_queue_entry *cmd = vk_cmd_enqueue_CmdPushDescriptorSetKHR() local 201 unref_pipeline_layout(struct vk_cmd_queue *queue, struct vk_cmd_queue_entry *cmd) unref_pipeline_layout() argument 226 struct vk_cmd_queue_entry *cmd = vk_cmd_enqueue_CmdBindDescriptorSets() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Commands.cpp | 101 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 in FreeCommands() 125 ClearBufferCmd* cmd = commands->NextCommand<ClearBufferCmd>(); FreeCommands() local 130 InsertDebugMarkerCmd* cmd = commands->NextCommand<InsertDebugMarkerCmd>(); FreeCommands() local 136 PopDebugGroupCmd* cmd = commands->NextCommand<PopDebugGroupCmd>(); FreeCommands() local 141 PushDebugGroupCmd* cmd = commands->NextCommand<PushDebugGroupCmd>(); FreeCommands() local 147 ResolveQuerySetCmd* cmd = commands->NextCommand<ResolveQuerySetCmd>(); FreeCommands() local 152 SetComputePipelineCmd* cmd = commands->NextCommand<SetComputePipelineCmd>(); FreeCommands() local 157 SetRenderPipelineCmd* cmd = commands->NextCommand<SetRenderPipelineCmd>(); FreeCommands() local 162 SetStencilReferenceCmd* cmd = commands->NextCommand<SetStencilReferenceCmd>(); FreeCommands() local 167 SetViewportCmd* cmd = commands->NextCommand<SetViewportCmd>(); FreeCommands() local 172 SetScissorRectCmd* cmd = commands->NextCommand<SetScissorRectCmd>(); FreeCommands() local 177 SetBlendConstantCmd* cmd = commands->NextCommand<SetBlendConstantCmd>(); FreeCommands() local 182 SetBindGroupCmd* cmd = commands->NextCommand<SetBindGroupCmd>(); FreeCommands() local 190 SetIndexBufferCmd* cmd = commands->NextCommand<SetIndexBufferCmd>(); FreeCommands() local 195 SetVertexBufferCmd* cmd = commands->NextCommand<SetVertexBufferCmd>(); FreeCommands() local 206 WriteTimestampCmd* cmd = commands->NextCommand<WriteTimestampCmd>(); FreeCommands() local 283 auto* cmd = commands->NextCommand<ExecuteBundlesCmd>(); SkipCommand() local 293 InsertDebugMarkerCmd* cmd = commands->NextCommand<InsertDebugMarkerCmd>(); SkipCommand() local 303 PushDebugGroupCmd* cmd = commands->NextCommand<PushDebugGroupCmd>(); SkipCommand() local 338 SetBindGroupCmd* cmd = commands->NextCommand<SetBindGroupCmd>(); SkipCommand() local [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | executor.cc | 96 for (const auto& cmd : script->GetCommands()) { in Execute() 98 delegate->Log(std::to_string(cmd->GetLine()) + ": " + cmd->ToString()); in Execute() 101 Result r = ExecuteCommand(engine, cmd.get()); in Execute() 108 Result Executor::ExecuteCommand(Engine* engine, Command* cmd) { in ExecuteCommand() argument 109 if (cmd->IsProbe()) { in ExecuteCommand() 110 auto* buffer = cmd->AsProbe()->GetBuffer(); in ExecuteCommand() 114 return verifier_.Probe(cmd->AsProbe(), fmt, buffer->GetElementStride(), in ExecuteCommand() 118 if (cmd->IsProbeSSBO()) { in ExecuteCommand() 119 auto probe_ssbo = cmd in ExecuteCommand() [all...] |
/third_party/rust/crates/clap/src/builder/ |
H A D | debug_asserts.rs | 14 pub(crate) fn assert_app(cmd: &Command) { 21 if cmd.get_version().is_none() && cmd.get_long_version().is_none() { 24 !cmd.is_propagate_version_set(), 26 cmd.get_name(), 30 let version_needed = cmd 37 ,cmd.get_name() 41 for sc in cmd.get_subcommands() { 60 for arg in cmd.get_arguments() { 64 !cmd [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | ctrl_iface.h | 126 int wpa_supplicant_ctrl_iface_remove_network(struct wpa_supplicant *wpa_s, char *cmd); 128 int wpa_supplicant_ctrl_iface_disable_network(struct wpa_supplicant *wpa_s, char *cmd); 130 int wpa_supplicant_ctrl_iface_set_network(struct wpa_supplicant *wpa_s, char *cmd); 132 int wpa_supplicant_ctrl_iface_list_networks(struct wpa_supplicant *wpa_s, char *cmd, char *buf, size_t buflen); 134 int wpa_supplicant_ctrl_iface_select_network(struct wpa_supplicant *wpa_s, char *cmd); 136 int wpa_supplicant_ctrl_iface_enable_network(struct wpa_supplicant *wpa_s, char *cmd); 138 int wpa_supplicant_ctrl_iface_get_network(struct wpa_supplicant *wpa_s, char *cmd, char *buf, size_t buflen); 142 int wpa_supplicant_global_iface_add(struct wpa_global *global, char *cmd); 144 int wpa_supplicant_global_iface_remove(struct wpa_global *global, char *cmd); 150 int p2p_ctrl_set(struct wpa_supplicant *wpa_s, char *cmd); [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A 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_arg in hostapd_cli_cmd() 445 char cmd[256]; hostapd_cli_cmd_wps_check_pin() local 512 char cmd[64]; hostapd_cli_cmd_wps_nfc_config_token() local 534 char cmd[64]; hostapd_cli_cmd_wps_nfc_token() local 555 char cmd[64]; hostapd_cli_cmd_nfc_get_handover_sel() local 723 wpa_ctrl_command_sta(struct wpa_ctrl *ctrl, const char *cmd, char *addr, size_t addr_len, int print) wpa_ctrl_command_sta() argument 763 char addr[32], cmd[64]; hostapd_cli_cmd_all_sta() local 778 char addr[32], cmd[64]; hostapd_cli_cmd_list_sta() local 917 char cmd[256]; hostapd_cli_cmd_level() local 930 char addr[32], cmd[64]; update_stations() local 1027 char cmd[2048]; hostapd_cli_cmd_set() local 1085 char cmd[256]; hostapd_cli_cmd_get() local 1131 char cmd[256]; hostapd_cli_cmd_fst() local 1160 char cmd[256]; hostapd_cli_cmd_chan_switch() local 1226 char cmd[256]; hostapd_cli_cmd_vendor() local 1255 char cmd[256]; hostapd_cli_cmd_log_level() local 1295 char cmd[2048]; hostapd_cli_cmd_set_neighbor() local 1317 char cmd[400]; hostapd_cli_cmd_remove_neighbor() local 1338 char cmd[256]; hostapd_cli_cmd_req_lci() local 1512 const char *cmd; global() member 1697 print_cmd_help(FILE *stream, const struct hostapd_cli_cmd *cmd, const char *pad) print_cmd_help() argument 1715 print_help(FILE *stream, const char *cmd) print_help() argument 1729 const struct hostapd_cli_cmd *cmd, *match = NULL; wpa_request() local 1848 hostapd_cli_edit_cmd_cb(void *ctx, char *cmd) hostapd_cli_edit_cmd_cb() argument 1884 hostapd_cli_cmd_completion(const char *cmd, const char *str, int pos) hostapd_cli_cmd_completion() argument 1911 char *cmd; hostapd_cli_edit_completion_cb() local [all...] |