|
CUBRID Engine
latest
|


Go to the source code of this file.
Classes | |
| struct | host_lod |
| struct | structdef |
| struct | ptr_vec |
| struct | declarator |
| struct | specifier |
| struct | link |
| struct | host_var |
| struct | host_ref |
| struct | symbol |
| struct | cursor |
| struct | stmt |
Macros | |
| #define | PTR_VEC_CHUNK_SIZE 4 |
| #define | NUM_C_VARIABLE_TYPES C_TYPE_SQLDA |
Typedefs | |
| typedef enum c_pype | C_TYPE |
| typedef enum specifier_noun | SPECIFIER_NOUN |
| typedef enum storage_class | STORAGE_CLASS |
| typedef enum alias_class | ALIAS_CLASS |
| typedef enum dcl_type | DCL_TYPE |
| typedef struct ptr_vec | PTR_VEC |
| typedef struct link | LINK |
| typedef struct host_var | HOST_VAR |
| typedef struct host_ref | HOST_REF |
| typedef struct symbol | SYMBOL |
| typedef struct specifier | specifier |
| typedef struct declarator | declarator |
| typedef struct structdef | STRUCTDEF |
| typedef HASH_TAB | SYMTAB |
| typedef struct cursor | CURSOR |
| typedef struct stmt | STMT |
| typedef struct host_lod | HOST_LOD |
| typedef enum link_class | LINK_CLASS |
| typedef enum when_condition | WHEN_CONDITION |
| typedef enum when_action | WHEN_ACTION |
Functions | |
| C_TYPE | pp_get_type (HOST_REF *ref) |
| char * | pp_get_precision (HOST_REF *ref) |
| char * | pp_get_input_size (HOST_REF *ref) |
| char * | pp_get_output_size (HOST_REF *ref) |
| char * | pp_get_expr (HOST_REF *ref) |
| char * | pp_get_addr_expr (HOST_REF *ref) |
| char * | pp_get_ind_expr (HOST_REF *ref) |
| char * | pp_get_ind_addr_expr (HOST_REF *ref) |
| void | pp_print_host_ref (HOST_REF *ref, FILE *fp) |
| #define NUM_C_VARIABLE_TYPES C_TYPE_SQLDA |
Definition at line 38 of file esql_host_variable.h.
Referenced by pp_check_host_var_list().
| #define PTR_VEC_CHUNK_SIZE 4 |
Definition at line 36 of file esql_host_variable.h.
Referenced by pp_new_ptr_vec().
| typedef enum alias_class ALIAS_CLASS |
Definition at line 117 of file esql_host_variable.h.
| typedef struct declarator declarator |
Definition at line 113 of file esql_host_variable.h.
Definition at line 119 of file esql_host_variable.h.
Definition at line 110 of file esql_host_variable.h.
Definition at line 109 of file esql_host_variable.h.
Definition at line 108 of file esql_host_variable.h.
| typedef enum link_class LINK_CLASS |
Definition at line 221 of file esql_host_variable.h.
Definition at line 107 of file esql_host_variable.h.
Definition at line 112 of file esql_host_variable.h.
| typedef enum specifier_noun SPECIFIER_NOUN |
Definition at line 118 of file esql_host_variable.h.
| typedef enum storage_class STORAGE_CLASS |
Definition at line 114 of file esql_host_variable.h.
Definition at line 111 of file esql_host_variable.h.
Definition at line 116 of file esql_host_variable.h.
| typedef enum when_action WHEN_ACTION |
| typedef enum when_condition WHEN_CONDITION |
| enum alias_class |
| Enumerator | |
|---|---|
| A_DIRECT | |
| A_TYPEDEF | |
| A_STRUCT | |
Definition at line 93 of file esql_host_variable.h.
| enum c_pype |
Definition at line 41 of file esql_host_variable.h.
| enum dcl_type |
| Enumerator | |
|---|---|
| D_POINTER | |
| D_ARRAY | |
| D_FUNCTION | |
Definition at line 100 of file esql_host_variable.h.
| enum link_class |
| Enumerator | |
|---|---|
| DECLARATOR | |
| SPECIFIER | |
Definition at line 216 of file esql_host_variable.h.
| enum specifier_noun |
| Enumerator | |
|---|---|
| N_INT | |
| N_CHR | |
| N_VOID | |
| N_FLOAT | |
| N_STRUCTURE | |
| N_LABEL | |
| N_VARCHAR | |
| N_BIT | |
| N_VARBIT | |
Definition at line 71 of file esql_host_variable.h.
| enum storage_class |
| Enumerator | |
|---|---|
| C_FIXED | |
| C_REGISTER | |
| C_AUTO | |
| C_TYPEDEF | |
| C_CONSTANT | |
Definition at line 84 of file esql_host_variable.h.
| enum when_action |
| Enumerator | |
|---|---|
| CONTINUE | |
| STOP | |
| GOTO | |
| CALL | |
Definition at line 268 of file esql_host_variable.h.
| enum when_condition |
| Enumerator | |
|---|---|
| SQLWARNING | |
| SQLERROR | |
| NOT_FOUND | |
Definition at line 261 of file esql_host_variable.h.
| char* pp_get_addr_expr | ( | HOST_REF * | ref | ) |
Definition at line 878 of file esql_host_variable.c.
References host_ref::addr_expr_buf, NULL, pp_addr_expr(), host_ref::var, vs_new(), vs_str(), and vs_strcpy().
Referenced by emit_get_db_value(), emit_put_db_value(), and get_quasi_string().

