Lines Matching refs:field_type

1171 		zend_ffi_type *field_type = field->type;  in zend_ffi_cdata_read_field()  local
1173 if (ZEND_FFI_TYPE_IS_OWNED(field_type)) { in zend_ffi_cdata_read_field()
1174 field_type = ZEND_FFI_TYPE(field_type); in zend_ffi_cdata_read_field()
1175 if (!(field_type->attr & ZEND_FFI_ATTR_STORED) in zend_ffi_cdata_read_field()
1176 && field_type->kind == ZEND_FFI_TYPE_POINTER) { in zend_ffi_cdata_read_field()
1177 field->type = field_type = zend_ffi_remember_type(field_type); in zend_ffi_cdata_read_field()
1181 …zend_ffi_cdata_to_zval(NULL, ptr, field_type, read_type, rv, (cdata->flags & ZEND_FFI_FLAG_CONST) … in zend_ffi_cdata_read_field()
5707 zend_ffi_type *field_type; local
5711 field_type = ZEND_FFI_TYPE(field_dcl->type);
5712 if (zend_ffi_validate_field_type(field_type, struct_type) != SUCCESS) {
5719 struct_type->align = MAX(struct_type->align, MAX(field_type->align, field_dcl->align));
5723 struct_type->size = MAX(struct_type->size, field_type->size);
5726 uint32_t field_align = MAX(field_type->align, field_dcl->align);
5730 struct_type->size += field_type->size;
5737 field_dcl->type = field_type; /* reset "owned" flag */
5750 zend_ffi_type *field_type; local
5756 field_type = ZEND_FFI_TYPE(field_dcl->type);
5757 if (field_type->kind != ZEND_FFI_TYPE_STRUCT) {
5764 struct_type->align = MAX(struct_type->align, MAX(field_type->align, field_dcl->align));
5772 uint32_t field_align = MAX(field_type->align, field_dcl->align);
5777 ZEND_HASH_FOREACH_STR_KEY_PTR(&field_type->record.fields, key, field) {
5805 struct_type->size = MAX(struct_type->size, field_type->size);
5807 struct_type->size += field_type->size;
5818 zend_ffi_type *field_type; local
5823 field_type = ZEND_FFI_TYPE(field_dcl->type);
5824 if (zend_ffi_validate_field_type(field_type, struct_type) != SUCCESS) {
5829 if (field_type->kind < ZEND_FFI_TYPE_UINT8 || field_type->kind > ZEND_FFI_TYPE_BOOL) {
5844 } else if (bits->i64 > field_type->size * 8) {
5855 } else if (bits->u64 > field_type->size * 8) {
5903 field_dcl->type = field_type; /* reset "owned" flag */