Home
last modified time | relevance | path

Searched refs:cmdlen (Results 1 - 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/glx/
H A Dindirect_texture_compression.c98 cmdlen = __GLX_PAD(__GLX_COMPRESSED_TEXIMAGE_CMD_HDR_SIZE + compsize); in CompressedTexImage1D2D()
99 if (cmdlen <= gc->maxSmallRenderCommandSize) { in CompressedTexImage1D2D()
100 __GLX_BEGIN_VARIABLE(rop, cmdlen); in CompressedTexImage1D2D()
112 __GLX_END(cmdlen); in CompressedTexImage1D2D()
117 __GLX_BEGIN_VARIABLE_LARGE(rop, cmdlen + 4); in CompressedTexImage1D2D()
157 cmdlen = __GLX_PAD(__GLX_COMPRESSED_TEXSUBIMAGE_CMD_HDR_SIZE + compsize); in CompressedTexSubImage1D2D()
158 if (cmdlen <= gc->maxSmallRenderCommandSize) { in CompressedTexSubImage1D2D()
159 __GLX_BEGIN_VARIABLE(rop, cmdlen); in CompressedTexSubImage1D2D()
172 __GLX_END(cmdlen); in CompressedTexSubImage1D2D()
177 __GLX_BEGIN_VARIABLE_LARGE(rop, cmdlen in CompressedTexSubImage1D2D()
[all...]
H A Drender2.c61 cmdlen = 28 + compsize; in __indirect_glMap1d()
65 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glMap1d()
67 __GLX_BEGIN_VARIABLE(X_GLrop_Map1d, cmdlen); in __indirect_glMap1d()
77 __GLX_END(cmdlen); in __indirect_glMap1d()
81 __GLX_BEGIN_VARIABLE_LARGE(X_GLrop_Map1d, cmdlen + 4); in __indirect_glMap1d()
128 cmdlen = 20 + compsize; in __indirect_glMap1f()
136 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glMap1f()
138 __GLX_BEGIN_VARIABLE(X_GLrop_Map1f, cmdlen); in __indirect_glMap1f()
144 __GLX_END(cmdlen); in __indirect_glMap1f()
148 __GLX_BEGIN_VARIABLE_LARGE(X_GLrop_Map1f, cmdlen in __indirect_glMap1f()
[all...]
H A Drenderpix.c135 cmdlen = totalhdrlen + image1len + image2len; in __indirect_glSeparableFilter2D()
139 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glSeparableFilter2D()
141 __GLX_BEGIN_VARIABLE_WITH_PIXEL(X_GLrop_SeparableFilter2D, cmdlen); in __indirect_glSeparableFilter2D()
170 cmdlen + 4); in __indirect_glSeparableFilter2D()
H A Dpacksingle.h54 GLuint compsize, cmdlen; \
63 cmdlen = 0; (void)cmdlen
H A Dpackrender.h59 GLuint compsize, cmdlen
65 cmdlen = 0; (void)cmdlen; \
H A Dindirect_vertex_program.c70 const GLuint cmdlen = 12; in get_parameter() local
75 opcode, cmdlen); in get_parameter()
H A Dpixelstore.c54 const GLuint cmdlen = 8; in send_PixelStore() local
56 GLubyte const *pc = __glXSetupSingleRequest(gc, sop, cmdlen); in send_PixelStore()
H A Dsingle2.c890 const GLuint cmdlen = 4 + __GLX_PAD((n * 4)); in glAreTexturesResidentEXT() local
895 cmdlen); in glAreTexturesResidentEXT()
/third_party/backends/backend/
H A Dxerox_mfp-usb.c26 SANE_Byte *cmd, size_t cmdlen, in usb_dev_request()
30 size_t len = cmdlen; in usb_dev_request()
32 if (cmd && cmdlen) { in usb_dev_request()
33 status = sanei_usb_write_bulk(dev->dn, cmd, &cmdlen); in usb_dev_request()
40 if (cmdlen != len) { in usb_dev_request()
42 __func__, (size_t)len, (size_t)cmdlen); in usb_dev_request()
25 usb_dev_request(struct device *dev, SANE_Byte *cmd, size_t cmdlen, SANE_Byte *resp, size_t *resplen) usb_dev_request() argument
H A Dxerox_mfp-tcp.c51 SANE_Byte *cmd, size_t cmdlen, in tcp_dev_request()
60 if (cmd && cmdlen) { in tcp_dev_request()
61 len = (size_t)sanei_tcp_write(dev->dn, cmd, cmdlen); in tcp_dev_request()
62 if (len != cmdlen) { in tcp_dev_request()
64 __func__, (u_long)len, (u_long)cmdlen); in tcp_dev_request()
50 tcp_dev_request(struct device *dev, SANE_Byte *cmd, size_t cmdlen, SANE_Byte *resp, size_t *resplen) tcp_dev_request() argument
H A Dhp5400_sanei.c299 hp5400_bulk_read_block (int iHandle, int iCmd, void *cmd, int cmdlen, in hp5400_bulk_read_block() argument
312 _UsbWriteControl (fd, iCmd, 0, cmd, cmdlen); in hp5400_bulk_read_block()
322 hp5400_bulk_command_write (int iHandle, int iCmd, void *cmd, int cmdlen, in hp5400_bulk_command_write() argument
336 cmdlen, datalen); in hp5400_bulk_command_write()
338 _UsbWriteControl (fd, iCmd, 0, cmd, cmdlen); in hp5400_bulk_command_write()
H A Dhp5400_xfer.h68 HP5400_SANE_STATIC int hp5400_bulk_read_block (int iHandle, int iCmd, void *cmd, int cmdlen,
70 HP5400_SANE_STATIC int hp5400_bulk_command_write (int iHandle, int iCmd, void *cmd, int cmdlen,
H A Dhp5400_sanei.h93 HP5400_SANE_STATIC int hp5400_bulk_read_block (int iHandle, int iCmd, void *cmd, int cmdlen,
97 HP5400_SANE_STATIC int hp5400_bulk_command_write (int iHandle, int iCmd, void *cmd, int cmdlen,
H A Dxerox_mfp.h135 SANE_Byte *cmd, size_t cmdlen,
143 int usb_dev_request(struct device *dev, SANE_Byte *cmd, size_t cmdlen, SANE_Byte *resp, size_t *resplen);
149 int tcp_dev_request(struct device *dev, SANE_Byte *cmd, size_t cmdlen, SANE_Byte *resp, size_t *resplen);
H A Dsnapscan-usb.c359 int cmdlen,datalen; in usb_cmd() local
372 cmdlen = usb_cmdlen(*((const char *)src)); in usb_cmd()
373 datalen = src_size - cmdlen; in usb_cmd()
375 DBG(DL_DATA_TRACE, "%s: cmdlen=%d, datalen=%d\n",me,cmdlen,datalen); in usb_cmd()
378 RETURN_ON_FAILURE( usb_write(fd,src,cmdlen) ); in usb_cmd()
386 RETURN_ON_FAILURE( usb_write(fd, ((const SANE_Byte *) src) + cmdlen, datalen) ); in usb_cmd()
/third_party/toybox/toys/other/
H A Dwatch.c70 unsigned width, height, i, cmdlen, len, xx QUIET, yy QUIET, active QUIET; in watch_main() local
75 // Assemble header line in cmd, cmdlen, and cmdv in watch_main()
78 cmdlen = len; in watch_main()
81 cmdv[2] = cmd+cmdlen; in watch_main()
83 cmdlen = ss-cmd; in watch_main()
113 printf("%c", pad<cmdlen ? '*' : ' '); in watch_main()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
H A Dcommands.c1163 int cmdlen; in help_me() local
1169 cmdlen = strlen(cmd); in help_me()
1172 cmdlen = 0; in help_me()
1176 if (cmd == NULL || !strncmp(cmd, cmdp->cmd_name, cmdlen)) { in help_me()
1243 size_t cmdlen; in process_commands() local
1260 cmdlen = strlen(cmdline); in process_commands()
1261 if (cmdline[cmdlen - 1] == '\n') in process_commands()
1262 cmdline[--cmdlen] = '\0'; in process_commands()
1265 cmdlen -= (cmdline - cmdbuf); in process_commands()
1267 if (cmdlen in process_commands()
[all...]
/third_party/backends/backend/pixma/
H A Dpixma_common.c658 pixma_cmd_transaction (pixma_t * s, const void *cmd, unsigned cmdlen, in pixma_cmd_transaction() argument
663 error = pixma_write (s->io, cmd, cmdlen); in pixma_cmd_transaction()
664 if (error != (int) cmdlen) in pixma_cmd_transaction()
671 (unsigned) error, cmdlen)); in pixma_cmd_transaction()
717 unsigned cmdlen = cb->cmd_header_len + dataout; in pixma_newcmd() local
720 if (cmdlen > cb->size || reslen > cb->size) in pixma_newcmd()
722 memset (cb->buf, 0, cmdlen); in pixma_newcmd()
723 cb->cmdlen = cmdlen; in pixma_newcmd()
736 if (cb->cmdlen > c in pixma_exec()
[all...]
H A Dpixma_common.h96 unsigned expected_reslen, cmdlen; member
199 int pixma_cmd_transaction (pixma_t *, const void *cmd, unsigned cmdlen,
H A Dpixma_imageclass.c183 if (cb->cmdlen > cb->cmd_header_len) in iclass_exec()
185 cb->buf + cb->cmdlen - 2); in iclass_exec()
186 cb->buf[cb->cmdlen - 1] = invcksum ? -cb->buf[cb->cmdlen - 2] : 0; in iclass_exec()
188 pixma_cmd_transaction (s, cb->buf, cb->cmdlen, cb->buf, in iclass_exec()
/third_party/libfuse/util/
H A Dmount.fuse.c78 size_t cmdlen = *cmdp ? strlen(*cmdp) : 0; in add_arg() local
79 if (optlen >= (SIZE_MAX - cmdlen - 4)/4) { in add_arg()
83 char *cmd = xrealloc(*cmdp, cmdlen + optlen * 4 + 4); in add_arg()
85 s = cmd + cmdlen; in add_arg()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dpcsc_funcs.c814 int cmdlen; in _scard_select_file() local
833 cmdlen = 5 + aidlen; in _scard_select_file()
837 cmdlen = 7; in _scard_select_file()
840 ret = scard_transmit(scard, cmd, cmdlen, resp, &len); in _scard_select_file()
1245 int cmdlen; in scard_gsm_auth() local
1256 cmdlen = 5 + 16; in scard_gsm_auth()
1259 cmdlen = 5 + 1 + 16; in scard_gsm_auth()
1268 ret = scard_transmit(scard, cmd, cmdlen, resp, &len); in scard_gsm_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dpcsc_funcs.c814 int cmdlen; in _scard_select_file() local
833 cmdlen = 5 + aidlen; in _scard_select_file()
837 cmdlen = 7; in _scard_select_file()
840 ret = scard_transmit(scard, cmd, cmdlen, resp, &len); in _scard_select_file()
1245 int cmdlen; in scard_gsm_auth() local
1256 cmdlen = 5 + 16; in scard_gsm_auth()
1259 cmdlen = 5 + 1 + 16; in scard_gsm_auth()
1268 ret = scard_transmit(scard, cmd, cmdlen, resp, &len); in scard_gsm_auth()
/third_party/mesa3d/src/mapi/glapi/gen/
H A DglX_proto_send.py287 __glXSetupSingleRequest( struct glx_context * gc, GLint sop, GLint cmdlen )
294 GetReqExtra(GLXSingle, cmdlen, req);
302 __glXSetupVendorRequest( struct glx_context * gc, GLint code, GLint vop, GLint cmdlen )
309 GetReqExtra(GLXVendorPrivate, cmdlen, req);
481 const GLuint cmdlen = %u;
483 emit_header(gc->pc, rop, cmdlen);
485 gc->pc += cmdlen;
587 print('const GLuint cmdlenLarge = cmdlen + 4;')
754 print(' %s __glXSetupVendorRequest(gc, %s, %s, cmdlen);' % (pc_decl, f.opcode_real_name(), f.opcode_vendor_name(name)))
756 print(' %s __glXSetupSingleRequest(gc, %s, cmdlen);'
[all...]
/third_party/skia/experimental/wasm-skp-debugger/
H A Ddebugger_bindings.cpp440 int cmdlen = frames[fp]->getSize(); in constrainFrameCommand() local
441 if (index >= cmdlen) { in constrainFrameCommand()
442 return cmdlen-1; in constrainFrameCommand()

Completed in 23 milliseconds

12