Lines Matching defs:defined
41 /* All symbols defined below should begin with yy or YY, to avoid
262 # if defined __cplusplus
281 YYSYMBOL_DEFINED = 3, /* DEFINED */
380 # if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
393 #elif defined YY_STDINT_H
401 #elif defined YY_STDINT_H
407 #if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__
409 #elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \
412 #elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX
418 #if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__
420 #elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \
423 #elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX
430 # if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__
433 # elif defined PTRDIFF_MAX
448 # elif defined size_t
450 # elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
474 # if defined YYENABLE_NLS && YYENABLE_NLS
487 # if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)
495 # if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
503 #if ! defined lint || defined __GNUC__
509 #if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
528 #if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__
551 # elif defined __BUILTIN_VA_ARG_INCR
553 # elif defined _AIX
555 # elif defined _MSC_VER
560 # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS
587 # if (defined __cplusplus && ! defined EXIT_SUCCESS \
588 && ! ((defined YYMALLOC || defined malloc) \
589 && (defined YYFREE || defined free)))
597 # if ! defined malloc && ! defined EXIT_SUCCESS
603 # if ! defined free && ! defined EXIT_SUCCESS
610 #if (! defined yyoverflow \
611 && (! defined __cplusplus \
612 || (defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL \
613 && defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
653 #if defined YYCOPY_NEEDED && YYCOPY_NEEDED
657 # if defined __GNUC__ && 1 < __GNUC__
735 /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
765 "\"end of file\"", "error", "\"invalid token\"", "DEFINED",
1133 the previous symbol: RHS[0] (always defined). */
1178 # if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
1214 # endif /* !defined YY_LOCATION_PRINT */
1405 # if defined __GLIBC__ && defined _STRING_H
1421 # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
1669 # if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
1768 #if !defined yyoverflow && !defined YYSTACK_RELOCATE
1775 # if defined yyoverflow
1797 # else /* defined YYSTACK_RELOCATE */
1833 #endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
2070 * (pre-defined) macro name.
2090 glcpp_error(& (yylsp[-3]), parser, "Built-in (pre-defined)"
2098 glcpp_error(& (yylsp[-3]), parser, "Built-in (pre-defined)"
2837 case 81: /* preprocessing_token: DEFINED */
2840 (yyval.token) = _token_create_ival (parser, DEFINED, DEFINED);
3723 case DEFINED:
3724 _mesa_string_buffer_append(out, "defined");
4066 /* Evaluate a DEFINED token node (based on subsequent tokens in the list).
4068 * Note: This function must only be called when "node" is a DEFINED token,
4075 * If the identifier is a defined macro, this function returns 1.
4077 * If the identifier is not a defined macro, this function returns 0.
4091 token_node_t *argument, *defined = node;
4093 assert(node->token->type == DEFINED);
4097 /* Ignore whitespace after DEFINED token. */
4138 glcpp_error (&defined->token->location, parser,
4139 "\"defined\" not followed by an identifier");
4143 /* Evaluate all DEFINED nodes in a given list, modifying the list in place.
4160 if (node->token->type != DEFINED)
4257 * although 'node' corresponds to an identifier defined as a
4304 /* Replace a macro defined as empty with a SPACE token. */
4438 /* Replace a macro defined as empty with a SPACE token. */
4505 * The "mode" argument controls the handling of any DEFINED tokens that
4508 * EXPANSION_MODE_IGNORE_DEFINED: Any resulting DEFINED tokens will be
4513 * EXPANSION_MODE_EVALUATE_DEFINED: Any resulting DEFINED tokens will be
4515 * token is the name of a defined macro. If the DEFINED token is
4640 if (strcmp(identifier, "defined") == 0) {
4641 glcpp_error (loc, parser, "\"defined\" cannot be used as a macro name");
4666 /* We define pre-defined macros before we've started parsing the actual
4667 * file. So if there's no location defined yet, that's what were doing and
4896 /* Add pre-defined macros. */