Home
last modified time | relevance | path

Searched refs:from (Results 501 - 525 of 5445) sorted by relevance

1...<<21222324252627282930>>...218

/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/witness/tlog/
H A Dindex.js39 const logID = Buffer.from(entry.logID, 'hex');
61 canonicalizedBody: Buffer.from(entry.body, 'base64'),
69 signedEntryTimestamp: Buffer.from(promise, 'base64'),
76 rootHash: Buffer.from(proof.rootHash, 'hex'),
77 hashes: proof.hashes.map((h) => Buffer.from(h, 'hex')),
/third_party/typescript/tests/baselines/reference/
H A DimportEquals1.js7 import type * as types from './a';
11 import * as types from './a';
15 import types from './b';
23 import * as types from './b';
27 import type types from './c'
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DBoundedByteStringTest.java16 // contributors may be used to endorse or promote products derived from
42 * inheriting the tests from {@link LiteralByteStringTest}. The only method which is strange enough
53 int from = 100; in setUp()
55 stringUnderTest = ByteString.copyFrom(sourceBytes).substring(from, to); in setUp()
56 referenceBytes = new byte[to - from]; in setUp()
57 System.arraycopy(sourceBytes, from, referenceBytes, 0, to - from); in setUp()
/third_party/typescript/tests/baselines/reference/tsbuild/amdModulesWithOut/
H A Dmultiple-emitHelpers-in-all-projects.js19 import { x } from "file1";function forappfile3Rest() {
410 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
411 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
412 if (ar || !(i in from)) {
413 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
414 ar[i] = from[i];
417 return to.concat(ar || Array.prototype.slice.call(from));
505 >>>var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
506 >>> if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
507 >>> if (ar || !(i in from)) {
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/huks_agree_promise_BasicTest/entry/src/ohosTest/js/test/Agree/
H A DSecurityHuksAgreeDHBasicFinish65KBPromiseJsunit.test.js15 import huks from '@ohos.security.huks';
16 import { describe, it, beforeAll, expect } from '@ohos/hypium';
17 import * as Data from '../../../../../../../utils/data.json';
18 import { stringToUint8Array, checkSoftware } from '../../../../../../../utils/param/publicFunc';
19 import { HuksAgreeDH } from '../../../../../../../utils/param/agree/publicAgreeParam';
20 import { publicAgreeFunc } from '../../../../../../../utils/param/agree/publicAgreePromise';
21 import { HksTag } from '../../../../../../../utils/param/publicParam';
22 import { checkAESChiper } from '../../../../../../../utils/param/checkAES';
/third_party/node/test/parallel/
H A Dtest-fs-promises-writefile.js16 const buffer = Buffer.from('abc'.repeat(1000));
17 const buffer2 = Buffer.from('xyz'.repeat(1000));
18 const stream = Readable.from(['a', 'b', 'c']);
19 const stream2 = Readable.from(['ümlaut', ' ', 'sechzig']);
32 yield Buffer.from('dogs running'.repeat(512 * 1024), 'utf8');
46 yield Buffer.from('a');
47 yield Buffer.from('b');
48 yield Buffer.from('c');
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dns_parse.c56 * @tc.desc : Parse data from array and return
69 * @tc.desc : Parse data from array and return
82 * @tc.desc : Get actual data value from data of ns_get16
87 const unsigned char from[] = "11"; in ns_put16_0100() local
90 unsigned int ret = ns_get16(from); in ns_put16_0100()
92 for (int i = 0; i < sizeof(from) / sizeof(unsigned char); i++) { in ns_put16_0100()
93 EXPECT_EQ("ns_put16_0100", from[i], to[i]); in ns_put16_0100()
99 * @tc.desc : Get actual data value from data of ns_get32
104 const unsigned char from[] = "1234"; in ns_put32_0100() local
107 unsigned long ret = ns_get32(from); in ns_put32_0100()
[all...]
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_meth.c107 (int flen, const unsigned char *from, in RSA_meth_get_pub_enc()
114 int (*pub_enc) (int flen, const unsigned char *from, in RSA_meth_set_pub_enc()
123 (int flen, const unsigned char *from, in RSA_meth_get_pub_dec()
130 int (*pub_dec) (int flen, const unsigned char *from, in RSA_meth_set_pub_dec()
139 (int flen, const unsigned char *from, in RSA_meth_get_priv_enc()
146 int (*priv_enc) (int flen, const unsigned char *from, in RSA_meth_set_priv_enc()
155 (int flen, const unsigned char *from, in RSA_meth_get_priv_dec()
162 int (*priv_dec) (int flen, const unsigned char *from, in RSA_meth_set_priv_dec()
113 RSA_meth_set_pub_enc(RSA_METHOD *meth, int (*pub_enc) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) RSA_meth_set_pub_enc() argument
129 RSA_meth_set_pub_dec(RSA_METHOD *meth, int (*pub_dec) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) RSA_meth_set_pub_dec() argument
145 RSA_meth_set_priv_enc(RSA_METHOD *meth, int (*priv_enc) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) RSA_meth_set_priv_enc() argument
161 RSA_meth_set_priv_dec(RSA_METHOD *meth, int (*priv_dec) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) RSA_meth_set_priv_dec() argument
/third_party/openssl/crypto/rsa/
H A Drsa_meth.c107 (int flen, const unsigned char *from, in RSA_meth_get_pub_enc()
114 int (*pub_enc) (int flen, const unsigned char *from, in RSA_meth_set_pub_enc()
123 (int flen, const unsigned char *from, in RSA_meth_get_pub_dec()
130 int (*pub_dec) (int flen, const unsigned char *from, in RSA_meth_set_pub_dec()
139 (int flen, const unsigned char *from, in RSA_meth_get_priv_enc()
146 int (*priv_enc) (int flen, const unsigned char *from, in RSA_meth_set_priv_enc()
155 (int flen, const unsigned char *from, in RSA_meth_get_priv_dec()
162 int (*priv_dec) (int flen, const unsigned char *from, in RSA_meth_set_priv_dec()
113 RSA_meth_set_pub_enc(RSA_METHOD *meth, int (*pub_enc) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) RSA_meth_set_pub_enc() argument
129 RSA_meth_set_pub_dec(RSA_METHOD *meth, int (*pub_dec) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) RSA_meth_set_pub_dec() argument
145 RSA_meth_set_priv_enc(RSA_METHOD *meth, int (*priv_enc) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) RSA_meth_set_priv_enc() argument
161 RSA_meth_set_priv_dec(RSA_METHOD *meth, int (*priv_dec) (int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)) RSA_meth_set_priv_dec() argument
/third_party/toybox/toys/posix/
H A Dcut.c1 /* cut.c - print selected ranges from a file
7 * Deviations from posix: added -DF. We can only accept 512 selections, and
21 Print selected parts of lines from each FILE to standard output.
23 Each selection LIST is comma separated, either numbers (counting from 1)
25 from start). By default selection ranges are sorted and collated, use -D
228 sprintf(buf, "bad -%c", "CFfcb"[i]); // reverse order from newtoy optstr in cut_main()
235 int from, to; in cut_main() local
239 for (to = 0, from = 2; from/2 < TT.pairs; from in cut_main()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Ddatabase-tdb.c40 static inline TDB_DATA* datum_to_tdb(TDB_DATA *to, const pa_datum *from) { in datum_to_tdb() argument
41 pa_assert(from); in datum_to_tdb()
44 to->dptr = from->data; in datum_to_tdb()
45 to->dsize = from->size; in datum_to_tdb()
50 static inline pa_datum* datum_from_tdb(pa_datum *to, const TDB_DATA *from) { in datum_from_tdb() argument
51 pa_assert(from); in datum_from_tdb()
54 to->data = from->dptr; in datum_from_tdb()
55 to->size = from->dsize; in datum_from_tdb()
H A Ddatabase-gdbm.c35 static inline datum* datum_to_gdbm(datum *to, const pa_datum *from) { in datum_to_gdbm() argument
36 pa_assert(from); in datum_to_gdbm()
39 to->dptr = from->data; in datum_to_gdbm()
40 to->dsize = from->size; in datum_to_gdbm()
45 static inline pa_datum* datum_from_gdbm(pa_datum *to, const datum *from) { in datum_from_gdbm() argument
46 pa_assert(from); in datum_from_gdbm()
49 to->data = from->dptr; in datum_from_gdbm()
50 to->size = from->dsize; in datum_from_gdbm()
/third_party/icu/icu4c/source/i18n/
H A Drbtz.cpp30 TimeZoneRule* from; member
224 // No more transitions from this rule - skip this rule next time in complete()
290 trst->from = curRule; in complete()
327 final0->from = curRule; in complete()
330 final1->from = rule0; in complete()
334 final0->from = curRule; in complete()
337 final1->from = rule1; in complete()
500 TimeZoneRule *from, *to; in useDaylightTime() local
501 UBool avail = findNext(now, false, time, from, to); in useDaylightTime()
749 result.from in findNext()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Drbtz.cpp30 TimeZoneRule* from; member
224 // No more transitions from this rule - skip this rule next time in complete()
290 trst->from = curRule; in complete()
327 final0->from = curRule; in complete()
330 final1->from = rule0; in complete()
334 final0->from = curRule; in complete()
337 final1->from = rule1; in complete()
500 TimeZoneRule *from, *to; in useDaylightTime() local
501 UBool avail = findNext(now, false, time, from, to); in useDaylightTime()
749 result.from in findNext()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Drbtz.cpp30 TimeZoneRule* from; member
216 // No more transitions from this rule - skip this rule next time in complete()
281 trst->from = curRule; in complete()
322 final0->from = curRule; in complete()
325 final1->from = rule0; in complete()
329 final0->from = curRule; in complete()
332 final1->from = rule1; in complete()
505 TimeZoneRule *from, *to; in useDaylightTime() local
506 UBool avail = findNext(now, FALSE, time, from, to); in useDaylightTime()
772 result.from in findNext()
[all...]
/test/xts/acts/security/cryptoFramework/js_api_test_oh40/entry/src/ohosTest/js/test/utils/symmetric/
H A DpublicSymmetricCallback.js16 import { expect } from "@ohos/hypium";
17 import cryptoFramework from "@ohos.security.cryptoFramework";
25 } from "../common/publicDoString";
27 import { createSymKeyGenerator, createSymCipher, } from "./publicSymmetricCommon";
213 globalCipherText = Array.from(globalCipherText.data);
214 finalOutput = Array.from(finalOutput.data);
332 globalCipherText = Array.from(globalCipherText.data);
333 finalOutput = Array.from(finalOutput.data);
410 globalCipherText = Array.from(globalCipherText.data);
411 finalOutput = Array.from(finalOutpu
[all...]
H A DpublicSymmetricPromise.js16 import { expect } from "@ohos/hypium";
17 import cryptoFramework from "@ohos.security.cryptoFramework";
25 } from "../common/publicDoString";
27 import { createSymKeyGenerator, createSymCipher, } from "./publicSymmetricCommon";
219 globalCipherText = Array.from(globalCipherText.data);
220 finalOutput = Array.from(finalOutput.data);
327 globalCipherText = Array.from(globalCipherText.data);
328 finalOutput = Array.from(finalOutput.data);
409 globalCipherText = Array.from(globalCipherText.data);
410 finalOutput = Array.from(finalOutpu
[all...]
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_promise_BasicTest/entry/src/ohosTest/js/test/Cipher/
H A DSecurityHuksCipherRSABasicPromiseJsunit.test.js16 import { describe, it, expect } from '@ohos/hypium';
17 import huks from '@ohos.security.huks';
18 import { HuksCipherRSA } from '../../../../../../../utils/param/cipher/publicCipherParam';
19 import { stringToUint8Array, uint8ArrayToString } from '../../../../../../../utils/param/publicFunc';
105 if (Array.from(inDataArray).length < dateSize) {
109 let count = Math.floor(Array.from(inDataArray).length / dateSize);
110 let remainder = Array.from(inDataArray).length % dateSize;
112 HuksOptions.inData = new Uint8Array(Array.from(huksOptionsInData).slice(dateSize * i, dateSize * (i + 1)));
118 Array.from(huksOptionsInData).slice(dateSize * count, uint8ArrayToString(inDataArray).length)
153 updateResult = Array.from(dat
[all...]
/third_party/node/deps/zlib/contrib/optimizations/
H A Dinffast_chunk.c84 unsigned dmax; /* maximum distance from zlib header */ in inflate_fast_chunk_()
101 unsigned char FAR *from; /* where to copy match from */ in inflate_fast_chunk_() local
238 if (dist > op) { /* see if copy from window */ in inflate_fast_chunk_()
259 from = out - dist; in inflate_fast_chunk_()
261 *out++ = *from++; in inflate_fast_chunk_()
267 from = window; in inflate_fast_chunk_()
269 from += wnext - op; in inflate_fast_chunk_()
273 from += wsize - op; in inflate_fast_chunk_()
274 if (op < len) { /* some from en in inflate_fast_chunk_()
[all...]
/third_party/node/deps/brotli/c/dec/
H A Dbit_reader.h39 const uint8_t* next_in; /* the byte we're reading from */
67 BrotliBitReader* const from, BrotliBitReaderState* to) { in BrotliBitReaderSaveState()
68 to->val_ = from->val_; in BrotliBitReaderSaveState()
69 to->bit_pos_ = from->bit_pos_; in BrotliBitReaderSaveState()
70 to->next_in = from->next_in; in BrotliBitReaderSaveState()
71 to->avail_in = from->avail_in; in BrotliBitReaderSaveState()
75 BrotliBitReader* const to, BrotliBitReaderState* from) { in BrotliBitReaderRestoreState()
76 to->val_ = from->val_; in BrotliBitReaderRestoreState()
77 to->bit_pos_ = from->bit_pos_; in BrotliBitReaderRestoreState()
78 to->next_in = from in BrotliBitReaderRestoreState()
66 BrotliBitReaderSaveState( BrotliBitReader* const from, BrotliBitReaderState* to) BrotliBitReaderSaveState() argument
74 BrotliBitReaderRestoreState( BrotliBitReader* const to, BrotliBitReaderState* from) BrotliBitReaderRestoreState() argument
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dcontrol-equivalence.cc41 // Potentially introduce artificial dependency from start to end. in VisitMid()
77 void ControlEquivalence::VisitBackedge(Node* from, Node* to, in VisitBackedge() argument
79 TRACE("CEQ: Backedge from #%d:%s to #%d:%s\n", from->id(), in VisitBackedge()
80 from->op()->mnemonic(), to->id(), to->op()->mnemonic()); in VisitBackedge()
83 Bracket bracket = {direction, kInvalidClass, 0, from, to}; in VisitBackedge()
84 GetBracketList(from).push_back(bracket); in VisitBackedge()
130 Node* use = edge.from(); in RunUndirectedDFS()
157 // Pop node from stack when done with all inputs and uses. in RunUndirectedDFS()
188 void ControlEquivalence::DFSPush(DFSStack& stack, Node* node, Node* from, in DFSPush() argument
[all...]
/third_party/skia/third_party/externals/brotli/c/dec/
H A Dbit_reader.h39 const uint8_t* next_in; /* the byte we're reading from */
67 BrotliBitReader* const from, BrotliBitReaderState* to) { in BrotliBitReaderSaveState()
68 to->val_ = from->val_; in BrotliBitReaderSaveState()
69 to->bit_pos_ = from->bit_pos_; in BrotliBitReaderSaveState()
70 to->next_in = from->next_in; in BrotliBitReaderSaveState()
71 to->avail_in = from->avail_in; in BrotliBitReaderSaveState()
75 BrotliBitReader* const to, BrotliBitReaderState* from) { in BrotliBitReaderRestoreState()
76 to->val_ = from->val_; in BrotliBitReaderRestoreState()
77 to->bit_pos_ = from->bit_pos_; in BrotliBitReaderRestoreState()
78 to->next_in = from in BrotliBitReaderRestoreState()
66 BrotliBitReaderSaveState( BrotliBitReader* const from, BrotliBitReaderState* to) BrotliBitReaderSaveState() argument
74 BrotliBitReaderRestoreState( BrotliBitReader* const to, BrotliBitReaderState* from) BrotliBitReaderRestoreState() argument
[all...]
/third_party/typescript/tests/baselines/reference/tsbuild/sample1/
H A Dcan-detect-when-and-what-to-rebuild.js129 import * as mod from '../core/anotherModule';
150 import * as c from '../core/index';
154 import * as mod from '../core/anotherModule';
174 {"program":{"fileNames":["../../lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13851440507-export declare const someString: string;\r\nexport declare function leftPad(s: string, n: number): string;\r\nexport declare function multiply(a: number, b: number): number;\r\n//# sourceMappingURL=index.d.ts.map","7652028357-export declare const World = \"hello\";\r\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n","signature":"-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"}],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"}
209 "version": "-5786964698-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\n",
210 "signature": "-6548680073-export declare function getSecondsInDay(): number;\r\nimport * as mod from '../core/anotherModule';\r\nexport declare const m: typeof mod;\r\n"
243 import * as mod from '
[all...]
/third_party/toybox/toys/pending/
H A Darping.c131 static void recv_from(struct sockaddr_ll *from, int *recv_len) in recv_from() argument
140 if (from->sll_pkttype != PACKET_HOST && from->sll_pkttype != PACKET_BROADCAST in recv_from()
141 && from->sll_pkttype != PACKET_MULTICAST) return; in recv_from()
158 printf("%scast re%s from %s [%s]", in recv_from()
159 from->sll_pkttype == PACKET_HOST ? "Uni" : "Broad", in recv_from()
172 if (from->sll_pkttype != PACKET_HOST) TT.brd_rcv++; in recv_from()
203 struct sockaddr_ll from; in arping_main() local
271 xprintf(" from %s via %s\n", inet_ntoa(src_addr), TT.iface); in arping_main()
282 len = sizeof(from); in arping_main()
[all...]
/third_party/libwebsockets/lib/roles/http/server/
H A Drewrite.c6 lws_rewrite_create(struct lws *wsi, hubbub_callback_t cb, const char *from, in lws_rewrite_create() argument
21 r->from = from; in lws_rewrite_create()
22 r->from_len = strlen(from); in lws_rewrite_create()

Completed in 18 milliseconds

1...<<21222324252627282930>>...218