/external/llvm/lib/Fuzzer/test/ |
D | FuzzerFnAdapterUnittest.cpp | 12 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/ |
D | pixelstore.c | 132 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 …]
|
D | drawpix.c | 147 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()
|
D | pixel.c | 197 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 …]
|
D | polygon.c | 192 &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/ |
D | packing.inl | 227 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/ |
D | func_packing.inl | 43 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/ |
D | AnyTest.cs | 72 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/ |
D | workpacket.py | 78 def Unpack(packed): member in WorkPacket 84 ctx = context.Context.Unpack(packed["context"])
|
D | output.py | 59 def Unpack(packed): member in Output
|
D | peer.py | 77 def Unpack(packed): member in Peer
|
D | context.py | 61 def Unpack(packed): member in Context
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_key.c | 106 static int Unpack(const char *infile, const char *outfile) in Unpack() function 229 return Unpack(infile, outfile); in do_vbutil_key()
|
D | cmd_vbutil_keyblock.c | 153 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/ |
D | nack.cc | 70 Unpack(); in Parse() 150 void Nack::Unpack() { in Unpack() function in webrtc::rtcp::Nack
|
D | nack.h | 53 void Unpack(); // Fills packet_ids_ using packed_. (used in Parse).
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
D | session_bundle.py | 139 graph_def_any[0].Unpack(graph_def) 165 asset.Unpack(asset_pb)
|
D | exporter_test.py | 149 graph_def_any[0].Unpack(graph_def) 164 signatures_any[0].Unpack(signatures) 180 assets_any[0].Unpack(asset)
|
D | session_bundle_test.py | 111 signatures_any[0].Unpack(signatures) 149 signatures_any[0].Unpack(signatures)
|
/external/mesa3d/prebuilt-intermediates/main/ |
D | get_hash.h | 50 { 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/ |
D | api_def_Unpack.pbtxt | 2 graph_op_name: "Unpack"
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerFnAdapter.h | 130 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/ |
D | FrameBuffer.cpp | 546 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/ |
D | AnyPartial.cs | 69 public T Unpack<T>() where T : IMessage, new()
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | sancov.py | 129 def Unpack(files): function 242 Unpack(file_list)
|