/external/llvm/utils/ |
H A D | lldbDataFormatters.py | 31 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 D | glX_proto_recv.py | 321 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 D | typeexpr.py | 99 for (type_name, type_size, integer) in basic_types: 103 tn.size = type_size
|
/external/tpm2/ |
H A D | marshal_fp.h | 11 UINT16 type_size); 13 UINT16 type_size);
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_io.c | 39 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 D | nir.h | 2357 int (*type_size)(const struct glsl_type *)); 2368 int (*type_size)(const struct glsl_type *),
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_vec4_reg_allocate.cpp | 427 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 D | brw_fs_nir.cpp | 3494 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 D | brw_vec4_nir.cpp | 940 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 D | brw_vec4.cpp | 1948 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 D | disasm-a3xx.c | 200 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 D | instr-a3xx.h | 226 static inline uint32_t type_size(type_t type) function
|
H A D | ir3.c | 153 return (type_size(type) == 32) ? 0 : IR3_REG_HALF;
|
/external/mesa3d/src/mesa/program/ |
H A D | ir_to_mesa.cpp | 501 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 D | glformats.c | 3409 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 D | dlist.c | 1873 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 D | tiff_parser.cc | 493 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 D | st_glsl_to_tgsi.cpp | 1199 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 D | readpdb.c | 372 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 D | ac_nir_to_llvm.c | 3009 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 D | tinycc.c | 5442 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...] |