/third_party/node/deps/openssl/openssl/crypto/modes/ |
H A D | gcm128.c | 30 #define PACK(s) ((size_t)(s)<<(sizeof(size_t)*8-16)) macro 111 PACK(0x0000), PACK(0x01C2), PACK(0x0384), PACK(0x0246), in gcm_gmult_8bit() 112 PACK(0x0708), PACK(0x06CA), PACK(0x048C), PACK(0x054E), in gcm_gmult_8bit() 113 PACK( in gcm_gmult_8bit() [all...] |
/third_party/openssl/crypto/modes/ |
H A D | gcm128.c | 30 #define PACK(s) ((size_t)(s)<<(sizeof(size_t)*8-16)) macro 111 PACK(0x0000), PACK(0x01C2), PACK(0x0384), PACK(0x0246), in gcm_gmult_8bit() 112 PACK(0x0708), PACK(0x06CA), PACK(0x048C), PACK(0x054E), in gcm_gmult_8bit() 113 PACK( in gcm_gmult_8bit() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
H A D | fillp_input.c | 64 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() 497 FILLP_LOGINF("netconn state not correct for PACK,state:%hhu", connState); in FillpCheckPackInput() 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() 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 D | fillp_output.c | 175 * 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 D | fillp_common.c | 365 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...] |
H A D | fillp_flow_control_alg0.c | 139 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...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_packer_test.cpp | 69 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/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_encode/ |
H A D | heif_hw_encoder_test.cpp | 76 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/mesa3d/src/mesa/main/ |
H A D | pixelstore.c | 50 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; in pixel_storei() 55 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE; in pixel_storei() 62 ctx->Pack.RowLength = param; in pixel_storei() 69 ctx->Pack.ImageHeight = param; in pixel_storei() 76 ctx->Pack.SkipPixels = param; in pixel_storei() 83 ctx->Pack.SkipRows = param; in pixel_storei() 90 ctx->Pack.SkipImages = param; in pixel_storei() 95 ctx->Pack.Alignment = param; in pixel_storei() 100 ctx->Pack.Invert = param; in pixel_storei() 105 ctx->Pack in pixel_storei() [all...] |
H A D | texgetimage.c | 41 #include "pack.h" 105 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_depth() 110 _mesa_pack_depth_span(ctx, width, dest, type, depthRow, &ctx->Pack); in get_tex_depth() 151 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_depth_stencil() 167 if (ctx->Pack.SwapBytes) { in get_tex_depth_stencil() 208 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_stencil() 251 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_ycbcr() 261 if (!ctx->Pack.SwapBytes) in get_tex_ycbcr() 264 else if (ctx->Pack.SwapBytes) { in get_tex_ycbcr() 335 /* Decompress into temp float buffer, then pack int in get_tex_rgba_compressed() [all...] |
/third_party/node/deps/npm/test/lib/commands/ |
H A D | pack.js | 9 t.test('should pack current directory with no arguments', async t => { 18 await npm.exec('pack', []) 21 t.matchSnapshot(logs.notice.map(([, m]) => m), 'logs pack contents') 25 t.test('follows pack-destination config', async t => { 34 config: ({ prefix }) => ({ 'pack-destination': path.join(prefix, 'tar-destination') }), 36 await npm.exec('pack', []) 42 t.test('should pack given directory for scoped package', async t => { 51 await npm.exec('pack', []) 67 await npm.exec('pack', []) 70 t.matchSnapshot(logs.notice.map(([, m]) => m), 'logs pack content [all...] |
/third_party/node/deps/npm/tap-snapshots/test/lib/commands/ |
H A D | pack.js.test.cjs | 8 exports[`test/lib/commands/pack.js TAP dry run > logs pack contents 1`] = ` 29 exports[`test/lib/commands/pack.js TAP foreground-scripts can still be set to false > logs pack contents 1`] = ` 50 exports[`test/lib/commands/pack.js TAP foreground-scripts defaults to true > logs pack contents 1`] = ` 71 exports[`test/lib/commands/pack.js TAP should log output as valid json > logs pack contents 1`] = ` 75 exports[`test/lib/commands/pack.js TAP should log output as valid json > outputs as json 1`] = ` 101 exports[`test/lib/commands/pack [all...] |
/third_party/zlib/contrib/nuget/ |
H A D | nuget.csproj | 22 <None Include="../../LICENSE" Pack="true" PackagePath="" /> 24 <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x86/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-x86/native" /> 25 <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x64/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-x64/native" /> 26 <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-arm/native" /> 27 <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm64/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-arm64/native" /> 29 <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x86/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-x86/native" /> 30 <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x64/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-x64/native" /> 31 <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-arm/native" /> 32 <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm64/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-arm64/native" /> 34 <None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-x86/libz.so" Pack [all...] |
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttinterp.c | 598 #undef PACK macro 599 #define PACK( x, y ) ( ( x << 4 ) | y ) macro 609 /* SVTCA[0] */ PACK( 0, 0 ), 610 /* SVTCA[1] */ PACK( 0, 0 ), 611 /* SPVTCA[0] */ PACK( 0, 0 ), 612 /* SPVTCA[1] */ PACK( 0, 0 ), 613 /* SFVTCA[0] */ PACK( 0, 0 ), 614 /* SFVTCA[1] */ PACK( 0, 0 ), 615 /* SPVTL[0] */ PACK( 2, 0 ), 616 /* SPVTL[1] */ PACK( 1228 #undef PACK global() macro [all...] |
/third_party/jsoncpp/ |
H A D | 0001-Use-default-rather-than-hard-coded-8-for-maximum-agg.patch | 33 alignment. Currently the various #pragma pack directives, used to work 44 using #pragma pack(push, 0) as shorthand like for any non-zero value, 62 -#pragma pack(push, 8) 63 +#pragma pack(push) 64 +#pragma pack() 76 -#pragma pack(push, 8) 77 +#pragma pack(push) 78 +#pragma pack() 90 -#pragma pack(push, 8) 91 +#pragma pack(pus [all...] |
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
H A D | packing.inl | 125 uint Pack = 0u; 126 memcpy(&Pack, &x, sizeof(Pack)); 127 return float2packed11(Pack); 155 uint Pack = 0; 156 memcpy(&Pack, &x, sizeof(Pack)); 157 return float2packed10(Pack); 189 uint8 pack; 199 uint8 pack; [all...] |
/third_party/python/Lib/test/ |
H A D | test_wave.py | 120 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 D | test_struct.py | 38 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...] |
/third_party/node/deps/npm/node_modules/libnpmpack/ |
H A D | README.md | 15 * [`pack()`](#pack) 20 const pack = require('libnpmpack') 29 #### <a name="pack"></a> `> pack(spec, [opts]) -> Promise` 33 If no options are passed, the tarball file will be saved on the same directory from which `pack` was called in. 45 const tarball = await pack() 48 const localTar = await pack('/Users/claudiahdz/projects/my-cool-pkg') 51 const registryTar = await pack('abbrev@1.0.3') 54 const githubTar = await pack('isaac [all...] |
/third_party/python/Lib/ctypes/test/ |
H A D | test_byteswap.py | 53 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/python/Tools/demo/ |
H A D | redemo.py | 15 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...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | picture_ext_test.cpp | 196 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/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | issue-537.h | 1 /// 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/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | AnyTest.cs | 41 public void Pack() in Pack() method in Google.Protobuf.WellKnownTypes.AnyTest 44 var any = Any.Pack(message); in Pack() 53 var any = Any.Pack(message, "foo.bar/baz"); in Pack_WithCustomPrefix() 62 var any = Any.Pack(message, "foo.bar/baz/"); in Pack_WithCustomPrefixTrailingSlash() 71 var any = Any.Pack(message); in Unpack_WrongType() 79 var any = Any.Pack(message); in Unpack_Success() 88 var any = Any.Pack(message, "foo.bar/baz"); in Unpack_CustomPrefix_Success() 97 var any = Any.Pack(message); in TryUnpack_WrongType() 106 var any = Any.Pack(message); in TryUnpack_RightType() 115 var any = Any.Pack(messag in ToString_WithValues() [all...] |
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_geometry_managers.py | 18 pack = tkinter.Toplevel(self.root, name='pack') 19 pack.wm_geometry('300x200+0+0') 20 pack.wm_minsize(1, 1) 21 a = tkinter.Frame(pack, name='a', width=20, height=40, bg='red') 22 b = tkinter.Frame(pack, name='b', width=50, height=30, bg='blue') 23 c = tkinter.Frame(pack, name='c', width=80, height=80, bg='green') 24 d = tkinter.Frame(pack, name='d', width=40, height=30, bg='yellow') 25 return pack, a, b, c, d 28 pack, [all...] |