Lines Matching refs:valp

657 	char		*valp = NULL;  in ndr_outer_fixed()  local
696 valp = outer_ref->datum; in ndr_outer_fixed()
697 if (!valp) { in ndr_outer_fixed()
702 assert(valp == *outer_ref->backptr); in ndr_outer_fixed()
706 valp = NDS_MALLOC(nds, n_alloc, outer_ref); in ndr_outer_fixed()
707 if (!valp) { in ndr_outer_fixed()
712 *outer_ref->backptr = valp; in ndr_outer_fixed()
713 outer_ref->datum = valp; in ndr_outer_fixed()
747 char *valp = NULL; in ndr_outer_fixed_array() local
786 valp = outer_ref->datum; in ndr_outer_fixed_array()
787 if (!valp) { in ndr_outer_fixed_array()
792 assert(valp == *outer_ref->backptr); in ndr_outer_fixed_array()
796 valp = NDS_MALLOC(nds, n_alloc, outer_ref); in ndr_outer_fixed_array()
797 if (!valp) { in ndr_outer_fixed_array()
802 *outer_ref->backptr = valp; in ndr_outer_fixed_array()
803 outer_ref->datum = valp; in ndr_outer_fixed_array()
838 char *valp = NULL; in ndr_outer_conformant_array() local
884 valp = outer_ref->datum; in ndr_outer_conformant_array()
885 if (!valp) { in ndr_outer_conformant_array()
890 assert(valp == *outer_ref->backptr); in ndr_outer_conformant_array()
914 valp = NDS_MALLOC(nds, n_alloc, outer_ref); in ndr_outer_conformant_array()
915 if (!valp) { in ndr_outer_conformant_array()
922 *outer_ref->backptr = valp; in ndr_outer_conformant_array()
923 outer_ref->datum = valp; in ndr_outer_conformant_array()
966 char *valp = NULL; in ndr_outer_conformant_construct() local
1016 valp = outer_ref->datum; in ndr_outer_conformant_construct()
1017 if (!valp) { in ndr_outer_conformant_construct()
1022 assert(valp == *outer_ref->backptr); in ndr_outer_conformant_construct()
1047 valp = NDS_MALLOC(nds, n_alloc, outer_ref); in ndr_outer_conformant_construct()
1048 if (!valp) { in ndr_outer_conformant_construct()
1053 *outer_ref->backptr = valp; in ndr_outer_conformant_construct()
1054 outer_ref->datum = valp; in ndr_outer_conformant_construct()
1167 char *valp = NULL; in ndr_outer_string() local
1200 valp = outer_ref->datum; in ndr_outer_string()
1201 if (!valp) { in ndr_outer_string()
1207 assert(valp == *outer_ref->backptr); in ndr_outer_string()
1216 wlen = ndr__mbstowcs(NULL, valp, NDR_STRING_MAX); in ndr_outer_string()
1230 valp = outer_ref->datum; in ndr_outer_string()
1233 if (valp[ix] == 0) { in ndr_outer_string()
1311 valp = NDS_MALLOC(nds, n_alloc, outer_ref); in ndr_outer_string()
1312 if (!valp) { in ndr_outer_string()
1317 bzero(valp, (size_is+1) * is_varlen); in ndr_outer_string()
1320 *outer_ref->backptr = valp; in ndr_outer_string()
1321 outer_ref->datum = valp; in ndr_outer_string()
1897 char *valp = (char *)ref->datum; in ndr_basic_integer() local
1903 valp, nds->swap, ref); in ndr_basic_integer()
1908 valp, nds->swap, ref); in ndr_basic_integer()
1924 char *valp; in ndr_string_basic_integer() local
1943 valp = encl_ref->datum + i * size; in ndr_string_basic_integer()
1944 myref.datum = valp; in ndr_string_basic_integer()
1950 case 1: sense = *valp; break; in ndr_string_basic_integer()
1952 case 2: sense = *(short *)valp; break; in ndr_string_basic_integer()
1954 case 4: sense = *(long *)valp; break; in ndr_string_basic_integer()
1997 char *valp = encl_ref->datum; in ndr_s_wchar() local
2022 wlen = ndr__mbstowcs(wcs, valp, NDR_STRING_MAX); in ndr_s_wchar()
2068 slen = ndr__wcstombs(valp, wcs, slen); in ndr_s_wchar()
2071 valp[slen] = '\0'; in ndr_s_wchar()