/external/mesa3d/src/mesa/main/ |
D | pbo.c | 148 const struct gl_pixelstore_attrib *unpack, in _mesa_map_pbo_source() argument 153 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_map_pbo_source() 156 unpack->BufferObj->Size, in _mesa_map_pbo_source() 158 unpack->BufferObj, in _mesa_map_pbo_source() 180 const struct gl_pixelstore_attrib *unpack, in _mesa_validate_pbo_source() argument 188 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth, in _mesa_validate_pbo_source() 190 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_source() 202 if (!_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_source() 207 if (_mesa_check_disallowed_mapping(unpack->BufferObj)) { in _mesa_validate_pbo_source() 223 const struct gl_pixelstore_attrib *unpack, in _mesa_validate_pbo_source_compressed() argument [all …]
|
D | pbo.h | 43 const struct gl_pixelstore_attrib *unpack, 49 const struct gl_pixelstore_attrib *unpack, 56 const struct gl_pixelstore_attrib *unpack); 66 const struct gl_pixelstore_attrib *unpack, 80 const struct gl_pixelstore_attrib *unpack, 92 const struct gl_pixelstore_attrib *unpack); 97 const struct gl_pixelstore_attrib *unpack, 105 const struct gl_pixelstore_attrib *unpack,
|
/external/mesa3d/src/mesa/swrast/ |
D | s_drawpix.c | 57 const struct gl_pixelstore_attrib *unpack, in fast_draw_rgb_ubyte_pixels() argument 61 _mesa_image_address2d(unpack, pixels, width, in fast_draw_rgb_ubyte_pixels() 63 const GLint srcRowStride = _mesa_image_row_stride(unpack, width, in fast_draw_rgb_ubyte_pixels() 104 const struct gl_pixelstore_attrib *unpack, in fast_draw_rgba_ubyte_pixels() argument 108 _mesa_image_address2d(unpack, pixels, width, in fast_draw_rgba_ubyte_pixels() 111 _mesa_image_row_stride(unpack, width, GL_RGBA, GL_UNSIGNED_BYTE); in fast_draw_rgba_ubyte_pixels() 153 const struct gl_pixelstore_attrib *unpack, in fast_draw_generic_pixels() argument 157 _mesa_image_address2d(unpack, pixels, width, in fast_draw_generic_pixels() 160 _mesa_image_row_stride(unpack, width, format, type); in fast_draw_generic_pixels() 202 struct gl_pixelstore_attrib unpack; in fast_draw_rgba_pixels() local [all …]
|
D | s_bitmap.c | 51 const struct gl_pixelstore_attrib *unpack, in _swrast_Bitmap() argument 63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap); in _swrast_Bitmap() 78 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, in _swrast_Bitmap() 81 if (unpack->LsbFirst) { in _swrast_Bitmap() 83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7); in _swrast_Bitmap() 105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7); in _swrast_Bitmap() 137 _mesa_unmap_pbo_source(ctx, unpack); in _swrast_Bitmap() 150 const struct gl_pixelstore_attrib *unpack, 176 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, 179 if (unpack->LsbFirst) { [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_draw.c | 54 const struct gl_pixelstore_attrib *unpack, in do_blit_drawpixels() argument 58 struct intel_buffer_object *src = intel_buffer_object(unpack->BufferObj); in do_blit_drawpixels() 91 if (unpack->SwapBytes || unpack->LsbFirst || in do_blit_drawpixels() 92 unpack->SkipPixels || unpack->SkipRows) { in do_blit_drawpixels() 97 int src_stride = _mesa_image_row_stride(unpack, width, format, type); in do_blit_drawpixels() 102 if (unpack->Invert) { in do_blit_drawpixels() 108 src_offset += _mesa_image_offset(2, unpack, width, height, in do_blit_drawpixels() 152 const struct gl_pixelstore_attrib *unpack, in intelDrawPixels() argument 162 unpack, pixels); in intelDrawPixels() 166 if (_mesa_is_bufferobj(unpack->BufferObj)) { in intelDrawPixels() [all …]
|
D | intel_pixel_bitmap.c | 64 const struct gl_pixelstore_attrib *unpack, in map_pbo() argument 69 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1, in map_pbo() 76 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, in map_pbo() 78 unpack->BufferObj, in map_pbo() 102 const struct gl_pixelstore_attrib *unpack, in get_bitmap_rect() argument 110 GLuint src_offset = (x + unpack->SkipPixels) & 0x7; in get_bitmap_rect() 111 GLuint mask = unpack->LsbFirst ? 0 : 7; in get_bitmap_rect() 119 __func__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask); in get_bitmap_rect() 135 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap, in get_bitmap_rect() 174 const struct gl_pixelstore_attrib *unpack, in do_blit_bitmap() argument [all …]
|
/external/curl/tests/python_dependencies/impacket/ |
D | spnego.py | 13 from struct import pack, unpack, calcsize 54 len1 = unpack('B', data[:1])[0] 58 len2 = unpack('B',data[:pad])[0] 63 len2 = unpack('!H', data[:pad])[0] 68 len2, len3 = unpack('!BH', data[:pad]) 73 len2 = unpack('!L', data[:pad])[0] 114 next_byte = unpack('B',data[:1])[0] 120 next_byte = unpack('B',decode_data[:1])[0] 186 next_byte = unpack('B', payload[:1])[0] 191 next_byte = unpack('B', decode_data[:1])[0] [all …]
|
D | uuid.py | 18 from struct import pack, unpack 26 uuid1, uuid2, uuid3 = unpack('<LHH', uuid[:8]) 27 uuid4, uuid5, uuid6 = unpack('>HHL', uuid[8:16]) 48 maj, min = unpack("<HH", bin[16:])
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel_bitmap.c | 67 const struct gl_pixelstore_attrib *unpack, in map_pbo() argument 72 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1, in map_pbo() 79 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, in map_pbo() 81 unpack->BufferObj, in map_pbo() 105 const struct gl_pixelstore_attrib *unpack, in get_bitmap_rect() argument 113 GLuint src_offset = (x + unpack->SkipPixels) & 0x7; in get_bitmap_rect() 114 GLuint mask = unpack->LsbFirst ? 0 : 7; in get_bitmap_rect() 122 __func__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask); in get_bitmap_rect() 138 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap, in get_bitmap_rect() 177 const struct gl_pixelstore_attrib *unpack, in do_blit_bitmap() argument [all …]
|
D | intel_tex_image.c | 109 const struct gl_pixelstore_attrib *unpack, in try_pbo_upload() argument 114 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj); in try_pbo_upload() 118 if (!_mesa_is_bufferobj(unpack->BufferObj)) in try_pbo_upload() 124 unpack->SkipPixels || unpack->SkipRows) { in try_pbo_upload() 149 _mesa_image_row_stride(unpack, image->Width, format, type); in try_pbo_upload() 183 const struct gl_pixelstore_attrib *unpack) in intelTexImage() argument 192 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) { in intelTexImage() 201 format, type, pixels, unpack); in intelTexImage()
|
/external/python/cpython2/Lib/plat-mac/ |
D | aepack.py | 131 def unpack(desc, formodulename=""): function 143 l.append(unpack(item, formodulename)) 149 d[keyword] = unpack(item, formodulename) 153 return mkaetext(unpack(record, formodulename)) 158 return struct.unpack('b', desc.data)[0] 174 return struct.unpack('d', data)[0] 181 return mkinsertionloc(unpack(record, formodulename)) 184 script, language = struct.unpack('hh', desc.data[:4]) 187 script, language = struct.unpack('hh', desc.data) 192 return struct.unpack('l', desc.data)[0] [all …]
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qpu_emit.c | 166 struct qinst *inst, uint64_t *unpack) in fixup_raddr_conflict() argument 194 *last_inst(block) |= *unpack; in fixup_raddr_conflict() 195 *unpack = 0; in fixup_raddr_conflict() 209 MAYBE_UNUSED uint32_t unpack = QPU_GET_FIELD(*last_inst(block), QPU_UNPACK); in set_last_dst_pack() local 217 assert(!unpack || had_pm); in set_last_dst_pack() 220 assert(!unpack || !had_pm); in set_last_dst_pack() 296 uint64_t unpack = 0; in vc4_generate_code_block() local 308 assert(!unpack || in vc4_generate_code_block() 309 unpack == qinst->src[i].pack); in vc4_generate_code_block() 310 unpack = QPU_SET_FIELD(qinst->src[i].pack, in vc4_generate_code_block() [all …]
|
/external/scapy/scapy/contrib/ |
D | ldp.py | 48 type = struct.unpack("!H",p[0:2])[0] 50 if type == 0x0001 and struct.unpack("!H",p[2:4])[0] > 20: 64 nbr = struct.unpack("!H",x[2:4])[0] 101 l = 4 + struct.unpack("!H",s[2:4])[0] 112 return struct.unpack("!I",x[4:8])[0] 121 l = 4 + struct.unpack("!H",s[2:4])[0] 133 nbr = struct.unpack("!H",x[2:4])[0] - 2 151 l = 4 + struct.unpack("!H",s[2:4])[0] 164 statuscode = struct.unpack("!I",x[4:8])[0] 168 l.append( struct.unpack("!I", x[8:12])[0] ) [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | AnyTest.java | 53 TestAllTypes result = container.getValue().unpack(TestAllTypes.class); in testAnyGeneratedApi() 59 TestAny wrongMessage = container.getValue().unpack(TestAny.class); in testAnyGeneratedApi() 71 TestAllTypes parsingFailed = container.getValue().unpack(TestAllTypes.class); in testAnyGeneratedApi() 93 TestAllTypes result = container.getValue().unpack(TestAllTypes.class); in testCustomTypeUrls() 106 result = container.getValue().unpack(TestAllTypes.class); in testCustomTypeUrls() 119 result = container.getValue().unpack(TestAllTypes.class); in testCustomTypeUrls() 133 TestAllTypes result1 = container.getValue().unpack(TestAllTypes.class); in testCachedUnpackResult() 134 TestAllTypes result2 = container.getValue().unpack(TestAllTypes.class); in testCachedUnpackResult()
|
/external/python/cpython2/Lib/test/ |
D | test_aepack.py | 31 unpacked = aepack.unpack(packed) 37 unpacked = aepack.unpack(packed) 43 unpacked = aepack.unpack(packed) 49 unpacked = aepack.unpack(packed) 55 unpacked = aepack.unpack(packed) 68 unpacked = aepack.unpack(packed) 80 unpacked = aepack.unpack(packed)
|
D | test_struct.py | 68 self.assertRaises(struct.error, struct.unpack, 'd', 'flap') 70 self.assertRaises(struct.error, struct.unpack, 'iii', s) 71 self.assertRaises(struct.error, struct.unpack, 'i', s) 87 cp, bp, hp, ip, lp, fp, dp, tp = struct.unpack(format, s) 146 rev = struct.unpack(xfmt, res)[0] 214 unpack=struct.unpack, argument 239 retrieved = unpack(format, got)[0] 243 self.assertRaises((struct.error, TypeError), unpack, format, 377 (got,) = struct.unpack(code, got) 394 unpacked = struct.unpack("<f", packed)[0] [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_struct.py | 52 self.assertRaises(struct.error, struct.unpack, 'd', b'flap') 54 self.assertRaises(struct.error, struct.unpack, 'iii', s) 55 self.assertRaises(struct.error, struct.unpack, 'i', s) 71 cp, bp, hp, ip, lp, fp, dp, tp = struct.unpack(format, s) 130 rev = struct.unpack(xfmt, res)[0] 196 unpack=struct.unpack, argument 222 retrieved = unpack(format, got)[0] 226 self.assertRaises((struct.error, TypeError), unpack, format, 333 assertStructError(struct.unpack, format, b"") 348 (got,) = struct.unpack(code, got) [all …]
|
/external/fonttools/Lib/fontTools/misc/ |
D | macRes.py | 75 sstruct.unpack(ResourceForkHeader, headerData, self) 79 sstruct.unpack(ResourceMapHeader, resourceMapData, self) 86 self.numTypes, = struct.unpack('>H', numTypesData) 91 item = sstruct.unpack(ResourceTypeItem, resTypeItemData) 184 sstruct.unpack(ResourceRefItem, refData, self) 186 self.dataOffset, = struct.unpack('>L', bytesjoin([b"\0", self.dataOffset])) 188 dataLength, = struct.unpack(">L", reader._read(4, absDataOffset)) 193 nameLength, = struct.unpack('B', reader._read(1, absNameOffset)) 194 name, = struct.unpack('>%ss' % nameLength, reader._read(nameLength))
|
/external/autotest/client/common_lib/ |
D | magic.py | 132 [c] = struct.unpack('c', data[self.offset + i]) 135 [data] = struct.unpack('h', data[self.offset:self.offset + 2]) 137 [data] = struct.unpack('<h', data[self.offset:self.offset + 2]) 139 [data] = struct.unpack('>H', data[self.offset:self.offset + 2]) 141 [data] = struct.unpack('l', data[self.offset:self.offset + 4]) 143 [data] = struct.unpack('<l', data[self.offset:self.offset + 4]) 145 [data] = struct.unpack('>l', data[self.offset:self.offset + 4])
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_dd.c | 344 const struct gl_pixelstore_attrib *unpack, in xmesa_DrawPixels_8R8G8B() argument 349 struct gl_pixelstore_attrib clippedUnpack = *unpack; in xmesa_DrawPixels_8R8G8B() 358 if (_mesa_is_bufferobj(unpack->BufferObj)) { in xmesa_DrawPixels_8R8G8B() 361 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1, in xmesa_DrawPixels_8R8G8B() 368 unpack->BufferObj->Size, in xmesa_DrawPixels_8R8G8B() 370 unpack->BufferObj, in xmesa_DrawPixels_8R8G8B() 418 if (_mesa_is_bufferobj(unpack->BufferObj)) { in xmesa_DrawPixels_8R8G8B() 419 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in xmesa_DrawPixels_8R8G8B() 425 format, type, unpack, pixels); in xmesa_DrawPixels_8R8G8B() 476 const struct gl_pixelstore_attrib *unpack, in xmesa_DrawPixels_5R6G5B() argument [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_types.h | 42 static simdscalar unpack(simdscalar &in) = delete; 47 static simd16scalar unpack(simd16scalar &in) = delete; 62 static simdscalar unpack(simdscalar &in) { return _simd_setzero_ps(); } 67 static simd16scalar unpack(simd16scalar &in) { return _simd16_setzero_ps(); } 101 static simdscalar unpack(simdscalar &in) 153 static simd16scalar unpack(simd16scalar &in) 216 static simdscalar unpack(simdscalar &in) 269 static simd16scalar unpack(simd16scalar &in) 332 static simdscalar unpack(simdscalar &in) 380 static simd16scalar unpack(simd16scalar &in) [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_drawpixels.c | 384 const struct gl_pixelstore_attrib *unpack, in make_texture() argument 403 !_mesa_is_bufferobj(unpack->BufferObj) && in make_texture() 404 (unpack->RowLength == 0 || unpack->RowLength == width) && in make_texture() 405 unpack->SkipPixels == 0 && in make_texture() 406 unpack->SkipRows == 0 && in make_texture() 407 unpack->SwapBytes == GL_FALSE && in make_texture() 439 format, type, unpack->SwapBytes); in make_texture() 454 pixels = _mesa_map_pbo_source(ctx, unpack, pixels); in make_texture() 461 _mesa_unmap_pbo_source(ctx, unpack); in make_texture() 498 unpack); in make_texture() [all …]
|
/external/vboot_reference/tests/futility/ |
D | test_main.sh | 37 ./vbutil_key --unpack ${DEVKEYS}/installer_kernel_data_key.vbpubk | grep ${SHA} 39 ./vbutil_keyblock --unpack ${DEVKEYS}/installer_kernel.keyblock | grep ${SHA} 45 ./muggle vbutil_key --unpack ${DEVKEYS}/installer_kernel_data_key.vbpubk \ 48 ./buggle vbutil_keyblock --unpack ${DEVKEYS}/installer_kernel.keyblock \
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | unpack.cc | 25 namespace unpack { namespace 128 static TfLiteRegistration r = {unpack::Init, unpack::Free, unpack::Prepare, in Register_UNPACK() 129 unpack::Eval}; in Register_UNPACK()
|
/external/scapy/scapy/arch/ |
D | linux.py | 105 return struct.unpack("16xh6s8x",get_if(iff,SIOCGIFHWADDR)) 131 ifflags = struct.unpack("16xH14x",get_if(i,SIOCGIFFLAGS))[0] 194 out = struct.unpack("iL", ifreq)[0] 206 ifaddr = struct.unpack(">I", ifreq[20:24])[0] 208 msk = struct.unpack(">I", ifreq[20:24])[0] 236 addrfamily = struct.unpack("h",ifreq[16:18])[0] 239 msk = socket.ntohl(struct.unpack("I",ifreq2[20:24])[0]) 240 dst = socket.ntohl(struct.unpack("I",ifreq[20:24])[0]) & msk 259 addrfamily = struct.unpack("h",ifreq[16:18])[0] 269 ifaddr_int = struct.unpack("!I", ifreq[20:24])[0] [all …]
|