search for: _input

Displaying 19 results from an estimated 19 matches for "_input".

Did you mean: input
2013 Nov 24
4
[PATCH 1/3] lib: Further generalize iconv wrapper function.
...ex_to_utf8 (/* const */ char *input, size_t len, char* input_encoding); +extern char* _hivex_recode (char *input_encoding, + const char *input, size_t input_len, + char *output_encoding, size_t *output_len); #define _hivex_windows_utf16_to_utf8(_input, _len) \ - _hivex_to_utf8 (_input, _len, "UTF-16LE") + _hivex_recode ("UTF-16LE", _input, _len, "UTF-8", NULL) #define _hivex_windows_latin1_to_utf8(_input, _len) \ - _hivex_to_utf8 (_input, _len, "LATIN1") + _hivex_recode ("LATIN1", _input, _l...
2013 Nov 22
0
[PATCH 3/3] Correctly handle latin1-encoded key/value names
...t); extern void _hivex_print_offset_list (offset_list *list, FILE *fp); /* utf16.c */ -extern char *_hivex_windows_utf16_to_utf8 (/* const */ char *input, size_t len); +extern char* _hivex_to_utf8 (/* const */ char *input, size_t len, char* input_encoding); +#define _hivex_windows_utf16_to_utf8(_input, _len) \ + _hivex_to_utf8 (_input, _len, "UTF-16LE") +#define _hivex_windows_latin1_to_utf8(_input, _len) \ + _hivex_to_utf8 (_input, _len, "LATIN1") extern size_t _hivex_utf16_string_len_in_bytes_max (const char *str, size_t len); /* util.c */ diff --git a/lib/node.c b/li...
2013 Dec 31
0
[PATCH 2/2] lib: utf16: Fix const-correctness issues in _hivex_recode function.
...char *output_encoding, size_t *output_len); +extern char * _hivex_recode (const char *input_encoding, + const char *input, size_t input_len, + const char *output_encoding, size_t *output_len); #define _hivex_windows_utf16_to_utf8(_input, _len) \ _hivex_recode ("UTF-16LE", _input, _len, "UTF-8", NULL) #define _hivex_windows_latin1_to_utf8(_input, _len) \ diff --git a/lib/utf16.c b/lib/utf16.c index 437613b..3641580 100644 --- a/lib/utf16.c +++ b/lib/utf16.c @@ -30,8 +30,8 @@ #include "hivex-internal.h&...
2013 Dec 31
2
[PATCH 1/2] lib: write: Remove unused variable.
--- lib/write.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/write.c b/lib/write.c index 8c4dd8e..384c6b2 100644 --- a/lib/write.c +++ b/lib/write.c @@ -954,7 +954,6 @@ hivex_node_set_values (hive_h *h, hive_node_h node, for (i = 0; i < nr_values; ++i) { /* Allocate vk record to store this (key, value) pair. */ static const char vk_id[2] = { 'v', 'k' }; -
2018 Feb 09
3
[PATCH] Add a cache for iconv_t handles to hive_t
...lease_iconv (hive_h *h, recode_type r); + /* utf16.c */ -extern char * _hivex_recode (const char *input_encoding, - const char *input, size_t input_len, - const char *output_encoding, size_t *output_len); -#define _hivex_windows_utf16_to_utf8(_input, _len) \ - _hivex_recode ("UTF-16LE", _input, _len, "UTF-8", NULL) -#define _hivex_windows_latin1_to_utf8(_input, _len) \ - _hivex_recode ("LATIN1", _input, _len, "UTF-8", NULL) -extern char* _hivex_encode_string(const char *str, size_t *size, int *utf16);...
2013 Nov 22
4
[PATCH 1/3] Document ntreg_nk_record.flags
--- lib/hivex-internal.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/hivex-internal.h b/lib/hivex-internal.h index f391b98..d7ce339 100644 --- a/lib/hivex-internal.h +++ b/lib/hivex-internal.h @@ -125,7 +125,19 @@ struct ntreg_hbin_block { struct ntreg_nk_record { int32_t seg_len; /* length (always -ve because used) */ char id[2];
2018 Feb 09
0
Re: [PATCH] Add a cache for iconv_t handles to hive_t
..._type r); > + > /* utf16.c */ > -extern char * _hivex_recode (const char *input_encoding, > - const char *input, size_t input_len, > - const char *output_encoding, size_t *output_len); > -#define _hivex_windows_utf16_to_utf8(_input, _len) \ > - _hivex_recode ("UTF-16LE", _input, _len, "UTF-8", NULL) > -#define _hivex_windows_latin1_to_utf8(_input, _len) \ > - _hivex_recode ("LATIN1", _input, _len, "UTF-8", NULL) > -extern char* _hivex_encode_string(const char *str, size_t...
2019 Oct 04
2
samba-tool user syncpasswords crashes with python3
...quot;/usr/lib/python3.6/subprocess.py", line 863, in > > communicate > > stdout, stderr = self._communicate(input, endtime, timeout) > > File "/usr/lib/python3.6/subprocess.py", line 1519, in > > _communicate > > input_view = memoryview(self._input) > > Then it stops working, probably because your python script isn't > python3 > compatible. > > Rowland > > > >
2018 Feb 09
2
[PATCH] Add a cache for iconv_t handles to hive_t
...lease_iconv (hive_h *h, recode_type r); + /* utf16.c */ -extern char * _hivex_recode (const char *input_encoding, - const char *input, size_t input_len, - const char *output_encoding, size_t *output_len); -#define _hivex_windows_utf16_to_utf8(_input, _len) \ - _hivex_recode ("UTF-16LE", _input, _len, "UTF-8", NULL) -#define _hivex_windows_latin1_to_utf8(_input, _len) \ - _hivex_recode ("LATIN1", _input, _len, "UTF-8", NULL) -extern char* _hivex_encode_string(const char *str, size_t *size, int *utf16);...
2013 Aug 17
1
model.frame(), model.matrix(), and derived predictor variables
Dear r-developers: I am struggling with some fundamental aspects of model.frame(). Conceptually, I think of a flow from data -> model.frame() -> model.matrix; the data contain _input variables_, while model.matrix contains _predictor variables_: data have been transformed, splines and polynomials have been expanded into their corresponding multi-dimensional bases, and factors have been expanded into appropriate sets of dummy variables depending on their contrasts. I originall...
2019 Oct 04
2
samba-tool user syncpasswords crashes with python3
...icate(input)[0], encoding = 'utf-8') File "/usr/lib/python3.6/subprocess.py", line 863, in communicate stdout, stderr = self._communicate(input, endtime, timeout) File "/usr/lib/python3.6/subprocess.py", line 1519, in _communicate input_view = memoryview(self._input) ~ my setup: samba-tool user syncpasswords --cache-ldb-initialize -- attributes=virtualClearTextUTF8,objectGUID,objectSID,sAMAccountName,use rPrincipalName,userAccountControl,pwdLastSet,mail,proxyAddresses -- decrypt-samba-gpg --script=/usr/local/bin/sync...
2014 Jan 08
0
[PATCH 1/3] lib: Add internal function to calculate strlen for strings encoded in Latin1 or UTF-16LE
...+++++++ 2 files changed, 11 insertions(+) diff --git a/lib/hivex-internal.h b/lib/hivex-internal.h index 6bc8638..7f4cc3c 100644 --- a/lib/hivex-internal.h +++ b/lib/hivex-internal.h @@ -277,6 +277,7 @@ extern char * _hivex_recode (const char *input_encoding, _hivex_recode ("LATIN1", _input, _len, "UTF-8", NULL) extern char* _hivex_encode_string(const char *str, size_t *size, int *utf16); extern size_t _hivex_utf16_string_len_in_bytes_max (const char *str, size_t len); +extern size_t _hivex_utf8_strlen (const char* str, size_t len, int utf16); /* util.c */ extern void...
2019 Oct 07
1
samba-tool user syncpasswords crashes with python3
...do this: > > File "/usr/lib/python3.6/subprocess.py", line 863, in communicate > stdout, stderr = self._communicate(input, endtime, timeout) > File "/usr/lib/python3.6/subprocess.py", line 1519, in > _communicate > input_view = memoryview(self._input) > > And it is 'memoryview' that throws the error and it looks like it is > something in subprocess.py that is wrong, or something in your > script. > Samba, as far as I can see, does not use 'memoryview' directly. > > Rowland > > > >
2007 Dec 04
1
FOSS Codecs for Online Video: Usability, Uptake and Development
...ernatives within the report. http://wiki.transmission.cc/index.php/FOSS_Codecs_For_Online_Video:_Usability_Uptake_and_Development_1.2#Summary_of_Recommendations *Feedback and Input* There is a page on the wiki here for your input: http://wiki.transmission.cc/index.php/FOSS_Codecs_For_Online_Video:_Input *Distribution* Please forward this report to any individuals/groups who might be interested in order to continue to promote the use and further development of FOSS video codecs and associated software. The report is released under the GNU Free Documentation License 1.2/ *Support and Network* T...
2019 Oct 04
0
samba-tool user syncpasswords crashes with python3
...o working up to here > File "/usr/lib/python3.6/subprocess.py", line 863, in communicate > stdout, stderr = self._communicate(input, endtime, timeout) > File "/usr/lib/python3.6/subprocess.py", line 1519, in _communicate > input_view = memoryview(self._input) Then it stops working, probably because your python script isn't python3 compatible. Rowland
2005 Apr 19
3
RE: [Xen-devel] Run X in other domains?
> > I can see how you could start a very simple VGA-only Xserver -- by > > default dom0 happens to have access to the bottom 1MB of > memory, which > > is enough to get a VGA Xserver working. > > OK, I wasn''t familiar with this. However I''ve checked > XFree86.0.log from domain 0 for memory reports, and these two > lines indicate more than
2014 Jan 08
5
hivex: Make node names and value names with embedded null characters accessible
On Windows, there exist at least two APIs for dealing with the Registry: The Win32 API (RegCreateKeyA, RegCreateKeyW, etc.) works with null-terminated ASCII or UTF-16 strings. The native API (ZwCreateKey, etc.), on the other hand works with UTF-16 strings that are stored as buffers+length and may contain null characters. Malware authors have been relying on the Win32 API's inability to
2007 Sep 18
4
FOSS Codecs for Online Video: Usability, Uptake and Development - First Draft
Dear Theora/Xiph folk, * FOSS Codecs for Online Video: Usability, Uptake and Development - First Draft* A review of available tools for the creation, playback and embedding of online video using Free and Open Source Software video codecs and a look at the most pressing areas for development to enhance their adoption by social change video projects on the web.
2007 Sep 18
4
FOSS Codecs for Online Video: Usability, Uptake and Development - First Draft
Dear Theora/Xiph folk, * FOSS Codecs for Online Video: Usability, Uptake and Development - First Draft* A review of available tools for the creation, playback and embedding of online video using Free and Open Source Software video codecs and a look at the most pressing areas for development to enhance their adoption by social change video projects on the web.