Searched refs:copy (Results 1 - 25 of 1547) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_split_copy.c8 * copy of this software and associated documentation files (the "Software"),
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
109 * Shallow copy one vertex array to another.
126 check_flush(struct copy_context *copy) argument
128 GLenum mode = copy->dstprim[copy->dstprim_nr].mode;
131 copy->dstelt_nr & 1) { /* see bug9962 */
135 if (copy->dstbuf_nr + 4 > copy->dstbuf_size)
138 if (copy
185 flush(struct copy_context * copy) argument
234 begin(struct copy_context * copy,GLenum mode,GLboolean begin_flag) argument
249 elt(struct copy_context * copy,GLuint elt_idx) argument
310 end(struct copy_context * copy,GLboolean end_flag) argument
324 replay_elts(struct copy_context * copy) argument
428 replay_init(struct copy_context * copy) argument
562 replay_finish(struct copy_context * copy) argument
600 struct copy_context copy; local in function:_tnl_split_copy
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_split_copy.c8 * copy of this software and associated documentation files (the "Software"),
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
109 * Shallow copy one vertex array to another.
126 check_flush(struct copy_context *copy) argument
128 GLenum mode = copy->dstprim[copy->dstprim_nr].mode;
131 copy->dstelt_nr & 1) { /* see bug9962 */
135 if (copy->dstbuf_nr + 4 > copy->dstbuf_size)
138 if (copy
182 flush(struct copy_context * copy) argument
229 begin(struct copy_context * copy,GLenum mode,GLboolean begin_flag) argument
243 elt(struct copy_context * copy,GLuint elt_idx) argument
304 end(struct copy_context * copy,GLboolean end_flag) argument
318 replay_elts(struct copy_context * copy) argument
422 replay_init(struct copy_context * copy) argument
562 replay_finish(struct copy_context * copy) argument
600 struct copy_context copy; local in function:_tnl_split_copy
[all...]
/xsrc/external/mit/xorg-server/dist/os/
H A Dstrndup.c43 char *copy; local in function:strndup
48 if ((copy = malloc(len + 1)) == NULL)
50 memcpy(copy, str, len);
51 copy[len] = '\0';
52 return (copy);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/math/
H A Dm_copy_tmp.h8 * copy of this software and associated documentation files (the "Software"),
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
32 static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f ) \
70 _mesa_copy_tab[0x0] = TAG2(copy, 0x0);
71 _mesa_copy_tab[0x1] = TAG2(copy, 0x1);
72 _mesa_copy_tab[0x2] = TAG2(copy, 0x2);
73 _mesa_copy_tab[0x3] = TAG2(copy, 0x3);
74 _mesa_copy_tab[0x4] = TAG2(copy, 0x4);
75 _mesa_copy_tab[0x5] = TAG2(copy, 0x5);
76 _mesa_copy_tab[0x6] = TAG2(copy,
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/math/
H A Dm_copy_tmp.h8 * copy of this software and associated documentation files (the "Software"),
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
32 static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f ) \
70 _mesa_copy_tab[0x0] = TAG2(copy, 0x0);
71 _mesa_copy_tab[0x1] = TAG2(copy, 0x1);
72 _mesa_copy_tab[0x2] = TAG2(copy, 0x2);
73 _mesa_copy_tab[0x3] = TAG2(copy, 0x3);
74 _mesa_copy_tab[0x4] = TAG2(copy, 0x4);
75 _mesa_copy_tab[0x5] = TAG2(copy, 0x5);
76 _mesa_copy_tab[0x6] = TAG2(copy,
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DPeekEvent.c5 Permission to use, copy, modify, distribute, and sell this software and its
43 XEvent copy; local in function:XPeekEvent
48 if (_XCopyEventCookie(dpy, &event->xcookie, &copy.xcookie)) {
49 _XStoreEventCookie(dpy, &copy);
50 *event = copy;
H A DPeekIfEv.c5 Permission to use, copy, modify, distribute, and sell this software and its
64 XEvent copy; local in function:XPeekIfEvent
66 if (_XCopyEventCookie(dpy, &event->xcookie, &copy.xcookie)) {
67 _XStoreEventCookie(dpy, &copy);
68 *event = copy;
H A DPutBEvent.c5 Permission to use, copy, modify, distribute, and sell this software and its
53 XEvent copy = {0}; local in function:_XPutBackEvent
58 } else { /* if claimed, copy, client must free */
59 _XCopyEventCookie(dpy, &event->xcookie, &copy.xcookie);
60 store = copy;
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_var_copies.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
34 * Lowers all copy intrinsics to sequences of load/store intrinsics.
98 nir_lower_deref_copy_instr(nir_builder *b, nir_intrinsic_instr *copy) argument
103 assert(copy->src[0].is_ssa && copy->src[1].is_ssa);
104 nir_deref_instr *dst = nir_instr_as_deref(copy->src[0].ssa->parent_instr);
105 nir_deref_instr *src = nir_instr_as_deref(copy->src[1].ssa->parent_instr);
111 b->cursor = nir_before_instr(&copy->instr);
114 nir_intrinsic_dst_access(copy),
134 nir_intrinsic_instr *copy = nir_instr_as_intrinsic(instr); local in function:lower_var_copies_impl
[all...]
H A Dnir_opt_copy_propagate.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
32 * SSA-based copy propagation
78 * nir_foreach_instr_safe() loop, then we would end copy-propagation early. */
84 copy_propagate_alu(nir_function_impl *impl, nir_alu_src *src, nir_alu_instr *copy) argument
92 if (copy->op == nir_op_mov) {
93 def = copy->src[0].src.ssa;
96 src->swizzle[i] = copy->src[0].swizzle[src->swizzle[i]];
98 def = copy->src[src->swizzle[0]].src.ssa;
101 if (copy
115 copy_propagate(nir_src * src,nir_alu_instr * copy) argument
126 copy_propagate_if(nir_src * src,nir_alu_instr * copy) argument
[all...]
H A Dnir_split_var_copies.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
32 * Implements "copy splitting" which is similar to structure splitting only
33 * it works on copy operations rather than the datatypes themselves. The
34 * GLSL language allows you to copy one variable to another an entire
39 * regardlesss of what we do, we have to be able to copy to/from
44 * The primary issue here is that, if you lower the copy to a bunch of
45 * loads and stores, you loose a lot of information about the copy
47 * have a "copy splitting" pass that, instead of splitting the structures
48 * or lowering the copy int
102 nir_intrinsic_instr *copy = nir_instr_as_intrinsic(instr); local in function:split_var_copies_impl
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_var_copies.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
34 * Lowers all copy intrinsics to sequences of load/store intrinsics.
98 nir_lower_deref_copy_instr(nir_builder *b, nir_intrinsic_instr *copy) argument
103 assert(copy->src[0].is_ssa && copy->src[1].is_ssa);
104 nir_deref_instr *dst = nir_instr_as_deref(copy->src[0].ssa->parent_instr);
105 nir_deref_instr *src = nir_instr_as_deref(copy->src[1].ssa->parent_instr);
111 b->cursor = nir_before_instr(&copy->instr);
114 nir_intrinsic_dst_access(copy),
134 nir_intrinsic_instr *copy = nir_instr_as_intrinsic(instr); local in function:lower_var_copies_impl
[all...]
H A Dnir_split_var_copies.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
32 * Implements "copy splitting" which is similar to structure splitting only
33 * it works on copy operations rather than the datatypes themselves. The
34 * GLSL language allows you to copy one variable to another an entire
39 * regardlesss of what we do, we have to be able to copy to/from
44 * The primary issue here is that, if you lower the copy to a bunch of
45 * loads and stores, you loose a lot of information about the copy
47 * have a "copy splitting" pass that, instead of splitting the structures
48 * or lowering the copy int
102 nir_intrinsic_instr *copy = nir_instr_as_intrinsic(instr); local in function:split_var_copies_impl
[all...]
H A Dnir_inline_functions.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
33 nir_function_impl *copy = nir_function_impl_clone(b->shader, impl); local in function:nir_inline_function_impl
42 exec_list_append(&b->impl->locals, &copy->locals);
43 exec_list_append(&b->impl->registers, &copy->registers);
45 nir_foreach_block(block, copy) {
73 nir_cf_list_extract(&body, &copy->body);
180 * be lowered which lets us just copy+paste the callee directly into the
/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
H A Dvbo_exec.c7 * copy of this software and associated documentation files (the "Software"),
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
255 * the temporary "copy" buffer.
258 * The temporary "copy" buffer holds the vertices which need to get
271 unsigned copy = 0; local in function:vbo_copy_vertices
277 copy = count % 2;
280 copy = count % 3;
284 copy = count % 4;
287 copy = count % 6;
290 copy
[all...]
/xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
H A Dglut_util.c22 char *copy; local in function:__glutStrdup
24 copy = (char*) malloc(strlen(string) + 1);
25 if (copy == NULL)
27 strcpy(copy, string);
28 return copy;
/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dglut_util.c22 char *copy; local in function:__glutStrdup
24 copy = (char*) malloc(strlen(string) + 1);
25 if (copy == NULL)
27 strcpy(copy, string);
28 return copy;
/xsrc/external/mit/MesaLib/dist/bin/
H A Dpost_version_test.py3 # Permission is hereby granted, free of charge, to any person obtaining a copy
6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
45 with mock.patch('bin.post_version.csv.reader', mock.Mock(return_value=data.copy())), \
60 with mock.patch('bin.post_version.csv.reader', mock.Mock(return_value=data.copy())), \
64 d = data.copy()
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dmesher.cc6 ** this file except in compliance with the License. You may obtain a copy
246 Mesher::copy( int x, int y ) function in class:Mesher
289 copy( ilast, ilast-1 );
297 copy( 0, ilast );
306 copy( ilast, ilast-1 );
316 copy( ilast-1, ilast );
324 copy( ilast, 0 );
333 copy( ilast-1, ilast );
353 copy( ilast, ilast-1 );
361 copy(
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_clone.cpp5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
277 ir_function *copy = new(mem_ctx) ir_function(this->name); local in function:ir_function::clone
279 copy->is_subroutine = this->is_subroutine;
280 copy->subroutine_index = this->subroutine_index;
281 copy->num_subroutine_types = this->num_subroutine_types;
282 copy->subroutine_types = ralloc_array(mem_ctx, const struct glsl_type *, copy->num_subroutine_types);
283 for (int i = 0; i < copy->num_subroutine_types; i++)
284 copy
302 ir_function_signature *copy = this->clone_prototype(mem_ctx, ht); local in function:ir_function_signature::clone
319 ir_function_signature *copy = local in function:ir_function_signature::clone_prototype
431 ir_instruction *copy = original->clone(mem_ctx, ht); local in function:clone_ir_list
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_clone.cpp5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
271 ir_function *copy = new(mem_ctx) ir_function(this->name); local in function:ir_function::clone
273 copy->is_subroutine = this->is_subroutine;
274 copy->subroutine_index = this->subroutine_index;
275 copy->num_subroutine_types = this->num_subroutine_types;
276 copy->subroutine_types = ralloc_array(mem_ctx, const struct glsl_type *, copy->num_subroutine_types);
277 for (int i = 0; i < copy->num_subroutine_types; i++)
278 copy
296 ir_function_signature *copy = this->clone_prototype(mem_ctx, ht); local in function:ir_function_signature::clone
313 ir_function_signature *copy = local in function:ir_function_signature::clone_prototype
425 ir_instruction *copy = original->clone(mem_ctx, ht); local in function:clone_ir_list
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/util/
H A Dvk_alloc.h5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
78 char *copy = vk_alloc(alloc, size, 1, scope); local in function:vk_strdup
79 if (copy == NULL)
82 memcpy(copy, s, size);
84 return copy;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/renderonly/
H A Drenderonly.c5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
43 struct renderonly *copy; local in function:renderonly_dup
45 copy = CALLOC_STRUCT(renderonly);
46 if (!copy)
49 memcpy(copy, ro, sizeof(*ro));
51 return copy;
/xsrc/external/mit/ctwm/dist/
H A Dr_area_list.c74 * Create a copy of a given RAreaList.
88 * Create a copy of an RAreaList with given amounts cropped off the
290 RAreaList *copy = RAreaListCopy(self); local in function:RAreaListHorizontalUnion
296 RAreaListSortX(copy);
301 for(int i = 0; i < copy->len - 1; i++) {
302 for(int j = i + 1; j < copy->len; j++) {
303 RAreaList *repl = RAreaHorizontalUnion(&copy->areas[i], &copy->areas[j]);
306 RAreaListDelete(copy, j);
307 RAreaListDelete(copy,
328 RAreaList *copy = RAreaListCopy(self); local in function:RAreaListVerticalUnion
[all...]
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dqxl_surface.c5 * copy of this software and associated documentation files (the "Software"),
7 * on the rights to use, copy, modify, merge, publish, distribute, sub
242 drawable->u.copy.src_area = rect;
243 translate_rect (&drawable->u.copy.src_area);
244 drawable->u.copy.rop_descriptor = ROPD_OP_PUT;
245 drawable->u.copy.scale_mode = 0;
246 drawable->u.copy.mask.flags = 0;
247 drawable->u.copy.mask.pos.x = 0;
248 drawable->u.copy.mask.pos.y = 0;
249 drawable->u.copy
[all...]

Completed in 16 milliseconds

1234567891011>>