Searched defs:unpack (Results 1 - 25 of 58) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Ddfa.rb111 def unpack( *data ) method in class:ANTLR3.DFA
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_draw.c47 const struct gl_pixelstore_attrib *unpack,
52 unpack, pixels);
57 unpack, pixels);
42 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
H A Dintel_pixel_bitmap.c67 const struct gl_pixelstore_attrib *unpack,
72 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1,
79 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size,
81 unpack->BufferObj,
105 const struct gl_pixelstore_attrib *unpack,
113 GLuint src_offset = (x + unpack->SkipPixels) & 0x7;
114 GLuint mask = unpack->LsbFirst ? 0 : 7;
122 __func__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask);
138 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap,
177 const struct gl_pixelstore_attrib *unpack,
65 map_pbo( struct gl_context *ctx, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
104 get_bitmap_rect(GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, GLuint x, GLuint y, GLuint w, GLuint h, GLubyte *dest, GLuint row_align, bool invert) argument
174 do_blit_bitmap( struct gl_context *ctx, GLint dstx, GLint dsty, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
345 intelBitmap(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte * pixels) argument
[all...]
H A Dintel_tex_image.c109 const struct gl_pixelstore_attrib *unpack,
114 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj);
118 if (!_mesa_is_bufferobj(unpack->BufferObj))
124 unpack->SkipPixels || unpack->SkipRows) {
155 _mesa_image_row_stride(unpack, image->Width, format, type);
189 const struct gl_pixelstore_attrib *unpack)
198 try_pbo_upload(ctx, texImage, unpack, format, type, pixels)) {
207 format, type, pixels, unpack);
107 try_pbo_upload(struct gl_context *ctx, struct gl_texture_image *image, const struct gl_pixelstore_attrib *unpack, GLenum format, GLenum type, const void *pixels) argument
185 intelTexImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *unpack) argument
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Ddfa.py184 def unpack(cls, string): member in class:DFA
213 unpack = classmethod(unpack) variable in class:DFA
/external/curl/tests/python_dependencies/impacket/
H A Duuid.py18 from struct import pack, unpack namespace
26 uuid1, uuid2, uuid3 = unpack('<LHH', uuid[:8])
27 uuid4, uuid5, uuid6 = unpack('>HHL', uuid[8:16])
48 maj, min = unpack("<HH", bin[16:])
H A Dspnego.py13 from struct import pack, unpack, calcsize namespace
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('
[all...]
H A Dstructure.py8 from struct import pack, unpack, calcsize namespace
23 see struct.__doc__ (pack/unpack is finally called)
47 [not recommeneded, there is no why to unpack this]
64 _ will not pack the field. Accepts a third argument, which is an unpack code. See _Test_UnpackCode for an example
147 self[field[0]] = self.unpack(field[1], data[:size], dataClassOrCode = dataClassOrCode, field = field[0])
268 def unpack(self, format, data, dataClassOrCode = str, field = None): member in class:Structure
270 print " unpack( %s | %r )" % (format, data)
297 return self.unpack(two[0],data)
302 return self.unpack(two[0],data)
307 return self.unpack(tw
[all...]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/
H A DPack200Streams.java38 public static InputStream unpack(final InputStream input) method in class:Pack200Streams
42 Pack200.newUnpacker().unpack(new NoCloseInput(input), jar);
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_opt_copy_propagation.c101 uint8_t unpack; local
103 /* Make sure that the meaning of the unpack
112 /* There's only one unpack field, so make sure
130 unpack = mov->src[0].pack;
132 unpack = inst->src[i].pack;
142 inst->src[i].pack = unpack;
H A Dvc4_qpu_disasm.c96 /* The QPU unpack for A and R4 files can be described the same, it's just that
277 vc4_qpu_disasm_unpack(FILE *out, uint32_t unpack) argument
279 if (unpack != QPU_UNPACK_NOP)
280 fprintf(out, ".%s", DESC(qpu_unpack, unpack));
327 uint32_t unpack = QPU_GET_FIELD(inst, QPU_UNPACK); local
357 vc4_qpu_disasm_unpack(stderr, unpack);
H A Dvc4_qpu_emit.c166 struct qinst *inst, uint64_t *unpack)
190 /* If we had an unpack on this A-file source, we need to put
194 *last_inst(block) |= *unpack;
195 *unpack = 0;
209 uint32_t unpack = QPU_GET_FIELD(*last_inst(block), QPU_UNPACK); local
217 assert(!unpack || had_pm);
220 assert(!unpack || !had_pm);
292 uint64_t unpack = 0; local
304 assert(!unpack ||
305 unpack
163 fixup_raddr_conflict(struct qblock *block, struct qpu_reg dst, struct qpu_reg *src0, struct qpu_reg *src1, struct qinst *inst, uint64_t *unpack) argument
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_bitmap.c51 const struct gl_pixelstore_attrib *unpack,
63 bitmap = (const GLubyte *) _mesa_map_pbo_source(ctx, unpack, bitmap);
78 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack,
81 if (unpack->LsbFirst) {
83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7);
105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7);
137 _mesa_unmap_pbo_source(ctx, unpack);
150 const struct gl_pixelstore_attrib *unpack,
176 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack,
179 if (unpack
49 _swrast_Bitmap( struct gl_context *ctx, GLint px, GLint py, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
[all...]
/external/fonttools/Lib/fontTools/misc/
H A Dsstruct.py32 unpack(fmt, data, object=None)
41 Convenience function. Same as unpack, except data may be longer
78 def unpack(fmt, data, obj=None): function
87 elements = struct.unpack(formatstring, data)
104 return unpack(fmt, data[:length], obj), data[length:]
205 print(unpack(fmt, data))
207 unpack(fmt, data, i2)
/external/fonttools/Tools/fontTools/misc/
H A Dsstruct.py32 unpack(fmt, data, object=None)
41 Convenience function. Same as unpack, except data may be longer
78 def unpack(fmt, data, obj=None): function
87 elements = struct.unpack(formatstring, data)
104 return unpack(fmt, data[:length], obj), data[length:]
205 print(unpack(fmt, data))
207 unpack(fmt, data, i2)
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_draw.c54 const struct gl_pixelstore_attrib *unpack,
58 struct intel_buffer_object *src = intel_buffer_object(unpack->BufferObj);
91 if (unpack->SwapBytes || unpack->LsbFirst ||
92 unpack->SkipPixels || unpack->SkipRows) {
97 int src_stride = _mesa_image_row_stride(unpack, width, format, type);
99 /* Mesa flips the src_stride for unpack->Invert, but we want our mt to have
102 if (unpack->Invert) {
108 src_offset += _mesa_image_offset(2, unpack, widt
51 do_blit_drawpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
146 intelDrawPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid * pixels) argument
[all...]
H A Dintel_pixel_bitmap.c64 const struct gl_pixelstore_attrib *unpack,
69 if (!_mesa_validate_pbo_access(2, unpack, width, height, 1,
76 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size,
78 unpack->BufferObj,
102 const struct gl_pixelstore_attrib *unpack,
110 GLuint src_offset = (x + unpack->SkipPixels) & 0x7;
111 GLuint mask = unpack->LsbFirst ? 0 : 7;
119 __func__, x,y,w,h,width,height,unpack->SkipPixels, src_offset, mask);
135 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap,
174 const struct gl_pixelstore_attrib *unpack,
62 map_pbo( struct gl_context *ctx, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
101 get_bitmap_rect(GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, GLuint x, GLuint y, GLuint w, GLuint h, GLubyte *dest, GLuint row_align, bool invert) argument
171 do_blit_bitmap( struct gl_context *ctx, GLint dstx, GLint dsty, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ) argument
345 intelBitmap(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte * pixels) argument
[all...]
/external/google-benchmark/
H A Dmingw.py114 def unpack(archive, location, log = EmptyLogger()): function
162 unpack(archive, location, log = log)
/external/mesa3d/src/mesa/main/
H A Dpbo.c148 const struct gl_pixelstore_attrib *unpack,
153 if (_mesa_is_bufferobj(unpack->BufferObj)) {
154 /* unpack from PBO */
156 unpack->BufferObj->Size,
158 unpack->BufferObj,
166 /* unpack from normal memory */
180 const struct gl_pixelstore_attrib *unpack,
188 if (!_mesa_validate_pbo_access(dimensions, unpack, width, height, depth,
190 if (_mesa_is_bufferobj(unpack->BufferObj)) {
202 if (!_mesa_is_bufferobj(unpack
147 _mesa_map_pbo_source(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack, const GLvoid *src) argument
179 _mesa_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) argument
222 _mesa_validate_pbo_source_compressed(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei imageSize, const GLvoid *pixels, const char *where) argument
259 _mesa_map_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) argument
282 _mesa_unmap_pbo_source(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack) argument
337 _mesa_map_validate_pbo_dest(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *ptr, const char *where) argument
396 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName) argument
477 _mesa_unmap_teximage_pbo(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack) argument
[all...]
/external/python/cpython2/Lib/plat-mac/
H A Daepack.py5 unpack(desc) does the reverse
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('h
[all...]
H A Daetools.py4 unpack(desc) does the reverse
36 from aepack import packkey, pack, unpack, coerce, AEDescType namespace
43 # Special code to unpack an AppleEvent (which is *not* a disguised record!)
74 parameters['----'] = unpack(dirobj, formodulename)
82 parameters['errn'] = unpack(dirobj, formodulename)
87 parameters[key] = unpack(ae.AEGetParamDesc(key, '****'), formodulename)
96 attributes[key] = unpack(desc, formodulename)
219 """Send a pre-created appleevent, await the reply and unpack it"""
228 """Send an appleevent given code/subcode/pars/attrs and unpack the reply"""
/external/scapy/scapy/modules/krack/
H A Dcrypto.py4 from struct import unpack, pack namespace
239 l, r = unpack('<II', key)
242 block_i = unpack('<I', data[i*4:i*4 + 4])[0]
/external/syslinux/com32/lua/src/
H A Dltablib.c115 ** Pack/unpack
136 static int unpack (lua_State *L) { function
144 return luaL_error(L, "too many results to unpack");
267 {"unpack", unpack},
277 /* _G.unpack = table.unpack */
278 lua_getfield(L, -1, "unpack");
279 lua_setglobal(L, "unpack");
/external/python/cpython3/Lib/test/
H A Dtest_audioop.py8 def unpack(width, data): function
/external/tensorflow/tensorflow/cc/framework/
H A Dgradients_test.cc218 auto unpack = Unstack(scope, pack.output, 3); local
233 TF_ASSERT_OK(AddSymbolicGradients(scope, unpack.output, {a, b, c},
251 auto unpack = Unstack(scope, pack.output, 3); local
261 // NOTE: We should only expect the grad function for unpack in the
267 TF_ASSERT_OK(AddSymbolicGradients(scope, unpack.output, {pack},
282 auto unpack = Unstack(scope, c, 3); local
283 auto x = Identity(scope, unpack.output[0]);
284 auto y = Identity(scope, unpack.output[1]);
285 auto z = Identity(scope, unpack.output[2]);
300 {unpack
348 auto unpack = Unstack(scope_test_, x, 3); local
[all...]

Completed in 1156 milliseconds

123