Home
last modified time | relevance | path

Searched full:pack (Results 1 - 25 of 1900) sorted by relevance

12345678910>>...76

/third_party/node/deps/openssl/openssl/crypto/modes/
H A Dgcm128.c30 #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 Dgcm128.c30 #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/mesa3d/src/mesa/main/
H A Dpixelstore.c50 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 Dtexgetimage.c41 #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...]
H A Dpixel.c144 struct gl_pixelstore_attrib *pack, GLsizei mapsize, in validate_pbo_access()
153 pack->BufferObj); in validate_pbo_access()
163 if (pack->BufferObj) { in validate_pbo_access()
342 if (!validate_pbo_access(ctx, &ctx->Pack, mapsize, GL_INTENSITY, in _mesa_GetnPixelMapfvARB()
347 if (ctx->Pack.BufferObj) in _mesa_GetnPixelMapfvARB()
348 ctx->Pack.BufferObj->UsageHistory |= USAGE_PIXEL_PACK_BUFFER; in _mesa_GetnPixelMapfvARB()
350 values = (GLfloat *) _mesa_map_pbo_dest(ctx, &ctx->Pack, values); in _mesa_GetnPixelMapfvARB()
352 if (ctx->Pack.BufferObj) { in _mesa_GetnPixelMapfvARB()
369 _mesa_unmap_pbo_dest(ctx, &ctx->Pack); in _mesa_GetnPixelMapfvARB()
394 if (!validate_pbo_access(ctx, &ctx->Pack, mapsiz in _mesa_GetnPixelMapuivARB()
143 validate_pbo_access(struct gl_context *ctx, struct gl_pixelstore_attrib *pack, GLsizei mapsize, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr) validate_pbo_access() argument
[all...]
/third_party/node/deps/npm/test/lib/commands/
H A Dpack.js9 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 Dpack.js.test.cjs8 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 Dnuget.csproj22 <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 Dttinterp.c598 #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...]
/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...]
/third_party/jsoncpp/
H A D0001-Use-default-rather-than-hard-coded-8-for-maximum-agg.patch33 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 Dpacking.inl125 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 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_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...]
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...]
/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/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/node/deps/npm/node_modules/libnpmpack/
H A DREADME.md15 * [`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...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
H A Dkapi_symc.c792 symc_multi_pack pack; in kapi_symc_crypto() local
820 (hi_void)memset_s(&pack, sizeof(pack), 0, sizeof(pack)); in kapi_symc_crypto()
821 pack.in = &crypt->in; in kapi_symc_crypto()
822 pack.out = &crypt->out; in kapi_symc_crypto()
823 pack.len = &crypt->len; in kapi_symc_crypto()
824 pack.usage = &usage; in kapi_symc_crypto()
825 pack.num = 1; /* 1 single package encrypt or decrypt. */ in kapi_symc_crypto()
829 ret = ctx->func->crypto(ctx->cryp_ctx, crypt->operation, &pack, HI_TRU in kapi_symc_crypto()
901 kapi_symc_chk_multi_pack(hi_cipher_data *tmp, const hi_cipher_data *pack) kapi_symc_chk_multi_pack() argument
943 kapi_symc_multi_pack_set_mem(symc_multi_pack *pack, const hi_u8 *buf, hi_u32 size) kapi_symc_multi_pack_set_mem() argument
970 symc_multi_pack pack; kapi_symc_crypto_multi_start() 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/tkinter/test/test_tkinter/
H A Dtest_geometry_managers.py18 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...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
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/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DAnyTest.cs41 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/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)
250 # # Pack widgets.
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(sid
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
H A Dcryp_symc.c583 static hi_s32 cryp_symc_crypto_init(cryp_symc_context *hisi_ctx, hi_u32 operation, symc_multi_pack *pack, in cryp_symc_crypto_init() argument
590 hi_log_chk_param_return(pack == HI_NULL); in cryp_symc_crypto_init()
594 if (pack->num == 0x01) { in cryp_symc_crypto_init()
595 hisi_ctx->enclen += pack->len[i]; in cryp_symc_crypto_init()
596 pack->usage[i] = (hi_u32)pack->usage[i] | (hi_u32)usage; in cryp_symc_crypto_init()
598 for (i = 0; i < pack->num; i++) { in cryp_symc_crypto_init()
599 if (pack->len[i] == 0x00) { in cryp_symc_crypto_init()
604 hi_log_chk_param_return(hisi_ctx->enclen + pack->len[i] < hisi_ctx->enclen); in cryp_symc_crypto_init()
606 hisi_ctx->enclen += pack in cryp_symc_crypto_init()
681 cryp_symc_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 wait) cryp_symc_crypto() argument
968 cryp_ccm_add_p(cryp_symc_context *hisi_ctx, symc_multi_pack *pack, hi_u32 wait) cryp_ccm_add_p() argument
1011 cryp_aead_ccm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 wait) cryp_aead_ccm_crypto() argument
1066 cryp_aead_gcm_crypto(hi_void *ctx, hi_u32 operation, symc_multi_pack *pack, hi_u32 wait) cryp_aead_gcm_crypto() argument
[all...]

Completed in 17 milliseconds

12345678910>>...76