Home
last modified time | relevance | path

Searched refs:Unpack (Results 1 – 25 of 105) sorted by relevance

12345

/external/llvm/lib/Fuzzer/test/
DFuzzerFnAdapterUnittest.cpp12 bool Unpack(std::tuple<Args...> *Tuple, std::initializer_list<uint8_t> data) { in Unpack() function
14 return Unpack(V.data(), V.size(), Tuple); in Unpack()
17 TEST(Unpack, Bool) { in TEST() argument
19 EXPECT_TRUE(Unpack(&T, {1})); in TEST()
22 EXPECT_TRUE(Unpack(&T, {0})); in TEST()
25 EXPECT_FALSE(Unpack(&T, {})); in TEST()
28 TEST(Unpack, BoolBool) { in TEST() argument
30 EXPECT_TRUE(Unpack(&T, {1, 0})); in TEST()
34 EXPECT_TRUE(Unpack(&T, {0, 1})); in TEST()
38 EXPECT_FALSE(Unpack(&T, {})); in TEST()
[all …]
/external/mesa3d/src/mesa/main/
Dpixelstore.c132 ctx->Unpack.SwapBytes = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
137 ctx->Unpack.LsbFirst = param ? GL_TRUE : GL_FALSE; in _mesa_PixelStorei()
144 ctx->Unpack.RowLength = param; in _mesa_PixelStorei()
151 ctx->Unpack.ImageHeight = param; in _mesa_PixelStorei()
158 ctx->Unpack.SkipPixels = param; in _mesa_PixelStorei()
165 ctx->Unpack.SkipRows = param; in _mesa_PixelStorei()
172 ctx->Unpack.SkipImages = param; in _mesa_PixelStorei()
177 ctx->Unpack.Alignment = param; in _mesa_PixelStorei()
184 ctx->Unpack.CompressedBlockWidth = param; in _mesa_PixelStorei()
191 ctx->Unpack.CompressedBlockHeight = param; in _mesa_PixelStorei()
[all …]
Ddrawpix.c147 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_DrawPixels()
149 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height, in _mesa_DrawPixels()
155 if (_mesa_check_disallowed_mapping(ctx->Unpack.BufferObj)) { in _mesa_DrawPixels()
164 &ctx->Unpack, pixels); in _mesa_DrawPixels()
330 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_Bitmap()
332 if (!_mesa_validate_pbo_access(2, &ctx->Unpack, width, height, in _mesa_Bitmap()
339 if (_mesa_check_disallowed_mapping(ctx->Unpack.BufferObj)) { in _mesa_Bitmap()
347 ctx->Driver.Bitmap( ctx, x, y, width, height, &ctx->Unpack, bitmap ); in _mesa_Bitmap()
Dpixel.c197 if (!validate_pbo_access(ctx, &ctx->Unpack, mapsize, GL_INTENSITY, in _mesa_PixelMapfv()
202 values = (const GLfloat *) _mesa_map_pbo_source(ctx, &ctx->Unpack, values); in _mesa_PixelMapfv()
204 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_PixelMapfv()
213 _mesa_unmap_pbo_source(ctx, &ctx->Unpack); in _mesa_PixelMapfv()
238 if (!validate_pbo_access(ctx, &ctx->Unpack, mapsize, GL_INTENSITY, in _mesa_PixelMapuiv()
243 values = (const GLuint *) _mesa_map_pbo_source(ctx, &ctx->Unpack, values); in _mesa_PixelMapuiv()
245 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_PixelMapuiv()
266 _mesa_unmap_pbo_source(ctx, &ctx->Unpack); in _mesa_PixelMapuiv()
293 if (!validate_pbo_access(ctx, &ctx->Unpack, mapsize, GL_INTENSITY, in _mesa_PixelMapusv()
298 values = (const GLushort *) _mesa_map_pbo_source(ctx, &ctx->Unpack, values); in _mesa_PixelMapusv()
[all …]
Dpolygon.c192 &ctx->Unpack, 32, 32, 1, in _mesa_PolygonStipple()
199 _mesa_unpack_polygon_stipple(pattern, ctx->PolygonStipple, &ctx->Unpack); in _mesa_PolygonStipple()
201 _mesa_unmap_pbo_source(ctx, &ctx->Unpack); in _mesa_PolygonStipple()
/external/vulkan-validation-layers/libs/glm/gtc/
Dpacking.inl227 float Unpack(static_cast<float>(p));
228 return Unpack * static_cast<float>(0.0039215686274509803921568627451); // 1 / 255
253 float Unpack(static_cast<float>(*const_cast<uint8*>(&p)));
255 Unpack * 0.00787401574803149606299212598425f, // 1.0f / 127.0f
268 i8vec2* Unpack = reinterpret_cast<i8vec2*>(const_cast<uint16*>(&p)); local
270 vec2(*Unpack) * 0.00787401574803149606299212598425f, // 1.0f / 127.0f
281 float Unpack = static_cast<float>(*const_cast<uint16*>(&p)); local
282 return Unpack * 1.5259021896696421759365224689097e-5f; // 1.0 / 65535.0
294 u16vec4* Unpack = reinterpret_cast<u16vec4*>(const_cast<uint64*>(&p)); local
295 return vec4(*Unpack) * 1.5259021896696421759365224689097e-5f; // 1.0 / 65535.0
[all …]
/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_packing.inl43 vec2 Unpack(reinterpret_cast<u16vec2 const &>(p));
44 return Unpack * float(1.5259021896696421759365224689097e-5); // 1.0 / 65535.0
55 vec2 Unpack(reinterpret_cast<i16vec2 const &>(p));
57 Unpack * 3.0518509475997192297128208258309e-5f, //1.0f / 32767.0f,
69 vec4 Unpack(reinterpret_cast<u8vec4 const&>(p));
70 return Unpack * float(0.0039215686274509803921568627451); // 1 / 255
81 vec4 Unpack(reinterpret_cast<i8vec4 const &>(p));
83 Unpack * 0.0078740157480315f, // 1.0f / 127.0f
99 i16vec2 Unpack( local
103 uint * Result = reinterpret_cast<uint*>(&Unpack);
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs72 Assert.Throws<InvalidProtocolBufferException>(() => any.Unpack<TestOneof>()); in Unpack_WrongType()
80 var unpacked = any.Unpack<TestAllTypes>(); in Unpack_Success()
89 var unpacked = any.Unpack<TestAllTypes>(); in Unpack_CustomPrefix_Success()
/external/v8/tools/testrunner/objects/
Dworkpacket.py78 def Unpack(packed): member in WorkPacket
84 ctx = context.Context.Unpack(packed["context"])
Doutput.py59 def Unpack(packed): member in Output
Dpeer.py77 def Unpack(packed): member in Peer
Dcontext.py61 def Unpack(packed): member in Context
/external/vboot_reference/futility/
Dcmd_vbutil_key.c106 static int Unpack(const char *infile, const char *outfile) in Unpack() function
229 return Unpack(infile, outfile); in do_vbutil_key()
Dcmd_vbutil_keyblock.c153 static int Unpack(const char *infile, const char *datapubkey, in Unpack() function
326 return Unpack(filename, datapubkey, signpubkey); in do_vbutil_keyblock()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dnack.cc70 Unpack(); in Parse()
150 void Nack::Unpack() { in Unpack() function in webrtc::rtcp::Nack
Dnack.h53 void Unpack(); // Fills packet_ids_ using packed_. (used in Parse).
/external/tensorflow/tensorflow/contrib/session_bundle/
Dsession_bundle.py139 graph_def_any[0].Unpack(graph_def)
165 asset.Unpack(asset_pb)
Dexporter_test.py149 graph_def_any[0].Unpack(graph_def)
164 signatures_any[0].Unpack(signatures)
180 assets_any[0].Unpack(asset)
Dsession_bundle_test.py111 signatures_any[0].Unpack(signatures)
149 signatures_any[0].Unpack(signatures)
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h50 { GL_UNPACK_ALIGNMENT, CONTEXT_INT(Unpack.Alignment), NO_EXTRA },
196 { GL_UNPACK_ROW_LENGTH, CONTEXT_INT(Unpack.RowLength), NO_EXTRA },
197 { GL_UNPACK_SKIP_PIXELS, CONTEXT_INT(Unpack.SkipPixels), NO_EXTRA },
198 { GL_UNPACK_SKIP_ROWS, CONTEXT_INT(Unpack.SkipRows), NO_EXTRA },
199 { GL_UNPACK_SKIP_IMAGES, CONTEXT_INT(Unpack.SkipImages), NO_EXTRA },
200 { GL_UNPACK_IMAGE_HEIGHT, CONTEXT_INT(Unpack.ImageHeight), NO_EXTRA },
518 { GL_UNPACK_LSB_FIRST, CONTEXT_BOOL(Unpack.LsbFirst), NO_EXTRA },
519 { GL_UNPACK_SWAP_BYTES, CONTEXT_BOOL(Unpack.SwapBytes), NO_EXTRA },
536 { GL_UNPACK_COMPRESSED_BLOCK_WIDTH, CONTEXT_INT(Unpack.CompressedBlockWidth), NO_EXTRA },
537 { GL_UNPACK_COMPRESSED_BLOCK_HEIGHT, CONTEXT_INT(Unpack.CompressedBlockHeight), NO_EXTRA },
[all …]
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_Unpack.pbtxt2 graph_op_name: "Unpack"
/external/llvm/lib/Fuzzer/
DFuzzerFnAdapter.h130 bool Unpack(const uint8_t *Data, size_t Size, std::tuple<Args...> *Tuple) { in Unpack() function
172 if (!Unpack(Data, Size, &Tuple))
/external/swiftshader/src/Main/
DFrameBuffer.cpp546 c1 = Unpack(*Pointer<Byte4>(c)); in blend()
552 c2 = Unpack(*Pointer<Byte4>(s)); in blend()
556 c2 = Swizzle(Unpack(*Pointer<Byte4>(s)), 0xC6); in blend()
568 c2 = Unpack(As<Byte4>(rgb)); in blend()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DAnyPartial.cs69 public T Unpack<T>() where T : IMessage, new()
/external/compiler-rt/lib/sanitizer_common/scripts/
Dsancov.py129 def Unpack(files): function
242 Unpack(file_list)

12345