Lines Matching defs:ihandle

72 	instance_t *ihandle;
75 ihandle = MALLOC(sizeof (instance_t));
78 ihandle->data[INIT_DATA] = MALLOC(sizeof (fstack_t) * i);
79 memcpy(ihandle->data[INIT_DATA], phandle->init_data,
83 ihandle->data[UINIT_DATA] = MALLOC(sizeof (fstack_t) * i);
85 ihandle->my_space = phandle->my_space;
86 memcpy(ihandle->my_addr, phandle->my_addr, sizeof (ihandle->my_addr));
87 ihandle->parent = parent;
88 ihandle->device = phandle;
89 return (ihandle);
379 close_instance_chain(fcode_env_t *env, instance_t *ihandle, int exec)
383 if (ihandle) {
384 parent = ihandle->parent;
386 if (ihandle->my_args)
387 FREE(ihandle->my_args);
388 FREE(ihandle);
421 instance_t *ihandle;
426 ihandle = open_instance_chain(env, phandle, 1);
427 ihandle->my_args = pop_a_duped_string(env, &len);
428 ihandle->my_args_len = len;
429 PUSH(DS, (fstack_t)ihandle);
452 instance_t *ihandle;
455 ihandle = (instance_t *)POP(DS);
456 close_instance_chain(env, ihandle, 1);
498 instance_t *ihandle, *saved_myself;
501 ihandle = (instance_t *)POP(DS);
503 MYSELF = ihandle;
513 CHECK_DEPTH(env, 1, "ihandle>phandle");
923 instance_t *ihandle;
925 ihandle = (instance_t *)POP(DS);
926 log_message(MSG_DEBUG, "Ihandle: %p\n", ihandle);
928 &ihandle->parent, ihandle->parent);
930 &ihandle->device, ihandle->device);
932 ((ihandle->my_args) ? ihandle->my_args : ""));
933 log_message(MSG_DEBUG, " my-space: %x\n", ihandle->my_space);
936 log_message(MSG_DEBUG, " %x", (int)ihandle->my_addr[i]);
939 ihandle->device->data_size[INIT_DATA],
940 ihandle->device->data_size[UINIT_DATA]);
942 ihandle->data, ihandle->data[0], ihandle->data[1]);
943 if (ihandle->device->data_size[INIT_DATA]) {
945 for (i = 0; i < ihandle->device->data_size[INIT_DATA]; i++) {
947 &ihandle->data[INIT_DATA][i],
948 ihandle->data[INIT_DATA][i]);
951 if (ihandle->device->data_size[INIT_DATA]) {
953 for (i = 0; i < ihandle->device->data_size[UINIT_DATA]; i++) {
955 &ihandle->data[UINIT_DATA][i],
956 ihandle->data[UINIT_DATA][i]);
1032 P1275(0x20b, 0, "ihandle>phandle", ihandle_to_phandle);