Home
last modified time | relevance | path

Searched +refs:get +refs:output +refs:byte +refs:string (Results 1 – 25 of 28547) sorted by relevance

12345678910>>...1142

/dports/lang/racket/racket-8.3/share/pkgs/racket-doc/scribblings/reference/
H A Dstring-ports.scrbl9 A @deftech{string port} reads or writes from a @tech{byte string}. An
10 input @tech{string port} can be created from either a @tech{byte string}
12 converted to a @tech{byte string} using @racket[string->bytes/utf-8]. An
13 output @tech{string port} collects output into a @tech{byte string}, but
93 (get-output-string op1)
97 (get-output-string op2)
101 (get-output-string op3)
104 @defproc[(get-output-bytes [out (and/c output-port? string-port?)]
122 @racket[get-output-bytes] or @racket[get-output-string]), and the
141 @defproc[(get-output-string [out (and/c output-port? string-port?)]) string?]{
[all …]
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dchacha.cpp21 extern void ChaCha_OperateKeystream_NEON(const word32 *state, const byte* input, byte *output, unsi…
25 extern void ChaCha_OperateKeystream_AVX2(const word32 *state, const byte* input, byte *output, unsi…
28 extern void ChaCha_OperateKeystream_SSE2(const word32 *state, const byte* input, byte *output, unsi…
32 extern void ChaCha_OperateKeystream_ALTIVEC(const word32 *state, const byte* input, byte *output, u…
96 byte *output, const byte *input, size_t iterationCount) in ChaCha_OperateKeystream() argument
354 get(m_state[14])(m_state[15]); in CipherResynchronize()
374 byte *output, const byte *input, size_t iterationCount) in OperateKeystream() argument
384 return std::string("ChaChaTLS"); in AlgorithmName()
460 byte *output, const byte *input, size_t iterationCount) in OperateKeystream() argument
480 return std::string("XChaCha20"); in AlgorithmName()
[all …]
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dchacha.cpp21 extern void ChaCha_OperateKeystream_NEON(const word32 *state, const byte* input, byte *output, unsi…
25 extern void ChaCha_OperateKeystream_AVX2(const word32 *state, const byte* input, byte *output, unsi…
28 extern void ChaCha_OperateKeystream_SSE2(const word32 *state, const byte* input, byte *output, unsi…
32 extern void ChaCha_OperateKeystream_ALTIVEC(const word32 *state, const byte* input, byte *output, u…
96 byte *output, const byte *input, size_t iterationCount) in ChaCha_OperateKeystream() argument
354 get(m_state[14])(m_state[15]); in CipherResynchronize()
374 byte *output, const byte *input, size_t iterationCount) in OperateKeystream() argument
384 return std::string("ChaChaTLS"); in AlgorithmName()
460 byte *output, const byte *input, size_t iterationCount) in OperateKeystream() argument
480 return std::string("XChaCha20"); in AlgorithmName()
[all …]
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/
H A Dchacha.cpp21 extern void ChaCha_OperateKeystream_NEON(const word32 *state, const byte* input, byte *output, unsi…
25 extern void ChaCha_OperateKeystream_AVX2(const word32 *state, const byte* input, byte *output, unsi…
28 extern void ChaCha_OperateKeystream_SSE2(const word32 *state, const byte* input, byte *output, unsi…
32 extern void ChaCha_OperateKeystream_ALTIVEC(const word32 *state, const byte* input, byte *output, u…
96 byte *output, const byte *input, size_t iterationCount) in ChaCha_OperateKeystream() argument
354 get(m_state[14])(m_state[15]); in CipherResynchronize()
374 byte *output, const byte *input, size_t iterationCount) in OperateKeystream() argument
384 return std::string("ChaChaTLS"); in AlgorithmName()
460 byte *output, const byte *input, size_t iterationCount) in OperateKeystream() argument
480 return std::string("XChaCha20"); in AlgorithmName()
[all …]
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dchacha.cpp21 extern void ChaCha_OperateKeystream_NEON(const word32 *state, const byte* input, byte *output, unsi…
25 extern void ChaCha_OperateKeystream_AVX2(const word32 *state, const byte* input, byte *output, unsi…
28 extern void ChaCha_OperateKeystream_SSE2(const word32 *state, const byte* input, byte *output, unsi…
32 extern void ChaCha_OperateKeystream_ALTIVEC(const word32 *state, const byte* input, byte *output, u…
96 byte *output, const byte *input, size_t iterationCount) in ChaCha_OperateKeystream() argument
354 get(m_state[14])(m_state[15]); in CipherResynchronize()
374 byte *output, const byte *input, size_t iterationCount) in OperateKeystream() argument
384 return std::string("ChaChaTLS"); in AlgorithmName()
460 byte *output, const byte *input, size_t iterationCount) in OperateKeystream() argument
480 return std::string("XChaCha20"); in AlgorithmName()
[all …]
/dports/sysutils/fusefs-securefs/securefs-0.12.0/test/
H A Dtest_utils.cpp13 byte raw[4];
31 std::string long_string(6000, 'r');
67 std::string input, output, decoded; variable
76 securefs::base32_encode((const byte*)input.data(), i, output);
77 CAPTURE(output);
78 securefs::base32_decode(output.data(), output.size(), decoded);
85 std::string input, output; variable
95 securefs::base32_encode((const byte*)input.data(), i, output);
102 CHECK(output == buffer);
109 = [](const char* str) { return std::string(securefs::transform(str, true, false).get()); }; in __anon3a10c69c0102()
[all …]
/dports/comms/fldigi/fldigi-4.1.20/src/flarq-src/
H A Db64.cxx92 std::string base64::encode(std::string in) in encode()
95 byte igroup[3], ogroup[4]; in encode()
111 igroup[n] = (byte)in[iocp]; in encode()
132 output += (byte)ogroup[i]; in encode()
146 std::string base64::decode(std::string in) in decode()
152 byte c; in decode()
155 byte a[4], b[4], o[3]; in decode()
174 b[i] = (byte)dtable[c]; in decode()
205 byte c; in main()
222 c = std::cin.get(); in main()
[all …]
/dports/lang/racket-minimal/racket-8.3/src/io/port/
H A Dmain.rkt13 "string-output.rkt"
38 (provide read-byte
45 peek-byte
52 read-byte-or-special
53 peek-byte-or-special
63 read-string
70 byte-ready?
73 write-byte
120 get-output-bytes
122 open-output-string
[all …]
/dports/lang/racket/racket-8.3/src/io/port/
H A Dmain.rkt13 "string-output.rkt"
38 (provide read-byte
45 peek-byte
52 read-byte-or-special
53 peek-byte-or-special
63 read-string
70 byte-ready?
73 write-byte
120 get-output-bytes
122 open-output-string
[all …]
/dports/net-p2p/jigdo/jigdo-0.7.3/src/job/
H A Djigdo-io-test.cc49 data(reinterpret_cast<const byte*>(contents)), in MemData()
81 const byte* newCur = cur; in output()
96 const byte* data;
97 const byte* cur;
98 const byte* dataEnd;
119 if (i->get()->source()->location() == url) { in memData()
120 result = dynamic_cast<MemData*>(i->get()->source()); in memData()
142 void escapedChar(string* o, byte c) { in escapedChar()
159 inline string escapedString(const string& s) { in escapedString()
207 Child* c = new Child(this, &childrenVal, dl.get(), 0); in childFor()
[all …]
/dports/sysutils/fusefs-securefs/securefs-0.12.0/sources/
H A Dstreams.cpp29 std::string m_msg;
38 std::string message() const override { return m_msg; }
232 output = static_cast<byte*>(output) + rc;
391 byte* iv = buffer.get();
398 m_enc.EncryptAndAuthenticate(static_cast<byte*>(output),
425 const byte* iv = buffer.get();
426 byte* mac = buffer.get() + get_iv_size();
433 bool success = m_dec.DecryptAndVerify(static_cast<byte*>(output),
475 byte* iv = buffer.get();
478 m_dec.DecryptAndVerify(static_cast<byte*>(output),
[all …]
H A Dlite_stream.cpp12 std::string CorruptedStreamException::message() const { return "Stream is corrupted"; } in message()
35 CryptoPP::FixedSizeAlignedSecBlock<byte, get_header_size()> header, session_key; in AESGCMCryptStream()
51 m_buffer.reset(new byte[get_underlying_block_size()]); in AESGCMCryptStream()
54 const byte null_iv[12] = {0}; in AESGCMCryptStream()
70 length_type AESGCMCryptStream::read_block(offset_type block_number, void* output) in read_block() argument
77 = m_stream->read(m_buffer.get(), in read_block()
90 memset(output, 0, get_block_size()); in read_block()
94 byte auxiliary[sizeof(std::uint32_t)]; in read_block()
97 bool success = m_decryptor.DecryptAndVerify(static_cast<byte*>(output), in read_block()
130 byte auxiliary[sizeof(std::uint32_t)]; in write_block()
[all …]
/dports/graphics/bonzomatic/Bonzomatic-2021-03-07/external/jsonxx/
H A Djsonxx.cc60 input.get(ch); in match()
471 return stream_string(stream, v.get<std::string>()); in operator <<()
552 std::string output; in escape_string() local
556 output += map[ byte(*it) ]; in escape_string()
558 return output; in escape_string()
635 std::string output; in escape_attrib() local
638 output += map[ byte(*it) ]; in escape_attrib()
639 return output; in escape_attrib()
665 std::string output; in escape_tag() local
668 output += map[ byte(*it) ]; in escape_tag()
[all …]
/dports/net/megacmd/MEGAcmd-1.4.1_Win/sdk/src/
H A Dutils.cpp455 field = MemAccess::get<byte>(ptr); in unserializebyte()
1073 unsigned HashSignature::get(AsymmCipher* privk, byte* sigbuf, unsigned sigbuflen) in get() function in mega::HashSignature
1144 hmacProcessor.get((byte *)result->data()); in encryptPayload()
1306 std::string TLVstore::get(string type) const in get() function in mega::TLVstore
1619 std::string output; in stringToHex() local
1620 output.reserve(2 * len); in stringToHex()
1624 output.push_back(lut[c >> 4]); in stringToHex()
1627 return output; in stringToHex()
1636 std::string output; in hexToString() local
1637 output.reserve(len / 2); in hexToString()
[all …]
/dports/security/nmap/nmap-7.91/scripts/
H A Dhttp-litespeed-sourcecode-download.nse5 local string = require "string"
9 Exploits a null-byte poisoning vulnerability in Litespeed Web Servers 4.0.x
11 request with a null byte followed by a .txt file extension (CVE-2010-2333).
28 -- @output
53 --we append a null byte followed by ".txt" to retrieve the source code
54 local req = http.get(host, port, rfile.."\00.txt")
56 --If we don't get status 200, the server is not vulnerable
60output[#output+1] = "Request with null byte did not work. This web server might not be vulnerable"
62output[#output+1] = string.format("Page: %s was not found. Try with an existing file.", rfile)
67 output[#output+1] = string.format("%s source code:", rfile)
[all …]
/dports/devel/universal-ctags/ctags-p5.9.20211128.0/Units/parser-verilog.r/systemverilog-task-function.d/
H A Dexpected.tags4 show input.sv /^ task automatic show ( const ref byte data [] );$/;" t module:task_func
10 M input.sv /^module M (output a, input b, c, d);$/;" m
11 a input.sv /^module M (output a, input b, c, d);$/;" p module:M
12 b input.sv /^module M (output a, input b, c, d);$/;" p module:M
13 c input.sv /^module M (output a, input b, c, d);$/;" p module:M
14 d input.sv /^module M (output a, input b, c, d);$/;" p module:M
20 SA input.sv /^ string SA[10], qs[$];$/;" r function:N.array_locator
21 qs input.sv /^ string SA[10], qs[$];$/;" r function:N.array_locator
48 get input.sv /^ function string get(string v);$/;" f class:func_test
49 v input.sv /^ function string get(string v);$/;" p function:func_test.get
[all …]
/dports/lang/clisp/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/tests/
H A Dgenstream.tst13 (source-stream ; Input methods get/check-for characters on this stream
96 (setq *string-output-stream-1* (make-string-output-stream))
98 (setq *string-output-stream-1s* (make-string-output-stream))
100 (setq *string-output-stream-2* (make-string-output-stream))
102 (setq *string-output-stream-2c* (make-string-output-stream))
107 *string-input-stream-1* *string-output-stream-1*
115 *string-input-stream-2* *string-output-stream-2*
135 (defun copy-string-byte (str stream)
147 (output-string (get-output-stream-string stream)))
149 (string= strval output-string)))
[all …]
H A Dstreamslong.tst27 (write-byte byte foo)))
80 (let ((s (make-string-input-stream
92 (let ((s (make-string-output-stream)))
95 (get-output-stream-string s)
97 (get-output-stream-string s)
100 (get-output-stream-string s))
109 (with-output-to-string (s v)
126 (with-open-file (o f :direction :output) (write-string s o))
139 (force-output out)
144 (string= s1 s2))
[all …]
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/translate/storage/
H A Dcatkeys.py79 if string:
85 if string:
110 value = header.get(key, "")
158 value = newdict.get(key, "")
292 output = csv.StringIO()
293 writer = csv.DictWriter(output, FIELDNAMES, dialect="catkeys")
307 out.write(output.getvalue().encode(self.encoding))
322 for byte in array:
323 if byte > 127:
324 byte -= 256
[all …]
/dports/lang/racket/racket-8.3/collects/json/
H A Dmain.rkt36 (output-port? ;; (current-output-port)
153 ;; use a string encoding so we get the same deal with
158 ;; order output
201 ;; Using a string output port would make sense here, but managing
256 (define (get-hex)
278 (define e (get-hex))
286 (define e2 (get-hex))
512 (define o (open-output-string))
514 (get-output-string o))
517 (define o (open-output-bytes))
[all …]
/dports/lang/racket-minimal/racket-8.3/collects/json/
H A Dmain.rkt36 (output-port? ;; (current-output-port)
153 ;; use a string encoding so we get the same deal with
158 ;; order output
201 ;; Using a string output port would make sense here, but managing
256 (define (get-hex)
278 (define e (get-hex))
286 (define e2 (get-hex))
512 (define o (open-output-string))
514 (get-output-string o))
517 (define o (open-output-bytes))
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/draw-lib/racket/draw/private/
H A Dcontract.rkt83 (->* (byte? byte? byte?)
113 (red (->m byte?))
114 (blue (->m byte?))
118 (set (->*m (byte? byte? byte?)
131 (get-face (->m (or/c string? #f)))
155 (-> byte? byte? byte? void?)))
178 (-> byte? byte? byte? void?)))
259 [output (or/c path-string? output-port? #f)])))
269 [output (or/c path-string? output-port? #f)])))
275 [output (or/c path-string? output-port? #f)]
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/r6rs-lib/r6rs/private/
H A Dports.rkt59 get-string-n
60 get-string-n!
61 get-string-all
615 (read-byte p))
620 (peek-byte p 0))
663 (define (get-string-n p cnt)
673 (define (get-string-all p)
678 (get-output-string p2)))
794 (bytes->string/utf-8 (get-output-bytes p #t))))))
797 (let-values ([(p get) (open-string-output-port)])
[all …]
/dports/lang/racket-minimal/racket-8.3/src/regexp/
H A Ddemo.rkt18 (define o (open-output-bytes))
27 (test (string-length (get-output-string o)) (- N M)))))
29 ;; Test bounded byte consumption on failure:
38 (define rx:.n (rx:byte-regexp #"(?m:^.\n)"))
46 (define discard (open-output-bytes))
48 (test (get-output-bytes discard) #" ")
50 (define discard2 (open-output-bytes))
52 (test (get-output-bytes discard2) #" "))
143 ;; Don't get stuck waiting for an unneeded byte:
172 (byte-pregexp rx))
[all …]
/dports/lang/racket/racket-8.3/src/regexp/
H A Ddemo.rkt18 (define o (open-output-bytes))
27 (test (string-length (get-output-string o)) (- N M)))))
29 ;; Test bounded byte consumption on failure:
38 (define rx:.n (rx:byte-regexp #"(?m:^.\n)"))
46 (define discard (open-output-bytes))
48 (test (get-output-bytes discard) #" ")
50 (define discard2 (open-output-bytes))
52 (test (get-output-bytes discard2) #" "))
143 ;; Don't get stuck waiting for an unneeded byte:
172 (byte-pregexp rx))
[all …]

12345678910>>...1142