Home
last modified time | relevance | path

Searched refs:elem_type (Results 1 – 25 of 130) sorted by relevance

123456

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_type.c64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_vec_type() local
66 return elem_type; in lp_build_vec_type()
68 return LLVMVectorType(elem_type, type.length); in lp_build_vec_type()
79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type() argument
83 assert(elem_type); in lp_check_elem_type()
84 if(!elem_type) in lp_check_elem_type()
87 elem_kind = LLVMGetTypeKind(elem_type); in lp_check_elem_type()
112 if(LLVMGetIntTypeWidth(elem_type) != type.width) in lp_check_elem_type()
123 LLVMTypeRef elem_type; in lp_check_vec_type() local
138 elem_type = LLVMGetElementType(vec_type); in lp_check_vec_type()
[all …]
Dlp_bld_const.c251 LLVMTypeRef elem_type; in lp_build_one() local
257 elem_type = lp_build_elem_type(gallivm, type); in lp_build_one()
260 elems[0] = LLVMConstInt(elem_type, _mesa_float_to_half(1.0f), 0); in lp_build_one()
262 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one()
264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one()
266 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one()
268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one()
303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_const_elem() local
307 elem = LLVMConstInt(elem_type, _mesa_float_to_half((float)val), 0); in lp_build_const_elem()
309 elem = LLVMConstReal(elem_type, val); in lp_build_const_elem()
[all …]
/external/adhd/cros_alsa/src/
Dcontrol.rs111 MismatchElemType(name, t, elem_type) => write!( in fmt()
114 name, t, elem_type in fmt()
131 if info.elem_type()? != Self::elem_type() { in from()
134 info.elem_type()?, in from()
135 Self::elem_type(), in from()
151 fn elem_type() -> ElemType { in elem_type() method
152 Self::Item::elem_type() in elem_type()
Delem.rs118 fn elem_type() -> ElemType {
119 <$type>::elem_type()
159 fn elem_type() -> ElemType { in elem_type() method
175 fn elem_type() -> ElemType { in elem_type() method
189 fn elem_type() -> ElemType; in elem_type() method
201 fn elem_type() -> ElemType; in elem_type() method
Dcontrol_tlv.rs86 InvalidTLVType(name, elem_type) => write!( in fmt()
91 elem_type in fmt()
208 match info.elem_type()? { in new()
212 info.elem_type()?, in new()
Dcontrol_primitive.rs151 fn try_from(elem_type: u32) -> Result<ElemType> { in try_from()
152 match elem_type { in try_from()
160 _ => Err(Error::InvalidElemType(elem_type)), in try_from()
320 pub fn elem_type(&self) -> Result<ElemType> { in elem_type() method
/external/flatbuffers/include/flatbuffers/
Dreflection.h208 reflection::BaseType elem_type, size_t i) { in GetAnyVectorElemI() argument
209 return GetAnyValueI(elem_type, vec->Data() + GetTypeSize(elem_type) * i); in GetAnyVectorElemI()
214 reflection::BaseType elem_type, size_t i) { in GetAnyVectorElemF() argument
215 return GetAnyValueF(elem_type, vec->Data() + GetTypeSize(elem_type) * i); in GetAnyVectorElemF()
220 reflection::BaseType elem_type, size_t i) { in GetAnyVectorElemS() argument
221 return GetAnyValueS(elem_type, vec->Data() + GetTypeSize(elem_type) * i, in GetAnyVectorElemS()
332 inline void SetAnyVectorElemI(VectorOfAny *vec, reflection::BaseType elem_type, in SetAnyVectorElemI() argument
334 SetAnyValueI(elem_type, vec->Data() + GetTypeSize(elem_type) * i, val); in SetAnyVectorElemI()
338 inline void SetAnyVectorElemF(VectorOfAny *vec, reflection::BaseType elem_type, in SetAnyVectorElemF() argument
340 SetAnyValueF(elem_type, vec->Data() + GetTypeSize(elem_type) * i, val); in SetAnyVectorElemF()
[all …]
/external/fonttools/Tests/pens/
DquartzPen_test.py38 elem_type = None
41 elem_type = PATH_ELEMENTS[element.type][0]
42 elements.append((elem_type, element.points.as_tuple(num_points)))
55 elem_type, elem_points = element
DcocoaPen_test.py34 elem_type, elem_points = path.elementAtIndex_associatedPoints_(i)
35 elem_type = PATH_ELEMENTS[elem_type]
/external/OpenCSD/decoder/include/common/
Dtrc_gen_elem.h94 const ocsd_gen_trc_elem_t getType() const { return elem_type; }; in getType()
109 elem_type = type; in OcsdTraceElement()
114 elem_type = OCSD_GEN_TRC_ELEM_UNKNOWN; in OcsdTraceElement()
147 elem_type = type; in setType()
154 elem_type = type; in updateType()
/external/tensorflow/tensorflow/python/kernel_tests/
Dstack_ops_test.py39 -1, elem_type=dtypes.float32, stack_name="foo")
55 -1, elem_type=dtypes.float32, stack_name="foo")
70 -1, elem_type=dtypes.float32, stack_name="foo")
107 -1, elem_type=dtypes.float32, stack_name="foo")
112 -1, elem_type=dtypes.float32, stack_name="bar")
128 -1, elem_type=dtypes.float32, stack_name="foo")
130 -1, elem_type=dtypes.float32, stack_name="foo")
151 -1, elem_type=dtypes.float32, stack_name="foo")
163 -1, elem_type=dtypes.float32, stack_name="foo")
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DStackPop.pbtxt10 type_attr: "elem_type"
13 name: "elem_type"
DStackPopV2.pbtxt9 type_attr: "elem_type"
12 name: "elem_type"
DStack.pbtxt9 name: "elem_type"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DStackPopV2.pbtxt9 type_attr: "elem_type"
12 name: "elem_type"
DStackPop.pbtxt10 type_attr: "elem_type"
13 name: "elem_type"
DStack.pbtxt9 name: "elem_type"
/external/OpenCSD/decoder/source/
Docsd_gen_elem_list.cpp85 ocsd_gen_trc_elem_t elem_type = OCSD_GEN_TRC_ELEM_UNKNOWN; in getElemType() local
89 elem_type = m_pElemArray[idx].pElem->getType(); in getElemType()
91 return elem_type; in getElemType()
Docsd_gen_elem_stack.cpp83 …_t OcsdGenElemStack::addElemType(const ocsd_trc_index_t trc_pkt_idx, ocsd_gen_trc_elem_t elem_type) in addElemType() argument
87 getCurrElem().setType(elem_type); in addElemType()
Dtrc_gen_elem.cpp126 int typeIdx = (int)this->elem_type; in toString()
130 switch(elem_type) in toString()
/external/llvm-project/lldb/source/DataFormatters/
DStringPrinter.cpp237 GetDefaultEscapingHelper(GetPrintableElementType elem_type, in GetDefaultEscapingHelper() argument
239 switch (elem_type) { in GetDefaultEscapingHelper()
242 return [escape_style, elem_type](uint8_t *buffer, uint8_t *buffer_end, in GetDefaultEscapingHelper()
244 return GetPrintable(elem_type == GetPrintableElementType::UTF8 in GetDefaultEscapingHelper()
397 StringElementType elem_type, in ReadEncodedBufferAndDumpToStream() argument
429 if (elem_type == StringElementType::ASCII && !options.GetSourceSize()) { in ReadEncodedBufferAndDumpToStream()
464 if (elem_type == StringElementType::ASCII) in ReadEncodedBufferAndDumpToStream()
489 GetPrintableElementType print_style = (elem_type == StringElementType::ASCII) in ReadEncodedBufferAndDumpToStream()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc199 mlir::Type elem_type = ConvertElementType(tensor.type, builder); in GetTensorType() local
203 TF_ASSIGN_OR_RETURN(elem_type, in GetTensorType()
211 TF_ASSIGN_OR_RETURN(elem_type, GetCalibratedQuantizedType(tensor, builder)); in GetTensorType()
215 return RankedTensorType::get({}, elem_type); in GetTensorType()
221 return RankedTensorType::get(shape, elem_type); in GetTensorType()
227 return RankedTensorType::get(shape, elem_type); in GetTensorType()
230 return UnrankedTensorType::get(elem_type); in GetTensorType()
351 mlir::RankedTensorType shaped_type, mlir::FloatType elem_type, in ConvertFloatBuffer() argument
356 switch (elem_type.getWidth()) { in ConvertFloatBuffer()
364 auto& semantics = elem_type.getFloatSemantics(); in ConvertFloatBuffer()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dstack_ops_decomposition.mlir18 …%stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf…
63 …%stack = "tf.StackV2"(%size) {elem_type = i32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf.res…
92 …%stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf…
135 …%stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf…
187 …%stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf…
233 …%stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf…
272 …%stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf…
312 …%stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf…
354 …%stack = "tf.StackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf…
366 …%stack = "tf.StackV2"(%arg0) {elem_type = i32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf.res…
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-scheduler.hpp892 typedef std::pair<item_type, int64_t> elem_type; typedef in rxcpp::schedulers::detail::schedulable_queue
893 typedef std::vector<elem_type> container_type;
899 bool operator()(const elem_type& lhs, const elem_type& rhs) const { in operator ()()
910 elem_type,
938 q.push(elem_type(value, ordinal++)); in push()
942 q.push(elem_type(std::move(value), ordinal++)); in push()
/external/mesa3d/src/compiler/nir/
Dnir_opt_memcpy.c99 const struct glsl_type *elem_type = glsl_get_array_element(type); in type_is_tightly_packed() local
102 if (!type_is_tightly_packed(elem_type, &elem_size)) in type_is_tightly_packed()

123456