load 7082 compile.c memcpy(buff, load->buff + offset, size); load 7089 compile.c #define IBF_R(val, type, n) (type *)ibf_load_alloc(load, IBF_OFFSET(val), sizeof(type) * (n)) load 7149 compile.c id = load->id_list[(long)id_index]; load 7152 compile.c long *indices = (long *)(load->buff + load->header->id_list_offset); load 7153 compile.c VALUE str = ibf_load_object(load, indices[id_index]); load 7155 compile.c load->id_list[(long)id_index] = id; load 7197 compile.c ID gid = ibf_load_id(load, (ID)(VALUE)entry); load 7288 compile.c code[code_index] = ibf_load_object(load, op); load 7291 compile.c code[code_index] = (VALUE)ibf_load_iseq(load, (const rb_iseq_t *)op); load 7303 compile.c code[code_index] = ibf_load_id(load, (ID)op); load 7306 compile.c code[code_index] = ibf_load_gentry(load, (const struct rb_global_entry *)op); load 7344 compile.c MEMCPY(table, load->buff + offset, VALUE, opt_num+1); load 7387 compile.c ids[i] = ibf_load_id(load, ids[i]); load 7390 compile.c dvs[i] = ibf_load_object(load, dvs[i]); load 7438 compile.c table[i] = ibf_load_id(load, table[i]); load 7475 compile.c size = *(unsigned int *)(load->buff + IBF_OFFSET(body->catch_table)); load 7476 compile.c table = ibf_load_alloc(load, IBF_OFFSET(body->catch_table), iseq_catch_table_bytes(size)); load 7478 compile.c table->entries[i].iseq = ibf_load_iseq(load, table->entries[i].iseq); load 7527 compile.c struct rb_call_info *ci_entries = ibf_load_alloc(load, IBF_OFFSET(body->ci_entries), load 7533 compile.c ci_entries[i].mid = ibf_load_id(load, ci_entries[i].mid); load 7538 compile.c const int keyword_len = *(int *)(load->buff + kw_arg_offset); load 7539 compile.c const VALUE *keywords = (VALUE *)(load->buff + kw_arg_offset + sizeof(int)); load 7543 compile.c kw_arg->keywords[j] = (VALUE)ibf_load_object(load, keywords[j]); load 7546 compile.c ci_kw_entries[i].ci.mid = ibf_load_id(load, ci_kw_entries[i].ci.mid); load 7582 compile.c VALUE str = ibf_load_object(load, str_index); load 7593 compile.c const struct rb_iseq_constant_body *body = (struct rb_iseq_constant_body *)(load->buff + offset); load 7609 compile.c RB_OBJ_WRITE(iseq, &load_body->location.path, ibf_load_location_str(load, body->location.path)); load 7610 compile.c RB_OBJ_WRITE(iseq, &load_body->location.absolute_path, ibf_load_location_str(load, body->location.absolute_path)); load 7611 compile.c RB_OBJ_WRITE(iseq, &load_body->location.base_label, ibf_load_location_str(load, body->location.base_label)); load 7612 compile.c RB_OBJ_WRITE(iseq, &load_body->location.label, ibf_load_location_str(load, body->location.label)); load 7616 compile.c load_body->ci_entries = ibf_load_ci_entries(load, body); load 7618 compile.c load_body->param.opt_table = ibf_load_param_opt_table(load, body); load 7619 compile.c load_body->param.keyword = ibf_load_param_keyword(load, body); load 7620 compile.c load_body->line_info_table = ibf_load_line_info_table(load, body); load 7621 compile.c load_body->local_table = ibf_load_local_table(load, body); load 7622 compile.c load_body->catch_table = ibf_load_catch_table(load, body); load 7623 compile.c load_body->parent_iseq = ibf_load_iseq(load, body->parent_iseq); load 7624 compile.c load_body->local_iseq = ibf_load_iseq(load, body->local_iseq); load 7626 compile.c load_body->iseq_encoded = ibf_load_code(load, iseq, body); load 7754 compile.c #define IBF_OBJHEADER(offset) (struct ibf_object_header *)(load->buff + (offset)) load 7755 compile.c #define IBF_OBJBODY(type, offset) (type *)(load->buff + sizeof(struct ibf_object_header) + (offset)) load 7851 compile.c VALUE enc_name_str = ibf_load_object(load, encindex - RUBY_ENCINDEX_BUILTIN_MAX); load 7876 compile.c VALUE srcstr = ibf_load_object(load, regexp->srcstr); load 7904 compile.c rb_ary_push(ary, ibf_load_object(load, array->ary[i])); load 7940 compile.c VALUE key = ibf_load_object(load, hash->keyval[i*2 ]); load 7941 compile.c VALUE val = ibf_load_object(load, hash->keyval[i*2+1]); load 7976 compile.c VALUE beg = ibf_load_object(load, range->beg); load 7977 compile.c VALUE end = ibf_load_object(load, range->end); load 8040 compile.c return ibf_load_object_unsupported(load, header, offset); load 8057 compile.c VALUE a = ibf_load_object(load, nums->a); load 8058 compile.c VALUE b = ibf_load_object(load, nums->b); load 8080 compile.c VALUE str = ibf_load_object(load, symbol->str); load 8194 compile.c else if (object_index >= load->header->object_list_size) { load 8198 compile.c VALUE obj = rb_ary_entry(load->obj_list, (long)object_index); load 8200 compile.c ibf_offset_t *offsets = (ibf_offset_t *)(load->header->object_list_offset + load->buff); load 8209 compile.c obj = (*load_object_functions[header->type])(load, header, offset); load 8212 compile.c rb_ary_store(load->obj_list, (long)object_index, obj); load 8214 compile.c iseq_add_mark_object(load->iseq, obj); load 8350 compile.c return (ibf_offset_t *)(load->buff + load->header->iseq_list_offset); load 8356 compile.c struct ibf_load *load = RTYPEDDATA_DATA(iseq->aux.loader.obj); load 8357 compile.c rb_iseq_t *prev_src_iseq = load->iseq; load 8358 compile.c load->iseq = iseq; load 8359 compile.c ibf_load_iseq_each(load, iseq, ibf_iseq_list(load)[iseq->aux.loader.index]); load 8362 compile.c load->iseq = prev_src_iseq; load 8383 compile.c VALUE iseqv = rb_ary_entry(load->iseq_list, iseq_index); load 8391 compile.c iseq->aux.loader.obj = load->loader_obj; load 8393 compile.c rb_ary_store(load->iseq_list, iseq_index, (VALUE)iseq); load 8399 compile.c if (load->iseq) { load 8400 compile.c iseq_add_mark_object(load->iseq, (VALUE)iseq); load 8415 compile.c RB_OBJ_WRITE(loader_obj, &load->str, str); load 8416 compile.c load->loader_obj = loader_obj; load 8417 compile.c load->buff = StringValuePtr(str); load 8418 compile.c load->header = (struct ibf_header *)load->buff; load 8419 compile.c RB_OBJ_WRITE(loader_obj, &load->iseq_list, rb_ary_tmp_new(0)); load 8420 compile.c RB_OBJ_WRITE(loader_obj, &load->obj_list, rb_ary_tmp_new(0)); load 8421 compile.c load->id_list = ZALLOC_N(ID, load->header->id_list_size); load 8422 compile.c load->iseq = NULL; load 8424 compile.c if (RSTRING_LENINT(str) < (int)load->header->size) { load 8427 compile.c if (strncmp(load->header->magic, "YARB", 4) != 0) { load 8430 compile.c if (load->header->major_version != ISEQ_MAJOR_VERSION || load 8431 compile.c load->header->minor_version != ISEQ_MINOR_VERSION) { load 8433 compile.c load->header->major_version, load->header->minor_version, ISEQ_MAJOR_VERSION, ISEQ_MINOR_VERSION); load 8435 compile.c if (strcmp(load->buff + sizeof(struct ibf_header), RUBY_PLATFORM) != 0) { load 8444 compile.c struct ibf_load *load = (struct ibf_load *)ptr; load 8445 compile.c rb_gc_mark(load->str); load 8446 compile.c rb_gc_mark(load->iseq_list); load 8447 compile.c rb_gc_mark(load->obj_list); load 8455 compile.c struct ibf_load *load = (struct ibf_load *)ptr; load 8456 compile.c ruby_xfree(load->id_list); load 8457 compile.c ruby_xfree(load); load 8464 compile.c struct ibf_load *load = (struct ibf_load *)ptr; load 8465 compile.c return sizeof(struct ibf_load) + load->header->id_list_size * sizeof(ID); load 8477 compile.c struct ibf_load *load; load 8479 compile.c VALUE loader_obj = TypedData_Make_Struct(0, struct ibf_load, &ibf_load_type, load); load 8481 compile.c ibf_load_setup(load, loader_obj, str); load 8482 compile.c iseq = ibf_load_iseq(load, 0); load 8491 compile.c struct ibf_load *load; load 8492 compile.c VALUE loader_obj = TypedData_Make_Struct(0, struct ibf_load, &ibf_load_type, load); load 8495 compile.c ibf_load_setup(load, loader_obj, str); load 8496 compile.c extra_str = rb_str_new(load->buff + load->header->size, load->header->extra_size); load 1298 dln.c if (load(file) == -1) { load 1392 dln.c init_fct = (void(*)())load((char*)file, 1, 0); load 49 inits.c CALL(load); load 1990 variable.c st_data_t val, load = 0, n = id; load 1995 variable.c st_delete(tbl, &n, &load); load 2021 variable.c VALUE file, load; load 2026 variable.c if (!(load = autoload_data(mod, id)) || !(ele = check_autoload_data(load))) { load 2038 variable.c return load; load 2042 variable.c return load; load 2050 variable.c VALUE load; load 2053 variable.c if (!(load = autoload_data(mod, id)) || !(ele = check_autoload_data(load))) { load 2158 variable.c VALUE load, result; load 2164 variable.c load = check_autoload_required(mod, id, &loading); load 2165 variable.c if (!load) return Qfalse; load 2170 variable.c if (!(ele = check_autoload_data(load))) { load 2205 variable.c RB_GC_GUARD(load); load 2212 variable.c VALUE load; load 2219 variable.c load = check_autoload_required(mod, id, 0); load 2220 variable.c if (!load) return Qnil; load 2221 variable.c return (ele = check_autoload_data(load)) ? ele->feature : Qnil; load 2618 variable.c VALUE load; load 2621 variable.c load = autoload_data(klass, id); load 2623 variable.c if (load && (ele = check_autoload_data(load)) && ele->state &&