Searched refs:type_size (Results 1 - 21 of 21) sorted by relevance

/external/llvm/utils/
H A DlldbDataFormatters.py31 return (end - begin)/self.type_size
46 offset = index * self.type_size
60 self.type_size = self.data_type.GetByteSize()
61 assert self.type_size != 0
81 offset = index * self.type_size
90 self.type_size = self.data_type.GetByteSize()
91 assert self.type_size != 0
/external/mesa3d/src/mapi/glapi/gen/
H A DglX_proto_recv.py321 type_size = param.size() / count
331 if type_size == 1:
351 swap_func = self.swap_name(type_size)
353 print ' %s = (%s) %s( (%s *) (pc + %s), %s );' % (param.name, param.type_string(), swap_func, self.real_types[type_size], o, compsize)
403 type_size = 0
415 type_size = (param.size() / c)
416 if type_size == 1:
419 size_scale = " * %u" % (type_size)
425 print ' %s %s = __glXGetAnswerBuffer(cl, compsize%s, answerBuffer, sizeof(answerBuffer), %u);' % (param.type_string(), param.name, size_scale, type_size )
435 print ' %s %s = __glXGetAnswerBuffer(cl, %s%s, answerBuffer, sizeof(answerBuffer), %u);' % (param.type_string(), param.name, param.counter, size_scale, type_size)
[all...]
H A Dtypeexpr.py99 for (type_name, type_size, integer) in basic_types:
103 tn.size = type_size
/external/tpm2/
H A Dmarshal_fp.h11 UINT16 type_size);
13 UINT16 type_size);
/external/mesa3d/src/compiler/nir/
H A Dnir_lower_io.c39 int (*type_size)(const struct glsl_type *type); member in struct:lower_io_state
46 int (*type_size)(const struct glsl_type *))
60 location += type_size(var->type);
90 int (*type_size)(const struct glsl_type *),
119 return nir_imm_int(b, type_size(glsl_vec4_type()) * slot_offset);
131 unsigned size = type_size(tail->type);
148 field_offset += type_size(glsl_get_struct_field(parent_type, i));
215 nir_intrinsic_set_range(load, state->type_size(var->type));
422 state->type_size, &component_offset);
485 int (*type_size)(cons
[all...]
H A Dnir.h2357 int (*type_size)(const struct glsl_type *));
2368 int (*type_size)(const struct glsl_type *),
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_vec4_reg_allocate.cpp427 unsigned type_size = type_sz(inst->src[i].type); local
429 reg_type_size[inst->src[i].nr] = type_size;
430 else if (reg_type_size[inst->src[i].nr] != type_size)
465 unsigned type_size = type_sz(inst->dst.type); local
467 reg_type_size[inst->dst.nr] = type_size;
468 else if (reg_type_size[inst->dst.nr] != type_size)
H A Dbrw_fs_nir.cpp3494 unsigned type_size = 4;
3498 type_size = 8;
3509 unsigned type_slots = type_size / 4;
3524 if (type_size > 4)
3531 type_size * first_component);
3536 brw_imm_ud(instr->const_index[0] + type_size * first_component));
3869 const unsigned type_size = type_sz(dest.type);
3875 const unsigned base = const_offset->u32[0] + c * type_size;
3878 (block_sz - base % block_sz) / type_size);
3974 unsigned type_size
[all...]
H A Dbrw_vec4_nir.cpp940 unsigned type_size = type_sz(dest.type); local
942 BRW_SWIZZLE4(const_offset->u32[0] % 16 / type_size,
943 const_offset->u32[0] % 16 / type_size,
944 const_offset->u32[0] % 16 / type_size,
945 const_offset->u32[0] % 16 / type_size);
H A Dbrw_vec4.cpp1948 const unsigned type_size = type_sz(src.type); local
1949 const unsigned width = REG_SIZE / 2 / MAX2(4, type_size);
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Ddisasm-a3xx.c200 print_reg_dst((reg_t)(cat1->dst), type_size(cat1->dst_type) == 32,
225 print_reg_src((reg_t)(cat1->src), type_size(cat1->src_type) == 32,
441 print_reg_dst((reg_t)(cat5->dst), type_size(cat5->type) == 32, false);
494 dst.full = type_size(cat6->type) == 32;
495 src1.full = type_size(cat6->type) == 32;
496 src2.full = type_size(cat6->type) == 32;
512 src1.full = type_size(cat6->type) == 32;
513 src2.full = type_size(cat6->type) == 32;
516 dst.full = type_size(cat6->type) == 32;
H A Dinstr-a3xx.h226 static inline uint32_t type_size(type_t type) function
H A Dir3.c153 return (type_size(type) == 32) ? 0 : IR3_REG_HALF;
/external/mesa3d/src/mesa/program/
H A Dir_to_mesa.cpp501 type_size(const struct glsl_type *type) function
537 return type_size(type->fields.array) * type->length;
541 size += type_size(type->fields.structure[i].type);
556 assert(!"Invalid type in type_size");
577 next_temp += type_size(type);
638 assert((int) ir->get_num_state_slots() == type_size(ir->type));
643 this->next_temp += type_size(ir->type);
674 type_size(ir->type));
1481 next_temp += type_size(var->type);
1499 int element_size = type_size(i
[all...]
/external/mesa3d/src/mesa/main/
H A Dglformats.c3409 int num_channels = 0, type_size = 0; local
3414 type_size = 1;
3417 type_size = 1;
3421 type_size = 2;
3424 type_size = 2;
3428 type_size = 4;
3431 type_size = 4;
3436 type_size = 2;
3441 type_size = 4;
3461 return MESA_ARRAY_FORMAT(type_size, is_signe
[all...]
H A Ddlist.c1873 unsigned type_size; local
1882 type_size = 1;
1887 type_size = 2;
1890 type_size = 3;
1896 type_size = 4;
1899 type_size = 0;
1902 if (num > 0 && type_size > 0) {
1904 lists_copy = memdup(lists, num * type_size);
/external/piex/src/
H A Dtiff_parser.cc493 const size_t type_size = SizeOfType(type, nullptr /* no error */); local
495 // Check that type_size * number_of_elements does not exceed UINT32_MAX.
496 if (type_size != 0 && number_of_elements > UINT32_MAX / type_size) {
500 type_size * static_cast<size_t>(number_of_elements);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi.cpp1199 type_size(const struct glsl_type *type) function
1256 array_sizes[next_array] = type_size(type);
1262 next_temp += type_size(type);
1324 assert((int) ir->get_num_state_slots() == type_size(ir->type));
1364 type_size(ir->type));
2467 decl->size = type_size(var->type->fields.array);
2469 decl->size = type_size(var->type);
2516 decl->size = type_size(var->type->fields.array);
2518 decl->size = type_size(var->type);
2644 int element_size = type_size(i
[all...]
/external/valgrind/coregrind/m_debuginfo/
H A Dreadpdb.c372 unsigned long type_size; member in struct:_PDB_TYPES_OLD
384 unsigned long type_size; member in struct:_PDB_TYPES
1159 types->type_size = old->type_size;
/external/mesa3d/src/amd/common/
H A Dac_nir_to_llvm.c3009 unsigned type_size; local
3019 type_size = 32;
3024 type_size = 32;
3031 type_size = 16;
3035 type_size = 16;
3051 assert(stride % type_size == 0);
3056 index = LLVMBuildMul(builder, index, LLVMConstInt(ctx->i32, stride / type_size, 0), "");
/external/valgrind/perf/
H A Dtinycc.c5442 static int type_size(CType *type, int *a);
5885 size = type_size(&vtop->type, &align);
5989 size = type_size(type, &align);
6540 size = type_size(&vtop->type, &align);
10263 size = type_size(type, &align);
10456 size = type_size(&vtop->type, &align);
11164 return type_size(pointed_type(type), &align);
11595 static int type_size(CType *type, int *a)
11609 return type_size(&s->type, a) * s->c;
11907 size = type_size(
11593 static int type_size(CType *type, int *a) function
[all...]

Completed in 870 milliseconds