debase-ruby_core_source 0.10.6 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/debase/ruby_core_source.rb +2 -1
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/addr2line.h +21 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/build_assert/build_assert.h +40 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/check_type/check_type.h +63 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/container_of/container_of.h +142 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/list/list.h +788 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/str/str.h +16 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/constant.h +54 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/debug_counter.h +378 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/dln.h +51 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/encindex.h +69 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/eval_intern.h +314 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/gc.h +129 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/hrtime.h +168 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/id.h +292 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/id_table.h +34 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/insns.inc +249 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/insns_info.inc +9614 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/internal.h +2682 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/iseq.h +312 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/known_errors.inc +791 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/method.h +232 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/mjit.h +179 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/mjit_compile.inc +7883 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/node.h +483 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/node_name.inc +210 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/opt_sc.inc +109 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/optinsn.inc +128 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/optunifs.inc +43 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/parse.h +210 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/probes_helper.h +42 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/regenc.h +254 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/regint.h +938 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/regparse.h +370 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/revision.h +2 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ruby_assert.h +15 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ruby_atomic.h +244 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/siphash.h +48 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/symbol.h +119 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/thread_pthread.h +75 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/thread_win32.h +36 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/timev.h +56 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/transcode_data.h +139 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/transient_heap.h +62 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/version.h +77 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm.inc +5269 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_call_iseq_optimized.inc +237 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_core.h +1955 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_debug.h +34 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_exec.h +193 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_insnhelper.h +255 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_opts.h +70 -0
- data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vmtc.inc +243 -0
- data/lib/debase/ruby_core_source/version.rb +1 -1
- metadata +55 -3
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
/**********************************************************************
|
|
2
|
+
|
|
3
|
+
iseq.h -
|
|
4
|
+
|
|
5
|
+
$Author$
|
|
6
|
+
created at: 04/01/01 23:36:57 JST
|
|
7
|
+
|
|
8
|
+
Copyright (C) 2004-2008 Koichi Sasada
|
|
9
|
+
|
|
10
|
+
**********************************************************************/
|
|
11
|
+
|
|
12
|
+
#ifndef RUBY_ISEQ_H
|
|
13
|
+
#define RUBY_ISEQ_H 1
|
|
14
|
+
|
|
15
|
+
RUBY_EXTERN const int ruby_api_version[];
|
|
16
|
+
#define ISEQ_MAJOR_VERSION ((unsigned int)ruby_api_version[0])
|
|
17
|
+
#define ISEQ_MINOR_VERSION ((unsigned int)ruby_api_version[1])
|
|
18
|
+
|
|
19
|
+
#ifndef rb_iseq_t
|
|
20
|
+
typedef struct rb_iseq_struct rb_iseq_t;
|
|
21
|
+
#define rb_iseq_t rb_iseq_t
|
|
22
|
+
#endif
|
|
23
|
+
|
|
24
|
+
extern const ID rb_iseq_shared_exc_local_tbl[];
|
|
25
|
+
|
|
26
|
+
static inline size_t
|
|
27
|
+
rb_call_info_kw_arg_bytes(int keyword_len)
|
|
28
|
+
{
|
|
29
|
+
return rb_size_mul_add_or_raise(
|
|
30
|
+
keyword_len - 1, sizeof(VALUE), sizeof(struct rb_call_info_kw_arg),
|
|
31
|
+
rb_eRuntimeError);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#define ISEQ_COVERAGE(iseq) iseq->body->variable.coverage
|
|
35
|
+
#define ISEQ_COVERAGE_SET(iseq, cov) RB_OBJ_WRITE(iseq, &iseq->body->variable.coverage, cov)
|
|
36
|
+
#define ISEQ_LINE_COVERAGE(iseq) RARRAY_AREF(ISEQ_COVERAGE(iseq), COVERAGE_INDEX_LINES)
|
|
37
|
+
#define ISEQ_BRANCH_COVERAGE(iseq) RARRAY_AREF(ISEQ_COVERAGE(iseq), COVERAGE_INDEX_BRANCHES)
|
|
38
|
+
|
|
39
|
+
#define ISEQ_PC2BRANCHINDEX(iseq) iseq->body->variable.pc2branchindex
|
|
40
|
+
#define ISEQ_PC2BRANCHINDEX_SET(iseq, h) RB_OBJ_WRITE(iseq, &iseq->body->variable.pc2branchindex, h)
|
|
41
|
+
|
|
42
|
+
#define ISEQ_FLIP_CNT(iseq) (iseq)->body->variable.flip_count
|
|
43
|
+
|
|
44
|
+
static inline rb_snum_t
|
|
45
|
+
ISEQ_FLIP_CNT_INCREMENT(const rb_iseq_t *iseq)
|
|
46
|
+
{
|
|
47
|
+
rb_snum_t cnt = iseq->body->variable.flip_count;
|
|
48
|
+
iseq->body->variable.flip_count += 1;
|
|
49
|
+
return cnt;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static inline VALUE *
|
|
53
|
+
ISEQ_ORIGINAL_ISEQ(const rb_iseq_t *iseq)
|
|
54
|
+
{
|
|
55
|
+
return iseq->body->variable.original_iseq;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static inline void
|
|
59
|
+
ISEQ_ORIGINAL_ISEQ_CLEAR(const rb_iseq_t *iseq)
|
|
60
|
+
{
|
|
61
|
+
void *ptr = iseq->body->variable.original_iseq;
|
|
62
|
+
iseq->body->variable.original_iseq = NULL;
|
|
63
|
+
if (ptr) {
|
|
64
|
+
ruby_xfree(ptr);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static inline VALUE *
|
|
69
|
+
ISEQ_ORIGINAL_ISEQ_ALLOC(const rb_iseq_t *iseq, long size)
|
|
70
|
+
{
|
|
71
|
+
return iseq->body->variable.original_iseq =
|
|
72
|
+
ALLOC_N(VALUE, size);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
#define ISEQ_TRACE_EVENTS (RUBY_EVENT_LINE | \
|
|
76
|
+
RUBY_EVENT_CLASS | \
|
|
77
|
+
RUBY_EVENT_END | \
|
|
78
|
+
RUBY_EVENT_CALL | \
|
|
79
|
+
RUBY_EVENT_RETURN| \
|
|
80
|
+
RUBY_EVENT_B_CALL| \
|
|
81
|
+
RUBY_EVENT_B_RETURN| \
|
|
82
|
+
RUBY_EVENT_COVERAGE_LINE| \
|
|
83
|
+
RUBY_EVENT_COVERAGE_BRANCH)
|
|
84
|
+
|
|
85
|
+
#define ISEQ_NOT_LOADED_YET IMEMO_FL_USER1
|
|
86
|
+
#define ISEQ_USE_COMPILE_DATA IMEMO_FL_USER2
|
|
87
|
+
#define ISEQ_TRANSLATED IMEMO_FL_USER3
|
|
88
|
+
#define ISEQ_MARKABLE_ISEQ IMEMO_FL_USER4
|
|
89
|
+
|
|
90
|
+
#define ISEQ_EXECUTABLE_P(iseq) (FL_TEST_RAW((iseq), ISEQ_NOT_LOADED_YET | ISEQ_USE_COMPILE_DATA) == 0)
|
|
91
|
+
|
|
92
|
+
struct iseq_compile_data {
|
|
93
|
+
/* GC is needed */
|
|
94
|
+
const VALUE err_info;
|
|
95
|
+
const VALUE catch_table_ary; /* Array */
|
|
96
|
+
|
|
97
|
+
/* GC is not needed */
|
|
98
|
+
struct iseq_label_data *start_label;
|
|
99
|
+
struct iseq_label_data *end_label;
|
|
100
|
+
struct iseq_label_data *redo_label;
|
|
101
|
+
const rb_iseq_t *current_block;
|
|
102
|
+
struct iseq_compile_data_ensure_node_stack *ensure_node_stack;
|
|
103
|
+
struct {
|
|
104
|
+
struct iseq_compile_data_storage *storage_head;
|
|
105
|
+
struct iseq_compile_data_storage *storage_current;
|
|
106
|
+
} node;
|
|
107
|
+
struct {
|
|
108
|
+
struct iseq_compile_data_storage *storage_head;
|
|
109
|
+
struct iseq_compile_data_storage *storage_current;
|
|
110
|
+
} insn;
|
|
111
|
+
int loopval_popped; /* used by NODE_BREAK */
|
|
112
|
+
int last_line;
|
|
113
|
+
int label_no;
|
|
114
|
+
int node_level;
|
|
115
|
+
unsigned int ci_index;
|
|
116
|
+
unsigned int ci_kw_index;
|
|
117
|
+
const rb_compile_option_t *option;
|
|
118
|
+
struct rb_id_table *ivar_cache_table;
|
|
119
|
+
#if OPT_SUPPORT_JOKE
|
|
120
|
+
st_table *labels_table;
|
|
121
|
+
#endif
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
static inline struct iseq_compile_data *
|
|
125
|
+
ISEQ_COMPILE_DATA(const rb_iseq_t *iseq)
|
|
126
|
+
{
|
|
127
|
+
if (iseq->flags & ISEQ_USE_COMPILE_DATA) {
|
|
128
|
+
return iseq->aux.compile_data;
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
return NULL;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
static inline void
|
|
136
|
+
ISEQ_COMPILE_DATA_ALLOC(rb_iseq_t *iseq)
|
|
137
|
+
{
|
|
138
|
+
iseq->aux.compile_data = ZALLOC(struct iseq_compile_data);
|
|
139
|
+
iseq->flags |= ISEQ_USE_COMPILE_DATA;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
static inline void
|
|
143
|
+
ISEQ_COMPILE_DATA_CLEAR(rb_iseq_t *iseq)
|
|
144
|
+
{
|
|
145
|
+
iseq->flags &= ~ISEQ_USE_COMPILE_DATA;
|
|
146
|
+
iseq->aux.compile_data = NULL;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
static inline rb_iseq_t *
|
|
150
|
+
iseq_imemo_alloc(void)
|
|
151
|
+
{
|
|
152
|
+
return (rb_iseq_t *)rb_imemo_new(imemo_iseq, 0, 0, 0, 0);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
VALUE rb_iseq_ibf_dump(const rb_iseq_t *iseq, VALUE opt);
|
|
156
|
+
void rb_ibf_load_iseq_complete(rb_iseq_t *iseq);
|
|
157
|
+
const rb_iseq_t *rb_iseq_ibf_load(VALUE str);
|
|
158
|
+
VALUE rb_iseq_ibf_load_extra_data(VALUE str);
|
|
159
|
+
void rb_iseq_init_trace(rb_iseq_t *iseq);
|
|
160
|
+
int rb_iseq_add_local_tracepoint_recursively(const rb_iseq_t *iseq, rb_event_flag_t turnon_events, VALUE tpval, unsigned int target_line);
|
|
161
|
+
int rb_iseq_remove_local_tracepoint_recursively(const rb_iseq_t *iseq, VALUE tpval);
|
|
162
|
+
const rb_iseq_t *rb_iseq_load_iseq(VALUE fname);
|
|
163
|
+
|
|
164
|
+
#if VM_INSN_INFO_TABLE_IMPL == 2
|
|
165
|
+
unsigned int *rb_iseq_insns_info_decode_positions(const struct rb_iseq_constant_body *body);
|
|
166
|
+
#endif
|
|
167
|
+
|
|
168
|
+
RUBY_SYMBOL_EXPORT_BEGIN
|
|
169
|
+
|
|
170
|
+
/* compile.c */
|
|
171
|
+
VALUE rb_iseq_compile_node(rb_iseq_t *iseq, const NODE *node);
|
|
172
|
+
VALUE rb_iseq_compile_callback(rb_iseq_t *iseq, const struct rb_iseq_new_with_callback_callback_func * ifunc);
|
|
173
|
+
int rb_iseq_translate_threaded_code(rb_iseq_t *iseq);
|
|
174
|
+
VALUE *rb_iseq_original_iseq(const rb_iseq_t *iseq);
|
|
175
|
+
void rb_iseq_build_from_ary(rb_iseq_t *iseq, VALUE misc,
|
|
176
|
+
VALUE locals, VALUE args,
|
|
177
|
+
VALUE exception, VALUE body);
|
|
178
|
+
void rb_iseq_mark_insn_storage(struct iseq_compile_data_storage *arena);
|
|
179
|
+
|
|
180
|
+
/* iseq.c */
|
|
181
|
+
VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt);
|
|
182
|
+
VALUE rb_iseq_parameters(const rb_iseq_t *iseq, int is_proc);
|
|
183
|
+
struct st_table *ruby_insn_make_insn_table(void);
|
|
184
|
+
unsigned int rb_iseq_line_no(const rb_iseq_t *iseq, size_t pos);
|
|
185
|
+
void rb_iseq_trace_set(const rb_iseq_t *iseq, rb_event_flag_t turnon_events);
|
|
186
|
+
void rb_iseq_trace_set_all(rb_event_flag_t turnon_events);
|
|
187
|
+
void rb_iseq_trace_on_all(void);
|
|
188
|
+
void rb_iseq_insns_info_encode_positions(const rb_iseq_t *iseq);
|
|
189
|
+
|
|
190
|
+
VALUE rb_iseqw_new(const rb_iseq_t *iseq);
|
|
191
|
+
const rb_iseq_t *rb_iseqw_to_iseq(VALUE iseqw);
|
|
192
|
+
|
|
193
|
+
VALUE rb_iseq_absolute_path(const rb_iseq_t *iseq); /* obsolete */
|
|
194
|
+
VALUE rb_iseq_label(const rb_iseq_t *iseq);
|
|
195
|
+
VALUE rb_iseq_base_label(const rb_iseq_t *iseq);
|
|
196
|
+
VALUE rb_iseq_first_lineno(const rb_iseq_t *iseq);
|
|
197
|
+
VALUE rb_iseq_method_name(const rb_iseq_t *iseq);
|
|
198
|
+
void rb_iseq_code_location(const rb_iseq_t *iseq, int *first_lineno, int *first_column, int *last_lineno, int *last_column);
|
|
199
|
+
|
|
200
|
+
void rb_iseq_remove_coverage_all(void);
|
|
201
|
+
|
|
202
|
+
/* proc.c */
|
|
203
|
+
const rb_iseq_t *rb_method_iseq(VALUE body);
|
|
204
|
+
const rb_iseq_t *rb_proc_get_iseq(VALUE proc, int *is_proc);
|
|
205
|
+
|
|
206
|
+
struct rb_compile_option_struct {
|
|
207
|
+
unsigned int inline_const_cache: 1;
|
|
208
|
+
unsigned int peephole_optimization: 1;
|
|
209
|
+
unsigned int tailcall_optimization: 1;
|
|
210
|
+
unsigned int specialized_instruction: 1;
|
|
211
|
+
unsigned int operands_unification: 1;
|
|
212
|
+
unsigned int instructions_unification: 1;
|
|
213
|
+
unsigned int stack_caching: 1;
|
|
214
|
+
unsigned int frozen_string_literal: 1;
|
|
215
|
+
unsigned int debug_frozen_string_literal: 1;
|
|
216
|
+
unsigned int coverage_enabled: 1;
|
|
217
|
+
int debug_level;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
struct iseq_insn_info_entry {
|
|
221
|
+
int line_no;
|
|
222
|
+
rb_event_flag_t events;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
struct iseq_catch_table_entry {
|
|
226
|
+
enum catch_type {
|
|
227
|
+
CATCH_TYPE_RESCUE = INT2FIX(1),
|
|
228
|
+
CATCH_TYPE_ENSURE = INT2FIX(2),
|
|
229
|
+
CATCH_TYPE_RETRY = INT2FIX(3),
|
|
230
|
+
CATCH_TYPE_BREAK = INT2FIX(4),
|
|
231
|
+
CATCH_TYPE_REDO = INT2FIX(5),
|
|
232
|
+
CATCH_TYPE_NEXT = INT2FIX(6)
|
|
233
|
+
} type;
|
|
234
|
+
|
|
235
|
+
/*
|
|
236
|
+
* iseq type:
|
|
237
|
+
* CATCH_TYPE_RESCUE, CATCH_TYPE_ENSURE:
|
|
238
|
+
* use iseq as continuation.
|
|
239
|
+
*
|
|
240
|
+
* CATCH_TYPE_BREAK (iter):
|
|
241
|
+
* use iseq as key.
|
|
242
|
+
*
|
|
243
|
+
* CATCH_TYPE_BREAK (while), CATCH_TYPE_RETRY,
|
|
244
|
+
* CATCH_TYPE_REDO, CATCH_TYPE_NEXT:
|
|
245
|
+
* NULL.
|
|
246
|
+
*/
|
|
247
|
+
rb_iseq_t *iseq;
|
|
248
|
+
|
|
249
|
+
unsigned int start;
|
|
250
|
+
unsigned int end;
|
|
251
|
+
unsigned int cont;
|
|
252
|
+
unsigned int sp;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
PACKED_STRUCT_UNALIGNED(struct iseq_catch_table {
|
|
256
|
+
unsigned int size;
|
|
257
|
+
struct iseq_catch_table_entry entries[FLEX_ARY_LEN];
|
|
258
|
+
});
|
|
259
|
+
|
|
260
|
+
static inline int
|
|
261
|
+
iseq_catch_table_bytes(int n)
|
|
262
|
+
{
|
|
263
|
+
enum {
|
|
264
|
+
catch_table_entry_size = sizeof(struct iseq_catch_table_entry),
|
|
265
|
+
catch_table_entries_max = (INT_MAX - offsetof(struct iseq_catch_table, entries)) / catch_table_entry_size
|
|
266
|
+
};
|
|
267
|
+
if (n > catch_table_entries_max) rb_fatal("too large iseq_catch_table - %d", n);
|
|
268
|
+
return (int)(offsetof(struct iseq_catch_table, entries) +
|
|
269
|
+
n * catch_table_entry_size);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
#define INITIAL_ISEQ_COMPILE_DATA_STORAGE_BUFF_SIZE (512)
|
|
273
|
+
|
|
274
|
+
struct iseq_compile_data_storage {
|
|
275
|
+
struct iseq_compile_data_storage *next;
|
|
276
|
+
unsigned int pos;
|
|
277
|
+
unsigned int size;
|
|
278
|
+
char buff[FLEX_ARY_LEN];
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
/* defined? */
|
|
282
|
+
|
|
283
|
+
enum defined_type {
|
|
284
|
+
DEFINED_NOT_DEFINED,
|
|
285
|
+
DEFINED_NIL = 1,
|
|
286
|
+
DEFINED_IVAR,
|
|
287
|
+
DEFINED_LVAR,
|
|
288
|
+
DEFINED_GVAR,
|
|
289
|
+
DEFINED_CVAR,
|
|
290
|
+
DEFINED_CONST,
|
|
291
|
+
DEFINED_METHOD,
|
|
292
|
+
DEFINED_YIELD,
|
|
293
|
+
DEFINED_ZSUPER,
|
|
294
|
+
DEFINED_SELF,
|
|
295
|
+
DEFINED_TRUE,
|
|
296
|
+
DEFINED_FALSE,
|
|
297
|
+
DEFINED_ASGN,
|
|
298
|
+
DEFINED_EXPR,
|
|
299
|
+
DEFINED_IVAR2,
|
|
300
|
+
DEFINED_REF,
|
|
301
|
+
DEFINED_FUNC
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
VALUE rb_iseq_defined_string(enum defined_type type);
|
|
305
|
+
void rb_iseq_make_compile_option(struct rb_compile_option_struct *option, VALUE opt);
|
|
306
|
+
|
|
307
|
+
/* vm.c */
|
|
308
|
+
VALUE rb_iseq_local_variables(const rb_iseq_t *iseq);
|
|
309
|
+
|
|
310
|
+
RUBY_SYMBOL_EXPORT_END
|
|
311
|
+
|
|
312
|
+
#endif /* RUBY_ISEQ_H */
|
|
@@ -0,0 +1,791 @@
|
|
|
1
|
+
/** -*-c-*-
|
|
2
|
+
* DO NOT EDIT
|
|
3
|
+
* This file is automatically generated by tool/generic_erb.rb from
|
|
4
|
+
* template/known_errors.inc.tmpl and defs/known_errors.def.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
#ifdef E2BIG
|
|
8
|
+
defined_error("E2BIG", E2BIG)
|
|
9
|
+
#else
|
|
10
|
+
undefined_error("E2BIG")
|
|
11
|
+
#endif
|
|
12
|
+
#ifdef EACCES
|
|
13
|
+
defined_error("EACCES", EACCES)
|
|
14
|
+
#else
|
|
15
|
+
undefined_error("EACCES")
|
|
16
|
+
#endif
|
|
17
|
+
#ifdef EADDRINUSE
|
|
18
|
+
defined_error("EADDRINUSE", EADDRINUSE)
|
|
19
|
+
#else
|
|
20
|
+
undefined_error("EADDRINUSE")
|
|
21
|
+
#endif
|
|
22
|
+
#ifdef EADDRNOTAVAIL
|
|
23
|
+
defined_error("EADDRNOTAVAIL", EADDRNOTAVAIL)
|
|
24
|
+
#else
|
|
25
|
+
undefined_error("EADDRNOTAVAIL")
|
|
26
|
+
#endif
|
|
27
|
+
#ifdef EADV
|
|
28
|
+
defined_error("EADV", EADV)
|
|
29
|
+
#else
|
|
30
|
+
undefined_error("EADV")
|
|
31
|
+
#endif
|
|
32
|
+
#ifdef EAFNOSUPPORT
|
|
33
|
+
defined_error("EAFNOSUPPORT", EAFNOSUPPORT)
|
|
34
|
+
#else
|
|
35
|
+
undefined_error("EAFNOSUPPORT")
|
|
36
|
+
#endif
|
|
37
|
+
#ifdef EAGAIN
|
|
38
|
+
defined_error("EAGAIN", EAGAIN)
|
|
39
|
+
#else
|
|
40
|
+
undefined_error("EAGAIN")
|
|
41
|
+
#endif
|
|
42
|
+
#ifdef EALREADY
|
|
43
|
+
defined_error("EALREADY", EALREADY)
|
|
44
|
+
#else
|
|
45
|
+
undefined_error("EALREADY")
|
|
46
|
+
#endif
|
|
47
|
+
#ifdef EAUTH
|
|
48
|
+
defined_error("EAUTH", EAUTH)
|
|
49
|
+
#else
|
|
50
|
+
undefined_error("EAUTH")
|
|
51
|
+
#endif
|
|
52
|
+
#ifdef EBADARCH
|
|
53
|
+
defined_error("EBADARCH", EBADARCH)
|
|
54
|
+
#else
|
|
55
|
+
undefined_error("EBADARCH")
|
|
56
|
+
#endif
|
|
57
|
+
#ifdef EBADE
|
|
58
|
+
defined_error("EBADE", EBADE)
|
|
59
|
+
#else
|
|
60
|
+
undefined_error("EBADE")
|
|
61
|
+
#endif
|
|
62
|
+
#ifdef EBADEXEC
|
|
63
|
+
defined_error("EBADEXEC", EBADEXEC)
|
|
64
|
+
#else
|
|
65
|
+
undefined_error("EBADEXEC")
|
|
66
|
+
#endif
|
|
67
|
+
#ifdef EBADF
|
|
68
|
+
defined_error("EBADF", EBADF)
|
|
69
|
+
#else
|
|
70
|
+
undefined_error("EBADF")
|
|
71
|
+
#endif
|
|
72
|
+
#ifdef EBADFD
|
|
73
|
+
defined_error("EBADFD", EBADFD)
|
|
74
|
+
#else
|
|
75
|
+
undefined_error("EBADFD")
|
|
76
|
+
#endif
|
|
77
|
+
#ifdef EBADMACHO
|
|
78
|
+
defined_error("EBADMACHO", EBADMACHO)
|
|
79
|
+
#else
|
|
80
|
+
undefined_error("EBADMACHO")
|
|
81
|
+
#endif
|
|
82
|
+
#ifdef EBADMSG
|
|
83
|
+
defined_error("EBADMSG", EBADMSG)
|
|
84
|
+
#else
|
|
85
|
+
undefined_error("EBADMSG")
|
|
86
|
+
#endif
|
|
87
|
+
#ifdef EBADR
|
|
88
|
+
defined_error("EBADR", EBADR)
|
|
89
|
+
#else
|
|
90
|
+
undefined_error("EBADR")
|
|
91
|
+
#endif
|
|
92
|
+
#ifdef EBADRPC
|
|
93
|
+
defined_error("EBADRPC", EBADRPC)
|
|
94
|
+
#else
|
|
95
|
+
undefined_error("EBADRPC")
|
|
96
|
+
#endif
|
|
97
|
+
#ifdef EBADRQC
|
|
98
|
+
defined_error("EBADRQC", EBADRQC)
|
|
99
|
+
#else
|
|
100
|
+
undefined_error("EBADRQC")
|
|
101
|
+
#endif
|
|
102
|
+
#ifdef EBADSLT
|
|
103
|
+
defined_error("EBADSLT", EBADSLT)
|
|
104
|
+
#else
|
|
105
|
+
undefined_error("EBADSLT")
|
|
106
|
+
#endif
|
|
107
|
+
#ifdef EBFONT
|
|
108
|
+
defined_error("EBFONT", EBFONT)
|
|
109
|
+
#else
|
|
110
|
+
undefined_error("EBFONT")
|
|
111
|
+
#endif
|
|
112
|
+
#ifdef EBUSY
|
|
113
|
+
defined_error("EBUSY", EBUSY)
|
|
114
|
+
#else
|
|
115
|
+
undefined_error("EBUSY")
|
|
116
|
+
#endif
|
|
117
|
+
#ifdef ECANCELED
|
|
118
|
+
defined_error("ECANCELED", ECANCELED)
|
|
119
|
+
#else
|
|
120
|
+
undefined_error("ECANCELED")
|
|
121
|
+
#endif
|
|
122
|
+
#ifdef ECAPMODE
|
|
123
|
+
defined_error("ECAPMODE", ECAPMODE)
|
|
124
|
+
#else
|
|
125
|
+
undefined_error("ECAPMODE")
|
|
126
|
+
#endif
|
|
127
|
+
#ifdef ECHILD
|
|
128
|
+
defined_error("ECHILD", ECHILD)
|
|
129
|
+
#else
|
|
130
|
+
undefined_error("ECHILD")
|
|
131
|
+
#endif
|
|
132
|
+
#ifdef ECHRNG
|
|
133
|
+
defined_error("ECHRNG", ECHRNG)
|
|
134
|
+
#else
|
|
135
|
+
undefined_error("ECHRNG")
|
|
136
|
+
#endif
|
|
137
|
+
#ifdef ECOMM
|
|
138
|
+
defined_error("ECOMM", ECOMM)
|
|
139
|
+
#else
|
|
140
|
+
undefined_error("ECOMM")
|
|
141
|
+
#endif
|
|
142
|
+
#ifdef ECONNABORTED
|
|
143
|
+
defined_error("ECONNABORTED", ECONNABORTED)
|
|
144
|
+
#else
|
|
145
|
+
undefined_error("ECONNABORTED")
|
|
146
|
+
#endif
|
|
147
|
+
#ifdef ECONNREFUSED
|
|
148
|
+
defined_error("ECONNREFUSED", ECONNREFUSED)
|
|
149
|
+
#else
|
|
150
|
+
undefined_error("ECONNREFUSED")
|
|
151
|
+
#endif
|
|
152
|
+
#ifdef ECONNRESET
|
|
153
|
+
defined_error("ECONNRESET", ECONNRESET)
|
|
154
|
+
#else
|
|
155
|
+
undefined_error("ECONNRESET")
|
|
156
|
+
#endif
|
|
157
|
+
#ifdef EDEADLK
|
|
158
|
+
defined_error("EDEADLK", EDEADLK)
|
|
159
|
+
#else
|
|
160
|
+
undefined_error("EDEADLK")
|
|
161
|
+
#endif
|
|
162
|
+
#ifdef EDEADLOCK
|
|
163
|
+
defined_error("EDEADLOCK", EDEADLOCK)
|
|
164
|
+
#else
|
|
165
|
+
undefined_error("EDEADLOCK")
|
|
166
|
+
#endif
|
|
167
|
+
#ifdef EDESTADDRREQ
|
|
168
|
+
defined_error("EDESTADDRREQ", EDESTADDRREQ)
|
|
169
|
+
#else
|
|
170
|
+
undefined_error("EDESTADDRREQ")
|
|
171
|
+
#endif
|
|
172
|
+
#ifdef EDEVERR
|
|
173
|
+
defined_error("EDEVERR", EDEVERR)
|
|
174
|
+
#else
|
|
175
|
+
undefined_error("EDEVERR")
|
|
176
|
+
#endif
|
|
177
|
+
#ifdef EDOM
|
|
178
|
+
defined_error("EDOM", EDOM)
|
|
179
|
+
#else
|
|
180
|
+
undefined_error("EDOM")
|
|
181
|
+
#endif
|
|
182
|
+
#ifdef EDOOFUS
|
|
183
|
+
defined_error("EDOOFUS", EDOOFUS)
|
|
184
|
+
#else
|
|
185
|
+
undefined_error("EDOOFUS")
|
|
186
|
+
#endif
|
|
187
|
+
#ifdef EDOTDOT
|
|
188
|
+
defined_error("EDOTDOT", EDOTDOT)
|
|
189
|
+
#else
|
|
190
|
+
undefined_error("EDOTDOT")
|
|
191
|
+
#endif
|
|
192
|
+
#ifdef EDQUOT
|
|
193
|
+
defined_error("EDQUOT", EDQUOT)
|
|
194
|
+
#else
|
|
195
|
+
undefined_error("EDQUOT")
|
|
196
|
+
#endif
|
|
197
|
+
#ifdef EEXIST
|
|
198
|
+
defined_error("EEXIST", EEXIST)
|
|
199
|
+
#else
|
|
200
|
+
undefined_error("EEXIST")
|
|
201
|
+
#endif
|
|
202
|
+
#ifdef EFAULT
|
|
203
|
+
defined_error("EFAULT", EFAULT)
|
|
204
|
+
#else
|
|
205
|
+
undefined_error("EFAULT")
|
|
206
|
+
#endif
|
|
207
|
+
#ifdef EFBIG
|
|
208
|
+
defined_error("EFBIG", EFBIG)
|
|
209
|
+
#else
|
|
210
|
+
undefined_error("EFBIG")
|
|
211
|
+
#endif
|
|
212
|
+
#ifdef EFTYPE
|
|
213
|
+
defined_error("EFTYPE", EFTYPE)
|
|
214
|
+
#else
|
|
215
|
+
undefined_error("EFTYPE")
|
|
216
|
+
#endif
|
|
217
|
+
#ifdef EHOSTDOWN
|
|
218
|
+
defined_error("EHOSTDOWN", EHOSTDOWN)
|
|
219
|
+
#else
|
|
220
|
+
undefined_error("EHOSTDOWN")
|
|
221
|
+
#endif
|
|
222
|
+
#ifdef EHOSTUNREACH
|
|
223
|
+
defined_error("EHOSTUNREACH", EHOSTUNREACH)
|
|
224
|
+
#else
|
|
225
|
+
undefined_error("EHOSTUNREACH")
|
|
226
|
+
#endif
|
|
227
|
+
#ifdef EHWPOISON
|
|
228
|
+
defined_error("EHWPOISON", EHWPOISON)
|
|
229
|
+
#else
|
|
230
|
+
undefined_error("EHWPOISON")
|
|
231
|
+
#endif
|
|
232
|
+
#ifdef EIDRM
|
|
233
|
+
defined_error("EIDRM", EIDRM)
|
|
234
|
+
#else
|
|
235
|
+
undefined_error("EIDRM")
|
|
236
|
+
#endif
|
|
237
|
+
#ifdef EILSEQ
|
|
238
|
+
defined_error("EILSEQ", EILSEQ)
|
|
239
|
+
#else
|
|
240
|
+
undefined_error("EILSEQ")
|
|
241
|
+
#endif
|
|
242
|
+
#ifdef EINPROGRESS
|
|
243
|
+
defined_error("EINPROGRESS", EINPROGRESS)
|
|
244
|
+
#else
|
|
245
|
+
undefined_error("EINPROGRESS")
|
|
246
|
+
#endif
|
|
247
|
+
#ifdef EINTR
|
|
248
|
+
defined_error("EINTR", EINTR)
|
|
249
|
+
#else
|
|
250
|
+
undefined_error("EINTR")
|
|
251
|
+
#endif
|
|
252
|
+
#ifdef EINVAL
|
|
253
|
+
defined_error("EINVAL", EINVAL)
|
|
254
|
+
#else
|
|
255
|
+
undefined_error("EINVAL")
|
|
256
|
+
#endif
|
|
257
|
+
#ifdef EIO
|
|
258
|
+
defined_error("EIO", EIO)
|
|
259
|
+
#else
|
|
260
|
+
undefined_error("EIO")
|
|
261
|
+
#endif
|
|
262
|
+
#ifdef EIPSEC
|
|
263
|
+
defined_error("EIPSEC", EIPSEC)
|
|
264
|
+
#else
|
|
265
|
+
undefined_error("EIPSEC")
|
|
266
|
+
#endif
|
|
267
|
+
#ifdef EISCONN
|
|
268
|
+
defined_error("EISCONN", EISCONN)
|
|
269
|
+
#else
|
|
270
|
+
undefined_error("EISCONN")
|
|
271
|
+
#endif
|
|
272
|
+
#ifdef EISDIR
|
|
273
|
+
defined_error("EISDIR", EISDIR)
|
|
274
|
+
#else
|
|
275
|
+
undefined_error("EISDIR")
|
|
276
|
+
#endif
|
|
277
|
+
#ifdef EISNAM
|
|
278
|
+
defined_error("EISNAM", EISNAM)
|
|
279
|
+
#else
|
|
280
|
+
undefined_error("EISNAM")
|
|
281
|
+
#endif
|
|
282
|
+
#ifdef EKEYEXPIRED
|
|
283
|
+
defined_error("EKEYEXPIRED", EKEYEXPIRED)
|
|
284
|
+
#else
|
|
285
|
+
undefined_error("EKEYEXPIRED")
|
|
286
|
+
#endif
|
|
287
|
+
#ifdef EKEYREJECTED
|
|
288
|
+
defined_error("EKEYREJECTED", EKEYREJECTED)
|
|
289
|
+
#else
|
|
290
|
+
undefined_error("EKEYREJECTED")
|
|
291
|
+
#endif
|
|
292
|
+
#ifdef EKEYREVOKED
|
|
293
|
+
defined_error("EKEYREVOKED", EKEYREVOKED)
|
|
294
|
+
#else
|
|
295
|
+
undefined_error("EKEYREVOKED")
|
|
296
|
+
#endif
|
|
297
|
+
#ifdef EL2HLT
|
|
298
|
+
defined_error("EL2HLT", EL2HLT)
|
|
299
|
+
#else
|
|
300
|
+
undefined_error("EL2HLT")
|
|
301
|
+
#endif
|
|
302
|
+
#ifdef EL2NSYNC
|
|
303
|
+
defined_error("EL2NSYNC", EL2NSYNC)
|
|
304
|
+
#else
|
|
305
|
+
undefined_error("EL2NSYNC")
|
|
306
|
+
#endif
|
|
307
|
+
#ifdef EL3HLT
|
|
308
|
+
defined_error("EL3HLT", EL3HLT)
|
|
309
|
+
#else
|
|
310
|
+
undefined_error("EL3HLT")
|
|
311
|
+
#endif
|
|
312
|
+
#ifdef EL3RST
|
|
313
|
+
defined_error("EL3RST", EL3RST)
|
|
314
|
+
#else
|
|
315
|
+
undefined_error("EL3RST")
|
|
316
|
+
#endif
|
|
317
|
+
#ifdef ELAST
|
|
318
|
+
defined_error("ELAST", ELAST)
|
|
319
|
+
#else
|
|
320
|
+
undefined_error("ELAST")
|
|
321
|
+
#endif
|
|
322
|
+
#ifdef ELIBACC
|
|
323
|
+
defined_error("ELIBACC", ELIBACC)
|
|
324
|
+
#else
|
|
325
|
+
undefined_error("ELIBACC")
|
|
326
|
+
#endif
|
|
327
|
+
#ifdef ELIBBAD
|
|
328
|
+
defined_error("ELIBBAD", ELIBBAD)
|
|
329
|
+
#else
|
|
330
|
+
undefined_error("ELIBBAD")
|
|
331
|
+
#endif
|
|
332
|
+
#ifdef ELIBEXEC
|
|
333
|
+
defined_error("ELIBEXEC", ELIBEXEC)
|
|
334
|
+
#else
|
|
335
|
+
undefined_error("ELIBEXEC")
|
|
336
|
+
#endif
|
|
337
|
+
#ifdef ELIBMAX
|
|
338
|
+
defined_error("ELIBMAX", ELIBMAX)
|
|
339
|
+
#else
|
|
340
|
+
undefined_error("ELIBMAX")
|
|
341
|
+
#endif
|
|
342
|
+
#ifdef ELIBSCN
|
|
343
|
+
defined_error("ELIBSCN", ELIBSCN)
|
|
344
|
+
#else
|
|
345
|
+
undefined_error("ELIBSCN")
|
|
346
|
+
#endif
|
|
347
|
+
#ifdef ELNRNG
|
|
348
|
+
defined_error("ELNRNG", ELNRNG)
|
|
349
|
+
#else
|
|
350
|
+
undefined_error("ELNRNG")
|
|
351
|
+
#endif
|
|
352
|
+
#ifdef ELOOP
|
|
353
|
+
defined_error("ELOOP", ELOOP)
|
|
354
|
+
#else
|
|
355
|
+
undefined_error("ELOOP")
|
|
356
|
+
#endif
|
|
357
|
+
#ifdef EMEDIUMTYPE
|
|
358
|
+
defined_error("EMEDIUMTYPE", EMEDIUMTYPE)
|
|
359
|
+
#else
|
|
360
|
+
undefined_error("EMEDIUMTYPE")
|
|
361
|
+
#endif
|
|
362
|
+
#ifdef EMFILE
|
|
363
|
+
defined_error("EMFILE", EMFILE)
|
|
364
|
+
#else
|
|
365
|
+
undefined_error("EMFILE")
|
|
366
|
+
#endif
|
|
367
|
+
#ifdef EMLINK
|
|
368
|
+
defined_error("EMLINK", EMLINK)
|
|
369
|
+
#else
|
|
370
|
+
undefined_error("EMLINK")
|
|
371
|
+
#endif
|
|
372
|
+
#ifdef EMSGSIZE
|
|
373
|
+
defined_error("EMSGSIZE", EMSGSIZE)
|
|
374
|
+
#else
|
|
375
|
+
undefined_error("EMSGSIZE")
|
|
376
|
+
#endif
|
|
377
|
+
#ifdef EMULTIHOP
|
|
378
|
+
defined_error("EMULTIHOP", EMULTIHOP)
|
|
379
|
+
#else
|
|
380
|
+
undefined_error("EMULTIHOP")
|
|
381
|
+
#endif
|
|
382
|
+
#ifdef ENAMETOOLONG
|
|
383
|
+
defined_error("ENAMETOOLONG", ENAMETOOLONG)
|
|
384
|
+
#else
|
|
385
|
+
undefined_error("ENAMETOOLONG")
|
|
386
|
+
#endif
|
|
387
|
+
#ifdef ENAVAIL
|
|
388
|
+
defined_error("ENAVAIL", ENAVAIL)
|
|
389
|
+
#else
|
|
390
|
+
undefined_error("ENAVAIL")
|
|
391
|
+
#endif
|
|
392
|
+
#ifdef ENEEDAUTH
|
|
393
|
+
defined_error("ENEEDAUTH", ENEEDAUTH)
|
|
394
|
+
#else
|
|
395
|
+
undefined_error("ENEEDAUTH")
|
|
396
|
+
#endif
|
|
397
|
+
#ifdef ENETDOWN
|
|
398
|
+
defined_error("ENETDOWN", ENETDOWN)
|
|
399
|
+
#else
|
|
400
|
+
undefined_error("ENETDOWN")
|
|
401
|
+
#endif
|
|
402
|
+
#ifdef ENETRESET
|
|
403
|
+
defined_error("ENETRESET", ENETRESET)
|
|
404
|
+
#else
|
|
405
|
+
undefined_error("ENETRESET")
|
|
406
|
+
#endif
|
|
407
|
+
#ifdef ENETUNREACH
|
|
408
|
+
defined_error("ENETUNREACH", ENETUNREACH)
|
|
409
|
+
#else
|
|
410
|
+
undefined_error("ENETUNREACH")
|
|
411
|
+
#endif
|
|
412
|
+
#ifdef ENFILE
|
|
413
|
+
defined_error("ENFILE", ENFILE)
|
|
414
|
+
#else
|
|
415
|
+
undefined_error("ENFILE")
|
|
416
|
+
#endif
|
|
417
|
+
#ifdef ENOANO
|
|
418
|
+
defined_error("ENOANO", ENOANO)
|
|
419
|
+
#else
|
|
420
|
+
undefined_error("ENOANO")
|
|
421
|
+
#endif
|
|
422
|
+
#ifdef ENOATTR
|
|
423
|
+
defined_error("ENOATTR", ENOATTR)
|
|
424
|
+
#else
|
|
425
|
+
undefined_error("ENOATTR")
|
|
426
|
+
#endif
|
|
427
|
+
#ifdef ENOBUFS
|
|
428
|
+
defined_error("ENOBUFS", ENOBUFS)
|
|
429
|
+
#else
|
|
430
|
+
undefined_error("ENOBUFS")
|
|
431
|
+
#endif
|
|
432
|
+
#ifdef ENOCSI
|
|
433
|
+
defined_error("ENOCSI", ENOCSI)
|
|
434
|
+
#else
|
|
435
|
+
undefined_error("ENOCSI")
|
|
436
|
+
#endif
|
|
437
|
+
#ifdef ENODATA
|
|
438
|
+
defined_error("ENODATA", ENODATA)
|
|
439
|
+
#else
|
|
440
|
+
undefined_error("ENODATA")
|
|
441
|
+
#endif
|
|
442
|
+
#ifdef ENODEV
|
|
443
|
+
defined_error("ENODEV", ENODEV)
|
|
444
|
+
#else
|
|
445
|
+
undefined_error("ENODEV")
|
|
446
|
+
#endif
|
|
447
|
+
#ifdef ENOENT
|
|
448
|
+
defined_error("ENOENT", ENOENT)
|
|
449
|
+
#else
|
|
450
|
+
undefined_error("ENOENT")
|
|
451
|
+
#endif
|
|
452
|
+
#ifdef ENOEXEC
|
|
453
|
+
defined_error("ENOEXEC", ENOEXEC)
|
|
454
|
+
#else
|
|
455
|
+
undefined_error("ENOEXEC")
|
|
456
|
+
#endif
|
|
457
|
+
#ifdef ENOKEY
|
|
458
|
+
defined_error("ENOKEY", ENOKEY)
|
|
459
|
+
#else
|
|
460
|
+
undefined_error("ENOKEY")
|
|
461
|
+
#endif
|
|
462
|
+
#ifdef ENOLCK
|
|
463
|
+
defined_error("ENOLCK", ENOLCK)
|
|
464
|
+
#else
|
|
465
|
+
undefined_error("ENOLCK")
|
|
466
|
+
#endif
|
|
467
|
+
#ifdef ENOLINK
|
|
468
|
+
defined_error("ENOLINK", ENOLINK)
|
|
469
|
+
#else
|
|
470
|
+
undefined_error("ENOLINK")
|
|
471
|
+
#endif
|
|
472
|
+
#ifdef ENOMEDIUM
|
|
473
|
+
defined_error("ENOMEDIUM", ENOMEDIUM)
|
|
474
|
+
#else
|
|
475
|
+
undefined_error("ENOMEDIUM")
|
|
476
|
+
#endif
|
|
477
|
+
#ifdef ENOMEM
|
|
478
|
+
defined_error("ENOMEM", ENOMEM)
|
|
479
|
+
#else
|
|
480
|
+
undefined_error("ENOMEM")
|
|
481
|
+
#endif
|
|
482
|
+
#ifdef ENOMSG
|
|
483
|
+
defined_error("ENOMSG", ENOMSG)
|
|
484
|
+
#else
|
|
485
|
+
undefined_error("ENOMSG")
|
|
486
|
+
#endif
|
|
487
|
+
#ifdef ENONET
|
|
488
|
+
defined_error("ENONET", ENONET)
|
|
489
|
+
#else
|
|
490
|
+
undefined_error("ENONET")
|
|
491
|
+
#endif
|
|
492
|
+
#ifdef ENOPKG
|
|
493
|
+
defined_error("ENOPKG", ENOPKG)
|
|
494
|
+
#else
|
|
495
|
+
undefined_error("ENOPKG")
|
|
496
|
+
#endif
|
|
497
|
+
#ifdef ENOPOLICY
|
|
498
|
+
defined_error("ENOPOLICY", ENOPOLICY)
|
|
499
|
+
#else
|
|
500
|
+
undefined_error("ENOPOLICY")
|
|
501
|
+
#endif
|
|
502
|
+
#ifdef ENOPROTOOPT
|
|
503
|
+
defined_error("ENOPROTOOPT", ENOPROTOOPT)
|
|
504
|
+
#else
|
|
505
|
+
undefined_error("ENOPROTOOPT")
|
|
506
|
+
#endif
|
|
507
|
+
#ifdef ENOSPC
|
|
508
|
+
defined_error("ENOSPC", ENOSPC)
|
|
509
|
+
#else
|
|
510
|
+
undefined_error("ENOSPC")
|
|
511
|
+
#endif
|
|
512
|
+
#ifdef ENOSR
|
|
513
|
+
defined_error("ENOSR", ENOSR)
|
|
514
|
+
#else
|
|
515
|
+
undefined_error("ENOSR")
|
|
516
|
+
#endif
|
|
517
|
+
#ifdef ENOSTR
|
|
518
|
+
defined_error("ENOSTR", ENOSTR)
|
|
519
|
+
#else
|
|
520
|
+
undefined_error("ENOSTR")
|
|
521
|
+
#endif
|
|
522
|
+
#ifdef ENOSYS
|
|
523
|
+
defined_error("ENOSYS", ENOSYS)
|
|
524
|
+
#else
|
|
525
|
+
undefined_error("ENOSYS")
|
|
526
|
+
#endif
|
|
527
|
+
#ifdef ENOTBLK
|
|
528
|
+
defined_error("ENOTBLK", ENOTBLK)
|
|
529
|
+
#else
|
|
530
|
+
undefined_error("ENOTBLK")
|
|
531
|
+
#endif
|
|
532
|
+
#ifdef ENOTCAPABLE
|
|
533
|
+
defined_error("ENOTCAPABLE", ENOTCAPABLE)
|
|
534
|
+
#else
|
|
535
|
+
undefined_error("ENOTCAPABLE")
|
|
536
|
+
#endif
|
|
537
|
+
#ifdef ENOTCONN
|
|
538
|
+
defined_error("ENOTCONN", ENOTCONN)
|
|
539
|
+
#else
|
|
540
|
+
undefined_error("ENOTCONN")
|
|
541
|
+
#endif
|
|
542
|
+
#ifdef ENOTDIR
|
|
543
|
+
defined_error("ENOTDIR", ENOTDIR)
|
|
544
|
+
#else
|
|
545
|
+
undefined_error("ENOTDIR")
|
|
546
|
+
#endif
|
|
547
|
+
#ifdef ENOTEMPTY
|
|
548
|
+
defined_error("ENOTEMPTY", ENOTEMPTY)
|
|
549
|
+
#else
|
|
550
|
+
undefined_error("ENOTEMPTY")
|
|
551
|
+
#endif
|
|
552
|
+
#ifdef ENOTNAM
|
|
553
|
+
defined_error("ENOTNAM", ENOTNAM)
|
|
554
|
+
#else
|
|
555
|
+
undefined_error("ENOTNAM")
|
|
556
|
+
#endif
|
|
557
|
+
#ifdef ENOTRECOVERABLE
|
|
558
|
+
defined_error("ENOTRECOVERABLE", ENOTRECOVERABLE)
|
|
559
|
+
#else
|
|
560
|
+
undefined_error("ENOTRECOVERABLE")
|
|
561
|
+
#endif
|
|
562
|
+
#ifdef ENOTSOCK
|
|
563
|
+
defined_error("ENOTSOCK", ENOTSOCK)
|
|
564
|
+
#else
|
|
565
|
+
undefined_error("ENOTSOCK")
|
|
566
|
+
#endif
|
|
567
|
+
#ifdef ENOTSUP
|
|
568
|
+
defined_error("ENOTSUP", ENOTSUP)
|
|
569
|
+
#else
|
|
570
|
+
undefined_error("ENOTSUP")
|
|
571
|
+
#endif
|
|
572
|
+
#ifdef ENOTTY
|
|
573
|
+
defined_error("ENOTTY", ENOTTY)
|
|
574
|
+
#else
|
|
575
|
+
undefined_error("ENOTTY")
|
|
576
|
+
#endif
|
|
577
|
+
#ifdef ENOTUNIQ
|
|
578
|
+
defined_error("ENOTUNIQ", ENOTUNIQ)
|
|
579
|
+
#else
|
|
580
|
+
undefined_error("ENOTUNIQ")
|
|
581
|
+
#endif
|
|
582
|
+
#ifdef ENXIO
|
|
583
|
+
defined_error("ENXIO", ENXIO)
|
|
584
|
+
#else
|
|
585
|
+
undefined_error("ENXIO")
|
|
586
|
+
#endif
|
|
587
|
+
#ifdef EOPNOTSUPP
|
|
588
|
+
defined_error("EOPNOTSUPP", EOPNOTSUPP)
|
|
589
|
+
#else
|
|
590
|
+
undefined_error("EOPNOTSUPP")
|
|
591
|
+
#endif
|
|
592
|
+
#ifdef EOVERFLOW
|
|
593
|
+
defined_error("EOVERFLOW", EOVERFLOW)
|
|
594
|
+
#else
|
|
595
|
+
undefined_error("EOVERFLOW")
|
|
596
|
+
#endif
|
|
597
|
+
#ifdef EOWNERDEAD
|
|
598
|
+
defined_error("EOWNERDEAD", EOWNERDEAD)
|
|
599
|
+
#else
|
|
600
|
+
undefined_error("EOWNERDEAD")
|
|
601
|
+
#endif
|
|
602
|
+
#ifdef EPERM
|
|
603
|
+
defined_error("EPERM", EPERM)
|
|
604
|
+
#else
|
|
605
|
+
undefined_error("EPERM")
|
|
606
|
+
#endif
|
|
607
|
+
#ifdef EPFNOSUPPORT
|
|
608
|
+
defined_error("EPFNOSUPPORT", EPFNOSUPPORT)
|
|
609
|
+
#else
|
|
610
|
+
undefined_error("EPFNOSUPPORT")
|
|
611
|
+
#endif
|
|
612
|
+
#ifdef EPIPE
|
|
613
|
+
defined_error("EPIPE", EPIPE)
|
|
614
|
+
#else
|
|
615
|
+
undefined_error("EPIPE")
|
|
616
|
+
#endif
|
|
617
|
+
#ifdef EPROCLIM
|
|
618
|
+
defined_error("EPROCLIM", EPROCLIM)
|
|
619
|
+
#else
|
|
620
|
+
undefined_error("EPROCLIM")
|
|
621
|
+
#endif
|
|
622
|
+
#ifdef EPROCUNAVAIL
|
|
623
|
+
defined_error("EPROCUNAVAIL", EPROCUNAVAIL)
|
|
624
|
+
#else
|
|
625
|
+
undefined_error("EPROCUNAVAIL")
|
|
626
|
+
#endif
|
|
627
|
+
#ifdef EPROGMISMATCH
|
|
628
|
+
defined_error("EPROGMISMATCH", EPROGMISMATCH)
|
|
629
|
+
#else
|
|
630
|
+
undefined_error("EPROGMISMATCH")
|
|
631
|
+
#endif
|
|
632
|
+
#ifdef EPROGUNAVAIL
|
|
633
|
+
defined_error("EPROGUNAVAIL", EPROGUNAVAIL)
|
|
634
|
+
#else
|
|
635
|
+
undefined_error("EPROGUNAVAIL")
|
|
636
|
+
#endif
|
|
637
|
+
#ifdef EPROTO
|
|
638
|
+
defined_error("EPROTO", EPROTO)
|
|
639
|
+
#else
|
|
640
|
+
undefined_error("EPROTO")
|
|
641
|
+
#endif
|
|
642
|
+
#ifdef EPROTONOSUPPORT
|
|
643
|
+
defined_error("EPROTONOSUPPORT", EPROTONOSUPPORT)
|
|
644
|
+
#else
|
|
645
|
+
undefined_error("EPROTONOSUPPORT")
|
|
646
|
+
#endif
|
|
647
|
+
#ifdef EPROTOTYPE
|
|
648
|
+
defined_error("EPROTOTYPE", EPROTOTYPE)
|
|
649
|
+
#else
|
|
650
|
+
undefined_error("EPROTOTYPE")
|
|
651
|
+
#endif
|
|
652
|
+
#ifdef EPWROFF
|
|
653
|
+
defined_error("EPWROFF", EPWROFF)
|
|
654
|
+
#else
|
|
655
|
+
undefined_error("EPWROFF")
|
|
656
|
+
#endif
|
|
657
|
+
#ifdef EQFULL
|
|
658
|
+
defined_error("EQFULL", EQFULL)
|
|
659
|
+
#else
|
|
660
|
+
undefined_error("EQFULL")
|
|
661
|
+
#endif
|
|
662
|
+
#ifdef ERANGE
|
|
663
|
+
defined_error("ERANGE", ERANGE)
|
|
664
|
+
#else
|
|
665
|
+
undefined_error("ERANGE")
|
|
666
|
+
#endif
|
|
667
|
+
#ifdef EREMCHG
|
|
668
|
+
defined_error("EREMCHG", EREMCHG)
|
|
669
|
+
#else
|
|
670
|
+
undefined_error("EREMCHG")
|
|
671
|
+
#endif
|
|
672
|
+
#ifdef EREMOTE
|
|
673
|
+
defined_error("EREMOTE", EREMOTE)
|
|
674
|
+
#else
|
|
675
|
+
undefined_error("EREMOTE")
|
|
676
|
+
#endif
|
|
677
|
+
#ifdef EREMOTEIO
|
|
678
|
+
defined_error("EREMOTEIO", EREMOTEIO)
|
|
679
|
+
#else
|
|
680
|
+
undefined_error("EREMOTEIO")
|
|
681
|
+
#endif
|
|
682
|
+
#ifdef ERESTART
|
|
683
|
+
defined_error("ERESTART", ERESTART)
|
|
684
|
+
#else
|
|
685
|
+
undefined_error("ERESTART")
|
|
686
|
+
#endif
|
|
687
|
+
#ifdef ERFKILL
|
|
688
|
+
defined_error("ERFKILL", ERFKILL)
|
|
689
|
+
#else
|
|
690
|
+
undefined_error("ERFKILL")
|
|
691
|
+
#endif
|
|
692
|
+
#ifdef EROFS
|
|
693
|
+
defined_error("EROFS", EROFS)
|
|
694
|
+
#else
|
|
695
|
+
undefined_error("EROFS")
|
|
696
|
+
#endif
|
|
697
|
+
#ifdef ERPCMISMATCH
|
|
698
|
+
defined_error("ERPCMISMATCH", ERPCMISMATCH)
|
|
699
|
+
#else
|
|
700
|
+
undefined_error("ERPCMISMATCH")
|
|
701
|
+
#endif
|
|
702
|
+
#ifdef ESHLIBVERS
|
|
703
|
+
defined_error("ESHLIBVERS", ESHLIBVERS)
|
|
704
|
+
#else
|
|
705
|
+
undefined_error("ESHLIBVERS")
|
|
706
|
+
#endif
|
|
707
|
+
#ifdef ESHUTDOWN
|
|
708
|
+
defined_error("ESHUTDOWN", ESHUTDOWN)
|
|
709
|
+
#else
|
|
710
|
+
undefined_error("ESHUTDOWN")
|
|
711
|
+
#endif
|
|
712
|
+
#ifdef ESOCKTNOSUPPORT
|
|
713
|
+
defined_error("ESOCKTNOSUPPORT", ESOCKTNOSUPPORT)
|
|
714
|
+
#else
|
|
715
|
+
undefined_error("ESOCKTNOSUPPORT")
|
|
716
|
+
#endif
|
|
717
|
+
#ifdef ESPIPE
|
|
718
|
+
defined_error("ESPIPE", ESPIPE)
|
|
719
|
+
#else
|
|
720
|
+
undefined_error("ESPIPE")
|
|
721
|
+
#endif
|
|
722
|
+
#ifdef ESRCH
|
|
723
|
+
defined_error("ESRCH", ESRCH)
|
|
724
|
+
#else
|
|
725
|
+
undefined_error("ESRCH")
|
|
726
|
+
#endif
|
|
727
|
+
#ifdef ESRMNT
|
|
728
|
+
defined_error("ESRMNT", ESRMNT)
|
|
729
|
+
#else
|
|
730
|
+
undefined_error("ESRMNT")
|
|
731
|
+
#endif
|
|
732
|
+
#ifdef ESTALE
|
|
733
|
+
defined_error("ESTALE", ESTALE)
|
|
734
|
+
#else
|
|
735
|
+
undefined_error("ESTALE")
|
|
736
|
+
#endif
|
|
737
|
+
#ifdef ESTRPIPE
|
|
738
|
+
defined_error("ESTRPIPE", ESTRPIPE)
|
|
739
|
+
#else
|
|
740
|
+
undefined_error("ESTRPIPE")
|
|
741
|
+
#endif
|
|
742
|
+
#ifdef ETIME
|
|
743
|
+
defined_error("ETIME", ETIME)
|
|
744
|
+
#else
|
|
745
|
+
undefined_error("ETIME")
|
|
746
|
+
#endif
|
|
747
|
+
#ifdef ETIMEDOUT
|
|
748
|
+
defined_error("ETIMEDOUT", ETIMEDOUT)
|
|
749
|
+
#else
|
|
750
|
+
undefined_error("ETIMEDOUT")
|
|
751
|
+
#endif
|
|
752
|
+
#ifdef ETOOMANYREFS
|
|
753
|
+
defined_error("ETOOMANYREFS", ETOOMANYREFS)
|
|
754
|
+
#else
|
|
755
|
+
undefined_error("ETOOMANYREFS")
|
|
756
|
+
#endif
|
|
757
|
+
#ifdef ETXTBSY
|
|
758
|
+
defined_error("ETXTBSY", ETXTBSY)
|
|
759
|
+
#else
|
|
760
|
+
undefined_error("ETXTBSY")
|
|
761
|
+
#endif
|
|
762
|
+
#ifdef EUCLEAN
|
|
763
|
+
defined_error("EUCLEAN", EUCLEAN)
|
|
764
|
+
#else
|
|
765
|
+
undefined_error("EUCLEAN")
|
|
766
|
+
#endif
|
|
767
|
+
#ifdef EUNATCH
|
|
768
|
+
defined_error("EUNATCH", EUNATCH)
|
|
769
|
+
#else
|
|
770
|
+
undefined_error("EUNATCH")
|
|
771
|
+
#endif
|
|
772
|
+
#ifdef EUSERS
|
|
773
|
+
defined_error("EUSERS", EUSERS)
|
|
774
|
+
#else
|
|
775
|
+
undefined_error("EUSERS")
|
|
776
|
+
#endif
|
|
777
|
+
#ifdef EWOULDBLOCK
|
|
778
|
+
defined_error("EWOULDBLOCK", EWOULDBLOCK)
|
|
779
|
+
#else
|
|
780
|
+
undefined_error("EWOULDBLOCK")
|
|
781
|
+
#endif
|
|
782
|
+
#ifdef EXDEV
|
|
783
|
+
defined_error("EXDEV", EXDEV)
|
|
784
|
+
#else
|
|
785
|
+
undefined_error("EXDEV")
|
|
786
|
+
#endif
|
|
787
|
+
#ifdef EXFULL
|
|
788
|
+
defined_error("EXFULL", EXFULL)
|
|
789
|
+
#else
|
|
790
|
+
undefined_error("EXFULL")
|
|
791
|
+
#endif
|