Home
last modified time | relevance | path

Searched refs:from (Results 1151 - 1175 of 5865) sorted by relevance

1...<<41424344454647484950>>...235

/third_party/rust/crates/rust-openssl/openssl/src/
H A Decdsa.rs170 let data = String::from("hello"); in sign_and_verify()
179 .verify(String::from("hello2").as_bytes(), &public_key) in sign_and_verify()
194 let data = String::from("hello"); in check_private_components()
215 let data = String::from("hello"); in serialize_deserialize()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H A Dread_sockaddr.rs17 /// Read the `ss_family` field from a socket address returned from the OS.
21 /// `storage` must point to a valid socket address returned from the OS.
68 Ipv4Addr::from(u32::from_be(decode.sin_addr.s_addr)),
78 Ipv6Addr::from(decode.sin6_addr.in6_u.u6_addr8),
108 /// Read a socket address returned from the OS.
112 /// `storage` must point to a valid socket address returned from the OS.
124 /// Read a socket address returned from the OS.
128 /// `storage` must point to a valid socket address returned from the OS.
138 Ipv4Addr::from(u3
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/animation/
H A Dtransition_impl.cpp165 int16_t TransitionImpl::GetNextFrameValue(int16_t from, int16_t to, int32_t elapsedTime) const in GetNextFrameValue() argument
169 nextPoint = EasingEquation::CubicEaseIn(from, to, elapsedTime, params_.during); in GetNextFrameValue()
171 nextPoint = EasingEquation::CubicEaseOut(from, to, elapsedTime, params_.during); in GetNextFrameValue()
173 nextPoint = EasingEquation::CubicEaseInOut(from, to, elapsedTime, params_.during); in GetNextFrameValue()
175 nextPoint = EasingEquation::LinearEaseNone(from, to, elapsedTime, params_.during); in GetNextFrameValue()
279 void TransitionImpl::PerformTransition(int16_t from, in PerformTransition() argument
289 prefetchedValue = GetNextFrameValue(from, to, elapsedTime); in PerformTransition()
/test/xts/acts/security/huks/security_huks_basic/utils/param/signverify/
H A DpublicSignverifyCallback.js15 import { expect } from '@ohos/hypium';
16 import huks from '@ohos.security.huks';
17 import { HksKeyAlg } from '../publicParam.js';
18 import { HuksSignVerifyDSA } from './publicSignverifyParam.js';
19 import { stringToUint8Array, uint8ArrayToString } from '../publicFunc.js';
141 Array.from(inData).slice(inDataSegPosition, inDataSegPosition + inDataSegSize)
146 outData = outData.concat(Array.from(data.outData));
/test/xts/acts/security/huks/security_huks_reformed_test/utils/param/signverify/
H A DpublicSignverifyCallback.js15 import { expect } from '@ohos/hypium';
16 import huks from '@ohos.security.huks';
17 import { HksKeyAlg } from '../publicParam';
18 import { HuksSignVerifyDSA } from './publicSignverifyParam';
19 import { stringToUint8Array, uint8ArrayToString } from '../publicFunc';
172 Array.from(inData).slice(inDataSegPosition, inDataSegPosition + inDataSegSize)
179 outData = outData.concat(Array.from(data.outData));
/third_party/icu/icu4c/source/common/
H A Duloc_keytype.cpp278 const char* from = ures_getKey(typeAliasDataEntry.getAlias()); in initFromResourceBundle() local
281 if (uprv_strchr(from, ':') != NULL) { in initFromResourceBundle()
283 gKeyTypeStringPool->create(from, sts); in initFromResourceBundle()
295 from = fromBuf->data(); in initFromResourceBundle()
298 uhash_put(typeDataMap, (void*)from, t, &sts); in initFromResourceBundle()
319 const char* from = ures_getKey(bcpTypeAliasDataEntry.getAlias()); in initFromResourceBundle() local
320 uhash_put(typeDataMap, (void*)from, t, &sts); in initFromResourceBundle()
/third_party/node/test/common/
H A Ddns.js186 Buffer.from([label.length]),
187 Buffer.from(label, 'ascii'),
245 buffers.push(Buffer.from(txt));
276 buffers.push(Buffer.from([Number(rr.critical)]));
277 buffers.push(Buffer.from([Number(5)]));
278 buffers.push(Buffer.from('issue' + rr.issue));
287 const buf = Buffer.from(typedArray.buffer,
/third_party/node/deps/icu-small/source/common/
H A Duloc_keytype.cpp278 const char* from = ures_getKey(typeAliasDataEntry.getAlias()); in initFromResourceBundle() local
281 if (uprv_strchr(from, ':') != nullptr) { in initFromResourceBundle()
283 gKeyTypeStringPool->create(from, sts); in initFromResourceBundle()
295 from = fromBuf->data(); in initFromResourceBundle()
298 uhash_put(typeDataMap, (void*)from, t, &sts); in initFromResourceBundle()
319 const char* from = ures_getKey(bcpTypeAliasDataEntry.getAlias()); in initFromResourceBundle() local
320 uhash_put(typeDataMap, (void*)from, t, &sts); in initFromResourceBundle()
/third_party/node/deps/v8/src/torque/
H A Dtype-oracle.h359 const Type* to, const Type* from) { in ImplicitlyConvertableFrom()
360 while (from != nullptr) { in ImplicitlyConvertableFrom()
364 from_constexpr->GetSpecialization({to, from})) { in ImplicitlyConvertableFrom()
366 TypeVector{from}) { in ImplicitlyConvertableFrom()
367 return from; in ImplicitlyConvertableFrom()
371 from = from->parent(); in ImplicitlyConvertableFrom()
358 ImplicitlyConvertableFrom( const Type* to, const Type* from) ImplicitlyConvertableFrom() argument
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx509_vpm.c111 * This function determines how parameters are "inherited" from one structure
114 * 1. If a child structure needs to have its values initialized from a parent
123 * Normally any values which are set in the default are not copied from the
128 * which will be used only if nothing new is set in "from".
142 /* Macro to test if a field should be copied from src to dest */
222 const X509_VERIFY_PARAM *from) in X509_VERIFY_PARAM_set1()
233 ret = X509_VERIFY_PARAM_inherit(to, from); in X509_VERIFY_PARAM_set1()
415 * Move peername from one param structure to another, freeing any name present
420 X509_VERIFY_PARAM *from) in X509_VERIFY_PARAM_move_peername()
422 char *peername = (from ! in X509_VERIFY_PARAM_move_peername()
221 X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to, const X509_VERIFY_PARAM *from) X509_VERIFY_PARAM_set1() argument
419 X509_VERIFY_PARAM_move_peername(X509_VERIFY_PARAM *to, X509_VERIFY_PARAM *from) X509_VERIFY_PARAM_move_peername() argument
[all...]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
H A DRangeSpecificationTest.java114 assertThat(RangeSpecification.from(DigitSequence.empty())) in testFrom()
116 assertThat(RangeSpecification.from(DigitSequence.of("1"))).isEqualTo(parse("1")); in testFrom()
117 assertThat(RangeSpecification.from(DigitSequence.of("1234"))).isEqualTo(parse("1234")); in testFrom()
233 Truth.assertThat(RangeSpecification.from(setOf(range("1200", "1299")))) in testRangeProcessing_singleBlock()
239 Truth.assertThat(RangeSpecification.from(setOf(range("0000", "9999")))) in testRangeProcessing_fullRange()
245 Truth.assertThat(RangeSpecification.from(setOf(range("1199", "1300")))).isEqualTo(specs( in testRangeProcessing_edgeCases()
253 Truth.assertThat(RangeSpecification.from(setOf(range("123", "45678")))).isEqualTo(specs( in testRangeProcessing_complex()
/third_party/openssl/crypto/x509/
H A Dx509_vpm.c111 * This function determines how parameters are "inherited" from one structure
114 * 1. If a child structure needs to have its values initialized from a parent
123 * Normally any values which are set in the default are not copied from the
128 * which will be used only if nothing new is set in "from".
142 /* Macro to test if a field should be copied from src to dest */
222 const X509_VERIFY_PARAM *from) in X509_VERIFY_PARAM_set1()
233 ret = X509_VERIFY_PARAM_inherit(to, from); in X509_VERIFY_PARAM_set1()
412 * Move peername from one param structure to another, freeing any name present
417 X509_VERIFY_PARAM *from) in X509_VERIFY_PARAM_move_peername()
419 char *peername = (from ! in X509_VERIFY_PARAM_move_peername()
221 X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to, const X509_VERIFY_PARAM *from) X509_VERIFY_PARAM_set1() argument
416 X509_VERIFY_PARAM_move_peername(X509_VERIFY_PARAM *to, X509_VERIFY_PARAM *from) X509_VERIFY_PARAM_move_peername() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Duloc_keytype.cpp276 const char* from = ures_getKey(typeAliasDataEntry.getAlias()); in initFromResourceBundle() local
279 if (uprv_strchr(from, ':') != NULL) { in initFromResourceBundle()
281 gKeyTypeStringPool->create(from, sts); in initFromResourceBundle()
293 from = fromBuf->data(); in initFromResourceBundle()
296 uhash_put(typeDataMap, (void*)from, t, &sts); in initFromResourceBundle()
317 const char* from = ures_getKey(bcpTypeAliasDataEntry.getAlias()); in initFromResourceBundle() local
318 uhash_put(typeDataMap, (void*)from, t, &sts); in initFromResourceBundle()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
H A Dradius_das.c70 "Disconnect-Request from %s:%d", attr, in radius_das_disconnect()
81 wpa_printf(MSG_INFO, "DAS: Invalid NAS-IP-Address from %s:%d", in radius_das_disconnect()
93 wpa_printf(MSG_INFO, "DAS: Invalid NAS-IPv6-Address from %s:%d", in radius_das_disconnect()
116 "'%s' from %s:%d", tmp, abuf, from_port); in radius_das_disconnect()
150 wpa_printf(MSG_INFO, "DAS: NAS mismatch from %s:%d", in radius_das_disconnect()
155 wpa_printf(MSG_INFO, "DAS: Session not found for request from " in radius_das_disconnect()
161 "DAS: Multiple sessions match for request from %s:%d", in radius_das_disconnect()
235 "DAS: Unsupported attribute %u in CoA-Request from %s:%d", in radius_das_coa()
246 wpa_printf(MSG_INFO, "DAS: Invalid NAS-IP-Address from %s:%d", in radius_das_coa()
258 wpa_printf(MSG_INFO, "DAS: Invalid NAS-IPv6-Address from in radius_das_coa()
391 } from; radius_das_receive() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
H A Dradius_das.c70 "Disconnect-Request from %s:%d", attr, in radius_das_disconnect()
81 wpa_printf(MSG_INFO, "DAS: Invalid NAS-IP-Address from %s:%d", in radius_das_disconnect()
93 wpa_printf(MSG_INFO, "DAS: Invalid NAS-IPv6-Address from %s:%d", in radius_das_disconnect()
116 "'%s' from %s:%d", tmp, abuf, from_port); in radius_das_disconnect()
150 wpa_printf(MSG_INFO, "DAS: NAS mismatch from %s:%d", in radius_das_disconnect()
155 wpa_printf(MSG_INFO, "DAS: Session not found for request from " in radius_das_disconnect()
161 "DAS: Multiple sessions match for request from %s:%d", in radius_das_disconnect()
235 "DAS: Unsupported attribute %u in CoA-Request from %s:%d", in radius_das_coa()
246 wpa_printf(MSG_INFO, "DAS: Invalid NAS-IP-Address from %s:%d", in radius_das_coa()
258 wpa_printf(MSG_INFO, "DAS: Invalid NAS-IPv6-Address from in radius_das_coa()
391 } from; radius_das_receive() local
[all...]
/third_party/weex-loader/src/
H A Dloader.js20 import loaderUtils from 'loader-utils'
21 import path from 'path'
22 import fs from 'fs'
24 import * as legacy from './legacy'
28 from './parser'
37 from './util'
38 import { isReservedTag } from './templater/component_validator'
/foundation/arkui/ace_engine/frameworks/core/components/marquee/
H A Drender_marquee.cpp96 double from = 0.0; in UpdateAnimation() local
99 from = GetLayoutSize().Width(); in UpdateAnimation()
102 from = -childText_->GetLayoutSize().Width(); in UpdateAnimation()
106 int32_t duration = static_cast<int32_t>(std::abs(to - from) * DEFAULT_MARQUEE_SCROLL_DELAY / scrollAmount_); in UpdateAnimation()
116 translate_ = AceType::MakeRefPtr<CurveAnimation<double>>(from, to, Curves::LINEAR); in UpdateAnimation()
/test/xts/acts/security/huks/security_huks_basic/huks_hmac_callback_BasicTest/entry/src/ohosTest/js/test/HMAC/
H A DSecurityHuksHmacBasicCallbackJsunit.test.js16 import { describe, it, expect } from "@ohos/hypium";
17 import huks from "@ohos.security.huks";
18 import Data from "../../../../../../../utils/data.json";
19 import { HuksHmac } from "../../../../../../../utils/param/hmac/publicHmacParam.js";
20 import { stringToArray } from "../../../../../../../utils/param/publicFunc.js";
/test/xts/acts/security/huks/security_huks_basic/utils/param/agree/
H A DpublicAgreeCallback.js15 import huks from '@ohos.security.huks';
16 import { HksTag, HksKeyStorageType, HksKeyAlg } from '../publicParam';
17 import { HuksAgreeECDH } from './publicAgreeParam.js';
18 import { stringToUint8Array } from '../publicFunc.js';
19 import { expect } from '@ohos/hypium';
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/generator/
H A DResourceFallbackCodeGenerator.java44 String from = value.get(AttributeKey.keyOf("likelySubtag", "from")); in handleLikelySubtag()
47 String[] fromPieces = localeIDSplitter.splitToList(from).toArray(new String[] {}); in handleLikelySubtag()
51 throw new IllegalArgumentException("Didn't get 3 segments in 'to' value: from=" + from + ", to=" + to); in handleLikelySubtag()
58 throw new IllegalArgumentException("'from' entry has a non-'und' language and also has a script code: from=" + from + ", to=" + to); in handleLikelySubtag()
69 defaultScripts.put(from, defaultScript); in handleLikelySubtag()
/third_party/node/test/parallel/
H A Dtest-stream2-writable.js150 chunk = Buffer.from(chunk);
164 chunk = Buffer.from(chunk, encoding);
189 chunk = Buffer.from(chunk);
231 const helloWorldBuffer = Buffer.from('hello world');
271 const buf = Buffer.from(hex, 'hex');
H A Dtest-v8-serdes.js26 Buffer.from([1, 2, 3, 4]),
76 const buf = Buffer.from('hostObjectTag');
109 const data = Buffer.from(text);
167 const buf = Buffer.from('ff0d6f2203666f6f5e007b01', 'hex');
189 const desBuf = Buffer.from(desStr, 'hex');
/third_party/node/test/fixtures/wpt/encoding/streams/
H A Drealms.window.js39 // The realm that the constructor function comes from.
105 // Call |constructorRealm|'s constructor from inside |constructedRealm|.
147 'constructor came from');
165 }, `${classname}'s readable and writable attributes should come from the ` +
179 }, 'the output chunks when read is called after write should come from the ' +
193 'from the same realm as the constructor of TextEncoderStream');
207 'write TypeError should come from constructor realm');
210 'read TypeError should come from constructor realm');
211 }, 'TypeError for unconvertable chunk should come from constructor realm ' +
226 }, 'the result object when read is called after write should come from th
[all...]
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/
H A Devents.js24 ? { $case: "binaryData", binaryData: Buffer.from(bytesFromBase64(object.binaryData)) }
83 ? { $case: "ceBytes", ceBytes: Buffer.from(bytesFromBase64(object.ceBytes)) }
141 return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
154 return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
/third_party/optimized-routines/string/arm/
H A Dmemchr.S19 @ Extracted from local git a5b438d861
21 @ Import endianness fix from local git ea786f1b
23 @ Removed unneeded cbz from align loop
83 bne 15b @ (Flags from the subs above) If not run out of bytes then go around again
86 and r1,r1,#0xff @ Get r1 back to a single character from the expansion above
95 eor r3,r3,r1 @ r3 = 0 if match - doesn't break flags from sub

Completed in 17 milliseconds

1...<<41424344454647484950>>...235