Searched refs:struct_type (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dlower_ubo_reference.cpp133 const glsl_type *struct_type = deref_record->record->type; local
137 for (unsigned int i = 0; i < struct_type->length; i++) {
138 const glsl_type *type = struct_type->fields.structure[i].type;
143 if (strcmp(struct_type->fields.structure[i].name,
/external/mesa3d/src/glsl/
H A Dlower_ubo_reference.cpp133 const glsl_type *struct_type = deref_record->record->type; local
137 for (unsigned int i = 0; i < struct_type->length; i++) {
138 const glsl_type *type = struct_type->fields.structure[i].type;
143 if (strcmp(struct_type->fields.structure[i].name,
/external/chromium_org/mojo/public/python/mojo/bindings/
H A Ddescriptor.py375 def __init__(self, struct_type, nullable=False):
377 self.struct_type = struct_type
381 if value is None or isinstance(value, self.struct_type):
383 raise TypeError('%r is not an instance of %r' % (value, self.struct_type))
387 return self.struct_type()
396 return self.struct_type.Deserialize(data, handles)
/external/chromium_org/mojo/public/tools/bindings/generators/
H A Dmojom_js_generator.py173 struct_type = JavaScriptType(packed_field.field.kind)
174 return "%s, %s, %s" % (field_offset, struct_type, nullable)
/external/llvm/test/Bindings/Ocaml/
H A Dtarget.ml48 let sty = struct_type context [| i32_type; i64_type |] in
H A Dvmcore.ml186 insist ((struct_type context [| i16_type; i16_type; i32_type; i32_type |])
878 let sty = struct_type context [| i8_type; i64_type |] in
1019 let sty = struct_type context [| i32_type; i8_type |] in
1099 let rt = struct_type context [| pointer_type i8_type; i32_type |] in
1303 let sty = struct_type context [| i32_type; i8_type |] in
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_fs_visitor.cpp147 const glsl_type *struct_type = ir->record->type; local
152 for (unsigned int i = 0; i < struct_type->length; i++) {
153 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0)
155 offset += type_size(struct_type->fields.structure[i].type);
H A Dbrw_vec4_visitor.cpp1497 const glsl_type *struct_type = ir->record->type; local
1502 for (i = 0; i < struct_type->length; i++) {
1503 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0)
1505 offset += type_size(struct_type->fields.structure[i].type);
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dir_to_mesa.cpp1637 const glsl_type *struct_type = ir->record->type; local
1642 for (i = 0; i < struct_type->length; i++) {
1643 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0)
1645 offset += type_size(struct_type->fields.structure[i].type);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_visitor.cpp147 const glsl_type *struct_type = ir->record->type; local
152 for (unsigned int i = 0; i < struct_type->length; i++) {
153 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0)
155 offset += type_size(struct_type->fields.structure[i].type);
H A Dbrw_vec4_visitor.cpp1497 const glsl_type *struct_type = ir->record->type; local
1502 for (i = 0; i < struct_type->length; i++) {
1503 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0)
1505 offset += type_size(struct_type->fields.structure[i].type);
/external/mesa3d/src/mesa/program/
H A Dir_to_mesa.cpp1637 const glsl_type *struct_type = ir->record->type; local
1642 for (i = 0; i < struct_type->length; i++) {
1643 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0)
1645 offset += type_size(struct_type->fields.structure[i].type);
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi.cpp2064 const glsl_type *struct_type = ir->record->type; local
2069 for (i = 0; i < struct_type->length; i++) {
2070 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0)
2072 offset += type_size(struct_type->fields.structure[i].type);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi.cpp2064 const glsl_type *struct_type = ir->record->type; local
2069 for (i = 0; i < struct_type->length; i++) {
2070 if (strcmp(struct_type->fields.structure[i].name, ir->field) == 0)
2072 offset += type_size(struct_type->fields.structure[i].type);
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.ml356 external struct_type : llcontext -> lltype array -> lltype = "llvm_struct_type"
H A Dllvm.mli560 (** [struct_type context tys] returns the structure type in the context
563 val struct_type : llcontext -> lltype array -> lltype var
867 [struct_type (Array.map type_of elts)] and containing the values [elts]

Completed in 558 milliseconds