本文整理汇总了C++中RTLNSMART函数的典型用法代码示例。如果您正苦于以下问题:C++ RTLNSMART函数的具体用法?C++ RTLNSMART怎么用?C++ RTLNSMART使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了RTLNSMART函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: F212_4135
/* {C_STRING}.set_shared_from_pointer_and_count */
void F212_4135 (EIF_REFERENCE Current, EIF_POINTER arg1, EIF_INTEGER_32 arg2)
{
GTCX
EIF_REFERENCE tr1 = NULL;
EIF_BOOLEAN tb1;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTGC;
*(EIF_INTEGER_32 *)(Current+ _LNGOFF_1_0_0_0_) = (EIF_INTEGER_32) arg2;
tr1 = *(EIF_REFERENCE *)(Current);
tb1 = *(EIF_BOOLEAN *)(RTCV(tr1)+ _CHROFF_0_0_);
if ((EIF_BOOLEAN) !tb1) {
tr1 = RTLNSMART(eif_non_attached_type(777));
F778_7236(RTCV(tr1), arg1, (EIF_INTEGER_32) (arg2 + ((EIF_INTEGER_32) 1L)));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current) = (EIF_REFERENCE) tr1;
} else {
tr1 = *(EIF_REFERENCE *)(Current);
F778_7238(RTCV(tr1), arg1, (EIF_INTEGER_32) (arg2 + ((EIF_INTEGER_32) 1L)));
}
RTLE;
}
示例2: F246_10537
/* {WSF_ROUTED_SERVICE}.create_router */
void F246_10537 (EIF_REFERENCE Current)
{
GTCX
char *l_feature_name = "create_router";
RTEX;
EIF_TYPED_VALUE up1x = {{0}, SK_POINTER};
#define up1 up1x.it_p
EIF_TYPED_VALUE ui4_1x = {{0}, SK_INT32};
#define ui4_1 ui4_1x.it_i4
EIF_REFERENCE tr1 = NULL;
RTCDT;
RTSN;
RTDA;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTLU (SK_VOID, NULL);
RTLU (SK_REF, &Current);
RTEAA(l_feature_name, 245, Current, 0, 0, 3925);
RTSA(dtype);
RTSC;
RTME(dtype, 0);
RTGC;
RTDBGEAA(245, Current, 3925);
RTIV(Current, RTAL);
RTHOOK(1);
RTDBGAA(Current, dtype, 9932, 0xF800013E, 0); /* router */
tr1 = RTLNSMART(eif_non_attached_type(RTWCT(9932, dtype, Dftype(Current))));
ui4_1 = ((EIF_INTEGER_32) 10L);
(FUNCTION_CAST(void, (EIF_REFERENCE, EIF_TYPED_VALUE)) RTWC(11523, Dtype(tr1)))(tr1, ui4_1x);
RTNHOOK(1,1);
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + RTWA(9932, dtype)) = (EIF_REFERENCE) RTCCL(tr1);
if (RTAL & CK_ENSURE) {
RTHOOK(2);
RTCT("router_created", EX_POST);
tr1 = ((up1x = (FUNCTION_CAST(EIF_TYPED_VALUE, (EIF_REFERENCE)) RTWF(9932, dtype))(Current)), (((up1x.type & SK_HEAD) == SK_REF)? (EIF_REFERENCE) 0: (up1x.it_r = RTBU(up1x))), (up1x.type = SK_POINTER), up1x.it_r);
if ((EIF_BOOLEAN)(tr1 != NULL)) {
RTCK;
} else {
RTCF;
}
}
RTVI(Current, RTAL);
RTRS;
RTHOOK(3);
RTDBGLE;
RTMD(0);
RTLE;
RTLO(2);
RTEE;
#undef up1
#undef ui4_1
}
示例3: F1125_13720
/* {STRING_TABLE}.empty_duplicate */
EIF_TYPED_VALUE F1125_13720 (EIF_REFERENCE Current, EIF_TYPED_VALUE arg1x)
{
GTCX
char *l_feature_name = "empty_duplicate";
RTEX;
#define arg1 arg1x.it_i4
EIF_TYPED_VALUE ui4_1x = {{0}, SK_INT32};
#define ui4_1 ui4_1x.it_i4
EIF_REFERENCE tr1 = NULL;
EIF_BOOLEAN tb1;
EIF_REFERENCE Result = ((EIF_REFERENCE) 0);
RTCFDT;
RTCDT;
RTSN;
RTDA;
RTLD;
if ((arg1x.type & SK_HEAD) == SK_REF) arg1x.it_i4 = * (EIF_INTEGER_32 *) arg1x.it_r;
RTLI(3);
RTLR(0,Current);
RTLR(1,tr1);
RTLR(2,Result);
RTLU (SK_REF, &Result);
RTLU(SK_INT32,&arg1);
RTLU (SK_REF, &Current);
RTEAA(l_feature_name, 1124, Current, 0, 1, 9324);
RTSA(dtype);
RTSC;
RTME(dtype, 0);
RTGC;
RTDBGEAA(1124, Current, 9324);
RTIV(Current, RTAL);
if ((RTAL & CK_REQUIRE) || RTAC) {
RTHOOK(1);
RTCT("n_non_negative", EX_PRE);
RTTE((EIF_BOOLEAN) (arg1 >= ((EIF_INTEGER_32) 0L)), label_1);
RTCK;
RTJB;
label_1:
RTCF;
}
body:;
RTHOOK(2);
tb1 = *(EIF_BOOLEAN *)(Current + RTWA(12265, dtype));
if (tb1) {
RTHOOK(3);
RTDBGAL(Current, 0, 0xF8000464, 0,0); /* Result */
tr1 = RTLNSMART(dftype);
ui4_1 = arg1;
(FUNCTION_CAST(void, (EIF_REFERENCE, EIF_TYPED_VALUE)) RTWC(12263, Dtype(tr1)))(tr1, ui4_1x);
RTNHOOK(3,1);
Result = (EIF_REFERENCE) RTCCL(tr1);
} else {
示例4: F862_6982
/* {BINARYTREE}.make */
void F862_6982 (EIF_REFERENCE Current, EIF_TYPED_VALUE arg1x)
{
GTCX
char *l_feature_name = "make";
RTEX;
#define arg1 arg1x.it_i4
EIF_TYPED_VALUE ui4_1x = {{0}, SK_INT32};
#define ui4_1 ui4_1x.it_i4
EIF_REFERENCE tr1 = NULL;
RTCDT;
RTSN;
RTDA;
RTLD;
if ((arg1x.type & SK_HEAD) == SK_REF) arg1x.it_i4 = * (EIF_INTEGER_32 *) arg1x.it_r;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTLIU(2);
RTLU (SK_VOID, NULL);
RTLU(SK_INT32,&arg1);
RTLU (SK_REF, &Current);
RTEAA(l_feature_name, 861, Current, 0, 1, 12663);
RTSA(dtype);
RTSC;
RTME(dtype, 0);
RTGC;
RTDBGEAA(861, Current, 12663);
RTIV(Current, RTAL);
RTHOOK(1);
RTDBGAA(Current, dtype, 4910, 0xF800035C, 0); /* root */
tr1 = RTLNSMART(RTWCT(4910, dtype, Dftype(Current)).id);
ui4_1 = arg1;
(FUNCTION_CAST(void, (EIF_REFERENCE, EIF_TYPED_VALUE)) RTWC(4902, Dtype(tr1)))(tr1, ui4_1x);
RTNHOOK(1,1);
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + RTWA(4910, dtype)) = (EIF_REFERENCE) RTCCL(tr1);
RTHOOK(2);
RTDBGAA(Current, dtype, 4911, 0xF80000DC, 0); /* ausg */
tr1 = RTMS_EX_H("",0,0);
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + RTWA(4911, dtype)) = (EIF_REFERENCE) tr1;
RTVI(Current, RTAL);
RTRS;
RTHOOK(3);
RTDBGLE;
RTMD(0);
RTLE;
RTLO(3);
RTEE;
#undef ui4_1
#undef arg1
}
示例5: F283_11787
/* {WGI_NINO_INPUT_STREAM}.make */
void F283_11787 (EIF_REFERENCE Current, EIF_TYPED_VALUE arg1x)
{
GTCX
char *l_feature_name = "make";
RTEX;
#define arg1 arg1x.it_r
EIF_TYPED_VALUE ur1x = {{0}, SK_REF};
#define ur1 ur1x.it_r
EIF_REFERENCE tr1 = NULL;
RTCDT;
RTSN;
RTDA;
RTLD;
RTLI(4);
RTLR(0,arg1);
RTLR(1,Current);
RTLR(2,tr1);
RTLR(3,ur1);
RTLU (SK_VOID, NULL);
RTLU(SK_REF,&arg1);
RTLU (SK_REF, &Current);
RTEAA(l_feature_name, 282, Current, 0, 1, 4649);
RTSA(dtype);
RTSC;
RTME(dtype, 0);
RTGC;
RTDBGEAA(282, Current, 4649);
RTCC(arg1, 282, l_feature_name, 1, RTWCT(10972, dtype, Dftype(Current)));
RTIV(Current, RTAL);
RTHOOK(1);
RTDBGAA(Current, dtype, 10974, 0xF8000185, 0); /* last_string */
tr1 = RTLNSMART(eif_non_attached_type(RTWCT(10974, dtype, Dftype(Current))));
(FUNCTION_CAST(void, (EIF_REFERENCE)) RTWC(15571, Dtype(tr1)))(tr1);
RTNHOOK(1,1);
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + RTWA(10974, dtype)) = (EIF_REFERENCE) RTCCL(tr1);
RTHOOK(2);
ur1 = RTCCL(arg1);
(FUNCTION_CAST(void, (EIF_REFERENCE, EIF_TYPED_VALUE)) RTWF(10971, dtype))(Current, ur1x);
RTVI(Current, RTAL);
RTRS;
RTHOOK(3);
RTDBGLE;
RTMD(0);
RTLE;
RTLO(3);
RTEE;
#undef ur1
#undef arg1
}
示例6: F184_9408
/* {HTTP_SERVER_I}.make */
void F184_9408 (EIF_REFERENCE Current, EIF_TYPED_VALUE arg1x, EIF_TYPED_VALUE arg2x)
{
GTCX
char *l_feature_name = "make";
RTEX;
#define arg1 arg1x.it_r
#define arg2 arg2x.it_r
EIF_TYPED_VALUE up1x = {{0}, SK_POINTER};
#define up1 up1x.it_p
EIF_TYPED_VALUE up2x = {{0}, SK_POINTER};
#define up2 up2x.it_p
EIF_REFERENCE tr1 = NULL;
EIF_REFERENCE tr2 = NULL;
RTCDT;
RTSN;
RTDA;
RTLD;
RTLI(5);
RTLR(0,arg1);
RTLR(1,arg2);
RTLR(2,Current);
RTLR(3,tr1);
RTLR(4,tr2);
RTLU (SK_VOID, NULL);
RTLU(SK_REF,&arg1);
RTLU(SK_REF,&arg2);
RTLU (SK_REF, &Current);
RTEAA(l_feature_name, 183, Current, 0, 2, 2704);
RTSA(dtype);
RTSC;
RTME(dtype, 0);
RTGC;
RTDBGEAA(183, Current, 2704);
RTCC(arg1, 183, l_feature_name, 1, RTWCT(9075, dtype, Dftype(Current)));
RTCC(arg2, 183, l_feature_name, 2, RTWCT(9077, dtype, Dftype(Current)));
RTIV(Current, RTAL);
RTHOOK(1);
if ((EIF_BOOLEAN)(arg1 == NULL)) {
RTHOOK(2);
RTDBGAA(Current, dtype, 9075, 0xF800004B, 0); /* configuration */
tr1 = RTLNSMART(eif_non_attached_type(RTWCT(9075, dtype, Dftype(Current))));
(FUNCTION_CAST(void, (EIF_REFERENCE)) RTWC(6698, Dtype(tr1)))(tr1);
RTNHOOK(2,1);
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + RTWA(9075, dtype)) = (EIF_REFERENCE) RTCCL(tr1);
} else {
示例7: F723_6703
/* {EV_ACTIVE_LIST}.default_create */
void F723_6703 (EIF_REFERENCE Current)
{
GTCX
EIF_REFERENCE tr1 = NULL;
RTCFDT;
RTCDT;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTGC;
tr1 = RTLNSMART(eif_non_attached_type(eif_final_id(Y5495,Y5495_gen_type,dftype,722)));
F726_6713(RTCV(tr1));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + O5495[dtype-722]) = (EIF_REFERENCE) tr1;
tr1 = RTLNSMART(eif_non_attached_type(eif_final_id(Y5496,Y5496_gen_type,dftype,722)));
F726_6713(RTCV(tr1));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + O5496[dtype-722]) = (EIF_REFERENCE) tr1;
F721_6696(Current);
RTLE;
}
示例8: F23_531
/* {SOCKET_ADDRESS}.make */
void F23_531 (EIF_REFERENCE Current)
{
GTCX
char *l_feature_name = "make";
RTEX;
EIF_TYPED_VALUE ui4_1x = {{0}, SK_INT32};
#define ui4_1 ui4_1x.it_i4
EIF_REFERENCE tr1 = NULL;
EIF_INTEGER_32 ti4_1;
RTCDT;
RTSN;
RTDA;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTLU (SK_VOID, NULL);
RTLU (SK_REF, &Current);
RTEAA(l_feature_name, 22, Current, 0, 0, 603);
RTSA(dtype);
RTSC;
RTME(dtype, 0);
RTGC;
RTDBGEAA(22, Current, 603);
RTIV(Current, RTAL);
RTHOOK(1);
RTDBGAA(Current, dtype, 526, 0xF8000087, 0); /* socket_address */
tr1 = RTLNSMART(eif_non_attached_type(RTWCT(526, dtype, Dftype(Current))));
ti4_1 = (((FUNCTION_CAST(EIF_TYPED_VALUE, (EIF_REFERENCE)) RTWF(530, dtype))(Current)).it_i4);
ui4_1 = ti4_1;
(FUNCTION_CAST(void, (EIF_REFERENCE, EIF_TYPED_VALUE)) RTWC(1673, Dtype(tr1)))(tr1, ui4_1x);
RTNHOOK(1,1);
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + RTWA(526, dtype)) = (EIF_REFERENCE) RTCCL(tr1);
RTVI(Current, RTAL);
RTRS;
RTHOOK(2);
RTDBGLE;
RTMD(0);
RTLE;
RTLO(2);
RTEE;
#undef ui4_1
}
示例9: F1098_14650
/* {EV_CONTAINER_IMP}.make */
void F1098_14650 (EIF_REFERENCE Current)
{
GTCX
EIF_REFERENCE tr1 = NULL;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTGC;
F1096_14500(Current);
tr1 = RTLNSMART(eif_non_attached_type(881));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + O11380[Dtype(Current)-1097]) = (EIF_REFERENCE) RTCCL(tr1);
RTLE;
}
示例10: F931_10767
/* {EV_TIMEOUT}.create_interface_objects */
void F931_10767 (EIF_REFERENCE Current)
{
GTCX
EIF_REFERENCE tr1 = NULL;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTGC;
tr1 = RTLNSMART(eif_non_attached_type(737));
F726_6713(RTCV(tr1));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + _REFACS_2_) = (EIF_REFERENCE) tr1;
RTLE;
}
示例11: F212_4131
/* {C_STRING}.make_shared_from_pointer_and_count */
void F212_4131 (EIF_REFERENCE Current, EIF_POINTER arg1, EIF_INTEGER_32 arg2)
{
GTCX
EIF_REFERENCE tr1 = NULL;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTGC;
*(EIF_INTEGER_32 *)(Current+ _LNGOFF_1_0_0_0_) = (EIF_INTEGER_32) arg2;
tr1 = RTLNSMART(eif_non_attached_type(777));
F778_7236(RTCV(tr1), arg1, (EIF_INTEGER_32) (arg2 + ((EIF_INTEGER_32) 1L)));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current) = (EIF_REFERENCE) tr1;
RTLE;
}
示例12: F212_4127
/* {C_STRING}.make_empty */
void F212_4127 (EIF_REFERENCE Current, EIF_INTEGER_32 arg1)
{
GTCX
EIF_REFERENCE tr1 = NULL;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTGC;
tr1 = RTLNSMART(eif_non_attached_type(777));
F778_7233(RTCV(tr1), (EIF_INTEGER_32) (arg1 + ((EIF_INTEGER_32) 1L)));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current) = (EIF_REFERENCE) tr1;
*(EIF_INTEGER_32 *)(Current+ _LNGOFF_1_0_0_0_) = (EIF_INTEGER_32) ((EIF_INTEGER_32) 0L);
RTLE;
}
示例13: F1053_13742
/* {EV_PIXEL_BUFFER_IMP}.make */
void F1053_13742 (EIF_REFERENCE Current)
{
GTCX
EIF_POINTER tp1;
EIF_REFERENCE tr1 = NULL;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTGC;
tr1 = RTLNSMART(eif_non_attached_type(777));
tp1 = F1_33(Current);
F778_7236(RTCV(tr1), tp1, ((EIF_INTEGER_32) 0L));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + _REFACS_2_) = (EIF_REFERENCE) tr1;
F1029_13080(Current, (EIF_BOOLEAN) 1);
RTLE;
}
示例14: F1206_10865
/* {EV_TIMEOUT}.create_interface_objects */
void F1206_10865 (EIF_REFERENCE Current)
{
GTCX
char *l_feature_name = "create_interface_objects";
RTEX;
EIF_REFERENCE tr1 = NULL;
RTSN;
RTDA;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTLU (SK_VOID, NULL);
RTLU (SK_REF, &Current);
RTEAA(l_feature_name, 1205, Current, 0, 0, 16754);
RTSA(Dtype(Current));
RTSC;
RTME(Dtype(Current), 0);
RTGC;
RTDBGEAA(1205, Current, 16754);
RTIV(Current, RTAL);
RTHOOK(1);
RTDBGAA(Current, Dtype(Current), 8401, 0xF8000458, 0); /* actions */
tr1 = RTLNSMART(eif_non_attached_type(RTWCT(8401, Dtype(Current), Dftype(Current))));
(FUNCTION_CAST(void, (EIF_REFERENCE)) RTWC(32, Dtype(tr1)))(tr1);
RTNHOOK(1,1);
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + RTWA(8401, Dtype(Current))) = (EIF_REFERENCE) RTCCL(tr1);
RTVI(Current, RTAL);
RTRS;
RTHOOK(2);
RTDBGLE;
RTMD(0);
RTLE;
RTLO(2);
RTEE;
}
示例15: F74_2648
/* {EV_DOCKABLE_TARGET_ACTION_SEQUENCES_I}.docked_actions */
EIF_REFERENCE F74_2648 (EIF_REFERENCE Current)
{
GTCX
EIF_REFERENCE tr1 = NULL;
RTCDT;
RTLD;
RTLI(2);
RTLR(0,Current);
RTLR(1,tr1);
RTGC;
if ((EIF_BOOLEAN)(*(EIF_REFERENCE *)(Current + O2597[dtype-73]) == NULL)) {
tr1 = RTLNSMART(eif_non_attached_type(735));
F726_6713(RTCV(tr1));
RTAR(Current, tr1);
*(EIF_REFERENCE *)(Current + O2597[dtype-73]) = (EIF_REFERENCE) tr1;
}
RTLE;
return (EIF_REFERENCE) *(EIF_REFERENCE *)(Current + O2597[dtype-73]);
}