Home
last modified time | relevance | path

Searched refs:pack (Results 1 - 25 of 899) sorted by relevance

12345678910>>...36

/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga3d_dx.h132 #pragma pack(push, 1)
137 #pragma pack(pop)
139 #pragma pack(push, 1)
143 #pragma pack(pop)
145 #pragma pack(push, 1)
149 #pragma pack(pop)
151 #pragma pack(push, 1)
157 #pragma pack(pop)
159 #pragma pack(push, 1)
163 #pragma pack(po
[all...]
H A Dsvga3d_cmd.h335 #pragma pack(push, 1)
340 #pragma pack(pop)
342 #pragma pack(push, 1)
346 #pragma pack(pop)
348 #pragma pack(push, 1)
357 #pragma pack(pop)
359 #pragma pack(push, 1)
370 #pragma pack(pop)
372 #pragma pack(push, 1)
376 #pragma pack(po
[all...]
H A Dsvga_reg.h240 #pragma pack(push, 1)
245 #pragma pack(pop)
247 #pragma pack(push, 1)
252 #pragma pack(pop)
294 #pragma pack(push, 1)
312 #pragma pack(pop)
358 #pragma pack(push, 1)
364 #pragma pack(pop)
379 #pragma pack(push, 1)
386 #pragma pack(po
[all...]
H A Dsvga3d_types.h59 #pragma pack(push, 1)
64 #pragma pack(pop)
66 #pragma pack(push, 1)
75 #pragma pack(pop)
77 #pragma pack(push, 1)
89 #pragma pack(pop)
91 #pragma pack(push, 1)
98 #pragma pack(pop)
100 #pragma pack(push, 1)
109 #pragma pack(po
[all...]
H A Dsvga_overlay.h80 #pragma pack(push, 1)
85 #pragma pack(pop)
87 #pragma pack(push, 1)
91 #pragma pack(pop)
93 #pragma pack(push, 1)
101 #pragma pack(pop)
103 #pragma pack(push, 1)
111 #pragma pack(pop)
/kernel/linux/linux-5.10/tools/usb/usbip/src/
H A Dusbip_network.h71 #define PACK_OP_IMPORT_REQUEST(pack, request) do {\
74 #define PACK_OP_IMPORT_REPLY(pack, reply) do {\
75 usbip_net_pack_usb_device(pack, &(reply)->udev);\
93 #define PACK_OP_EXPORT_REQUEST(pack, request) do {\
94 usbip_net_pack_usb_device(pack, &(request)->udev);\
97 #define PACK_OP_EXPORT_REPLY(pack, reply) do {\
114 #define PACK_OP_UNEXPORT_REQUEST(pack, request) do {\
115 usbip_net_pack_usb_device(pack, &(request)->udev);\
118 #define PACK_OP_UNEXPORT_REPLY(pack, reply) do {\
156 #define PACK_OP_DEVLIST_REQUEST(pack, reques
[all...]
H A Dusbip_network.c53 uint32_t usbip_net_pack_uint32_t(int pack, uint32_t num) in usbip_net_pack_uint32_t() argument
57 if (pack) in usbip_net_pack_uint32_t()
65 uint16_t usbip_net_pack_uint16_t(int pack, uint16_t num) in usbip_net_pack_uint16_t() argument
69 if (pack) in usbip_net_pack_uint16_t()
77 void usbip_net_pack_usb_device(int pack, struct usbip_usb_device *udev) in usbip_net_pack_usb_device() argument
79 udev->busnum = usbip_net_pack_uint32_t(pack, udev->busnum); in usbip_net_pack_usb_device()
80 udev->devnum = usbip_net_pack_uint32_t(pack, udev->devnum); in usbip_net_pack_usb_device()
81 udev->speed = usbip_net_pack_uint32_t(pack, udev->speed); in usbip_net_pack_usb_device()
83 udev->idVendor = usbip_net_pack_uint16_t(pack, udev->idVendor); in usbip_net_pack_usb_device()
84 udev->idProduct = usbip_net_pack_uint16_t(pack, ude in usbip_net_pack_usb_device()
132 usbip_net_pack_op_common(int pack, struct op_common *op_common) usbip_net_pack_op_common() argument
[all...]
/kernel/linux/linux-6.6/tools/usb/usbip/src/
H A Dusbip_network.h71 #define PACK_OP_IMPORT_REQUEST(pack, request) do {\
74 #define PACK_OP_IMPORT_REPLY(pack, reply) do {\
75 usbip_net_pack_usb_device(pack, &(reply)->udev);\
93 #define PACK_OP_EXPORT_REQUEST(pack, request) do {\
94 usbip_net_pack_usb_device(pack, &(request)->udev);\
97 #define PACK_OP_EXPORT_REPLY(pack, reply) do {\
114 #define PACK_OP_UNEXPORT_REQUEST(pack, request) do {\
115 usbip_net_pack_usb_device(pack, &(request)->udev);\
118 #define PACK_OP_UNEXPORT_REPLY(pack, reply) do {\
156 #define PACK_OP_DEVLIST_REQUEST(pack, reques
[all...]
H A Dusbip_network.c53 uint32_t usbip_net_pack_uint32_t(int pack, uint32_t num) in usbip_net_pack_uint32_t() argument
57 if (pack) in usbip_net_pack_uint32_t()
65 uint16_t usbip_net_pack_uint16_t(int pack, uint16_t num) in usbip_net_pack_uint16_t() argument
69 if (pack) in usbip_net_pack_uint16_t()
77 void usbip_net_pack_usb_device(int pack, struct usbip_usb_device *udev) in usbip_net_pack_usb_device() argument
79 udev->busnum = usbip_net_pack_uint32_t(pack, udev->busnum); in usbip_net_pack_usb_device()
80 udev->devnum = usbip_net_pack_uint32_t(pack, udev->devnum); in usbip_net_pack_usb_device()
81 udev->speed = usbip_net_pack_uint32_t(pack, udev->speed); in usbip_net_pack_usb_device()
83 udev->idVendor = usbip_net_pack_uint16_t(pack, udev->idVendor); in usbip_net_pack_usb_device()
84 udev->idProduct = usbip_net_pack_uint16_t(pack, ude in usbip_net_pack_usb_device()
132 usbip_net_pack_op_common(int pack, struct op_common *op_common) usbip_net_pack_op_common() argument
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_packer_test.cpp69 ImagePacker pack; in HWTEST_F() local
73 uint32_t startpc = pack.StartPacking(outputData, maxSize, option); in HWTEST_F()
86 ImagePacker pack; in HWTEST_F() local
93 uint32_t startpc = pack.StartPacking(outputData, maxSize, option); in HWTEST_F()
106 ImagePacker pack; in HWTEST_F() local
114 uint32_t startpc = pack.StartPacking(outputData, maxSize, option); in HWTEST_F()
127 ImagePacker pack; in HWTEST_F() local
130 uint32_t startpc = pack.StartPacking(filePath, option); in HWTEST_F()
143 ImagePacker pack; in HWTEST_F() local
149 uint32_t startpc = pack in HWTEST_F()
162 ImagePacker pack; HWTEST_F() local
178 ImagePacker pack; HWTEST_F() local
200 ImagePacker pack; HWTEST_F() local
216 ImagePacker pack; HWTEST_F() local
235 ImagePacker pack; HWTEST_F() local
257 ImagePacker pack; HWTEST_F() local
279 ImagePacker pack; HWTEST_F() local
298 ImagePacker pack; HWTEST_F() local
316 ImagePacker pack; HWTEST_F() local
335 ImagePacker pack; HWTEST_F() local
349 ImagePacker pack; HWTEST_F() local
373 ImagePacker pack; HWTEST_F() local
414 ImagePacker pack; HWTEST_F() local
447 ImagePacker pack; HWTEST_F() local
486 ImagePacker pack; HWTEST_F() local
526 ImagePacker pack; HWTEST_F() local
566 ImagePacker pack; HWTEST_F() local
599 ImagePacker pack; HWTEST_F() local
638 ImagePacker pack; HWTEST_F() local
683 ImagePacker pack; HWTEST_F() local
720 ImagePacker pack; HWTEST_F() local
757 ImagePacker pack; HWTEST_F() local
794 ImagePacker pack; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_input.c64 pcb->packTimerNode.interval != pcb->statistics.pack.packIntervalBackup)) { in FillpChangePackInteval()
65 FILLP_LOGDBG("FillpDataInput, change pack timer to working state with a new time interval %u, old %u", in FillpChangePackInteval()
66 pcb->statistics.pack.packIntervalBackup, pcb->statistics.pack.packInterval); in FillpChangePackInteval()
67 pcb->statistics.pack.packInterval = pcb->statistics.pack.packIntervalBackup; in FillpChangePackInteval()
69 pcb->packTimerNode.interval = pcb->statistics.pack.packInterval; in FillpChangePackInteval()
503 FILLP_LOGWAR("fillp_sock_id:%d, Invalid pack request, len = %d", FILLP_GET_SOCKET(pcb)->index, p->len); in FillpCheckPackInput()
510 FILLP_CONST struct FillpPktPack *pack) in FillpPackInputSendMsgTrace()
534 tmpPack.flag = pack in FillpPackInputSendMsgTrace()
509 FillpPackInputSendMsgTrace(FILLP_CONST struct FillpPcb *pcb, FILLP_CONST struct FillpPktHead *pktHdr, FILLP_CONST struct FillpPktPack *pack) FillpPackInputSendMsgTrace() argument
560 FillpCheckPackNumber(struct FillpPcb *pcb, struct FillpPktPack *pack, FILLP_UINT32 ackSeqNum, FILLP_UINT32 lostSeqNum) FillpCheckPackNumber() argument
593 FillpHandleAdhocpackFlag(struct FillpPcb *pcb, struct FillpPktPack *pack) FillpHandleAdhocpackFlag() argument
630 FillpTryAckSendPcbByPackInfo(struct FillpPcb *pcb, FILLP_CONST struct FillpPktPack *pack, FILLP_UINT32 ackSeqNum, FILLP_UINT32 lostSeqNum) FillpTryAckSendPcbByPackInfo() argument
646 FillpHdlAdhocpack(struct FillpPcb *pcb, struct FillpPktPack *pack) FillpHdlAdhocpack() argument
653 FillpChangePackInterval(struct FillpPcb *pcb, FILLP_CONST struct FtSocket *sock, FILLP_CONST struct FillpPktPack *pack) FillpChangePackInterval() argument
664 FillpHandlePackFlag(struct FillpPcb *pcb, struct FillpPktPack *pack) FillpHandlePackFlag() argument
743 struct FillpPktPack *pack = FILLP_NULL_PTR; FillpPackInput() local
[all...]
H A Dfillp_output.c175 * because the items could be fully acked in recv pack in FillpSendOne()
436 struct FillpPktPack pack; in FillpSendAdhocpackToDetectRtt() local
440 (void)memset_s(&pack, sizeof(pack), 0, sizeof(pack)); in FillpSendAdhocpackToDetectRtt()
441 pack.rate = pcb->statistics.pack.periodRecvRate; in FillpSendAdhocpackToDetectRtt()
442 pack.oppositeSetRate = 0; in FillpSendAdhocpackToDetectRtt()
443 pack.flag = FILLP_PACK_FLAG_ADHOC; in FillpSendAdhocpackToDetectRtt()
444 pack in FillpSendAdhocpackToDetectRtt()
454 FillpSetSimplePack(FILLP_CONST struct FillpPcb *pcb, struct FillpPktPack *pack, FILLP_CONST struct FtSocket *ftSock) FillpSetSimplePack() argument
485 FillpSendPack(struct FillpPcb *pcb, struct FillpPktPack *pack) FillpSendPack() argument
515 struct FillpPktPack *pack = (struct FillpPktPack *)buf; FillpSendPackWithPcbBuffer() local
[all...]
H A Dfillp_flow_control_alg0.c139 pcb->statistics.pack.packInterval = packInterval; in FillpAlg0CalPackInterval()
148 pcb->statistics.pack.periodAckByPackRate = packRate; in FillpAlg0CalMaxPackRcvInterval()
149 pcb->statistics.pack.periodSendRate = periodSendRate; in FillpAlg0CalMaxPackRcvInterval()
156 static void FillpAlg0FcHandleInit(struct FillpPcb *pcb, FILLP_CONST struct FillpPktPack *pack) in FillpAlg0FcHandleInit() argument
170 if ((alg->sendRateIncreaseGainIndex < FILLP_FC_RTT_PACK_RATIO) && (pack->rate == 0)) { in FillpAlg0FcHandleInit()
175 alg->maxRecvRate = pack->rate; in FillpAlg0FcHandleInit()
176 alg->historyMaxRecvRate.rateSample[0].v = pack->rate; in FillpAlg0FcHandleInit()
189 static void FillpAlg0FcHandleBwProbe(struct FillpPcb *pcb, FILLP_CONST struct FillpPktPack *pack) in FillpAlg0FcHandleBwProbe() argument
195 FILLP_UINT32 recvRate = pack->rate; in FillpAlg0FcHandleBwProbe()
206 static void FillpAlg0PackStateProcess(struct FillpPcb *pcb, struct FillpPktPack *pack) in FillpAlg0PackStateProcess() argument
238 struct FillpPktPack *pack = (struct FillpPktPack *)argPack; FillpAlg0AnalysePack() local
[all...]
/third_party/python/Lib/test/
H A Dtest_wave.py120 b = b'SPAM' + struct.pack('<L', 0)
126 b = b'RIFF' + struct.pack('<L', 4) + b'SPAM'
132 b = b'RIFF' + struct.pack('<L', 4) + b'WAVE'
138 b = b'RIFF' + struct.pack('<L', 28) + b'WAVE'
139 b += b'fmt ' + struct.pack('<LHHLLHH', 16, 1, 1, 11025, 11025, 1, 8)
145 b = b'RIFF' + struct.pack('<L', 12) + b'WAVE'
146 b += b'data' + struct.pack('<L', 0)
151 b = b'RIFF' + struct.pack('<L', 36) + b'WAVE'
152 b += b'fmt ' + struct.pack('<LHHLLHH', 16, 2, 1, 11025, 11025, 1, 1)
153 b += b'data' + struct.pack('<
[all...]
H A Dtest_aifc.py264 b1 = io.BytesIO(b'WRNG' + struct.pack('>L', 0))
265 b2 = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'WRNG')
270 b = io.BytesIO(b'FORM' + struct.pack('>L', 4) + b'AIFF')
274 b = b'FORM' + struct.pack('>L', 4) + b'AIFC'
275 b += b'COMM' + struct.pack('>LhlhhLL', 38, 1, 0, 8,
277 b += b'NONE' + struct.pack('B', 14) + b'not compressed' + b'\x00'
283 b = b'FORM' + struct.pack('>L', 4) + b'AIFC'
284 b += b'COMM' + struct.pack('>LhlhhLL', 23, 1, 0, 8,
286 b += b'WRNG' + struct.pack('B', 0)
291 b = b'FORM' + struct.pack('>
[all...]
H A Dtest_struct.py38 self.assertEqual((struct.pack('=i', 1)[0] == 0), ISBIGENDIAN)
52 self.assertRaises(struct.error, struct.pack, 'iii', 3)
53 self.assertRaises(struct.error, struct.pack, 'i', 3, 3, 3)
54 self.assertRaises((TypeError, struct.error), struct.pack, 'i', 'foo')
55 self.assertRaises((TypeError, struct.error), struct.pack, 'P', 'foo')
57 s = struct.pack('ii', 1, 2)
74 s = struct.pack(format, c, b, h, i, l, f, d, t)
131 res = struct.pack(xfmt, arg)
199 def test_one(self, x, pack=struct.pack,
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgk20a.c43 struct gf100_gr_pack *pack; in gk20a_gr_av_to_init() local
53 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_av_to_init()
54 if (!pack) { in gk20a_gr_av_to_init()
59 init = (void *)(pack + 2); in gk20a_gr_av_to_init()
60 pack[0].init = init; in gk20a_gr_av_to_init()
72 *ppack = pack; in gk20a_gr_av_to_init()
93 struct gf100_gr_pack *pack; in gk20a_gr_aiv_to_init() local
103 pack = vzalloc((sizeof(*pack) * in gk20a_gr_aiv_to_init()
136 struct gf100_gr_pack *pack; gk20a_gr_av_to_method() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgk20a.c40 struct gf100_gr_pack *pack; in gk20a_gr_av_to_init_() local
45 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_av_to_init_()
46 if (!pack) in gk20a_gr_av_to_init_()
49 init = (void *)(pack + 2); in gk20a_gr_av_to_init_()
50 pack[0].init = init; in gk20a_gr_av_to_init_()
62 *ppack = pack; in gk20a_gr_av_to_init_()
83 struct gf100_gr_pack *pack; in gk20a_gr_aiv_to_init() local
88 pack = vzalloc((sizeof(*pack) * in gk20a_gr_aiv_to_init()
113 struct gf100_gr_pack *pack; gk20a_gr_av_to_method() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_encode/
H A Dheif_hw_encoder_test.cpp76 ImagePacker pack; in HWTEST_F() local
81 uint32_t startpc = pack.StartPacking(fd, option); in HWTEST_F()
83 uint32_t retAddimgae = pack.AddImage(*imageSource); in HWTEST_F()
85 uint32_t retFinalizePacking = pack.FinalizePacking(); in HWTEST_F()
123 ImagePacker pack; in HWTEST_F() local
126 errorCode = pack.StartPacking(outputData.data(), fileSize, option); in HWTEST_F()
128 errorCode = pack.AddImage(*(pixelMap.get())); in HWTEST_F()
130 uint32_t retFinalizePacking = pack.FinalizePacking(); in HWTEST_F()
159 ImagePacker pack; in HWTEST_F() local
162 errorCode = pack in HWTEST_F()
198 ImagePacker pack; HWTEST_F() local
239 ImagePacker pack; HWTEST_F() local
278 ImagePacker pack; HWTEST_F() local
318 ImagePacker pack; HWTEST_F() local
358 ImagePacker pack; HWTEST_F() local
399 ImagePacker pack; HWTEST_F() local
438 ImagePacker pack; HWTEST_F() local
[all...]
/third_party/astc-encoder/Source/
H A Dastcenc_integer_sequence.cpp524 // pack a single MX value with the following 1 or 2 T bits. in encode_ise()
525 uint8_t pack; in encode_ise() local
528 pack = (input_data[i++] & mask) | (((T >> 0) & 0x3) << bits); in encode_ise()
529 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
533 pack = (input_data[i++] & mask) | (((T >> 2) & 0x3) << bits); in encode_ise()
534 write_bits(pack, bits + 2, bit_offset, output_data); in encode_ise()
538 pack = (input_data[i++] & mask) | (((T >> 4) & 0x1) << bits); in encode_ise()
539 write_bits(pack, bits + 1, bit_offset, output_data); in encode_ise()
543 pack = (input_data[i++] & mask) | (((T >> 5) & 0x3) << bits); in encode_ise()
544 write_bits(pack, bit in encode_ise()
572 uint8_t pack = (input_data[i] & mask) | encode_ise() local
596 uint8_t pack; encode_ise() local
631 uint8_t pack = (input_data[i] & mask) | encode_ise() local
[all...]
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dmkbootimg22 from struct import pack namespace
40 sha.update(pack('I', filesize(f)))
42 sha.update(pack('I', 0))
47 f.write(pack(str(pad) + 'x'))
70 args.output.write(pack('8s', BOOT_MAGIC))
71 args.output.write(pack(
78 args.output.write(pack('4I', 0, 0, 0, 0)) # reserved
80 args.output.write(pack('I', args.header_version)) # version of bootimage header
81 args.output.write(pack('1536s', args.cmdline.encode()))
88 args.vendor_boot.write(pack('
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dgf100.c28 #define pack_for_each_init(init, pack, head) \
29 for (pack = head; pack && pack->init; pack++) \
30 for (init = pack->init; init && init->count; init++)
36 const struct nvkm_therm_clkgate_pack *pack; in gf100_clkgate_init() local
40 pack_for_each_init(init, pack, p) { in gf100_clkgate_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dgf100.c28 #define pack_for_each_init(init, pack, head) \
29 for (pack = head; pack && pack->init; pack++) \
30 for (init = pack->init; init && init->count; init++)
36 const struct nvkm_therm_clkgate_pack *pack; in gf100_clkgate_init() local
40 pack_for_each_init(init, pack, p) { in gf100_clkgate_init()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/
H A Dext_aead.c177 static hi_s32 ext_ccm_gcm_mem_open(ext_ccm_gcm_mem *mem, symc_multi_pack *pack, compat_addr aad, hi_u32 aad_len) in ext_ccm_gcm_mem_open() argument
181 ret = crypto_mem_open(&mem->in, pack->in[0], pack->len[0]); in ext_ccm_gcm_mem_open()
187 ret = crypto_mem_open(&mem->out, pack->out[0], pack->len[0]); in ext_ccm_gcm_mem_open()
233 hi_s32 ext_mbedtls_aead_ccm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last) in ext_mbedtls_aead_ccm_crypto() argument
242 hi_log_chk_param_return((aead == HI_NULL) || (pack == HI_NULL)); in ext_mbedtls_aead_ccm_crypto()
243 hi_log_chk_param_return((pack->num != 1) || (pack->len == HI_NULL)); in ext_mbedtls_aead_ccm_crypto()
248 ret = ext_ccm_gcm_mem_open(&mem, pack, aea in ext_mbedtls_aead_ccm_crypto()
289 ext_mbedtls_aead_gcm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 last) ext_mbedtls_aead_gcm_crypto() argument
[all...]
/third_party/python/Tools/demo/
H A Dredemo.py15 self.promptdisplay.pack(side=TOP, fill=X)
18 self.regexdisplay.pack(fill=X)
24 self.statusdisplay.pack(side=TOP, fill=X)
28 self.labeldisplay.pack(fill=X)
29 self.labeldisplay.pack(fill=X)
32 self.showframe.pack(fill=X, anchor=W)
42 self.showfirstradio.pack(side=LEFT)
49 self.showallradio.pack(side=LEFT)
52 self.stringdisplay.pack(fill=BOTH, expand=1)
56 self.grouplabel.pack(fil
[all...]

Completed in 22 milliseconds

12345678910>>...36