Lines Matching refs:record
116 } record; member
300 ZEND_HASH_FOREACH_PTR(&type->record.fields, field) { in zend_ffi_face_struct_add_fields()
338 zend_hash_num_elements(&field_type->record.fields) : 1; in zend_ffi_face_struct_add_fields()
364 zend_hash_num_elements(&type->record.fields) : 1; in zend_ffi_make_fake_struct_type()
1193 field = zend_hash_find_ptr(&type->record.fields, field_name); in zend_ffi_cdata_read_field()
1262 field = zend_hash_find_ptr(&type->record.fields, field_name); in zend_ffi_cdata_write_field()
1549 if (type->record.tag_name) { in zend_ffi_ctype_name()
1550 …zend_ffi_ctype_name_prepend(buf, ZSTR_VAL(type->record.tag_name), ZSTR_LEN(type->record.tag_name)); in zend_ffi_ctype_name()
1556 if (type->record.tag_name) { in zend_ffi_ctype_name()
1557 …zend_ffi_ctype_name_prepend(buf, ZSTR_VAL(type->record.tag_name), ZSTR_LEN(type->record.tag_name)); in zend_ffi_ctype_name()
2023 ht = zend_new_array(zend_hash_num_elements(&type->record.fields)); in zend_ffi_cdata_get_debug_info()
2024 ZEND_HASH_FOREACH_STR_KEY_PTR(&type->record.fields, key, f) { in zend_ffi_cdata_get_debug_info()
2234 if (type->record.tag_name) { in _zend_ffi_type_dtor()
2235 zend_string_release(type->record.tag_name); in _zend_ffi_type_dtor()
2237 zend_hash_destroy(&type->record.fields); in _zend_ffi_type_dtor()
2993 … if (zend_hash_num_elements(&old->record.fields) != zend_hash_num_elements(&type->record.fields)) { in zend_ffi_same_types()
2998 Bucket *b = type->record.fields.arData; in zend_ffi_same_types()
3000 ZEND_HASH_FOREACH_STR_KEY_PTR(&old->record.fields, key, old_field) { in zend_ffi_same_types()
3109 ZEND_HASH_FOREACH_PTR(&dcl_type->record.fields, field) { in zend_ffi_subst_old_type()
3613 ZEND_HASH_FOREACH_PTR(&dcl_type->record.fields, field) { in zend_ffi_subst_type()
5588 type->record.tag_name = NULL;
5589 …zend_hash_init(&type->record.fields, 0, NULL, FFI_G(persistent) ? zend_ffi_field_hash_persistent_d…
5597 if (zend_hash_num_elements(&struct_type->record.fields) > 0) {
5600 ZEND_HASH_REVERSE_FOREACH_PTR(&struct_type->record.fields, field) {
5665 if (!zend_hash_str_add_ptr(&struct_type->record.fields, name, name_len, field)) {
5703 ZEND_HASH_FOREACH_STR_KEY_PTR(&field_type->record.fields, key, field) {
5719 if (!zend_hash_add_ptr(&struct_type->record.fields, key, new_field)) {
5726 zend_hash_next_index_insert_ptr(&struct_type->record.fields, field);
5806 if (zend_hash_num_elements(&struct_type->record.fields) > 0) {
5807 ZEND_HASH_REVERSE_FOREACH_PTR(&struct_type->record.fields, prev_field) {
5832 if (!zend_hash_str_add_ptr(&struct_type->record.fields, name, name_len, field)) {
5838 zend_hash_next_index_insert_ptr(&struct_type->record.fields, field);
6274 type->record.tag_name = zend_string_copy(tag_name);
6279 type->record.tag_name = zend_string_copy(tag_name);