/third_party/node/benchmark/buffers/ |
H A D | buffer-from.js | 30 Buffer.from(array); 39 Buffer.from(arrayBuf); 50 Buffer.from(arrayBuf, offset, length); 59 Buffer.from(buffer); 68 Buffer.from(uint8array); 77 Buffer.from(uint16array); 86 Buffer.from(str); 95 Buffer.from(str, 'utf8'); 104 Buffer.from(str, 'base64'); 113 Buffer.from(ob [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | shadow.cpp | 23 Shadow Shadow::Blend(const Shadow& to, const Shadow& from, float progress) in Blend() argument 25 auto offset = from.offset_ + (to.offset_ - from.offset_) * progress; in Blend() 26 auto blurRadius = from.blurRadius_ + (to.blurRadius_ - from.blurRadius_) * progress; in Blend() 27 auto spreadRadius = from.spreadRadius_ + (to.spreadRadius_ - from.spreadRadius_) * progress; in Blend() 29 auto color = evaluator.Evaluate(from.color_, to.color_, progress); in Blend()
|
/third_party/node/test/sequential/ |
H A D | test-crypto-timing-safe-equal.js | 11 crypto.timingSafeEqual(Buffer.from('foo'), Buffer.from('foo')), 17 crypto.timingSafeEqual(Buffer.from('foo'), Buffer.from('bar')), 71 () => crypto.timingSafeEqual(Buffer.from([1, 2, 3]), Buffer.from([1, 2])), 80 () => crypto.timingSafeEqual('not a buffer', Buffer.from([1, 2])), 88 () => crypto.timingSafeEqual(Buffer.from([1, 2]), 'not a buffer'),
|
/third_party/typescript/tests/baselines/reference/ |
H A D | declarationEmitReexportedSymlinkReference2.js | 4 export * from './types';
29 export * from './types';
31 export {MetadataAccessor} from '@raymondfeng/pkg1';
33 export {IdType} from '@raymondfeng/pkg1';
43 export * from './keys';
45 import {MetadataAccessor} from "@raymondfeng/pkg2"; 76 import { MetadataAccessor } from "@raymondfeng/pkg2";
79 export * from './keys';
|
H A D | genericConstraintOnExtendedBuiltinTypes.js | 15 constructor(from: T) { 16 this._from = from.Clone(); 23 constructor(from: number) { 24 super(from); 50 function Tween(from) {
51 this._from = from.Clone();
63 function NumberTween(from) {
64 return _super.call(this, from) || this;
|
H A D | genericConstraintOnExtendedBuiltinTypes2.js | 14 constructor(from: T) { 15 this._from = from.Clone(); 22 constructor(from: number) { 23 super(from); 49 function Tween(from) {
50 this._from = from.Clone();
62 function NumberTween(from) {
63 return _super.call(this, from) || this;
|
H A D | inlineJsxFactoryDeclarations.js | 17 import * as React from "./renderer"; 21 import { dom as h } from "./renderer" 25 import { otherdom } from "./renderer" 28 import React from "./renderer" 33 import { dom } from "./renderer" 35 export * from "./other"; 36 export * from "./othernoalias"; 37 export * from "./reacty";
|
H A D | selfReferencingSpreadInLoop.js | 9 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
10 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
11 if (ar || !(i in from)) {
12 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
13 ar[i] = from[i];
16 return to.concat(ar || Array.prototype.slice.call(from));
|
H A D | duplicatePackage.js | 4 import X from "x"; 16 import X from "x"; 26 import X from "x"; 38 import { a } from "a"; 39 import { b } from "b"; 40 import { c } from "c"; 42 a(c); // Error, these are from different versions of the library. 52 (0, a_1.a)(c_1.c); // Error, these are from different versions of the library.
|
H A D | elidedJSImport2(module=es2022).js | 4 import { Foo } from "./other.js"; 5 import * as other from "./other.js"; 6 import defaultFoo from "./other.js"; 32 import { Foo } from "./other.js";
33 import * as other from "./other.js";
34 import defaultFoo from "./other.js";
|
H A D | noCrashOnNoLib.js | 11 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
12 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
13 if (ar || !(i in from)) {
14 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
15 ar[i] = from[i];
18 return to.concat(ar || Array.prototype.slice.call(from));
|
H A D | es6ImportNamedImportMergeErrors.js | 10 import { a } from "./es6ImportNamedImportMergeErrors_0"; 12 import { x as x1 } from "./es6ImportNamedImportMergeErrors_0"; 14 import { x } from "./es6ImportNamedImportMergeErrors_0"; // should be error 16 import { x as x44 } from "./es6ImportNamedImportMergeErrors_0"; // should be error 18 import { z } from "./es6ImportNamedImportMergeErrors_0"; // should be error 19 import { z1 as z } from "./es6ImportNamedImportMergeErrors_0"; // should be error
|
H A D | recursiveReverseMappedType.js | 2 // Repro from #38198 19 // Repro from #38198
20 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
21 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
22 if (ar || !(i in from)) {
23 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
24 ar[i] = from[i];
27 return to.concat(ar || Array.prototype.slice.call(from));
|
H A D | arrayLiteralExpressionContextualTyping.js | 19 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
20 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
21 if (ar || !(i in from)) {
22 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
23 ar[i] = from[i];
26 return to.concat(ar || Array.prototype.slice.call(from));
|
H A D | callOverload.js | 15 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
16 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
17 if (ar || !(i in from)) {
18 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
19 ar[i] = from[i];
22 return to.concat(ar || Array.prototype.slice.call(from));
|
H A D | caseInsensitiveFileSystemWithCapsImportTypeDeclarations.js | 4 import { TypeB } from './type-b'; 12 import { Merge } from './types'; 13 import { TypeA } from './type-a'; 57 import { Merge } from './types';
58 import { TypeA } from './type-a';
63 import { TypeB } from './type-b';
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | statfs.rs | 17 i128::from(PROC_SUPER_MAGIC), in test_statfs_abi() 18 i128::from(libc::PROC_SUPER_MAGIC) in test_statfs_abi() 21 i128::from(NFS_SUPER_MAGIC), in test_statfs_abi() 22 i128::from(libc::NFS_SUPER_MAGIC) in test_statfs_abi() 29 i128::from(PROC_SUPER_MAGIC), in test_statfs_abi() 30 i128::from(linux_raw_sys::general::PROC_SUPER_MAGIC) in test_statfs_abi() 33 i128::from(NFS_SUPER_MAGIC), in test_statfs_abi() 34 i128::from(linux_raw_sys::general::NFS_SUPER_MAGIC) in test_statfs_abi()
|
/third_party/icu/tools/scripts/ |
H A D | reticket | 14 from= 28 from=$OPTARG 48 if [[ ! $from ]]; 73 TMPF=${TMPDIR}/reticket.r${rev}.f${from}.t${to}.txt 80 if grep -q "^ticket:${from}[^0-9]" ${TMPF}.1; 89 echo "Error: r${rev} doesn't pertain to ticket:${from} - was this already fixed?" >&2 94 ( ( sed -e "s%^ticket:${from}%ticket:${to}%" ${TMPF}.1 && tail -n +2 ${TMPF} ) || exit 2 ) | tee ${TMPF}.fix | sed -e 's%^%> %g'
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | TimeZoneTransition.java | 18 private final TimeZoneRule from; field in TimeZoneTransition 27 * @param from The time zone rule used before the transition. 32 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { in TimeZoneTransition() argument 34 this.from = from; in TimeZoneTransition() 68 return from; in getFrom() 82 buf.append(", from={" + from + "}"); in toString()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | TimeZoneTransition.java | 19 private final TimeZoneRule from; field in TimeZoneTransition 28 * @param from The time zone rule used before the transition. 31 public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) { in TimeZoneTransition() argument 33 this.from = from; in TimeZoneTransition() 61 return from; in getFrom() 73 buf.append(", from={" + from + "}"); in toString()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | field_mask.pb.cc | 97 FieldMask::FieldMask(const FieldMask& from) in FieldMask() argument 99 paths_(from.paths_) { in FieldMask() 100 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); in FieldMask() 236 void FieldMask::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { in MergeFrom() argument 238 GOOGLE_DCHECK_NE(&from, this); in MergeFrom() 241 &from); in MergeFrom() 244 ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); in MergeFrom() 251 void FieldMask::MergeFrom(const FieldMask& from) { in MergeFrom() argument 253 GOOGLE_DCHECK_NE(&from, this); in MergeFrom() 254 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from in MergeFrom() 261 CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) CopyFrom() argument 268 CopyFrom(const FieldMask& from) CopyFrom() argument [all...] |
H A D | any.pb.cc | 111 Any::Any(const Any& from) in Any() argument 114 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); in Any() 116 if (!from._internal_type_url().empty()) { in Any() 117 type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_type_url(), in Any() 121 if (!from._internal_value().empty()) { in Any() 122 value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_value(), in Any() 280 void Any::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { in MergeFrom() argument 282 GOOGLE_DCHECK_NE(&from, this); in MergeFrom() 285 &from); in MergeFrom() 288 ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, thi in MergeFrom() 295 MergeFrom(const Any& from) MergeFrom() argument 310 CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) CopyFrom() argument 317 CopyFrom(const Any& from) CopyFrom() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-webcrypto-derivebits-hkdf.js | 167 const keyData = Buffer.from(kDerivedKeys[size], 'hex'); 230 salt: Buffer.from(kSalts[saltSize], 'hex'), 231 info: Buffer.from(kInfos[infoSize], 'hex'), 242 Buffer.from(bits).toString('hex'), 254 salt: Buffer.from(kSalts[saltSize], 'hex'), 255 info: Buffer.from(kInfos[infoSize], 'hex'), 288 const salt = Buffer.from(kSalts[saltSize], 'hex'); 289 const info = Buffer.from(kInfos[infoSize], 'hex'); 323 salt: Buffer.from(kSalts[saltSize], 'hex'), 324 info: Buffer.from(kInfo [all...] |
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
H A D | RangeTreeTest.java | 55 // is perfectly valid input). This is very distinct from the empty tree, which cannot match any in testEmptySequenceTree() 57 RangeTree r = RangeTree.from(RangeSpecification.empty()); in testEmptySequenceTree() 65 RangeTree r = RangeTree.from(rangeSetOf(range("1000", "4999"))); in testFromRangeSetSimple() 72 RangeTree r = RangeTree.from(rangeSetOf(range("0000", "9999"))); in testFromRangeSetMinMax() 80 RangeTree r = RangeTree.from(rangeSetOf(range("0", domain().maxValue().toString()))); in testFromRangeSetAllValues() 104 // The tree generated from the empty range specification actually contains one digit sequence in testContains() 107 assertThat(RangeTree.from(RangeSpecification.empty())).contains(""); in testContains() 108 assertThat(RangeTree.from(spec("x"))).contains("7"); in testContains() 109 assertThat(RangeTree.from(spec("1"))).contains("1"); in testContains() 110 assertThat(RangeTree.from(spe in testContains() [all...] |
/third_party/node/test/fixtures/crypto/ |
H A D | aes_ctr.js | 5 Buffer.from('546869732073706563696669636174696f6e206465736372696265' + 25 '128': Buffer.from('dec0d4fcbf3c4741c892dabd1cd4c04e', 'hex'), 26 '256': Buffer.from('67693823fb1d58073f91ece9cc3af910e5532616a4d27b1' + 30 const counter = Buffer.from('55aaf89ba89413d54ea727a76c27a284', 'hex'); 33 '128': Buffer.from( 50 '256': Buffer.from(
|