Home
last modified time | relevance | path

Searched refs:from (Results 826 - 850 of 5450) sorted by relevance

1...<<31323334353637383940>>...218

/test/xts/acts/security/huks/security_huks_reformed_test/huks_derive_promise_BasicTest/entry/src/ohosTest/js/test/Derive/
H A DSecurityHuksDerivePBKDF2BasicFinish63KBPromiseJsunit.test.js16 import { describe, it } from '@ohos/hypium';
17 import Data from '../../../../../../../utils/data.json';
18 import { HuksDerivePBKDF2 } from '../../../../../../../utils/param/derive/publicDeriveParam';
19 import { stringToUint8Array } from '../../../../../../../utils/param/publicFunc';
20 import { publicDeriveFunc } from '../../../../../../../utils/param/derive/publicDerivePromise';
21 import { HksTag } from '../../../../../../../utils/param/publicParam';
/third_party/eudev/src/udev/
H A Dudev-builtin-usb_id.c84 static int set_usb_mass_storage_ifsubtype(char *to, const char *from, size_t len) { in set_usb_mass_storage_ifsubtype() argument
89 type_num = strtoul(from, &eptr, 0); in set_usb_mass_storage_ifsubtype()
90 if (eptr != from) { in set_usb_mass_storage_ifsubtype()
115 static void set_scsi_type(char *to, const char *from, size_t len) { in set_scsi_type() argument
120 type_num = strtoul(from, &eptr, 0); in set_scsi_type()
121 if (eptr != from) { in set_scsi_type()
217 * 1.) Get the USB device type from InterfaceClass and InterfaceSubClass
/third_party/gn/src/gn/
H A Dcommand_path.cc103 // Don't print toolchains unless they differ from the first target. in PrintPath()
119 // Take type from the next entry. in PrintPath()
137 // Don't try to insert the 0th item in the list which is the "from" target. in InsertTargetsIntoFoundPaths()
139 // if the "from" target was in the list, subsequent passes could never run in InsertTargetsIntoFoundPaths()
143 // here but the "from" item is erased at the beginning of each search, but in InsertTargetsIntoFoundPaths()
169 void BreadthFirstSearch(const Target* from, in BreadthFirstSearch() argument
175 // Seed the initial stack with just the "from" target. in BreadthFirstSearch()
177 initial_stack.emplace_back(from, DepType::NONE); in BreadthFirstSearch()
250 void DoSearch(const Target* from, in DoSearch() argument
254 BreadthFirstSearch(from, t in DoSearch()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dmask_inline.h142 MASK_INLINE void snd_mask_set_range(snd_mask_t *mask, unsigned int from, unsigned int to) in snd_mask_set_range() argument
145 assert(to <= SND_MASK_MAX && from <= to); in snd_mask_set_range()
146 for (i = from; i <= to; i++) in snd_mask_set_range()
150 MASK_INLINE void snd_mask_reset_range(snd_mask_t *mask, unsigned int from, unsigned int to) in snd_mask_reset_range() argument
153 assert(to <= SND_MASK_MAX && from <= to); in snd_mask_reset_range()
154 for (i = from; i <= to; i++) in snd_mask_reset_range()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcbiditransformtst.c64 static void shapeLetters(UChar *str, const UChar *from, const UChar *to);
216 shapeLetters(UChar *str, const UChar *from, const UChar *to) in shapeLetters() argument
223 index = c - from[0]; in shapeLetters()
224 if (index < NUM_LETTERS && from[index * from[NUM_LETTERS]] != 0) { in shapeLetters()
227 str[j] = to[index * from[NUM_LETTERS]]; in shapeLetters()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h435 static inline unsigned long copy_from_user(void *to, const void *from, unsigned long n) in copy_from_user() argument
437 if ((to == NULL) || (from == NULL)) { in copy_from_user()
441 return LOS_ArchCopyFromUser(to, from, n); in copy_from_user()
444 static inline unsigned long copy_to_user(void *to, const void *from, unsigned long n) in copy_to_user() argument
446 if ((to == NULL) || (from == NULL)) { in copy_to_user()
450 return LOS_ArchCopyToUser(to, from, n); in copy_to_user()
/third_party/node/test/parallel/
H A Dtest-blob.js51 const b = new Blob([Buffer.from('abc')]);
83 const b = new Blob(['hello', Buffer.from('world')]);
106 Buffer.from('world'),
115 const b = new Blob(['hello', Buffer.from('world')]);
160 const b = new Blob([Buffer.from('hello'), Buffer.from('world')]);
H A Dtest-buffer-fill.js377 const buf = Buffer.from('w00t');
391 Buffer.from('61006200610062006100620061006200', 'hex'));
395 Buffer.from('610062006100620061006200610062', 'hex'));
399 Buffer.from('61006200610062006100620061006200', 'hex'));
402 Buffer.from('61006100610061006100610061006100', 'hex'));
425 const buf = Buffer.from('a'.repeat(1000));
H A Dtest-repl.js70 // sending newlines from the REPL itself would be redundant
501 // The following test's result depends on the RegExp's match from the above
814 send: 'import comeOn from \'fhqwhgads\'',
825 send: 'import { export1, export2 } from "module-name"',
836 send: 'import * as name from "module-name";',
858 send: 'import { export1 as localName1, export2 } from "bar";',
869 send: 'import alias from "bar";',
880 send: 'import alias, {namedExport} from "bar";',
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_cfg.cpp104 // Block back-edges from recursively revisiting ourselves. in post_order_visit()
165 // all coming from same scope, so be more conservative in this case. in post_order_visit()
179 // Multiple branches can come from the same scope due to "break;", so we need to assume that all branches in post_order_visit()
180 // come from same case scope in worst case, even if there are multiple preceding edges. in post_order_visit()
181 // If we have more than one succeeding edge from the block header, it should be impossible in post_order_visit()
183 // Only case this can go wrong is if we have 2 or more edges from block header and in post_order_visit()
217 void CFG::add_branch(uint32_t from, uint32_t to) in add_branch() argument
224 add_unique(preceding_edges[to], from); in add_branch()
225 add_unique(succeeding_edges[from], to); in add_branch()
242 // Only consider a loop dominator if we are branching from insid in find_loop_dominator()
278 node_terminates_control_flow_in_sub_graph(BlockID from, BlockID to) const node_terminates_control_flow_in_sub_graph() argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DoperationsAvailableOnPromisedType.js76 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
77 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
78 if (ar || !(i in from)) {
79 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
80 ar[i] = from[i];
83 return to.concat(ar || Array.prototype.slice.call(from));
H A DgenericRestParameters3.js28 // Repro from #26110
55 // Repro from #26491
62 // Repro from #35066
68 // Repros from #47754
90 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
91 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
92 if (ar || !(i in from)) {
93 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
94 ar[i] = from[i];
97 return to.concat(ar || Array.prototype.slice.call(from));
[all...]
/third_party/backends/sanei/
H A Dsanei_udp.c218 struct sockaddr_in from; in sanei_udp_recvfrom() local
220 fl = sizeof(from); in sanei_udp_recvfrom()
222 l = recvfrom(fd, buf, count, 0, (struct sockaddr *) &from, &fl); in sanei_udp_recvfrom()
225 *fromp = inet_ntoa(from.sin_addr); in sanei_udp_recvfrom()
/third_party/node/test/fixtures/wpt/streams/piping/
H A Dmultiple-propagation.any.js53 }, 'Piping from an errored readable stream to an erroring writable stream');
69 }, 'Piping from an errored readable stream to an errored writable stream');
95 }, 'Piping from an errored readable stream to an erroring writable stream; preventAbort = true');
112 }, 'Piping from an errored readable stream to an errored writable stream; preventAbort = true');
138 }, 'Piping from an errored readable stream to a closing writable stream');
164 }, 'Piping from an errored readable stream to a closed writable stream');
188 }, 'Piping from a closed readable stream to an erroring writable stream');
204 }, 'Piping from a closed readable stream to an errored writable stream');
227 }, 'Piping from a closed readable stream to a closed writable stream');
/third_party/node/test/internet/
H A Dtest-dgram-broadcast-multi-process.js35 Buffer.from('First message to send'),
36 Buffer.from('Second message to send'),
37 Buffer.from('Third message to send'),
38 Buffer.from('Fourth message to send'),
226 // Receive udp messages only sent from parent
229 console.error('[CHILD] %s received %s from %j',
H A Dtest-dgram-multicast-multi-process.js35 Buffer.from('First message to send'),
36 Buffer.from('Second message to send'),
37 Buffer.from('Third message to send'),
38 Buffer.from('Fourth message to send'),
207 console.error('[CHILD] %s received "%s" from %j', process.pid,
H A Dtest-dgram-multicast-ssmv6-multi-process.js14 Buffer.from('First message to send'),
15 Buffer.from('Second message to send'),
16 Buffer.from('Third message to send'),
17 Buffer.from('Fourth message to send'),
202 console.error('[CHILD] %s received "%s" from %j', process.pid,
H A Dtest-dgram-multicast-ssm-multi-process.js14 Buffer.from('First message to send'),
15 Buffer.from('Second message to send'),
16 Buffer.from('Third message to send'),
17 Buffer.from('Fourth message to send'),
202 console.error('[CHILD] %s received "%s" from %j', process.pid,
/third_party/ninja/src/
H A Dmissing_deps_test.cc46 void RecordDepsLogDep(const std::string& from, const std::string& to) { in RecordDepsLogDep()
48 deps_log_.RecordDeps(state_.LookupNode(from), 0, 1, node_deps); in RecordDepsLogDep()
72 void CreateGraphDependencyBetween(const char* from, const char* to) { in CreateGraphDependencyBetween()
73 Node* from_node = state_.LookupNode(from); in CreateGraphDependencyBetween()
/third_party/node/deps/npm/node_modules/chalk/source/
H A Dindex.js1 import ansiStyles from '#ansi-styles';
2 import supportsColor from '#supports-color';
6 } from './utilities.js';
26 throw new Error('The `level` option should be an integer from 0 to 3');
218 } from './vendor/ansi-styles/index.js';
/third_party/ltp/testcases/network/tcp_cmds/sendfile/
H A Dtestsf_s.c33 sa_t from; in main() local
55 signal(SIGCHLD, SIG_IGN); /* ignore signals from children */ in main()
89 socklen_t fromlen = sizeof(from); in main()
94 /* accept a connection from a client */ in main()
95 if ((as = accept(s, &from, &fromlen)) < 0) { in main()
103 ap = (sai_t *) & from; in main()
/third_party/rust/crates/codespan/codespan/src/
H A Dfile.rs144 /// assert_eq!(files.line_index(file_id, 0), LineIndex::from(0));
145 /// assert_eq!(files.line_index(file_id, 7), LineIndex::from(1));
146 /// assert_eq!(files.line_index(file_id, 8), LineIndex::from(1));
147 /// assert_eq!(files.line_index(file_id, 9), LineIndex::from(2));
148 /// assert_eq!(files.line_index(file_id, 100), LineIndex::from(3));
236 Ok(PathBuf::from(self.name(id)).display().to_string()) in name()
280 .map(|i| ByteIndex::from(i as u32)) in new()
292 .map(|i| ByteIndex::from(i as u32)) in update()
316 LineIndex::from(self.line_starts.len() as RawIndex) in last_line_index()
321 let next_line_start = self.line_start(line_index + LineOffset::from( in line_span()
[all...]
/third_party/rust/crates/clap/clap_complete/tests/
H A Ddynamic.rs14 .map(std::ffi::OsString::from) in suggest_subcommand_subset()
60 .map(std::ffi::OsString::from) in suggest_long_flag_subset()
95 .map(std::ffi::OsString::from) in suggest_possible_value_subset()
141 .map(std::ffi::OsString::from) in suggest_additional_short_flags()
/third_party/rust/crates/rust-openssl/openssl-sys/build/
H A Dfind_normal.rs8 let lib_dir = env("OPENSSL_LIB_DIR").map(PathBuf::from); in get_openssl()
9 let include_dir = env("OPENSSL_INCLUDE_DIR").map(PathBuf::from); in get_openssl()
97 return OsString::from("/usr"); in find_openssl_dir()
102 return OsString::from("/usr/local"); in find_openssl_dir()
139 - Use the `vendored` feature of openssl-sys crate to build OpenSSL from source. in find_openssl_dir()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Drsa.rs65 from: *const u8, in RSA_public_encrypt()
72 from: *const u8, in RSA_private_encrypt()
79 from: *const u8, in RSA_public_decrypt()
86 from: *const u8, in RSA_private_decrypt()

Completed in 12 milliseconds

1...<<31323334353637383940>>...218