HomeSort by: relevance | last modified time | path
    Searched defs:vector (Results 1 - 25 of 32) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/util/tests/vector/
vector_test.cpp 29 struct u_vector vector; local
33 ASSERT_TRUE(u_vector_init(&vector, size_in_elements, sizeof(uint64_t)));
36 vector.head = vector.tail = start;
38 EXPECT_EQ(sizeof(uint64_t) * size_in_elements, vector.size);
39 EXPECT_EQ(0, u_vector_length(&vector));
42 *(uint64_t*)u_vector_add(&vector) = add_counter++;
44 int length = u_vector_length(&vector);
50 u_vector_foreach(element, &vector)
60 u_vector_remove(&vector);
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
error.hpp 28 #undef vector macro
resource.hpp 42 typedef std::array<size_t, 3> vector; typedef in class:clover::resource
50 void copy(command_queue &q, const vector &origin, const vector &region,
51 resource &src_resource, const vector &src_origin);
53 void clear(command_queue &q, const vector &origin, const vector &region,
57 const vector &origin, const vector &region);
81 vector offset;
105 sub_resource(resource &r, const vector &offset)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
wsi_common_queue.h 32 struct u_vector vector; member in struct:wsi_queue
45 ret = u_vector_init(&queue->vector, length, sizeof(uint32_t));
74 u_vector_finish(&queue->vector);
82 u_vector_finish(&queue->vector);
94 if (u_vector_length(&queue->vector) == 0)
97 elem = u_vector_add(&queue->vector);
129 while (u_vector_length(&queue->vector) == 0) {
143 uint32_t *elem = u_vector_remove(&queue->vector);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/api/
transfer.cpp 32 typedef resource::vector vector_t;
35 vector(const size_t *p) { function in namespace:__anon4514
354 auto region = vector(p_region);
355 auto obj_origin = vector(p_obj_origin);
357 auto host_origin = vector(p_host_origin);
394 auto region = vector(p_region);
395 auto obj_origin = vector(p_obj_origin);
397 auto host_origin = vector(p_host_origin);
467 auto region = vector(p_region);
468 auto dst_origin = vector(p_dst_origin)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/
resource.hpp 42 typedef std::array<size_t, 3> vector; typedef in class:clover::resource
50 void copy(command_queue &q, const vector &origin, const vector &region,
51 resource &src_resource, const vector &src_origin);
54 const vector &origin, const vector &region);
76 vector offset;
100 sub_resource(resource &r, const vector &offset);
110 bool blocking, const resource::vector &origin,
111 const resource::vector &region)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/
wsi_common_queue.h 32 struct u_vector vector; member in struct:wsi_queue
46 ret = u_vector_init(&queue->vector, sizeof(uint32_t),
76 u_vector_finish(&queue->vector);
84 u_vector_finish(&queue->vector);
96 if (u_vector_length(&queue->vector) == 0)
99 elem = u_vector_add(&queue->vector);
131 while (u_vector_length(&queue->vector) == 0) {
145 uint32_t *elem = u_vector_remove(&queue->vector);
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/api/
transfer.cpp 35 typedef resource::vector vector_t;
38 vector(const size_t *p) { function in namespace:__anon2115
422 auto region = vector(p_region);
423 auto obj_origin = vector(p_obj_origin);
425 auto host_origin = vector(p_host_origin);
462 auto region = vector(p_region);
463 auto obj_origin = vector(p_obj_origin);
465 auto host_origin = vector(p_host_origin);
579 auto region = vector(p_region);
580 auto dst_origin = vector(p_dst_origin)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
s_fragprog.c 60 GLfloat vector[6]; local
61 vector[SWIZZLE_X] = texel[0];
62 vector[SWIZZLE_Y] = texel[1];
63 vector[SWIZZLE_Z] = texel[2];
64 vector[SWIZZLE_W] = texel[3];
65 vector[SWIZZLE_ZERO] = 0.0F;
66 vector[SWIZZLE_ONE] = 1.0F;
67 colorOut[0] = vector[GET_SWZ(swizzle, 0)];
68 colorOut[1] = vector[GET_SWZ(swizzle, 1)];
69 colorOut[2] = vector[GET_SWZ(swizzle, 2)]
    [all...]
s_texcombine.c 564 GLfloat vector[6]; local
567 vector[SWIZZLE_ZERO] = 0;
568 vector[SWIZZLE_ONE] = 1.0F;
571 vector[SWIZZLE_X] = texels[i][0];
572 vector[SWIZZLE_Y] = texels[i][1];
573 vector[SWIZZLE_Z] = texels[i][2];
574 vector[SWIZZLE_W] = texels[i][3];
575 texels[i][RCOMP] = vector[swzR];
576 texels[i][GCOMP] = vector[swzG];
577 texels[i][BCOMP] = vector[swzB]
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
s_fragprog.c 60 GLfloat vector[6]; local
61 vector[SWIZZLE_X] = texel[0];
62 vector[SWIZZLE_Y] = texel[1];
63 vector[SWIZZLE_Z] = texel[2];
64 vector[SWIZZLE_W] = texel[3];
65 vector[SWIZZLE_ZERO] = 0.0F;
66 vector[SWIZZLE_ONE] = 1.0F;
67 colorOut[0] = vector[GET_SWZ(swizzle, 0)];
68 colorOut[1] = vector[GET_SWZ(swizzle, 1)];
69 colorOut[2] = vector[GET_SWZ(swizzle, 2)]
    [all...]
s_texcombine.c 564 GLfloat vector[6]; local
567 vector[SWIZZLE_ZERO] = 0;
568 vector[SWIZZLE_ONE] = 1.0F;
571 vector[SWIZZLE_X] = texels[i][0];
572 vector[SWIZZLE_Y] = texels[i][1];
573 vector[SWIZZLE_Z] = texels[i][2];
574 vector[SWIZZLE_W] = texels[i][3];
575 texels[i][RCOMP] = vector[swzR];
576 texels[i][GCOMP] = vector[swzG];
577 texels[i][BCOMP] = vector[swzB]
    [all...]
  /xsrc/external/mit/freetype/dist/include/freetype/internal/
ftcalc.h 314 FT_Vector_Transform_Scaled( FT_Vector* vector,
320 * This function normalizes a vector and returns its original length. The
321 * normalized vector is a 16.16 fixed-point unit vector with length close
328 FT_Vector_NormLen( FT_Vector* vector ); variable
  /xsrc/external/mit/libxcb/dist/src/
xcb_out.c 46 static inline void send_request(xcb_connection_t *c, int isvoid, enum workarounds workaround, int flags, struct iovec *vector, int count)
57 while(count && c->out.queue_len + vector[0].iov_len <= sizeof(c->out.queue))
59 memcpy(c->out.queue + c->out.queue_len, vector[0].iov_base, vector[0].iov_len);
60 c->out.queue_len += vector[0].iov_len;
61 vector[0].iov_base = (char *) vector[0].iov_base + vector[0].iov_len;
62 vector[0].iov_len = 0;
63 ++vector, --count
85 struct iovec vector[2]; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
ir2_nir.c 293 int8_t scalar, vector; member in struct:ir2_opc
334 assert(op.vector >= 0 || op.scalar >= 0);
337 instr->alu.vector_opc = op.vector;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_target.h 206 unsigned int vector : 1; member in struct:nv50_ir::Target::OpInfo
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
ir2_nir.c 282 int8_t scalar, vector; member in struct:ir2_opc
327 assert(op.vector >= 0 || op.scalar >= 0);
330 instr->alu.vector_opc = op.vector;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_target.h 204 unsigned int vector : 1; member in struct:nv50_ir::Target::OpInfo
  /xsrc/external/mit/libXft/dist/src/
xftfreetype.c 924 FT_Vector vector; local
926 vector.x = 0;
927 vector.y = face->size->metrics.descender;
928 FT_Vector_Transform (&vector, &fi->matrix);
929 descent = (int)(-(vector.y >> 6));
931 vector.x = 0;
932 vector.y = face->size->metrics.ascender;
933 FT_Vector_Transform (&vector, &fi->matrix);
934 ascent = (int)(vector.y >> 6);
940 vector.x = 0
965 FT_Vector vector; local
    [all...]
xftglyphs.c 205 FT_Vector vector; local
212 vector.x = xc * width;
213 vector.y = yc * height;
214 FT_Vector_Transform(&vector, matrix);
216 left = right = (int)vector.x;
217 top = bottom = (int)vector.y;
219 if (left > vector.x) left = (int)vector.x;
220 if (right < vector.x) right = (int)vector.x
338 FT_Vector vector, vector0; local
657 FT_Vector vector; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
midgard_schedule.c 39 * execute on all). Instructions can be either vector or scalar; only scalar
230 /* Do we try to use it as a vector op? */
534 /* First source is a vector, worst-case the mask */
900 /* We'll need to rewrite to .w but that doesn't work for vector
936 unsigned cond, bool vector, unsigned *swizzle,
941 (!vector && (swizzle[0] == 0)) ?
954 mov.mask = vector ? 0xF : 0x1;
974 /* csel_v is vector; otherwise, conditions are scalar */
975 bool vector = !branch && OP_IS_CSEL_V(last->op); local
981 vector, last->swizzle[condition_index], last)
    [all...]
  /xsrc/external/mit/MesaLib/src/mesa/program/
program_parse.tab.h 185 struct asm_vector vector; member in union:YYSTYPE
  /xsrc/external/mit/MesaLib.old/src/mesa/program/
program_parse.tab.h 179 struct asm_vector vector; member in union:YYSTYPE
  /xsrc/external/mit/MesaLib/dist/include/CL/
cl.hpp 75 * also the supplied vector and string classes, see following sections for
102 * std::vector<cl::Platform> platforms;
113 * std::vector<cl::Device> devices = context.getInfo<CL_CONTEXT_DEVICES>();
226 #include <vector>
464 #define __VECTOR_CAPACITY_ERR __ERR_STR(Vector capacity error)
683 #define VECTOR_CLASS std::vector
685 #define VECTOR_CLASS cl::vector
691 /*! \class vector
692 * \brief Fixed sized vector implementation that mirroring
694 * \note Deprecated. Please use std::vector as default o
714 class CL_EXT_PREFIX__VERSION_1_1_DEPRECATED vector class in namespace:cl
722 vector() : function in class:cl::vector
782 vector(const vector<T, N>& vec) : function in class:cl::vector
796 vector(unsigned int size, const T& val = T()) : function in class:cl::vector
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/include/CL/
cl.hpp 75 * also the supplied vector and string classes, see following sections for
102 * std::vector<cl::Platform> platforms;
113 * std::vector<cl::Device> devices = context.getInfo<CL_CONTEXT_DEVICES>();
226 #include <vector>
464 #define __VECTOR_CAPACITY_ERR __ERR_STR(Vector capacity error)
683 #define VECTOR_CLASS std::vector
685 #define VECTOR_CLASS cl::vector
691 /*! \class vector
692 * \brief Fixed sized vector implementation that mirroring
694 * \note Deprecated. Please use std::vector as default o
714 class CL_EXT_PREFIX__VERSION_1_1_DEPRECATED vector class in namespace:cl
722 vector() : function in class:cl::vector
782 vector(const vector<T, N>& vec) : function in class:cl::vector
796 vector(unsigned int size, const T& val = T()) : function in class:cl::vector
    [all...]

Completed in 38 milliseconds

1 2