Lines Matching refs:name_len

270 static int parse_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len);
272 …ic int parse_parameter_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len);
298 static int parse_ID(int sym, const char **name, size_t *name_len);
2021 size_t name_len; in parse_declarations() local
2024 sym = parse_declarator(sym, &dcl, &name, &name_len); in parse_declarations()
2046 zend_ffi_declare(name, name_len, &dcl); in parse_declarations()
2050 sym = parse_declarator(sym, &dcl, &name, &name_len); in parse_declarations()
2057 zend_ffi_declare(name, name_len, &dcl); in parse_declarations()
2230 size_t name_len; in parse_type_specifier() local
2307 sym = parse_ID(sym, &name, &name_len); in parse_type_specifier()
2309 zend_ffi_resolve_typedef(name, name_len, dcl); in parse_type_specifier()
2332 size_t name_len; in parse_struct_or_union_specifier() local
2333 sym = parse_ID(sym, &name, &name_len); in parse_struct_or_union_specifier()
2334 zend_ffi_declare_tag(name, name_len, dcl, 1); in parse_struct_or_union_specifier()
2337 zend_ffi_declare_tag(name, name_len, dcl, 0); in parse_struct_or_union_specifier()
2433 size_t name_len = 0; in parse_struct_declarator() local
2436 sym = parse_declarator(sym, field_dcl, &name, &name_len); in parse_struct_declarator()
2443 zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits); in parse_struct_declarator()
2448 zend_ffi_add_field(struct_dcl, name, name_len, field_dcl); in parse_struct_declarator()
2473 size_t name_len; in parse_enum_specifier() local
2474 sym = parse_ID(sym, &name, &name_len); in parse_enum_specifier()
2476 zend_ffi_declare_tag(name, name_len, dcl, 0); in parse_enum_specifier()
2487 zend_ffi_declare_tag(name, name_len, dcl, 1); in parse_enum_specifier()
2559 size_t name_len; in parse_enumerator() local
2561 sym = parse_ID(sym, &name, &name_len); in parse_enumerator()
2566 zend_ffi_add_enum_val(enum_dcl, name, name_len, &val, min, max, last); in parse_enumerator()
2570 static int parse_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len) { in parse_declarator() argument
2577 sym = parse_ID(sym, name, name_len); in parse_declarator()
2583 sym = parse_declarator(sym, &nested_dcl, name, name_len); in parse_declarator()
2624 …c int parse_parameter_declarator(int sym, zend_ffi_dcl *dcl, const char **name, size_t *name_len) { in parse_parameter_declarator() argument
2635 sym = parse_parameter_declarator(sym, &nested_dcl, name, name_len); in parse_parameter_declarator()
2642 sym = parse_ID(sym, name, name_len); in parse_parameter_declarator()
2865 size_t name_len = 0; in parse_parameter_declaration() local
2870 sym = parse_parameter_declarator(sym, &param_dcl, &name, &name_len); in parse_parameter_declaration()
2871 zend_ffi_add_arg(args, name, name_len, &param_dcl); in parse_parameter_declaration()
2884 size_t name_len; in parse_attributes() local
2920 sym = parse_ID(sym, &name, &name_len); in parse_attributes()
2924 zend_ffi_add_msvc_attribute_value(dcl, name, name_len, &val); in parse_attributes()
2965 size_t name_len; in parse_attrib() local
2971 sym = parse_ID(sym, &name, &name_len); in parse_attrib()
2973 zend_ffi_add_attribute(dcl, name, name_len); in parse_attrib()
2979 zend_ffi_add_attribute_value(dcl, name, name_len, 0, &val); in parse_attrib()
2984 zend_ffi_add_attribute_value(dcl, name, name_len, ++n, &val); in parse_attrib()
3077 size_t name_len; in parse_designation() local
3089 sym = parse_ID(sym, &name, &name_len); in parse_designation()
3317 size_t name_len; in parse_unary_expression() local
3321 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3322 zend_ffi_resolve_const(name, name_len, val); in parse_unary_expression()
3345 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3349 sym = parse_ID(sym, &name, &name_len); in parse_unary_expression()
3481 static int parse_ID(int sym, const char **name, size_t *name_len) { in parse_ID() argument
3485 *name = (const char*)yy_text; *name_len = yy_pos - yy_text; in parse_ID()