2 instantiations of SafeBerHandle
System.DirectoryServices.Protocols (2)
System\DirectoryServices\Protocols\common\BerConverter.cs (2)
26
SafeBerHandle berElement = new
SafeBerHandle
();
330
berElement = new
SafeBerHandle
(berValue);
46 references to SafeBerHandle
System.DirectoryServices.Protocols (46)
src\libraries\Common\src\Interop\Linux\OpenLdap\Interop.Ber.cs (28)
24
public static int ber_printf_emptyarg(
SafeBerHandle
berElement, string format, nuint tag)
50
public static partial int ber_start_seq(
SafeBerHandle
berElement, nuint tag);
53
public static partial int ber_start_set(
SafeBerHandle
berElement, nuint tag);
56
public static partial int ber_put_seq(
SafeBerHandle
berElement, nuint tag);
59
public static partial int ber_put_set(
SafeBerHandle
berElement, nuint tag);
62
public static partial int ber_put_null(
SafeBerHandle
berElement, nuint tag);
64
public static int ber_printf_int(
SafeBerHandle
berElement, string format, int value, nuint tag)
82
public static partial int ber_put_int(
SafeBerHandle
berElement, int value, nuint tag);
85
public static partial int ber_put_enum(
SafeBerHandle
berElement, int value, nuint tag);
88
public static partial int ber_put_boolean(
SafeBerHandle
berElement, int value, nuint tag);
90
public static int ber_printf_bytearray(
SafeBerHandle
berElement, string format, HGlobalMemHandle value, nuint length, nuint tag)
108
private static partial int ber_put_ostring(
SafeBerHandle
berElement, HGlobalMemHandle value, nuint length, nuint tag);
111
private static partial int ber_put_string(
SafeBerHandle
berElement, HGlobalMemHandle value, nuint tag);
114
private static partial int ber_put_bitstring(
SafeBerHandle
berElement, HGlobalMemHandle value, nuint length, nuint tag);
117
public static partial int ber_flatten(
SafeBerHandle
berElement, ref IntPtr value);
125
public static int ber_scanf_emptyarg(
SafeBerHandle
berElement, string format)
145
private static partial int ber_skip_tag(
SafeBerHandle
berElement, ref nuint len);
148
private static partial int ber_get_null(
SafeBerHandle
berElement);
150
public static int ber_scanf_int(
SafeBerHandle
berElement, string format, ref int value)
168
private static partial int ber_get_int(
SafeBerHandle
berElement, ref int value);
171
private static partial int ber_get_enum(
SafeBerHandle
berElement, ref int value);
174
private static partial int ber_get_boolean(
SafeBerHandle
berElement, ref int value);
176
public static int ber_scanf_bitstring(
SafeBerHandle
berElement, string format, ref IntPtr value, ref uint bitLength)
186
private static partial int ber_get_stringb(
SafeBerHandle
berElement, ref IntPtr value, ref nuint bitLength);
188
public static int ber_scanf_ptr(
SafeBerHandle
berElement, string format, ref IntPtr value)
195
private static partial int ber_get_stringal(
SafeBerHandle
berElement, ref IntPtr value);
198
public static int ber_printf_berarray(
SafeBerHandle
berElement, string format, IntPtr value, nuint tag)
205
public static int ber_scanf_multibytearray(
SafeBerHandle
berElement, string format, ref IntPtr value)
System\DirectoryServices\Protocols\common\BerConverter.cs (6)
26
SafeBerHandle
berElement = new SafeBerHandle();
311
SafeBerHandle
berElement = null;
462
private static int EncodingByteArrayHelper(
SafeBerHandle
berElement, byte[] tempValue, char fmt, nuint tag)
483
private static byte[] DecodingByteArrayHelper(
SafeBerHandle
berElement, char fmt, out int error)
517
private static unsafe int EncodingMultiByteArrayHelper(
SafeBerHandle
berElement, byte[][] tempValue, char fmt, nuint tag)
586
private static byte[][] DecodingMultiByteArrayHelper(
SafeBerHandle
berElement, char fmt, out int error)
System\DirectoryServices\Protocols\common\BerConverter.Linux.cs (1)
10
private static int DecodeBitStringHelper(ArrayList resultList,
SafeBerHandle
berElement)
System\DirectoryServices\Protocols\Interop\BerPal.Linux.cs (11)
14
internal static int FlattenBerElement(
SafeBerHandle
berElement, ref IntPtr flattenptr) => Interop.Ldap.ber_flatten(berElement, ref flattenptr);
16
internal static int PrintBerArray(
SafeBerHandle
berElement, string format, IntPtr value, nuint tag) => Interop.Ldap.ber_printf_berarray(berElement, format, value, tag);
18
internal static int PrintByteArray(
SafeBerHandle
berElement, string format, HGlobalMemHandle value, nuint length, nuint tag) => Interop.Ldap.ber_printf_bytearray(berElement, format, value, length, tag);
20
internal static int PrintEmptyArgument(
SafeBerHandle
berElement, string format, nuint tag) => Interop.Ldap.ber_printf_emptyarg(berElement, format, tag);
22
internal static int PrintInt(
SafeBerHandle
berElement, string format, int value, nuint tag) => Interop.Ldap.ber_printf_int(berElement, format, value, tag);
24
internal static int PrintTag(
SafeBerHandle
_1, string _2, nuint _3)
31
internal static int ScanNext(
SafeBerHandle
berElement, string format) => Interop.Ldap.ber_scanf_emptyarg(berElement, format);
33
internal static int ScanNextBitString(
SafeBerHandle
berElement, string format, ref IntPtr ptrResult, ref uint bitLength) => Interop.Ldap.ber_scanf_bitstring(berElement, format, ref ptrResult, ref bitLength);
35
internal static int ScanNextInt(
SafeBerHandle
berElement, string format, ref int result) => Interop.Ldap.ber_scanf_int(berElement, format, ref result);
37
internal static int ScanNextPtr(
SafeBerHandle
berElement, string format, ref IntPtr value) => Interop.Ldap.ber_scanf_ptr(berElement, format, ref value);
39
internal static int ScanNextMultiByteArray(
SafeBerHandle
berElement, string format, ref IntPtr value) => Interop.Ldap.ber_scanf_multibytearray(berElement, format, ref value);