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

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib/dist/src/util/
u_vector.c 41 u_vector_init_pow2(struct u_vector *vector,
48 vector->head = 0;
49 vector->tail = 0;
50 vector->element_size = element_size;
51 vector->size = element_size * initial_element_count;
52 vector->data = malloc(vector->size);
54 return vector->data != NULL;
58 u_vector_add(struct u_vector *vector)
63 if (vector->head - vector->tail == vector->size)
    [all...]
u_vector.h 25 * u_vector is a vector based queue for storing arbitrary
81 u_vector_head(struct u_vector *vector)
83 assert(vector->tail < vector->head);
84 return (void *)((char *)vector->data +
85 ((vector->head - vector->element_size) &
86 (vector->size - 1)));
90 u_vector_tail(struct u_vector *vector)
92 return (void *)((char *)vector->data + (vector->tail & (vector->size - 1)))
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/util/
u_vector.c 38 u_vector_init(struct u_vector *vector, uint32_t element_size, uint32_t size)
43 vector->head = 0;
44 vector->tail = 0;
45 vector->element_size = element_size;
46 vector->size = size;
47 vector->data = malloc(size);
49 return vector->data != NULL;
53 u_vector_add(struct u_vector *vector)
58 if (vector->head - vector->tail == vector->size)
    [all...]
u_vector.h 25 * u_vector is a vector based queue for storing arbitrary
63 u_vector_head(struct u_vector *vector)
65 assert(vector->tail < vector->head);
66 return (void *)((char *)vector->data +
67 ((vector->head - vector->element_size) &
68 (vector->size - 1)));
72 u_vector_tail(struct u_vector *vector)
74 return (void *)((char *)vector->data + (vector->tail & (vector->size - 1)))
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
sfn_optimizers.cpp 6 std::vector<PInstruction>
7 flatten_shader(const std::vector<InstructionBlock> &ir)
sfn_optimizers.h 8 std::vector<PInstruction>
9 flatten_alu_ops(const std::vector<InstructionBlock> &ir);
  /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.old/dist/src/gallium/state_trackers/clover/core/core/
platform.hpp 26 #include <vector>
35 evals, std::vector<intrusive_ref<device>> &> {
46 std::vector<intrusive_ref<device>> devs;
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...]
kernel.hpp 50 const std::vector<size_t> &grid_offset);
56 std::vector<uint8_t> input;
57 std::vector<void *> samplers;
58 std::vector<pipe_sampler_view *> sviews;
59 std::vector<pipe_surface *> resources;
60 std::vector<pipe_resource *> g_buffers;
61 std::vector<size_t> g_handles;
105 derefs, std::vector<std::unique_ptr<argument>> &
109 derefs, const std::vector<std::unique_ptr<argument>> &
114 const std::vector<clover::module::argument> &margs)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/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);
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...]
platform.hpp 26 #include <vector>
35 evals, std::vector<intrusive_ref<device>> &> {
44 std::vector<cl_name_version> supported_extensions() const;
51 std::vector<intrusive_ref<device>> devs;
  /xsrc/external/mit/xcalc/dist/
actions.c 48 static void add(Widget w, XEvent *ev, String *vector, Cardinal *count);
49 static void and(Widget w, XEvent *ev, String *vector, Cardinal *count);
50 static void back(Widget w, XEvent *ev, String *vector, Cardinal *count);
51 static void base(Widget w, XEvent *ev, String *vector, Cardinal *count);
52 static void bell(Widget w, XEvent *ev, String *vector, Cardinal *count);
53 static void clearit(Widget w, XEvent *ev, String *vector, Cardinal *count);
54 static void cosine(Widget w, XEvent *ev, String *vector, Cardinal *count);
55 static void decimal(Widget w, XEvent *ev, String *vector, Cardinal *count);
56 static void degree(Widget w, XEvent *ev, String *vector, Cardinal *count);
57 static void digit(Widget w, XEvent *ev, String *vector, Cardinal *count)
    [all...]
  /xsrc/external/mit/pixman/dist/pixman/
pixman-linear-gradient.c 57 v.vector[0] = image->common.transform->matrix[0][1];
58 v.vector[1] = image->common.transform->matrix[1][1];
59 v.vector[2] = image->common.transform->matrix[2][2];
63 v.vector[0] = 0;
64 v.vector[1] = pixman_fixed_1;
65 v.vector[2] = pixman_fixed_1;
81 (dx * v.vector[0] + dy * v.vector[1]) /
82 (v.vector[2] * (double) l);
115 v.vector[0] = pixman_int_to_fixed (x) + pixman_fixed_1 / 2
    [all...]
pixman-radial-gradient.c 284 v.vector[0] = pixman_int_to_fixed (x) + pixman_fixed_1 / 2;
285 v.vector[1] = pixman_int_to_fixed (y) + pixman_fixed_1 / 2;
286 v.vector[2] = pixman_fixed_1;
295 unit.vector[0] = image->common.transform->matrix[0][0];
296 unit.vector[1] = image->common.transform->matrix[1][0];
297 unit.vector[2] = image->common.transform->matrix[2][0];
301 unit.vector[0] = pixman_fixed_1;
302 unit.vector[1] = 0;
303 unit.vector[2] = 0;
306 if (unit.vector[2] == 0 && v.vector[2] == pixman_fixed_1
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/tests/
st_tests_common.h 48 FakeCodeline(tgsi_opcode _op, const std::vector<int>& _dst, const std::vector<int>& _src,
49 const std::vector<int>&_to);
51 FakeCodeline(tgsi_opcode _op, const std::vector<std::pair<int,int>>& _dst,
52 const std::vector<std::pair<int, const char *>>& _src,
53 const std::vector<std::pair<int, const char *>>&_to, SWZ with_swizzle);
55 FakeCodeline(tgsi_opcode _op, const std::vector<std::tuple<int,int,int>>& _dst,
56 const std::vector<std::tuple<int,int,int>>& _src,
57 const std::vector<std::tuple<int,int,int>>&_to, RA with_reladdr);
59 FakeCodeline(tgsi_opcode _op, const std::vector<std::tuple<int, int, int> > &_dst
    [all...]
test_glsl_to_tgsi_lifetime.cpp 35 using std::vector;
44 const vector<FakeCodeline> code = {
54 const vector<FakeCodeline> code = {
71 const vector<FakeCodeline> code = {
87 const vector<FakeCodeline> code = {
105 const vector<FakeCodeline> code = {
125 const vector<FakeCodeline> code = {
147 const vector<FakeCodeline> code = {
169 const vector<FakeCodeline> code = {
192 const vector<FakeCodeline> code =
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/tests/
st_tests_common.h 48 FakeCodeline(tgsi_opcode _op, const std::vector<int>& _dst, const std::vector<int>& _src,
49 const std::vector<int>&_to);
51 FakeCodeline(tgsi_opcode _op, const std::vector<std::pair<int,int>>& _dst,
52 const std::vector<std::pair<int, const char *>>& _src,
53 const std::vector<std::pair<int, const char *>>&_to, SWZ with_swizzle);
55 FakeCodeline(tgsi_opcode _op, const std::vector<std::tuple<int,int,int>>& _dst,
56 const std::vector<std::tuple<int,int,int>>& _src,
57 const std::vector<std::tuple<int,int,int>>&_to, RA with_reladdr);
59 FakeCodeline(tgsi_opcode _op, const std::vector<std::tuple<int, int, int> > &_dst
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/
factor.hpp 37 std::vector<T>
42 std::vector<T> factors;
61 std::pair<T, std::vector<T>>
62 next_grid_factor(const std::pair<T, std::vector<T>> &limits,
63 const std::vector<T> &grid,
64 const std::vector<std::vector<T>> &factors,
65 std::pair<T, std::vector<T>> block,
110 std::vector<T>
112 const std::vector<T> &coord_limit
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/
factor.hpp 37 std::vector<T>
42 std::vector<T> factors;
61 std::pair<T, std::vector<T>>
62 next_grid_factor(const std::pair<T, std::vector<T>> &limits,
63 const std::vector<T> &grid,
64 const std::vector<std::vector<T>> &factors,
65 std::pair<T, std::vector<T>> block,
110 std::vector<T>
112 const std::vector<T> &coord_limit
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
u_pwr8.h 39 typedef VECTOR_ALIGN_16 vector unsigned char __m128i;
43 vector signed int m128si;
44 vector unsigned int m128ui;
132 return (__m128i) vec_add ((vector signed int) a, (vector signed int) b);
138 return (__m128i) vec_sub ((vector signed int) a, (vector signed int) b);
194 vec_count.m128si = (vector signed int) vec_splats (count);
195 return (__m128i) vec_sl ((vector signed int) vsrc, vec_count.m128ui);
209 vec_count.m128si = (vector signed int) vec_splats (count)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
u_pwr8.h 39 typedef VECTOR_ALIGN_16 vector unsigned char __m128i;
43 vector signed int m128si;
44 vector unsigned int m128ui;
132 return (__m128i) vec_add ((vector signed int) a, (vector signed int) b);
138 return (__m128i) vec_sub ((vector signed int) a, (vector signed int) b);
194 vec_count.m128si = (vector signed int) vec_splats (count);
195 return (__m128i) vec_sl ((vector signed int) vsrc, vec_count.m128ui);
209 vec_count.m128si = (vector signed int) vec_splats (count)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/llvm/
util.hpp 30 #include <vector>
43 inline std::vector<std::string>
45 std::vector<std::string> ss;
87 as_string(const std::vector<char> &v) {
  /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/intel/ds/
intel_pps_driver.h 26 using PerfRecord = std::vector<uint8_t>;
67 std::vector<PerfRecord> parse_perf_records(const std::vector<uint8_t> &data, size_t byte_count);
82 std::vector<uint8_t> metric_buffer = std::vector<uint8_t>(1024, 0);
88 std::vector<PerfRecord> records;

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>