HomeSort by relevance Sort by last modified time
    Searched refs:src_type (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_format_aos_array.c 59 struct lp_type src_type; local
61 memset(&src_type, 0, sizeof src_type);
62 src_type.floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT;
63 src_type.fixed = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FIXED;
64 src_type.sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED;
65 src_type.norm = format_desc->channel[0].normalized;
66 src_type.width = format_desc->channel[0].size;
67 src_type.length = format_desc->nr_channels;
69 assert(src_type.length <= dst_type.length)
    [all...]
lp_bld_pack.c 184 struct lp_type src_type,
191 assert(src_type.length * num_vectors <= Elements(shuffles));
194 new_length = src_type.length;
276 struct lp_type src_type,
286 assert(!src_type.floating);
288 assert(dst_type.width == src_type.width * 2);
289 assert(dst_type.length * 2 == src_type.length);
291 if(dst_type.sign && src_type.sign) {
293 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type.width - 1), "")
    [all...]
lp_bld_conv.h 47 struct lp_type src_type,
52 struct lp_type src_type,
65 struct lp_type src_type,
72 struct lp_type src_type,
lp_bld_pack.h 64 struct lp_type src_type,
73 struct lp_type src_type,
87 struct lp_type src_type,
92 struct lp_type src_type,
100 struct lp_type src_type,
108 struct lp_type src_type,
116 struct lp_type src_type,
125 struct lp_type src_type,
lp_bld_conv.c 43 * src_type.width * src_type.length == dst_type.width * dst_type.length
47 * src_type.length * num_srcs == dst_type.length * num_dsts
81 * @param src_type <vector> type of int16
88 struct lp_type src_type,
91 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_type.length);
92 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_type.length);
153 struct lp_type src_type,
158 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, src_type);
162 assert(src_type.floating)
    [all...]
