Lines Matching refs:key
1828 zend_long key; member
1846 return (iter->key >= 0 && iter->key < type->array.length) ? SUCCESS : FAILURE; in zend_ffi_cdata_it_valid()
1878 static void zend_ffi_cdata_it_get_current_key(zend_object_iterator *it, zval *key) /* {{{ */ in zend_ffi_cdata_it_get_current_key() argument
1881 ZVAL_LONG(key, iter->key); in zend_ffi_cdata_it_get_current_key()
1888 iter->key++; in zend_ffi_cdata_it_move_forward()
1895 iter->key = 0; in zend_ffi_cdata_it_rewind()
1927 iter->key = 0; in zend_ffi_cdata_get_iterator()
1941 zend_string *key; in zend_ffi_cdata_get_debug_info() local
1997 ZEND_HASH_FOREACH_STR_KEY_PTR(&type->record.fields, key, f) { in zend_ffi_cdata_get_debug_info()
1998 if (key) { in zend_ffi_cdata_get_debug_info()
2002 zend_hash_add(ht, key, &tmp); in zend_ffi_cdata_get_debug_info()
2005 zend_hash_add(ht, key, &tmp); in zend_ffi_cdata_get_debug_info()
2768 static zend_function *zend_ffi_get_func(zend_object **obj, zend_string *name, const zval *key) /* {… in zend_ffi_get_func() argument
2977 zend_string *key; in zend_ffi_same_types() local
2980 ZEND_HASH_FOREACH_STR_KEY_PTR(&old->record.fields, key, old_field) { in zend_ffi_same_types()
2984 if (key) { in zend_ffi_same_types()
2985 if (!b->key in zend_ffi_same_types()
2986 || !zend_string_equals(key, b->key)) { in zend_ffi_same_types()
2989 } else if (b->key) { in zend_ffi_same_types()
3493 zend_string *key; in zend_ffi_validate_incomplete_type() local
3496 ZEND_HASH_FOREACH_STR_KEY_PTR(FFI_G(tags), key, tag) { in zend_ffi_validate_incomplete_type()
3499 zend_ffi_throw_parser_error("incomplete 'enum %s' at line %d", ZSTR_VAL(key), FFI_G(line)); in zend_ffi_validate_incomplete_type()
3501 zend_ffi_throw_parser_error("incomplete 'union %s' at line %d", ZSTR_VAL(key), FFI_G(line)); in zend_ffi_validate_incomplete_type()
3503 zend_ffi_throw_parser_error("incomplete 'struct %s' at line %d", ZSTR_VAL(key), FFI_G(line)); in zend_ffi_validate_incomplete_type()
3510 zend_string *key; in zend_ffi_validate_incomplete_type() local
3513 ZEND_HASH_FOREACH_STR_KEY_PTR(FFI_G(symbols), key, sym) { in zend_ffi_validate_incomplete_type()
3515 zend_ffi_throw_parser_error("incomplete C type '%s' at line %d", ZSTR_VAL(key), FFI_G(line)); in zend_ffi_validate_incomplete_type()
4763 …n *zend_fake_get_method(zend_object **obj_ptr, zend_string *method_name, const zval *key) /* {{{ */ in zend_fake_get_method() argument
5752 zend_string *key; local
5777 ZEND_HASH_FOREACH_STR_KEY_PTR(&field_type->record.fields, key, field) {
5792 if (key) {
5793 if (!zend_hash_add_ptr(&struct_type->record.fields, key, new_field)) {
5796 zend_ffi_parser_error("duplicate field name '%s' at line %d", ZSTR_VAL(key), FFI_G(line));