Home
last modified time | relevance | path

Searched refs:input (Results 51 - 75 of 3779) sorted by relevance

12345678910>>...152

/third_party/node/deps/openssl/openssl/crypto/chacha/
H A Dchacha_enc.c41 /* 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 Dchacha_enc.c41 /* 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/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DAffixUtilsTest.java69 String input = (String) cas[0]; in testEscape()
72 AffixUtils.escape(input, sb); in testEscape()
116 String input = (String) cas[0]; in testUnescape()
121 assertEquals("Currency on <" + input + ">", curr, AffixUtils.hasCurrencySymbols(input)); in testUnescape()
122 assertEquals("Length on <" + input + ">", length, AffixUtils.estimateLength(input)); in testUnescape()
124 String actual = unescapeWithDefaults(input); in testUnescape()
125 assertEquals("Output on <" + input + ">", output, actual); in testUnescape()
127 int ulength = AffixUtils.unescapedCount(input, tru in testUnescape()
241 unescapeWithDefaults(String input) unescapeWithDefaults() argument
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DAffixUtilsTest.java68 String input = (String) cas[0]; in testEscape()
71 AffixUtils.escape(input, sb); in testEscape()
116 String input = (String) cas[0]; in testUnescape()
121 assertEquals("Currency on <" + input + ">", curr, AffixUtils.hasCurrencySymbols(input)); in testUnescape()
122 assertEquals("Length on <" + input + ">", length, AffixUtils.estimateLength(input)); in testUnescape()
124 String actual = unescapeWithDefaults(input); in testUnescape()
125 assertEquals("Output on <" + input + ">", output, actual); in testUnescape()
127 int ulength = AffixUtils.unescapedCount(input, tru in testUnescape()
241 unescapeWithDefaults(String input) unescapeWithDefaults() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/image_util/
H A Dloadimage.h21 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...]
/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/
H A Dfilter_unittest.cpp175 auto input = filterFactory.GetFilter("Input"); in HWTEST_F() local
177 bool testResult1 = input != nullptr; in HWTEST_F()
184 input->AddNextFilter(output); in HWTEST_F()
201 auto input = filterFactory.GetFilter("Input"); in HWTEST_F() local
202 bool testResult = input != nullptr; in HWTEST_F()
207 input->AddNextFilter(nullptr); in HWTEST_F()
224 auto input = filterFactory.GetFilter("Input"); in HWTEST_F() local
226 bool testResult1 = input != nullptr; in HWTEST_F()
230 input->AddNextFilter(output); in HWTEST_F()
234 auto nextFilter = input in HWTEST_F()
253 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
279 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
328 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
383 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
411 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
435 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
463 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
487 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
511 auto input = filterFactory.GetFilter("Input"); HWTEST_F() local
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-external-refs.cc59 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetRecog_Unicode.java65 byte[] input = det.fRawInput; in match()
68 int bytesToCheck = Math.min(input.length, 30); in match()
70 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); in match()
101 byte[] input = det.fRawInput; in match()
104 int bytesToCheck = Math.min(input.length, 30); in match()
106 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]); in match()
128 abstract int getChar(byte[] input, int index); in getChar() argument
136 byte[] input in match()
183 getChar(byte[] input, int index) getChar() argument
200 getChar(byte[] input, int index) getChar() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCharsetRecog_Unicode.java66 byte[] input = det.fRawInput; in match()
69 int bytesToCheck = Math.min(input.length, 30); in match()
71 int codeUnit = codeUnit16FromBytes(input[charIndex], input[charIndex + 1]); in match()
102 byte[] input = det.fRawInput; in match()
105 int bytesToCheck = Math.min(input.length, 30); in match()
107 int codeUnit = codeUnit16FromBytes(input[charIndex+1], input[charIndex]); in match()
129 abstract int getChar(byte[] input, int index); in getChar() argument
137 byte[] input in match()
184 getChar(byte[] input, int index) getChar() argument
201 getChar(byte[] input, int index) getChar() argument
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dutf16tst.c149 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/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DCodedInputStreamTest.java94 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...]
/foundation/ai/ai_engine/services/common/platform/os_wrapper/feature/source/
H A Dtype_converter.cpp30 #define TYPE_CONVERT_ITEMS(input, output, indices) \
32 std::for_each(indices.begin(), indices.end(), [input, output](size_t i) { \
33 output[i] = input[i]; \
141 int32_t TypeConverter::Process(const FeatureData &input, FeatureData &output) in Process() argument
147 if (input.data == nullptr || input.size == 0) { in Process()
148 HILOGE("[TypeConverter]Fail to process with nullptr input"); in Process()
151 if (input.size != workBuffer_.size) { in Process()
152 HILOGE("[TypeConverter]The input size[%zu] is not equal to the output size[%zu]", in Process()
153 input in Process()
166 InnerProcess(const FeatureData &input) InnerProcess() argument
[all...]
/third_party/node/deps/v8/third_party/zlib/google/
H A Dcompression_utils.cc16 bool GzipCompress(base::span<const char> input, in GzipCompress() argument
28 bit_cast<const Bytef*>(input.data()), in GzipCompress()
29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
37 bool GzipCompress(base::span<const char> input, std::string* output) { in GzipCompress() argument
38 return GzipCompress(base::as_bytes(input), output); in GzipCompress()
41 bool GzipCompress(base::span<const uint8_t> input, std::string* output) { in GzipCompress() argument
45 const uLongf input_size = static_cast<uLongf>(input.size()); in GzipCompress()
57 bit_cast<const Bytef*>(input.data()), 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/skia/third_party/externals/zlib/google/
H A Dcompression_utils.cc16 bool GzipCompress(base::span<const char> input, in GzipCompress() argument
28 bit_cast<const Bytef*>(input.data()), in GzipCompress()
29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
37 bool GzipCompress(base::span<const char> input, std::string* output) { in GzipCompress() argument
38 return GzipCompress(base::as_bytes(input), output); in GzipCompress()
41 bool GzipCompress(base::span<const uint8_t> input, std::string* output) { in GzipCompress() argument
45 const uLongf input_size = static_cast<uLongf>(input.size()); in GzipCompress()
57 bit_cast<const Bytef*>(input.data()), 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/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs62 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/src/google/protobuf/io/
H A Dzero_copy_stream_unittest.cc37 // 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...]
/third_party/icu/icu4c/source/i18n/
H A Dcsrucode.cpp57 const uint8_t *input = textIn->fRawInput; in match() local
63 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match()
92 const uint8_t *input = textIn->fRawInput; in match() local
98 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match()
101 if (length >= 4 && input[2] == 0 && input[3] == 0) { in match()
125 const uint8_t *input = textIn->fRawInput; in match() local
132 if (limit > 0 && getChar(input, in match()
176 getChar(const uint8_t *input, int32_t index) const getChar() argument
192 getChar(const uint8_t *input, int32_t index) const getChar() argument
[all...]
/third_party/node/test/fixtures/wpt/streams/transform-streams/
H A Dlipfuzz.any.js55 input: [''],
59 input: [],
63 input: ['{{in1}}'],
67 input: ['z{{in1}}'],
71 input: ['{{in1}}q'],
75 input: ['{{in1}}{{in1}'],
79 input: ['{{in1}}{{in1}', '}'],
83 input: ['{{in1', '}}'],
87 input: ['{{', 'in1}}'],
91 input
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dcsrucode.cpp57 const uint8_t *input = textIn->fRawInput; in match() local
63 char16_t codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match()
92 const uint8_t *input = textIn->fRawInput; in match() local
98 char16_t codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match()
101 if (length >= 4 && input[2] == 0 && input[3] == 0) { in match()
125 const uint8_t *input = textIn->fRawInput; in match() local
132 if (limit > 0 && getChar(input, in match()
176 getChar(const uint8_t *input, int32_t index) const getChar() argument
192 getChar(const uint8_t *input, int32_t index) const getChar() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcsrucode.cpp57 const uint8_t *input = textIn->fRawInput; in match() local
63 UChar codeUnit = (input[charIndex] << 8) | input[charIndex + 1]; in match()
92 const uint8_t *input = textIn->fRawInput; in match() local
98 UChar codeUnit = input[charIndex] | (input[charIndex + 1] << 8); in match()
101 if (length >= 4 && input[2] == 0 && input[3] == 0) { in match()
125 const uint8_t *input = textIn->fRawInput; in match() local
132 if (limit > 0 && getChar(input, in match()
176 getChar(const uint8_t *input, int32_t index) const getChar() argument
192 getChar(const uint8_t *input, int32_t index) const getChar() argument
[all...]
/foundation/distributeddatamgr/udmf/framework/common/
H A Dudmf_types_util.cpp26 bool Marshalling(const UnifiedData &input, MessageParcel &parcel) in Marshalling() argument
30 if (!TLVUtil::Writing(input, recordTlv, TAG::TAG_UNIFIED_DATA)) { in Marshalling()
67 bool Marshalling(const std::vector<UnifiedData> &input, MessageParcel &parcel) in Marshalling() argument
71 if (!TLVUtil::Writing(input, recordTlv, TAG::TAG_UNIFIED_DATA)) { in Marshalling()
107 bool Marshalling(const Summary &input, MessageParcel &parcel) in Marshalling() argument
109 return ITypesUtil::Marshal(parcel, input.summary, input.totalSize); in Marshalling()
119 bool Marshalling(const Privilege &input, MessageParcel &parcel) in Marshalling() argument
121 return ITypesUtil::Marshal(parcel, input.tokenId, input in Marshalling()
131 Marshalling(const CustomOption &input, MessageParcel &parcel) Marshalling() argument
143 Marshalling(const QueryOption &input, MessageParcel &parcel) Marshalling() argument
155 Marshalling(const UDType &input, MessageParcel &parcel) Marshalling() argument
178 Marshalling(const Intention &input, MessageParcel &parcel) Marshalling() argument
201 Marshalling(const AsyncProcessInfo &input, MessageParcel &parcel) Marshalling() argument
[all...]
/third_party/rust/crates/nom/src/sequence/
H A Dmod.rs37 move |input: I| { in pair()
38 let (input, o1) = first.parse(input)?; in pair()
39 second.parse(input).map(|(i, o2)| (i, (o1, o2))) in pair()
71 move |input: I| { in preceded()
72 let (input, _) = first.parse(input)?; in preceded()
73 second.parse(input) in preceded()
105 move |input: I| { in terminated()
106 let (input, o in terminated()
[all...]
/third_party/node/src/crypto/
H A Dcrypto_spkac.cc19 bool VerifySpkac(const ArrayBufferOrViewContents<char>& input) { in VerifySpkac() argument
20 size_t length = input.size(); in VerifySpkac()
25 length = std::string(input.data()).find_last_not_of(" \n\r\t") + 1; in VerifySpkac()
28 NETSCAPE_SPKI_b64_decode(input.data(), length)); in VerifySpkac()
41 ArrayBufferOrViewContents<char> input(args[0]); in VerifySpkac()
42 if (input.size() == 0) in VerifySpkac()
45 if (UNLIKELY(!input.CheckSizeInt32())) in VerifySpkac()
48 args.GetReturnValue().Set(VerifySpkac(input)); in VerifySpkac()
52 const ArrayBufferOrViewContents<char>& input) { in ExportPublicKey()
56 size_t length = input in ExportPublicKey()
51 ExportPublicKey(Environment* env, const ArrayBufferOrViewContents<char>& input) ExportPublicKey() argument
90 ExportChallenge(const ArrayBufferOrViewContents<char>& input) ExportChallenge() argument
[all...]
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/
H A Dobject_types_util.cpp20 bool Marshalling(const AssetBindInfo &input, MessageParcel &data) in Marshalling() argument
22 return ITypesUtil::Marshal(data, input.storeName, input.tableName, input.primaryKey, input.field, in Marshalling()
23 input.assetName); in Marshalling()
32 bool Marshalling(const Asset &input, MessageParcel &data) in Marshalling() argument
34 return ITypesUtil::Marshal(data, input.name, input.uri, input in Marshalling()
[all...]
/third_party/gn/src/gn/
H A Dfunctions_unittest.cc24 TestParseInput input(assert_pass_example); in TEST()
25 ASSERT_FALSE(input.has_error()); in TEST()
27 input.parsed()->Execute(setup.scope(), &err); in TEST()
33 TestParseInput input("assert(false)"); in TEST()
34 ASSERT_FALSE(input.has_error()); in TEST()
36 input.parsed()->Execute(setup.scope(), &err); in TEST()
43 TestParseInput input("assert(false, \"What failed\")"); in TEST()
44 ASSERT_FALSE(input.has_error()); in TEST()
46 input.parsed()->Execute(setup.scope(), &err); in TEST()
65 TestParseInput input(bad_usage_exampl in TEST()
[all...]

Completed in 11 milliseconds

12345678910>>...152