GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <grass/sqlp.h>
#include <stddef.h>
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "3.3.2" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYDEBUG 1 |
#define | YYERROR_VERBOSE 1 |
#define | YY_NULLPTR ((void*)0) |
#define | YYERROR_VERBOSE 1 |
#define | YY_YY_SQLP_TAB_H_INCLUDED |
#define | YYTOKENTYPE |
#define | COMPARISON_OPERATOR 258 |
#define | NAME 259 |
#define | STRING 260 |
#define | INTNUM 261 |
#define | FLOATNUM 262 |
#define | ADD 263 |
#define | DROP 264 |
#define | COLUMN 265 |
#define | EQUAL 266 |
#define | SELECT 267 |
#define | FROM 268 |
#define | WHERE 269 |
#define | DELETE 270 |
#define | INSERT 271 |
#define | INTO 272 |
#define | VALUES 273 |
#define | UPDATE 274 |
#define | SET 275 |
#define | AND 276 |
#define | OR 277 |
#define | NOT 278 |
#define | ALTER 279 |
#define | TABLE 280 |
#define | CREATE 281 |
#define | NULL_VALUE 282 |
#define | VARCHAR 283 |
#define | INT 284 |
#define | INTEGER 285 |
#define | DOUBLE 286 |
#define | PRECISION 287 |
#define | DATE 288 |
#define | TIME 289 |
#define | ORDER 290 |
#define | BY 291 |
#define | IS 292 |
#define | ASC 293 |
#define | DESC 294 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSIZE_T size_t |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(Msgid) Msgid |
#define | YY_ATTRIBUTE(Spec) /* empty */ |
#define | YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
#define | YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
#define | YYUSE(E) ((void) (E)) |
#define | YY_INITIAL_VALUE(Value) Value |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYCOPY(Dst, Src, Count) |
#define | YYFINAL 27 |
#define | YYLAST 156 |
#define | YYNTOKENS 48 |
#define | YYNNTS 32 |
#define | YYNRULES 87 |
#define | YYNSTATES 157 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 294 |
#define | YYTRANSLATE(YYX) ((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -52 |
#define | yypact_value_is_default(Yystate) (!!((Yystate) == (-52))) |
#define | YYTABLE_NINF -1 |
#define | yytable_value_is_error(Yytable_value) 0 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYCASE_(N, S) |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
#define | YYSYNTAX_ERROR |
Typedefs | |
typedef union YYSTYPE | YYSTYPE |
typedef unsigned char | yytype_uint8 |
typedef signed char | yytype_int8 |
typedef unsigned short | yytype_uint16 |
typedef short | yytype_int16 |
Enumerations | |
enum | yytokentype { COMPARISON_OPERATOR = 258, NAME = 259, STRING = 260, INTNUM = 261, FLOATNUM = 262, ADD = 263, DROP = 264, COLUMN = 265, EQUAL = 266, SELECT = 267, FROM = 268, WHERE = 269, DELETE = 270, INSERT = 271, INTO = 272, VALUES = 273, UPDATE = 274, SET = 275, AND = 276, OR = 277, NOT = 278, ALTER = 279, TABLE = 280, CREATE = 281, NULL_VALUE = 282, VARCHAR = 283, INT = 284, INTEGER = 285, DOUBLE = 286, PRECISION = 287, DATE = 288, TIME = 289, ORDER = 290, BY = 291, IS = 292, ASC = 293, DESC = 294, COMPARISON_OPERATOR = 258, NAME = 259, STRING = 260, INTNUM = 261, FLOATNUM = 262, ADD = 263, DROP = 264, COLUMN = 265, EQUAL = 266, SELECT = 267, FROM = 268, WHERE = 269, DELETE = 270, INSERT = 271, INTO = 272, VALUES = 273, UPDATE = 274, SET = 275, AND = 276, OR = 277, NOT = 278, ALTER = 279, TABLE = 280, CREATE = 281, NULL_VALUE = 282, VARCHAR = 283, INT = 284, INTEGER = 285, DOUBLE = 286, PRECISION = 287, DATE = 288, TIME = 289, ORDER = 290, BY = 291, IS = 292, ASC = 293, DESC = 294 } |
Functions | |
int | yyparse (void) |
int | yylex (void) |
void * | malloc (YYSIZE_T) |
void | free (void *) |
Variables | |
int | yydebug |
YYSTYPE | yylval |
int | yychar |
int | yynerrs |
#define ADD 263 |
Definition at line 163 of file sqlp.tab.c.
#define ALTER 279 |
Definition at line 179 of file sqlp.tab.c.
#define AND 276 |
Definition at line 176 of file sqlp.tab.c.
#define ASC 293 |
Definition at line 193 of file sqlp.tab.c.
#define BY 291 |
Definition at line 191 of file sqlp.tab.c.
#define COLUMN 265 |
Definition at line 165 of file sqlp.tab.c.
#define COMPARISON_OPERATOR 258 |
Definition at line 158 of file sqlp.tab.c.
#define CREATE 281 |
Definition at line 181 of file sqlp.tab.c.
#define DATE 288 |
Definition at line 188 of file sqlp.tab.c.
#define DELETE 270 |
Definition at line 170 of file sqlp.tab.c.
#define DESC 294 |
Definition at line 194 of file sqlp.tab.c.
#define DOUBLE 286 |
Definition at line 186 of file sqlp.tab.c.
#define DROP 264 |
Definition at line 164 of file sqlp.tab.c.
#define EQUAL 266 |
Definition at line 166 of file sqlp.tab.c.
#define FLOATNUM 262 |
Definition at line 162 of file sqlp.tab.c.
#define FROM 268 |
Definition at line 168 of file sqlp.tab.c.
#define INSERT 271 |
Definition at line 171 of file sqlp.tab.c.
#define INT 284 |
Definition at line 184 of file sqlp.tab.c.
#define INTEGER 285 |
Definition at line 185 of file sqlp.tab.c.
#define INTNUM 261 |
Definition at line 161 of file sqlp.tab.c.
#define INTO 272 |
Definition at line 172 of file sqlp.tab.c.
#define IS 292 |
Definition at line 192 of file sqlp.tab.c.
#define NAME 259 |
Definition at line 159 of file sqlp.tab.c.
#define NOT 278 |
Definition at line 178 of file sqlp.tab.c.
#define NULL_VALUE 282 |
Definition at line 182 of file sqlp.tab.c.
#define OR 277 |
Definition at line 177 of file sqlp.tab.c.
#define ORDER 290 |
Definition at line 190 of file sqlp.tab.c.
#define PRECISION 287 |
Definition at line 187 of file sqlp.tab.c.
#define SELECT 267 |
Definition at line 167 of file sqlp.tab.c.
#define SET 275 |
Definition at line 175 of file sqlp.tab.c.
#define STRING 260 |
Definition at line 160 of file sqlp.tab.c.
#define TABLE 280 |
Definition at line 180 of file sqlp.tab.c.
#define TIME 289 |
Definition at line 189 of file sqlp.tab.c.
#define UPDATE 274 |
Definition at line 174 of file sqlp.tab.c.
#define VALUES 273 |
Definition at line 173 of file sqlp.tab.c.
#define VARCHAR 283 |
Definition at line 183 of file sqlp.tab.c.
#define WHERE 269 |
Definition at line 169 of file sqlp.tab.c.
#define YY_ | ( | Msgid | ) | Msgid |
Definition at line 284 of file sqlp.tab.c.
Referenced by yyparse().
#define YY_ATTRIBUTE | ( | Spec | ) | /* empty */ |
Definition at line 294 of file sqlp.tab.c.
#define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
Definition at line 299 of file sqlp.tab.c.
#define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
Definition at line 303 of file sqlp.tab.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 325 of file sqlp.tab.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 326 of file sqlp.tab.c.
#define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 322 of file sqlp.tab.c.
#define YY_LOCATION_PRINT | ( | File, | |
Loc | |||
) | ((void) 0) |
Definition at line 787 of file sqlp.tab.c.
#define YY_NULLPTR ((void*)0) |
Definition at line 89 of file sqlp.tab.c.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 884 of file sqlp.tab.c.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 853 of file sqlp.tab.c.
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
Definition at line 791 of file sqlp.tab.c.
#define YY_YY_SQLP_TAB_H_INCLUDED |
Definition at line 104 of file sqlp.tab.c.
#define YYABORT goto yyabortlab |
Definition at line 742 of file sqlp.tab.c.
Referenced by yyparse().
#define YYACCEPT goto yyacceptlab |
Definition at line 741 of file sqlp.tab.c.
Referenced by yyparse().
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 748 of file sqlp.tab.c.
#define YYBISON 1 |
Definition at line 48 of file sqlp.tab.c.
#define YYBISON_VERSION "3.3.2" |
Definition at line 51 of file sqlp.tab.c.
#define YYCASE_ | ( | N, | |
S | |||
) |
Definition at line 737 of file sqlp.tab.c.
#define YYCOPY | ( | Dst, | |
Src, | |||
Count | |||
) |
Definition at line 449 of file sqlp.tab.c.
#define YYCOPY_NEEDED 1 |
Definition at line 421 of file sqlp.tab.c.
#define YYDEBUG 1 |
Definition at line 76 of file sqlp.tab.c.
#define YYDPRINTF | ( | Args | ) |
Definition at line 779 of file sqlp.tab.c.
Referenced by yyparse().
#define YYEMPTY (-2) |
Definition at line 738 of file sqlp.tab.c.
Referenced by yyparse().
#define YYEOF 0 |
Definition at line 739 of file sqlp.tab.c.
#define YYERRCODE 256 |
Definition at line 767 of file sqlp.tab.c.
#define yyerrok (yyerrstatus = 0) |
Definition at line 736 of file sqlp.tab.c.
#define YYERROR goto yyerrorlab |
Definition at line 743 of file sqlp.tab.c.
#define YYERROR_VERBOSE 1 |
Definition at line 96 of file sqlp.tab.c.
#define YYERROR_VERBOSE 1 |
Definition at line 96 of file sqlp.tab.c.
#define YYFINAL 27 |
Definition at line 462 of file sqlp.tab.c.
Referenced by yyparse().
#define YYFPRINTF fprintf |
Definition at line 776 of file sqlp.tab.c.
#define YYFREE free |
Definition at line 392 of file sqlp.tab.c.
#define YYINITDEPTH 200 |
Definition at line 903 of file sqlp.tab.c.
Referenced by yyparse().
#define YYLAST 156 |
Definition at line 464 of file sqlp.tab.c.
#define YYMALLOC malloc |
Definition at line 386 of file sqlp.tab.c.
#define YYMAXDEPTH 10000 |
Definition at line 914 of file sqlp.tab.c.
Referenced by yyparse().
#define YYMAXUTOK 294 |
Definition at line 476 of file sqlp.tab.c.
#define YYNNTS 32 |
Definition at line 469 of file sqlp.tab.c.
#define YYNRULES 87 |
Definition at line 471 of file sqlp.tab.c.
#define YYNSTATES 157 |
Definition at line 473 of file sqlp.tab.c.
#define YYNTOKENS 48 |
Definition at line 467 of file sqlp.tab.c.
#define YYPACT_NINF -52 |
Definition at line 569 of file sqlp.tab.c.
#define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-52))) |
Definition at line 571 of file sqlp.tab.c.
#define YYPULL 1 |
Definition at line 63 of file sqlp.tab.c.
#define YYPURE 0 |
Definition at line 57 of file sqlp.tab.c.
#define YYPUSH 0 |
Definition at line 60 of file sqlp.tab.c.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 746 of file sqlp.tab.c.
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 274 of file sqlp.tab.c.
#define YYSIZE_T size_t |
Definition at line 268 of file sqlp.tab.c.
Referenced by yyparse().
#define YYSKELETON_NAME "yacc.c" |
Definition at line 54 of file sqlp.tab.c.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 372 of file sqlp.tab.c.
Referenced by yyparse().
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 375 of file sqlp.tab.c.
#define YYSTACK_BYTES | ( | N | ) |
#define YYSTACK_FREE YYFREE |
Definition at line 373 of file sqlp.tab.c.
Referenced by yyparse().
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 413 of file sqlp.tab.c.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 428 of file sqlp.tab.c.
Referenced by yyparse().
#define YYSTYPE_IS_DECLARED 1 |
Definition at line 214 of file sqlp.tab.c.
#define YYSTYPE_IS_TRIVIAL 1 |
Definition at line 213 of file sqlp.tab.c.
#define YYSYNTAX_ERROR |
#define YYTABLE_NINF -1 |
Definition at line 574 of file sqlp.tab.c.
#define yytable_value_is_error | ( | Yytable_value | ) | 0 |
Definition at line 576 of file sqlp.tab.c.
#define YYTERROR 1 |
Definition at line 766 of file sqlp.tab.c.
#define YYTOKENTYPE |
Definition at line 115 of file sqlp.tab.c.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 480 of file sqlp.tab.c.
#define YYUNDEFTOK 2 |
Definition at line 475 of file sqlp.tab.c.
#define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 308 of file sqlp.tab.c.
typedef union YYSTYPE YYSTYPE |
Definition at line 212 of file sqlp.tab.c.
typedef short yytype_int16 |
Definition at line 258 of file sqlp.tab.c.
typedef signed char yytype_int8 |
Definition at line 246 of file sqlp.tab.c.
typedef unsigned short yytype_uint16 |
Definition at line 252 of file sqlp.tab.c.
typedef unsigned char yytype_uint8 |
Definition at line 240 of file sqlp.tab.c.
enum yytokentype |
Definition at line 116 of file sqlp.tab.c.
void free | ( | void * | ) |
Referenced by avl_free(), BM_destroy(), Cdhc_anderson_darling(), Cdhc_anderson_darling_exp(), Cdhc_chi_square(), Cdhc_chi_square_exp(), Cdhc_cramer_von_mises(), Cdhc_cramer_von_mises_exp(), Cdhc_dmax(), Cdhc_dmax_exp(), Cdhc_shapiro_francia(), Cdhc_watson_u2(), Cdhc_watson_u2_exp(), Cdhc_weisberg_bingham(), DBFCreateLL(), DBFOpenLL(), dgl_edge_prioritizer_del(), DGL_EDGE_T_RELEASE_FUNC(), DGL_NODE_T_RELEASE_FUNC(), dgl_read_V1(), dgl_read_V2(), dgl_release_V1(), dgl_release_V2(), DGL_SPAN_DEPTHFIRST_SPANNING_FUNC(), DGL_UNFLATTEN_FUNC(), dglFreeSPReport(), dglHeapFree(), dglTreeEdgeAdd(), dglTreeEdgeCancel(), dglTreeEdgePri32Add(), dglTreeEdgePri32Cancel(), dglTreeNode2Add(), dglTreeNode2Cancel(), dglTreeNodeAdd(), dglTreeNodeCancel(), dglTreeNodePri32Add(), dglTreeNodePri32Cancel(), dglTreePredistAdd(), dglTreePredistCancel(), dglTreeTouchI32Add(), dglTreeTouchI32Cancel(), dig_free_area(), free_data_buffs(), BasicMinMaxHeap< T >::freeHeap(), G_free(), GS_write_zoom(), I_cluster_begin(), I_free_group_ref(), I_free_signatures(), I_SetClassTitle(), I_SetSigTitle(), link_cleanup(), link_init(), N_free_les(), Rast3d_free(), rbtree_clear(), rbtree_destroy(), Rowio_release(), RTreeDestroyTree(), RTreeFreeBoundary(), RTreeFreeListBranch(), RTreeFreeListNode(), RTreeFreeNode(), RTreeFreeRect(), SASetupDefaultHooks(), SHPClose(), SHPCreateLL(), SHPDestroyObject(), SHPOpenLL(), SHPRestoreSHX(), sqpCopyValue(), sqpFreeNode(), sqpFreeStmt(), and tavl_free().
void* malloc | ( | YYSIZE_T | ) |
Referenced by avl_malloc(), BM_create_sparse(), Cdhc_anderson_darling(), Cdhc_anderson_darling_exp(), Cdhc_chi_square(), Cdhc_chi_square_exp(), Cdhc_cramer_von_mises(), Cdhc_cramer_von_mises_exp(), Cdhc_dmax(), Cdhc_dmax_exp(), Cdhc_shapiro_francia(), Cdhc_watson_u2(), Cdhc_watson_u2_exp(), Cdhc_weisberg_bingham(), DBFCreateLL(), DBFOpenLL(), dgl_edge_prioritizer_add(), dgl_edge_prioritizer_del(), DGL_EDGE_T_INITIALIZE_FUNC(), DGL_NODE_T_INITIALIZE_FUNC(), dgl_read_V1(), dgl_read_V2(), dglTreeEdgeAlloc(), dglTreeEdgePri32Alloc(), dglTreeNode2Alloc(), dglTreeNodeAlloc(), dglTreeNodePri32Alloc(), dglTreePredistAlloc(), dglTreeTouchI32Alloc(), I_cluster_begin(), link_init(), MT_divide(), MT_functions_new(), MT_tree_info_new(), quad_point_new(), Rast3d_malloc(), rbtree_create(), return(), RTreeAllocBoundary(), RTreeAllocNode(), RTreeAllocRect(), RTreeCreateTree(), RTreeNewListNode(), SASetupDefaultHooks(), SHPCreateLL(), SHPOpenLL(), SHPRestoreSHX(), tavl_malloc(), Vect__new_line_struct(), and Vect_new_map_struct().
int yylex | ( | void | ) |
int yyparse | ( | void | ) |
Definition at line 1179 of file sqlp.tab.c.
References YY_, YYABORT, YYACCEPT, yyalloc(), yychar, YYDPRINTF, YYEMPTY, YYFINAL, YYINITDEPTH, YYMAXDEPTH, yynerrs, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, and YYSTACK_RELOCATE.
int yychar |
Definition at line 1166 of file sqlp.tab.c.
Referenced by yyparse().
int yydebug |
Definition at line 892 of file sqlp.tab.c.
YYSTYPE yylval |
Definition at line 1169 of file sqlp.tab.c.
int yynerrs |
Definition at line 1171 of file sqlp.tab.c.
Referenced by yyparse().