debase-ruby_core_source 0.10.2 → 0.10.3

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