Home
last modified time | relevance | path

Searched refs:arg_data_size (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lldb/source/Host/openbsd/
DHost.cpp65 size_t arg_data_size = sizeof(arg_data); in GetOpenBSDProcessArgs() local
66 if (::sysctl(mib, 4, arg_data, &arg_data_size, NULL, 0) == 0) { in GetOpenBSDProcessArgs()
67 DataExtractor data(arg_data, arg_data_size, endian::InlHostByteOrder(), in GetOpenBSDProcessArgs()
86 while ((p != NULL) && (*p == '\0') && offset < arg_data_size) { in GetOpenBSDProcessArgs()
90 if (p == NULL || offset >= arg_data_size) in GetOpenBSDProcessArgs()
/external/llvm-project/lldb/source/Host/freebsd/
DHost.cpp58 size_t arg_data_size = sizeof(arg_data); in GetFreeBSDProcessArgs() local
59 if (::sysctl(mib, 4, arg_data, &arg_data_size, NULL, 0) != 0) in GetFreeBSDProcessArgs()
62 DataExtractor data(arg_data, arg_data_size, endian::InlHostByteOrder(), in GetFreeBSDProcessArgs()
90 while ((p != NULL) && (*p == '\0') && offset < arg_data_size) { in GetFreeBSDProcessArgs()
94 if (p == NULL || offset >= arg_data_size) in GetFreeBSDProcessArgs()
/external/llvm-project/lldb/source/Host/netbsd/
DHostNetBSD.cpp60 size_t arg_data_size = sizeof(arg_data); in GetNetBSDProcessArgs() local
61 if (::sysctl(mib, 4, arg_data, &arg_data_size, NULL, 0) != 0) in GetNetBSDProcessArgs()
64 DataExtractor data(arg_data, arg_data_size, endian::InlHostByteOrder(), in GetNetBSDProcessArgs()
86 while ((p != NULL) && (*p == '\0') && offset < arg_data_size) { in GetNetBSDProcessArgs()
90 if (p == NULL || offset >= arg_data_size) in GetNetBSDProcessArgs()
/external/llvm-project/lldb/source/Host/macosx/objcxx/
DHost.mm488 size_t arg_data_size = 0;
489 if (::sysctl(proc_args_mib, 3, nullptr, &arg_data_size, NULL, 0) ||
490 arg_data_size == 0)
491 arg_data_size = 8192;
496 DataBufferHeap arg_data(arg_data_size + 128, 0);
497 arg_data_size = arg_data.GetByteSize();
498 if (::sysctl(proc_args_mib, 3, arg_data.GetBytes(), &arg_data_size, NULL,
500 DataExtractor data(arg_data.GetBytes(), arg_data_size,
/external/llvm-project/lldb/tools/debugserver/source/
DRNBRemote.cpp6403 size_t arg_data_size = sizeof(arg_data); in HandlePacket_qProcessInfo() local
6404 if (::sysctl(proc_args_mib, 3, arg_data, &arg_data_size, NULL, 0) == in HandlePacket_qProcessInfo()
6406 DNBDataRef data(arg_data, arg_data_size, false); in HandlePacket_qProcessInfo()