Home
last modified time | relevance | path

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

123456

/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.c133 ctx->Unpack.SwapBytes = param ? GL_TRUE : GL_FALSE; in pixel_storei()
138 ctx->Unpack.LsbFirst = param ? GL_TRUE : GL_FALSE; in pixel_storei()
145 ctx->Unpack.RowLength = param; in pixel_storei()
152 ctx->Unpack.ImageHeight = param; in pixel_storei()
159 ctx->Unpack.SkipPixels = param; in pixel_storei()
166 ctx->Unpack.SkipRows = param; in pixel_storei()
173 ctx->Unpack.SkipImages = param; in pixel_storei()
178 ctx->Unpack.Alignment = param; in pixel_storei()
185 ctx->Unpack.CompressedBlockWidth = param; in pixel_storei()
192 ctx->Unpack.CompressedBlockHeight = param; in pixel_storei()
[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.c255 &ctx->Unpack, 32, 32, 1, in _mesa_PolygonStipple()
262 _mesa_unpack_polygon_stipple(pattern, ctx->PolygonStipple, &ctx->Unpack); in _mesa_PolygonStipple()
264 _mesa_unmap_pbo_source(ctx, &ctx->Unpack); in _mesa_PolygonStipple()
/external/flatbuffers/lua/flatbuffers/
Dview.lua34 return off + N.UOffsetT:Unpack(self.bytes, off)
39 off = off + N.UOffsetT:Unpack(self.bytes, off)
41 local length = N.UOffsetT:Unpack(self.bytes, off)
48 off = off + N.UOffsetT:Unpack(self.bytes, off)
49 return N.UOffsetT:Unpack(self.bytes, off)
72 return flags:Unpack(self.bytes, off)
DnumTypes.lua6 local bunpack = ba.Unpack
14 function type_mt:Unpack(buf, pos) function
46 return otherType:Unpack(self:Pack(n))
192 t.Unpack = function(self, buf, pos) return bunpack(self.packFmt, buf, pos) end function
/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/tensorflow/tensorflow/compiler/tf2xla/
Dcpu_function_runtime.h35 Unpack(encoding.first, &kind, &size); in BufferInfo()
123 static void Unpack(uint64 packed, Kind* kind, uint64* size) { in Unpack() function
/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/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)
/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/mesa3d/prebuilt-intermediates/main/
Dget_hash.h50 { GL_UNPACK_ALIGNMENT, CONTEXT_INT(Unpack.Alignment), NO_EXTRA },
197 { GL_UNPACK_ROW_LENGTH, CONTEXT_INT(Unpack.RowLength), NO_EXTRA },
198 { GL_UNPACK_SKIP_PIXELS, CONTEXT_INT(Unpack.SkipPixels), NO_EXTRA },
199 { GL_UNPACK_SKIP_ROWS, CONTEXT_INT(Unpack.SkipRows), NO_EXTRA },
200 { GL_UNPACK_SKIP_IMAGES, CONTEXT_INT(Unpack.SkipImages), NO_EXTRA },
201 { GL_UNPACK_IMAGE_HEIGHT, CONTEXT_INT(Unpack.ImageHeight), NO_EXTRA },
520 { GL_UNPACK_LSB_FIRST, CONTEXT_BOOL(Unpack.LsbFirst), NO_EXTRA },
521 { GL_UNPACK_SWAP_BYTES, CONTEXT_BOOL(Unpack.SwapBytes), NO_EXTRA },
538 { GL_UNPACK_COMPRESSED_BLOCK_WIDTH, CONTEXT_INT(Unpack.CompressedBlockWidth), NO_EXTRA },
539 { GL_UNPACK_COMPRESSED_BLOCK_HEIGHT, CONTEXT_INT(Unpack.CompressedBlockHeight), NO_EXTRA },
[all …]
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_Unpack.pbtxt2 graph_op_name: "Unpack"
/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/WSI/
DFrameBuffer.cpp487 c1 = Unpack(*Pointer<Byte4>(c)); in blend()
492 c2 = Unpack(*Pointer<Byte4>(s)); in blend()
495 c2 = Swizzle(Unpack(*Pointer<Byte4>(s)), 0xC6); in blend()
507 c2 = Unpack(As<Byte4>(rgb)); in blend()
/external/swiftshader/src/Main/
DFrameBuffer.cpp542 c1 = Unpack(*Pointer<Byte4>(c)); in blend()
548 c2 = Unpack(*Pointer<Byte4>(s)); in blend()
552 c2 = Swizzle(Unpack(*Pointer<Byte4>(s)), 0xC6); in blend()
564 c2 = Unpack(As<Byte4>(rgb)); in blend()
/external/flatbuffers/tests/MyGame/
DInParentNamespace.lua16 local n = flatbuffers.N.UOffsetT:Unpack(buf, offset)
/external/flatbuffers/tests/MyGame/Example2/
DMonster.lua16 local n = flatbuffers.N.UOffsetT:Unpack(buf, offset)
/external/flatbuffers/tests/MyGame/Example/
DTestSimpleTableWithEnum.lua16 local n = flatbuffers.N.UOffsetT:Unpack(buf, offset)
DReferrable.lua16 local n = flatbuffers.N.UOffsetT:Unpack(buf, offset)

123456