| char* pp_get_expr | ( | HOST_REF * | ref | ) |
Definition at line 852 of file esql_host_variable.c.
References host_ref::expr_buf, NULL, pp_expr(), host_ref::var, vs_new(), vs_str(), and vs_strcpy().
Referenced by emit_put_db_value(), get_quasi_string(), pp_check_host_var_list(), pp_get_input_size(), pp_get_output_size(), pp_get_precision(), pp_print_host_ref(), pp_switch_to_descriptor(), tr_object_describe(), and tr_object_fetch().

| char* pp_get_ind_addr_expr | ( | HOST_REF * | ref | ) |
Definition at line 925 of file esql_host_variable.c.
References host_ref::ind, host_ref::ind_addr_expr_buf, NULL, pp_addr_expr(), pp_internal_ind, vs_new(), vs_str(), and vs_strcpy().
Referenced by emit_get_db_value(), and emit_put_db_value().

| char* pp_get_ind_expr | ( | HOST_REF * | ref | ) |
Definition at line 901 of file esql_host_variable.c.
References host_ref::ind, host_ref::ind_expr_buf, NULL, pp_expr(), vs_new(), vs_str(), and vs_strcpy().
Referenced by pp_print_host_ref().

| char* pp_get_input_size | ( | HOST_REF * | ref | ) |
Definition at line 712 of file esql_host_variable.c.
References assert, C_TYPE_BASICSET, C_TYPE_BIT, C_TYPE_CHAR_ARRAY, C_TYPE_CHAR_POINTER, C_TYPE_COLLECTION, C_TYPE_DATE, C_TYPE_DB_VALUE, C_TYPE_DOUBLE, C_TYPE_FLOAT, C_TYPE_INTEGER, C_TYPE_LONG, C_TYPE_MONETARY, C_TYPE_MULTISET, C_TYPE_OBJECTID, C_TYPE_SEQUENCE, C_TYPE_SHORT, C_TYPE_STRING_CONST, C_TYPE_TIME, C_TYPE_TIMESTAMP, C_TYPE_VARBIT, C_TYPE_VARCHAR, esql_yyverror(), EX_HOSTVAR_SET, host_ref::input_size_buf, MSG_UNKNOWN_HV_TYPE, NULL, pp_get_expr(), pp_get_msg(), pp_type_str(), host_var::type, host_ref::uci_type, host_ref::var, VARCHAR_LENGTH_NAME, vs_new(), vs_sprintf(), vs_str(), and vs_strcpy().
Referenced by emit_get_db_value(), emit_put_db_value(), get_quasi_string(), pp_get_output_size(), and pp_print_host_ref().

| char* pp_get_output_size | ( | HOST_REF * | ref | ) |
Definition at line 811 of file esql_host_variable.c.
References assert, C_TYPE_BIT, C_TYPE_CHAR_POINTER, C_TYPE_VARBIT, C_TYPE_VARCHAR, NULL, host_ref::output_size_buf, pp_get_expr(), pp_get_input_size(), host_ref::uci_type, host_ref::var, VARCHAR_ARRAY_NAME, vs_new(), vs_sprintf(), and vs_str().
Referenced by emit_get_db_value().

| char* pp_get_precision | ( | HOST_REF * | ref | ) |
Definition at line 635 of file esql_host_variable.c.
References assert, C_TYPE_BASICSET, C_TYPE_BIT, C_TYPE_CHAR_ARRAY, C_TYPE_CHAR_POINTER, C_TYPE_COLLECTION, C_TYPE_DATE, C_TYPE_DB_VALUE, C_TYPE_DOUBLE, C_TYPE_FLOAT, C_TYPE_INTEGER, C_TYPE_LONG, C_TYPE_MONETARY, C_TYPE_MULTISET, C_TYPE_OBJECTID, C_TYPE_SEQUENCE, C_TYPE_SHORT, C_TYPE_STRING_CONST, C_TYPE_TIME, C_TYPE_TIMESTAMP, C_TYPE_VARBIT, C_TYPE_VARCHAR, esql_yyverror(), EX_HOSTVAR_SET, MSG_UNKNOWN_HV_TYPE, NULL, pp_get_expr(), pp_get_msg(), pp_type_str(), host_ref::precision_buf, host_var::type, host_ref::uci_type, host_ref::var, VARCHAR_ARRAY_NAME, VARCHAR_LENGTH_NAME, vs_new(), vs_sprintf(), vs_str(), and vs_strcpy().
Referenced by emit_put_db_value().

Definition at line 614 of file esql_host_variable.c.
References assert, NULL, pp_check(), host_ref::uci_type, UNINITIALIZED, and host_ref::var.
Referenced by emit_get_db_value(), emit_put_db_value(), get_quasi_string(), pp_check_host_var_list(), and pp_check_type().

| void pp_print_host_ref | ( | HOST_REF * | ref, |
| FILE * | fp | ||
| ) |
Definition at line 961 of file esql_host_variable.c.
References NULL, p, pp_get_expr(), pp_get_ind_expr(), pp_get_input_size(), and host_ref::var.
Referenced by pp_print_cursor().
