Home
last modified time | relevance | path

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

12345678910>>...21

/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...]
H A Dfillp_common.c365 struct FillpPktPack pack; in FillpSendAdhocpack() local
369 (void)memset_s(&pack, sizeof(pack), 0, sizeof(pack)); in FillpSendAdhocpack()
370 pack.rate = pcb->statistics.pack.periodRecvRate; in FillpSendAdhocpack()
371 pack.oppositeSetRate = 0; in FillpSendAdhocpack()
372 pack.flag = FILLP_PACK_FLAG_ADHOC; in FillpSendAdhocpack()
373 pack.pktLoss = 0; in FillpSendAdhocpack()
374 pack in FillpSendAdhocpack()
764 FillpBuildAndSendPack(struct FillpPcb *pcb, struct FtSocket *ftSock, struct FillpPktPack *pack, FILLP_UINT16 dataLen) FillpBuildAndSendPack() argument
[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...]
/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...]
/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...]
/third_party/python/Lib/idlelib/
H A Dconfigdialog.py131 note.pack(side=TOP, expand=TRUE, fill=BOTH)
132 self.create_action_buttons().pack(side=BOTTOM)
168 self.buttons[txt].pack(side=LEFT, padx=5)
170 Frame(outer, height=2, borderwidth=0).pack(side=TOP)
171 buttons_frame.pack(side=BOTTOM)
367 # Grid and pack widgets:
374 frame_font_name.pack(side=TOP, padx=5, pady=5, fill=X)
375 frame_font_param.pack(side=TOP, padx=5, pady=5, fill=X)
376 font_name_title.pack(side=TOP, anchor=W)
377 self.fontlist.pack(sid
[all...]
H A Dstatusbar.py13 label.pack(side=side, pady=0, padx=4)
31 text.pack()
35 msb.pack(side='bottom', fill='x')
42 button.pack(side='bottom')
43 frame.pack()
/third_party/python/Lib/ctypes/test/
H A Dtest_byteswap.py53 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
58 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
63 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
68 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
81 self.assertEqual(bin(struct.pack(">i", 0x12345678)), "12345678")
86 self.assertEqual(bin(struct.pack("<i", 0x12345678)), "78563412")
91 self.assertEqual(bin(struct.pack(">I", 0x12345678)), "12345678")
96 self.assertEqual(bin(struct.pack("<I", 0x12345678)), "78563412")
109 self.assertEqual(bin(struct.pack(">q", 0x1234567890ABCDEF)), "1234567890ABCDEF")
114 self.assertEqual(bin(struct.pack("<
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_opt_copy_propagation.c57 if (inst->dst.pack || inst->cond != QPU_COND_ALWAYS) in is_copy_mov()
98 mov->src[0].pack)) in try_copy_prop()
102 if (mov->src[0].pack) { in try_copy_prop()
117 if (inst->src[j].pack) in try_copy_prop()
123 /* A destination pack requires the PM bit to in try_copy_prop()
127 if (inst->dst.pack) in try_copy_prop()
130 unpack = mov->src[0].pack; in try_copy_prop()
132 unpack = inst->src[i].pack; in try_copy_prop()
142 inst->src[i].pack = unpack; in try_copy_prop()
H A Dvc4_qir.c239 !inst->dst.pack && in qir_is_raw_mov()
240 !inst->src[0].pack); in qir_is_raw_mov()
303 switch (inst->dst.pack) { in qir_channels_written()
317 switch (inst->dst.pack) { in qir_channels_written()
343 unreachable("Bad pack field"); in qir_channels_written()
479 if (inst->dst.pack) { in qir_dump_inst()
480 if (inst->dst.pack) { in qir_dump_inst()
482 vc4_qpu_disasm_pack_mul(stderr, inst->dst.pack); in qir_dump_inst()
484 vc4_qpu_disasm_pack_a(stderr, inst->dst.pack); in qir_dump_inst()
492 vc4_qpu_disasm_unpack(stderr, inst->src[i].pack); in qir_dump_inst()
721 int pack = reg.pack; qir_follow_movs() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpicture_ext_test.cpp196 ImagePacker pack; in HWTEST_F() local
200 uint32_t startpc = pack.StartPacking(outputData.data(), fileSize, option); in HWTEST_F()
204 uint32_t retAddPicture = pack.AddPicture(*picture); in HWTEST_F()
207 uint32_t retFinalizePacking = pack.FinalizePacking(packedSize); in HWTEST_F()
230 ImagePacker pack; in HWTEST_F() local
233 uint32_t startpc = pack.StartPacking(IMAGE_JPEG_DEST, option); in HWTEST_F()
235 uint32_t retAddPicture = pack.AddPicture(*picture); in HWTEST_F()
237 uint32_t retFinalizePacking = pack.FinalizePacking(); in HWTEST_F()
255 ImagePacker pack; in HWTEST_F() local
260 uint32_t startpc = pack in HWTEST_F()
279 ImagePacker pack; HWTEST_F() local
312 ImagePacker pack; HWTEST_F() local
346 ImagePacker pack; HWTEST_F() local
372 ImagePacker pack; HWTEST_F() local
403 ImagePacker pack; HWTEST_F() local
[all...]
/third_party/python/Tools/unittestgui/
H A Dunittestgui.py265 self.top.pack(fill=tk.BOTH, expand=1)
296 statusFrame.pack(anchor=tk.SW, fill=tk.X, side=tk.BOTTOM)
297 tk.Label(statusFrame, width=1, textvariable=self.statusVar).pack(side=tk.TOP, fill=tk.X)
301 leftFrame.pack(fill=tk.BOTH, side=tk.LEFT, anchor=tk.NW, expand=1)
303 suiteNameFrame.pack(fill=tk.X)
307 progressFrame.pack(fill=tk.X, expand=0, anchor=tk.NW)
308 tk.Label(progressFrame, text="Progress:").pack(anchor=tk.W)
311 self.progressBar.pack(fill=tk.X, expand=1)
316 buttonFrame.pack(side=tk.LEFT, anchor=tk.NW, fill=tk.Y)
319 command=self.discoverClicked).pack(fil
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dissue-537-repr-packed-n.h3 /// This should not be opaque; we can see the attributes and can pack the
14 #pragma pack(1)
17 /// `#pragma pack(1)`, we can detect that alignment is 1 and add
24 #pragma pack()
26 #pragma pack(2)
34 #pragma pack()
H A Dissue-537.h1 /// This should not be opaque; we can see the attributes and can pack the
13 #pragma pack(1)
16 /// `#pragma pack(1)`, we can detect that alignment is 1 and add
23 #pragma pack()
25 #pragma pack(2)
28 /// `#pragma pack(2)`, we can't do anything about it because Rust before 1.33
35 #pragma pack()
/third_party/mesa3d/src/mesa/main/
H A Dpbo.c67 const struct gl_pixelstore_attrib *pack, in _mesa_validate_pbo_access()
80 if (!pack->BufferObj) { in _mesa_validate_pbo_access()
85 size = pack->BufferObj->Size; in _mesa_validate_pbo_access()
112 start = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access()
116 end = _mesa_image_offset(dimensions, pack, width, height, in _mesa_validate_pbo_access()
284 assert(unpack != &ctx->Pack); /* catch pack/unpack mismatch */ in _mesa_unmap_pbo_source()
301 const struct gl_pixelstore_attrib *pack, in _mesa_map_pbo_dest()
306 if (pack->BufferObj) { in _mesa_map_pbo_dest()
307 /* pack into PBO */ in _mesa_map_pbo_dest()
309 pack in _mesa_map_pbo_dest()
66 _mesa_validate_pbo_access(GLuint dimensions, const struct gl_pixelstore_attrib *pack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr) _mesa_validate_pbo_access() argument
300 _mesa_map_pbo_dest(struct gl_context *ctx, const struct gl_pixelstore_attrib *pack, GLvoid *dest) _mesa_map_pbo_dest() argument
378 _mesa_unmap_pbo_dest(struct gl_context *ctx, const struct gl_pixelstore_attrib *pack) _mesa_unmap_pbo_dest() argument
[all...]
/third_party/mesa3d/src/c11/impl/
H A Dthreads_posix.c65 struct impl_thrd_param pack = *((struct impl_thrd_param *)p); in impl_thrd_routine() local
67 return (void*)(intptr_t)pack.func(pack.arg); in impl_thrd_routine()
257 struct impl_thrd_param *pack; in thrd_create() local
259 pack = (struct impl_thrd_param *)malloc(sizeof(struct impl_thrd_param)); in thrd_create()
260 if (!pack) return thrd_nomem; in thrd_create()
261 pack->func = func; in thrd_create()
262 pack->arg = arg; in thrd_create()
263 if (pthread_create(thr, NULL, impl_thrd_routine, pack) != 0) { in thrd_create()
264 free(pack); in thrd_create()
[all...]
H A Dthreads_win32.c89 struct impl_thrd_param pack; in impl_thrd_routine() local
91 memcpy(&pack, p, sizeof(struct impl_thrd_param)); in impl_thrd_routine()
93 code = pack.func(pack.arg); in impl_thrd_routine()
313 struct impl_thrd_param *pack; in thrd_create() local
316 pack = (struct impl_thrd_param *)malloc(sizeof(struct impl_thrd_param)); in thrd_create()
317 if (!pack) return thrd_nomem; in thrd_create()
318 pack->func = func; in thrd_create()
319 pack->arg = arg; in thrd_create()
320 handle = _beginthreadex(NULL, 0, impl_thrd_routine, pack, in thrd_create()
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_video_dec_h264.h81 #pragma pack(push, BeforeDXVApacking, 1)
94 #pragma pack(pop, BeforeDXVApacking)
98 #pragma pack(push, BeforeDXVApacking, 1)
174 #pragma pack(pop, BeforeDXVApacking)
178 #pragma pack(push, BeforeDXVApacking, 1)
185 #pragma pack(pop, BeforeDXVApacking)
209 #pragma pack(push, BeforeDXVApacking, 1)
216 #pragma pack(pop, BeforeDXVApacking)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Deapol_common.h15 #pragma pack(push, 1)
32 #pragma pack(pop)
61 #pragma pack(push, 1)
89 #pragma pack(pop)

Completed in 20 milliseconds

12345678910>>...21