lp_bld_intr.c 145 struct lp_type src_type,
151 struct lp_type intrin_type = src_type;
155 unsigned intrin_length = intr_size / src_type.width;
159 if (intrin_length > src_type.length) {
163 for (i = 0; i < src_type.length; i++) {
169 if (src_type.length == 1) {
180 if (src_type.length > 1) {
181 constvec = LLVMConstVector(elems, src_type.length);
188 else if (intrin_length < src_type.length) {
189 unsigned num_vec = src_type.length / intrin_length
    [all...]
lp_bld_swizzle.h 63 struct lp_type src_type,
118 struct lp_type src_type,
125 struct lp_type src_type,
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_test_conv.c 55 "src_type\t"
64 struct lp_type src_type,
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length));
73 dump_type(fp, src_type);
85 struct lp_type src_type,
88 fprintf(fp, "src_type=");
89 dump_type(fp, src_type);
101 struct lp_type src_type, unsigned num_srcs,
116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0);
135 lp_build_conv(gallivm, src_type, dst_type, src, num_srcs, dst, num_dsts)
389 const struct lp_type *src_type; local
417 const struct lp_type *src_type; local
    [all...]
  /external/opencv3/modules/cudaarithm/src/cuda/
copy_make_border.cu 94 typedef typename MakeVec<T, cn>::type src_type;
97 const src_type brdVal = VecTraits<src_type>::make(borderValue_.val);
108 gridCopy(remapPtr(brdConstant(globPtr<src_type>(src), brdVal), map), globPtr<src_type>(dst), stream);
111 gridCopy(remapPtr(brdReplicate(globPtr<src_type>(src)), map), globPtr<src_type>(dst), stream);
114 gridCopy(remapPtr(brdReflect(globPtr<src_type>(src)), map), globPtr<src_type>(dst), stream);
117 gridCopy(remapPtr(brdWrap(globPtr<src_type>(src)), map), globPtr<src_type>(dst), stream)
    [all...]
sum.cu 64 typedef typename MakeVec<T, cn>::type src_type;
67 const GpuMat_<src_type>& src = (const GpuMat_<src_type>&) _src;
79 typedef typename MakeVec<T, cn>::type src_type;
82 const GpuMat_<src_type>& src = (const GpuMat_<src_type>&) _src;
94 typedef typename MakeVec<T, cn>::type src_type;
97 const GpuMat_<src_type>& src = (const GpuMat_<src_type>&) _src;
  /external/opencv3/modules/cudev/test/
test_split_merge.cu 64 const int src_type = DataType<T>::type;
66 Mat src1 = randomMat(size, src_type);
67 Mat src2 = randomMat(size, src_type);
86 const int src_type = DataType<T>::type;
88 Mat src1 = randomMat(size, src_type);
89 Mat src2 = randomMat(size, src_type);
90 Mat src3 = randomMat(size, src_type);
130 const int src_type = CV_MAKE_TYPE(DataType<T>::depth, 3);
132 Mat src = randomMat(size, src_type);
151 const int src_type = CV_MAKE_TYPE(DataType<T>::depth, 4)
    [all...]
  /external/selinux/sepolgen/src/sepolgen/
access.py 76 .src_type - The source type allowed access. [String or None]
86 self.src_type = None
105 positional arguments - i.e., 0 = src_type, 1 = tgt_type, etc.
117 self.src_type = list[0]
130 l = [self.src_type, self.tgt_type, self.obj_class]
138 return "allow %s %s:%s %s;" % (self.src_type, self.tgt_type,
144 a = (self.src_type, self.tgt_type, self.obj_class, x)
148 b = (other.src_type, other.tgt_type, other.obj_class, y)
169 for src_type in avrule.src_types:
173 access.src_type = src_typ
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
access.py 76 .src_type - The source type allowed access. [String or None]
86 self.src_type = None
105 positional arguments - i.e., 0 = src_type, 1 = tgt_type, etc.
117 self.src_type = list[0]
130 l = [self.src_type, self.tgt_type, self.obj_class]
138 return "allow %s %s:%s %s;" % (self.src_type, self.tgt_type,
144 a = (self.src_type, self.tgt_type, self.obj_class, x)
148 b = (other.src_type, other.tgt_type, other.obj_class, y)
169 for src_type in avrule.src_types:
173 access.src_type = src_typ
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_variable.h 84 unsigned int src_type,
89 unsigned int src_type,
radeon_variable.c 83 unsigned int src_type = rc_source_type_swz( local
95 if (rc_pair_remove_src(reader->Inst, src_type,
102 if (src_type & RC_SOURCE_RGB) {
110 if (src_type & RC_SOURCE_ALPHA) {
121 src_type & RC_SOURCE_RGB,
122 src_type & RC_SOURCE_ALPHA,
128 "Inst %u src_type=%x "
130 var->Inst->IP, reader->Inst->IP, src_type, new_index, new_writemask);
445 unsigned int src_type,
448 if (reader.Inst->Type != src_type) {
    [all...]
radeon_pair_dead_sources.c 26 unsigned int src_type = rc_source_type_swz(sub->Arg[i].Swizzle); local
27 if (src_type & RC_SOURCE_RGB) {
31 if (src_type & RC_SOURCE_ALPHA) {
radeon_compiler_util.c 378 unsigned int src_type)
385 select->SrcType = src_type;
484 unsigned int src_type = d.Selects[i].SrcType; local
488 src_type &= ~d.Selects[j].SrcType;
491 if (src_type & RC_SOURCE_RGB) {
495 if (src_type & RC_SOURCE_ALPHA) {
556 unsigned int src_type)
564 || src_type != rc_source_type_swz(sub->Arg[i].Swizzle)) {
575 * @param src_type RC_SOURCE_RGB, RC_SOURCE_ALPHA, or both bitwise or'd
585 unsigned int src_type,
    [all...]
  /external/valgrind/none/tests/s390x/
rounding-1.c 26 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \
28 src_type src = value; \
rounding-3.c 42 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \
44 src_type src = value; \
  /external/selinux/sepolgen/tests/
test_access.py 30 self.assertEqual(a.src_type, None)
39 a.src_type = "foo"
45 self.assertEqual(a.src_type, l.src_type)
52 a.src_type = "foo"
59 self.assertEqual(a.src_type, l.src_type)
66 a.src_type = "foo"
82 a.src_type = "foo"
105 a.src_type = "foo
    [all...]
  /art/runtime/entrypoints/quick/
quick_throw_entrypoints.cc 94 mirror::Class* src_type,
98 DCHECK(!dest_type->IsAssignableFrom(src_type));
99 ThrowClassCastException(dest_type, src_type);
  /external/opencv3/modules/imgproc/perf/
perf_remap.cpp 24 int src_type, map1_type, inter_type; local
27 src_type = get<1>(GetParam());
31 Mat src(sz, src_type), dst(sz, src_type), map1(sz, map1_type), map2;
  /art/runtime/verifier/
register_line-inl.h 133 const RegType& src_type = GetRegisterType(verifier, vsrc); local
134 if (UNLIKELY(!check_type.IsAssignableFrom(src_type))) {
136 if (!check_type.IsNonZeroReferenceTypes() || !src_type.IsNonZeroReferenceTypes()) {
139 } else if (check_type.IsUninitializedTypes() || src_type.IsUninitializedTypes()) {
142 } else if (check_type.IsUnresolvedTypes() || src_type.IsUnresolvedTypes()) {
148 << src_type << " but expected " << check_type;
153 if (UNLIKELY(!src_type.CheckWidePair(src_type_h))) {
155 << src_type << "/" << src_type_h;
  /external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
interpolation.hpp 106 typedef typename PtrTraits<SrcPtr>::value_type src_type; typedef
107 typedef typename VecTraits<src_type>::elem_type src_elem_type;
109 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
181 typedef typename PtrTraits<SrcPtr>::value_type src_type; typedef
182 typedef typename VecTraits<src_type>::elem_type src_elem_type;
184 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
244 typedef typename PtrTraits<SrcPtr>::value_type src_type; typedef
245 typedef typename VecTraits<src_type>::elem_type src_elem_type;
247 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
304 typedef typename PtrTraits<SrcPtr>::value_type src_type; typedef
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
reduce.hpp 259 template <typename src_type, typename work_type> struct SumReductor
262 enum { cn = VecTraits<src_type>::cn };
271 __device__ __forceinline__ void reduceVal(typename TypeTraits<src_type>::parameter_type srcVal)
320 template <class Op, typename src_type, typename work_type> struct MinMaxReductor
329 __device__ __forceinline__ void reduceVal(typename TypeTraits<src_type>::parameter_type srcVal)
350 template <typename src_type, typename work_type> struct MinMaxReductor<both, src_type, work_type>
361 __device__ __forceinline__ void reduceVal(typename TypeTraits<src_type>::parameter_type srcVal)
433 typedef typename PtrTraits<SrcPtr>::value_type src_type; typedef
436 reduce<SumReductor<src_type, ResType>, Policy>(src, (res_elem_type*) result, mask, rows, cols, stream)
442 typedef typename PtrTraits<SrcPtr>::value_type src_type; typedef
450 typedef typename PtrTraits<SrcPtr>::value_type src_type; typedef
458 typedef typename PtrTraits<SrcPtr>::value_type src_type; typedef
    [all...]

Completed in 232 milliseconds

1 2 3 4