/third_party/rust/crates/syn/src/ |
H A D | meta.rs | 15 /// `proc_macro::TokenStream` input of a `proc_macro_attribute`, you do **not** 49 /// pub fn tea(args: TokenStream, input: TokenStream) -> TokenStream { 79 /// trailing commas, and producing sensible error messages on unexpected input. 104 /// pub fn tea(args: TokenStream, input: TokenStream) -> TokenStream { 132 |input: ParseStream| { in parser() 133 if input.is_empty() { in parser() 136 parse_nested_meta(input, logic) in parser() 165 pub input: ParseStream<'a>, 171 /// All it does is advance `meta.input` past the `=` sign in the input [all...] |
H A D | generics.rs | 540 fn parse(input: ParseStream) -> Result<Self> { in parse() 541 if !input.peek(Token![<]) { in parse() 545 let lt_token: Token![<] = input.parse()?; in parse() 549 if input.peek(Token![>]) { in parse() 553 let attrs = input.call(Attribute::parse_outer)?; in parse() 554 let lookahead = input.lookahead1(); in parse() 558 ..input.parse()? in parse() 563 ..input.parse()? in parse() 568 ..input.parse()? in parse() 570 } else if input in parse() [all...] |
H A D | path.rs | 285 fn parse(input: ParseStream) -> Result<Self> { in parse() 286 Self::parse_helper(input, false) in parse() 292 fn parse(input: ParseStream) -> Result<Self> { in parse() 293 if input.peek(Lifetime) && !input.peek2(Token![+]) { in parse() 294 return Ok(GenericArgument::Lifetime(input.parse()?)); in parse() 297 if input.peek(Lit) || input.peek(token::Brace) { in parse() 298 return const_argument(input).map(GenericArgument::Const); in parse() 301 let mut argument: Type = input in parse() [all...] |
H A D | parse_quote.rs | 1 /// Quasi-quotation macro that accepts input like the [`quote!`] macro but uses 33 /// parameter `T` in the input generics. 65 /// caller is responsible for ensuring that the input tokens are syntactically 125 fn parse(input: ParseStream) -> Result<Self>; in parse() 129 fn parse(input: ParseStream) -> Result<Self> { in parse() 130 <T as Parse>::parse(input) in parse() 145 fn parse(input: ParseStream) -> Result<Self> { in parse() 146 if input.peek(Token![#]) && input.peek2(Token![!]) { in parse() 147 attr::parsing::single_parse_inner(input) in parse() [all...] |
H A D | data.rs | 166 fn parse(input: ParseStream) -> Result<Self> { in parse() 167 let attrs = input.call(Attribute::parse_outer)?; in parse() 168 let _visibility: Visibility = input.parse()?; in parse() 169 let ident: Ident = input.parse()?; in parse() 170 let fields = if input.peek(token::Brace) { in parse() 171 Fields::Named(input.parse()?) in parse() 172 } else if input.peek(token::Paren) { in parse() 173 Fields::Unnamed(input.parse()?) in parse() 177 let discriminant = if input.peek(Token![=]) { in parse() 178 let eq_token: Token![=] = input in parse() [all...] |
/third_party/rust/crates/rust-cexpr/src/ |
H A D | expr.rs | 101 move |input: &[Token]| { 102 if input.is_empty() { 106 if input[0].kind==TokenKind::$k && &input[0].raw[..]==$c { 107 Ok((&input[1..], &input[0].raw[..])) 109 Err(crate::nom::Err::Error((input, crate::ErrorKind::ExactToken(TokenKind::$k,$c)).into())) 116 fn identifier_token(input: &[Token]) -> CResult<'_, &[u8]> { in identifier_token() 117 if input.is_empty() { in identifier_token() 121 if input[ in identifier_token() [all...] |
/third_party/node/deps/brotli/c/enc/ |
H A D | utf8_util.c | 18 int* symbol, const uint8_t* input, size_t size) { in BrotliParseAsUTF8() 20 if ((input[0] & 0x80) == 0) { in BrotliParseAsUTF8() 21 *symbol = input[0]; in BrotliParseAsUTF8() 28 (input[0] & 0xE0) == 0xC0 && in BrotliParseAsUTF8() 29 (input[1] & 0xC0) == 0x80) { in BrotliParseAsUTF8() 30 *symbol = (((input[0] & 0x1F) << 6) | in BrotliParseAsUTF8() 31 (input[1] & 0x3F)); in BrotliParseAsUTF8() 38 (input[0] & 0xF0) == 0xE0 && in BrotliParseAsUTF8() 39 (input[1] & 0xC0) == 0x80 && in BrotliParseAsUTF8() 40 (input[ in BrotliParseAsUTF8() 17 BrotliParseAsUTF8( int* symbol, const uint8_t* input, size_t size) BrotliParseAsUTF8() argument [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | utf8_util.c | 18 int* symbol, const uint8_t* input, size_t size) { in BrotliParseAsUTF8() 20 if ((input[0] & 0x80) == 0) { in BrotliParseAsUTF8() 21 *symbol = input[0]; in BrotliParseAsUTF8() 28 (input[0] & 0xE0) == 0xC0 && in BrotliParseAsUTF8() 29 (input[1] & 0xC0) == 0x80) { in BrotliParseAsUTF8() 30 *symbol = (((input[0] & 0x1F) << 6) | in BrotliParseAsUTF8() 31 (input[1] & 0x3F)); in BrotliParseAsUTF8() 38 (input[0] & 0xF0) == 0xE0 && in BrotliParseAsUTF8() 39 (input[1] & 0xC0) == 0x80 && in BrotliParseAsUTF8() 40 (input[ in BrotliParseAsUTF8() 17 BrotliParseAsUTF8( int* symbol, const uint8_t* input, size_t size) BrotliParseAsUTF8() argument [all...] |
/third_party/node/deps/v8/tools/torque/ |
H A D | format-torque.py | 25 def preprocess(input): 29 input = re.sub(r'%([A-Za-z])', kPercentEscape + r'\1', input) 32 input = re.sub(r'([^/])\*([a-zA-Z(])', r'\1' + kDerefEscape + r'\2', input) 33 input = re.sub(r'&([a-zA-Z(])', kAddressofEscape + r'\1', input) 36 input = re.sub(r'(if\s+)constexpr(\s*\()', r'\1/*COxp*/\2', input) 37 input [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
H A D | astc_color_unquantize.cpp | 27 const int input[6], in rgb_delta_unpack() 33 int r0 = color_unquantization_tables[quantization_level][input[0]]; in rgb_delta_unpack() 34 int g0 = color_unquantization_tables[quantization_level][input[2]]; in rgb_delta_unpack() 35 int b0 = color_unquantization_tables[quantization_level][input[4]]; in rgb_delta_unpack() 37 int r1 = color_unquantization_tables[quantization_level][input[1]]; in rgb_delta_unpack() 38 int g1 = color_unquantization_tables[quantization_level][input[3]]; in rgb_delta_unpack() 39 int b1 = color_unquantization_tables[quantization_level][input[5]]; in rgb_delta_unpack() 142 const int input[6], in rgb_unpack() 147 int ri0b = color_unquantization_tables[quantization_level][input[0]]; in rgb_unpack() 148 int ri1b = color_unquantization_tables[quantization_level][input[ in rgb_unpack() 26 rgb_delta_unpack( const int input[6], int quantization_level, uint4* output0, uint4* output1 ) rgb_delta_unpack() argument 141 rgb_unpack( const int input[6], int quantization_level, uint4* output0, uint4* output1 ) rgb_unpack() argument 188 rgba_unpack( const int input[8], int quantization_level, uint4* output0, uint4* output1 ) rgba_unpack() argument 207 rgba_delta_unpack( const int input[8], int quantization_level, uint4* output0, uint4* output1 ) rgba_delta_unpack() argument 241 rgb_scale_unpack( const int input[4], int quantization_level, uint4* output0, uint4* output1 ) rgb_scale_unpack() argument 257 rgb_scale_alpha_unpack( const int input[6], int quantization_level, uint4 * output0, uint4 * output1 ) rgb_scale_alpha_unpack() argument 268 luminance_unpack( const int input[2], int quantization_level, uint4* output0, uint4* output1 ) luminance_unpack() argument 280 luminance_delta_unpack( const int input[2], int quantization_level, uint4* output0, uint4* output1 ) luminance_delta_unpack() argument 298 luminance_alpha_unpack( const int input[4], int quantization_level, uint4* output0, uint4* output1 ) luminance_alpha_unpack() argument 312 luminance_alpha_delta_unpack( const int input[4], int quantization_level, uint4* output0, uint4* output1 ) luminance_alpha_delta_unpack() argument 354 hdr_rgbo_unpack3( const int input[4], int quantization_level, uint4* output0, uint4* output1 ) hdr_rgbo_unpack3() argument 498 hdr_rgb_unpack3( const int input[6], int quantization_level, uint4* output0, uint4 * output1 ) hdr_rgb_unpack3() argument 676 hdr_rgb_ldr_alpha_unpack3( const int input[8], int quantization_level, uint4* output0, uint4* output1 ) hdr_rgb_ldr_alpha_unpack3() argument 690 hdr_luminance_small_range_unpack( const int input[2], int quantization_level, uint4* output0, uint4* output1 ) hdr_luminance_small_range_unpack() argument 719 hdr_luminance_large_range_unpack( const int input[2], int quantization_level, uint4* output0, uint4* output1 ) hdr_luminance_large_range_unpack() argument 743 hdr_alpha_unpack( const int input[2], int quantization_level, int *a0, int *a1 ) hdr_alpha_unpack() argument 784 hdr_rgb_hdr_alpha_unpack3( const int input[8], int quantization_level, uint4* output0, uint4* output1 ) hdr_rgb_hdr_alpha_unpack3() argument 799 unpack_color_endpoints( astc_decode_mode decode_mode, int format, int quantization_level, const int* input, int* rgb_hdr, int* alpha_hdr, int* nan_endpoint, uint4* output0, uint4* output1 ) unpack_color_endpoints() argument [all...] |
/third_party/curl/tests/unit/ |
H A D | unit1652.c | 39 static char input[4096]; variable 98 msnprintf(input, sizeof(input), "Simple Test"); 99 Curl_infof(data, "%s", input); 100 fail_unless(verify(result, input) == 0, "Simple string test"); 103 Curl_infof(data, "%s %u testing %lu", input, 42, 43L); 114 memset(input, '\0', sizeof(input)); 115 memset(input, 'A', 2047); 116 Curl_infof(data, "%s", input); [all...] |
/third_party/node/deps/zlib/google/ |
H A D | compression_utils.cc | 15 bool GzipCompress(base::span<const char> input, in GzipCompress() argument 27 reinterpret_cast<const Bytef*>(input.data()), in GzipCompress() 28 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress() 36 bool GzipCompress(base::span<const char> input, std::string* output) { in GzipCompress() argument 37 return GzipCompress(base::as_bytes(input), output); in GzipCompress() 40 bool GzipCompress(base::span<const uint8_t> input, std::string* output) { in GzipCompress() argument 44 const uLongf input_size = static_cast<uLongf>(input.size()); in GzipCompress() 57 reinterpret_cast<const Bytef*>(input.data()), input_size, nullptr, in GzipCompress() 76 bool GzipUncompress(const std::string& input, std::string* output) { in GzipUncompress() argument 78 uLongf uncompressed_size = static_cast<uLongf>(GetUncompressedSize(input)); in GzipUncompress() 93 GzipUncompress(base::span<const char> input, base::span<const char> output) GzipUncompress() argument 98 GzipUncompress(base::span<const uint8_t> input, base::span<const uint8_t> output) GzipUncompress() argument 109 GzipUncompress(base::span<const char> input, std::string* output) GzipUncompress() argument 113 GzipUncompress(base::span<const uint8_t> input, std::string* output) GzipUncompress() argument [all...] |
/third_party/python/Lib/encodings/ |
H A D | utf_8_sig.py | 14 def encode(input, errors='strict'): 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], 16 len(input)) 18 def decode(input, errors='strict'): 20 if input[:3] == codecs.BOM_UTF8: 21 input = input[3:] 23 (output, consumed) = codecs.utf_8_decode(input, errors, True) 31 def encode(self, input, final=False): 35 codecs.utf_8_encode(input, sel [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-ot-collect-glyphs.c | 31 hb_ot_layout_lookup_collect_glyphs (face, tag, idx, before, input, after, output) \ 35 hb_set_clear (input); \ 45 hb_set_t *input = hb_set_create(); in test_ot_layout_lookup_collect_glyphs_source_sans() local 53 g_assert_cmpuint (684, ==, hb_set_get_population (input)); in test_ot_layout_lookup_collect_glyphs_source_sans() 55 g_assert (hb_set_next (input, &g)); in test_ot_layout_lookup_collect_glyphs_source_sans() 68 g_assert_cmpuint (143, ==, hb_set_get_population (input)); in test_ot_layout_lookup_collect_glyphs_source_sans() 70 g_assert (hb_set_next (input, &g)); in test_ot_layout_lookup_collect_glyphs_source_sans() 85 g_assert_cmpuint (10, ==, hb_set_get_population (input)); in test_ot_layout_lookup_collect_glyphs_source_sans() 87 g_assert (hb_set_next (input, &g)); in test_ot_layout_lookup_collect_glyphs_source_sans() 102 g_assert_cmpuint (14, ==, hb_set_get_population (input)); in test_ot_layout_lookup_collect_glyphs_source_sans() 225 hb_set_t *input = hb_set_create(); test_ot_layout_lookup_collect_glyphs_noto_nastaliq() local 373 hb_set_t *input = hb_set_create(); test_ot_layout_lookup_collect_glyphs_qahiri() local [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | AbstractParser.java | 78 public MessageType parsePartialFrom(CodedInputStream input) in parsePartialFrom() argument 80 return parsePartialFrom(input, EMPTY_REGISTRY); in parsePartialFrom() 84 public MessageType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom() argument 86 return checkMessageInitialized(parsePartialFrom(input, extensionRegistry)); in parseFrom() 90 public MessageType parseFrom(CodedInputStream input) throws InvalidProtocolBufferException { in parseFrom() argument 91 return parseFrom(input, EMPTY_REGISTRY); in parseFrom() 99 CodedInputStream input = data.newCodedInput(); in parsePartialFrom() 100 message = parsePartialFrom(input, extensionRegistry); in parsePartialFrom() 102 input.checkLastTagWas(0); in parsePartialFrom() 133 CodedInputStream input in parseFrom() 212 parsePartialFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parsePartialFrom() argument 225 parsePartialFrom(InputStream input) parsePartialFrom() argument 230 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom() argument 236 parseFrom(InputStream input) parseFrom() argument 241 parsePartialDelimitedFrom( InputStream input, ExtensionRegistryLite extensionRegistry) parsePartialDelimitedFrom() argument 259 parsePartialDelimitedFrom(InputStream input) parsePartialDelimitedFrom() argument 265 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseDelimitedFrom() argument 271 parseDelimitedFrom(InputStream input) parseDelimitedFrom() argument [all...] |
/third_party/rust/crates/clap/clap_derive/src/ |
H A D | lib.rs | 36 pub fn value_enum(input: TokenStream) -> TokenStream { in value_enum() 37 let input: DeriveInput = parse_macro_input!(input); in value_enum() 38 derives::derive_value_enum(&input) in value_enum() 40 let dummy = dummies::value_enum(&input.ident); in value_enum() 53 pub fn parser(input: TokenStream) -> TokenStream { in parser() 54 let input: DeriveInput = parse_macro_input!(input); in parser() 55 derives::derive_parser(&input) in parser() 57 let specific_dummy = match input in parser() [all...] |
/third_party/skia/third_party/externals/angle2/src/image_util/ |
H A D | loadimage.h | 21 const uint8_t *input, 31 const uint8_t *input, 41 const uint8_t *input, 51 const uint8_t *input, 61 const uint8_t *input, 71 const uint8_t *input, 81 const uint8_t *input, 91 const uint8_t *input, 101 const uint8_t *input, 111 const uint8_t *input, [all...] |
/third_party/skia/third_party/externals/oboe/tests/ |
H A D | testFlowgraph.cpp | 44 static const float input[] = {1.0f, 0.5f, -0.25f, -1.0f, 0.0f, 53.9f, -87.2f}; in TEST() local 50 int numInputFrames = sizeof(input) / sizeof(input[0]); in TEST() 51 sourceFloat.setData(input, numInputFrames); in TEST() 52 sourceFloat.output.connect(&sinkI16.input); in TEST() 63 static const float input[] = {1.0f, 2.0f, 3.0f}; in TEST() local 69 sourceFloat.setData(input, 3); in TEST() 71 sourceFloat.output.connect(&monoToStereo.input); in TEST() 72 monoToStereo.output.connect(&sinkFloat.input); in TEST() 76 EXPECT_EQ(input[ in TEST() 116 static const uint8_t input[] = {0x01, 0x23, 0x45, TEST() local 138 static const float input[] = {-9.7, 0.5f, -0.25, 1.0f, 12.3}; TEST() local [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | utf16tst.c | 149 static UChar input[]={ in TestGetChar() local 186 for(offset=0; offset<UPRV_LENGTHOF(input); offset++) { in TestGetChar() 187 if(0<offset && offset<UPRV_LENGTHOF(input)-1){ in TestGetChar() 189 UTF16_GET_CHAR_UNSAFE(input, offset, c); in TestGetChar() 194 U16_GET_UNSAFE(input, offset, c); in TestGetChar() 201 UTF16_GET_CHAR_SAFE(input, 0, offset, UPRV_LENGTHOF(input), c, false); in TestGetChar() 206 U16_GET(input, 0, offset, UPRV_LENGTHOF(input), c); in TestGetChar() 211 U16_GET_OR_FFFD(input, in TestGetChar() 228 static UChar input[]={0x0061, 0xd800, 0xdc00, 0xdbff, 0xdfff, 0x0062, 0xd841, 0xd7ff, 0xd841, 0xdc41, 0xdc00, 0x0000}; TestNextPrevChar() local 402 static const UChar input[]={ TestNulTerminated() local 482 static UChar input[]={0x0061, 0xd800, 0xdc00, 0xdbff, 0xdfff, 0x0062, 0xd841, 0xd7ff, 0xd841, 0xdc41, 0xdc00, 0x0000}; TestFwdBack() local 647 static UChar input[]={0x0061, 0xd800, 0xdc00, 0xdbff, 0xdfff, 0x0062, 0xd841, 0xd7ff, 0xd841, 0xdc41, 0xdc00, 0x0000}; TestSetChar() local [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-external-refs.cc | 59 float input = ReadUnalignedValue<float>(data); in f32_nearest_int_wrapper() local 60 float value = nearbyintf(input); in f32_nearest_int_wrapper() 62 value = FpOpWorkaround<float>(input, value); in f32_nearest_int_wrapper() 80 double input = ReadUnalignedValue<double>(data); in f64_nearest_int_wrapper() local 81 double value = nearbyint(input); in f64_nearest_int_wrapper() 83 value = FpOpWorkaround<double>(input, value); in f64_nearest_int_wrapper() 89 int64_t input = ReadUnalignedValue<int64_t>(data); in int64_to_float32_wrapper() local 90 WriteUnalignedValue<float>(data, static_cast<float>(input)); in int64_to_float32_wrapper() 94 uint64_t input = ReadUnalignedValue<uint64_t>(data); in uint64_to_float32_wrapper() local 128 uint32_t leading_zeros = base::bits::CountLeadingZeros(input); in uint64_to_float32_wrapper() 165 int64_t input = ReadUnalignedValue<int64_t>(data); int64_to_float64_wrapper() local 170 uint64_t input = ReadUnalignedValue<uint64_t>(data); uint64_to_float64_wrapper() local 192 float input = ReadUnalignedValue<float>(data); float32_to_int64_wrapper() local 201 float input = ReadUnalignedValue<float>(data); float32_to_uint64_wrapper() local 210 double input = ReadUnalignedValue<double>(data); float64_to_int64_wrapper() local 219 double input = ReadUnalignedValue<double>(data); float64_to_uint64_wrapper() local 228 float input = ReadUnalignedValue<float>(data); float32_to_int64_sat_wrapper() local 245 float input = ReadUnalignedValue<float>(data); float32_to_uint64_sat_wrapper() local 258 double input = ReadUnalignedValue<double>(data); float64_to_int64_sat_wrapper() local 275 double input = ReadUnalignedValue<double>(data); float64_to_uint64_sat_wrapper() local 351 uint32_t input = ReadUnalignedValue<uint32_t>(data); word32_rol_wrapper() local 357 uint32_t input = ReadUnalignedValue<uint32_t>(data); word32_ror_wrapper() local 363 uint64_t input = ReadUnalignedValue<uint64_t>(data); word64_rol_wrapper() local 370 uint64_t input = ReadUnalignedValue<uint64_t>(data); word64_ror_wrapper() local 386 T input = ReadUnalignedValue<T>(data + (i * sizeof(T))); simd_float_round_wrapper() local [all...] |
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
H A D | CodedInputStreamTest.cs | 62 CodedInputStream input = new CodedInputStream(data);
in AssertReadVarint() 63 Assert.AreEqual((uint) value, input.ReadRawVarint32());
in AssertReadVarint() 65 input = new CodedInputStream(data);
in AssertReadVarint() 66 Assert.AreEqual(value, input.ReadRawVarint64());
in AssertReadVarint() 67 Assert.IsTrue(input.IsAtEnd);
in AssertReadVarint() 72 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize));
in AssertReadVarint() 73 Assert.AreEqual((uint) value, input.ReadRawVarint32());
in AssertReadVarint() 75 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize));
in AssertReadVarint() 76 Assert.AreEqual(value, input.ReadRawVarint64());
in AssertReadVarint() 77 Assert.IsTrue(input in AssertReadVarint() [all...] |
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | CodedInputStreamTest.java | 94 CodedInputStream input = CodedInputStream.newInstance(data); in assertReadVarint() 95 assertEquals((int)value, input.readRawVarint32()); in assertReadVarint() 97 input = CodedInputStream.newInstance(data); in assertReadVarint() 98 assertEquals(value, input.readRawVarint64()); in assertReadVarint() 99 assertTrue(input.isAtEnd()); in assertReadVarint() 103 input = CodedInputStream.newInstance( in assertReadVarint() 105 assertEquals((int)value, input.readRawVarint32()); in assertReadVarint() 107 input = CodedInputStream.newInstance( in assertReadVarint() 109 assertEquals(value, input.readRawVarint64()); in assertReadVarint() 110 assertTrue(input in assertReadVarint() [all...] |
/third_party/node/deps/openssl/openssl/crypto/chacha/ |
H A D | chacha_enc.c | 41 /* chacha_core performs 20 rounds of ChaCha on the input words in 42 * |input| and writes the 64 output bytes to |output|. */ 43 static void chacha20_core(chacha_buf *output, const u32 input[16]) in chacha20_core() argument 49 memcpy(x, input, sizeof(x)); in chacha20_core() 64 output->u[i] = x[i] + input[i]; in chacha20_core() 67 U32TO8_LITTLE(output->c + 4 * i, (x[i] + input[i])); in chacha20_core() 75 u32 input[16]; in ChaCha20_ctr32() local 80 input[0] = ((u32)ossl_toascii('e')) | ((u32)ossl_toascii('x') << 8) in ChaCha20_ctr32() 83 input[1] = ((u32)ossl_toascii('n')) | ((u32)ossl_toascii('d') << 8) in ChaCha20_ctr32() 86 input[ in ChaCha20_ctr32() [all...] |
/third_party/openssl/crypto/chacha/ |
H A D | chacha_enc.c | 41 /* chacha_core performs 20 rounds of ChaCha on the input words in 42 * |input| and writes the 64 output bytes to |output|. */ 43 static void chacha20_core(chacha_buf *output, const u32 input[16]) in chacha20_core() argument 49 memcpy(x, input, sizeof(x)); in chacha20_core() 64 output->u[i] = x[i] + input[i]; in chacha20_core() 67 U32TO8_LITTLE(output->c + 4 * i, (x[i] + input[i])); in chacha20_core() 75 u32 input[16]; in ChaCha20_ctr32() local 80 input[0] = ((u32)ossl_toascii('e')) | ((u32)ossl_toascii('x') << 8) in ChaCha20_ctr32() 83 input[1] = ((u32)ossl_toascii('n')) | ((u32)ossl_toascii('d') << 8) in ChaCha20_ctr32() 86 input[ in ChaCha20_ctr32() [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_unittest.cc | 37 // corresponding input stream to read the same data back and expect it to 41 // process is run with a variety of block sizes for both the input and 107 // Helper to read a fixed-length array of data from an input stream. 108 int ReadFromInput(ZeroCopyInputStream* input, void* data, int size); 113 void ReadString(ZeroCopyInputStream* input, const std::string& str); 116 // input stream. 118 // Reads text from an input stream and expects it to match what 120 void ReadStuff(ZeroCopyInputStream* input); 126 void ReadStuffLarge(ZeroCopyInputStream* input); 169 int IoTest::ReadFromInput(ZeroCopyInputStream* input, voi argument 208 ReadString(ZeroCopyInputStream* input, const std::string& str) ReadString() argument 231 ReadStuff(ZeroCopyInputStream* input) ReadStuff() argument 263 ReadStuffLarge(ZeroCopyInputStream* input) ReadStuffLarge() argument 327 ArrayInputStream* input = TEST_F() local 633 ArrayInputStream* input = TEST_F() local [all...] |