/third_party/node/deps/undici/src/lib/core/ |
H A D | util.js | 256 obj['content-disposition'] = Buffer.from(obj['content-disposition']).toString('latin1') 283 ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString('latin1') 330 // A body is disturbed if it has been read from and it cannot 374 yield Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk) 384 if (ReadableStream.from) { 385 return ReadableStream.from(convertIterableToBuffer(iterable)) 401 const buf = Buffer.isBuffer(value) ? value : Buffer.from(value)
|
/third_party/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 243 static int dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in dsa_copy_parameters() argument 250 if (!ossl_ffc_params_copy(&to->pkey.dsa->params, &from->pkey.dsa->params)) in dsa_copy_parameters() 429 static int dsa_pkey_export_to(const EVP_PKEY *from, void *to_keydata, in dsa_pkey_export_to() argument 433 DSA *dsa = from->pkey.dsa; in dsa_pkey_export_to() 499 static int dsa_pkey_copy(EVP_PKEY *to, EVP_PKEY *from) in dsa_pkey_copy() argument 501 DSA *dsa = from->pkey.dsa; in dsa_pkey_copy()
|
/third_party/skia/third_party/externals/tint/src/ |
H A D | clone_context.h | 62 /// F is a pointer of (or derives from) type T. 73 /// Constructor for cloning objects from `from` into `to`. 75 /// @param from the source Program to clone from 76 /// @param auto_clone_symbols clone all symbols in `from` before returning 78 Program const* from, 81 /// Constructor for cloning objects from and to the ProgramBuilder `builder`. 94 /// If the CloneContext is cloning from a Program to a ProgramBuilder, then 97 /// @param object the type deriving from Cloneabl 193 Clone(std::vector<T*>& to, const std::vector<T*>& from) Clone() argument [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | recursiveTypeReferences1.js | 98 // Repro from #33617 (errors are expected) 135 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
136 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
137 if (ar || !(i in from)) {
138 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
139 ar[i] = from[i];
142 return to.concat(ar || Array.prototype.slice.call(from));
|
H A D | restTuplesFromContextualTypes.js | 75 // Repro from #25288 80 // Repro from #25289 87 // Repro from #29833 104 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
105 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
106 if (ar || !(i in from)) {
107 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
108 ar[i] = from[i];
111 return to.concat(ar || Array.prototype.slice.call(from));
|
H A D | variadicTuples2.js | 123 // Repro from #39595 137 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
138 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
139 if (ar || !(i in from)) {
140 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
141 ar[i] = from[i];
144 return to.concat(ar || Array.prototype.slice.call(from));
|
/third_party/toybox/toys/pending/ |
H A D | modprobe.c | 21 -d Load modules from DIR, option may be used multiple times 59 char *from; in path2mod() local 64 from = getbasename(file); in path2mod() 66 for (i = 0; i < (MODNAME_LEN-1) && from[i] && from[i] != '.'; i++) in path2mod() 67 mod[i] = (from[i] == '-') ? '_' : from[i]; in path2mod() 72 // Add options in opts from toadd. 85 // Remove first element from the list and return it. 133 * Returns struct module_s from th [all...] |
/third_party/protobuf/php/tests/ |
H A D | WellKnownTest.php | 315 $from = new DateTime('2011-01-01T15:03:01.012345UTC'); variable 316 $timestamp->fromDateTime($from); 317 $this->assertEquals($from->format('U'), $timestamp->getSeconds()); 318 $this->assertEquals(1000 * $from->format('u'), $timestamp->getNanos()); 322 $this->assertSame($from->format('U'), $to->format('U')); 323 $this->assertSame($from->format('u'), $to->format('u'));
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | randen_hwaes.cc | 16 // symbols from arbitrary system and other headers, since it may be built 17 // with different flags from other targets, using different levels of 139 inline ABSL_TARGET_CRYPTO Vector128 Vector128Load(const void* from) { 140 return vec_vsx_ld(0, reinterpret_cast<const Vector128*>(from)); 186 inline ABSL_TARGET_CRYPTO Vector128 Vector128Load(const void* from) { 187 return vld1q_u8(reinterpret_cast<const uint8_t*>(from)); 222 // Convert from/to intrinsics. 236 inline ABSL_TARGET_CRYPTO Vector128 Vector128Load(const void* from) { 237 return Vector128(_mm_load_si128(reinterpret_cast<const __m128i*>(from))); 279 // Improved odd-even shuffle from "Ne [all...] |
/third_party/rust/crates/nix/src/sys/ptrace/ |
H A D | linux.rs | 140 /// Event that stops before a return from fork or clone. 142 /// Event that stops before a return from vfork or clone. 144 /// Event that stops before a return from clone. 146 /// Event that stops before a return from execve. 148 /// Event for a return from vfork. 186 /// for ptrace jailers to prevent tracees from escaping their control. 199 libc::ptrace(request as RequestType, libc::pid_t::from(pid), addr, data) in ptrace_peek() 237 libc::pid_t::from(pid), in setregs() 245 /// Function for ptrace requests that return values from the data field. 254 libc::pid_t::from(pi in ptrace_get_data() [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | Intermediate.cpp | 23 // from this software without specific prior written permission. 58 // They are called from parser productions. 311 // from right to left. in addAssign() 470 // including constness (which would differ from the prototype). in addBuiltInFunctionCall() 789 // The policy comes from the shader or the calling code. 1121 // HLSL can convert the shift from a bool to an int. in addConversion() 1146 // Many issues with this, from JohnK: in addConversion() 1346 // structures and arrays don't change shape, either to or from in addShapeConversion() 1369 // own devices, the constructor from a scalar would populate the diagonal. This forces replication in addShapeConversion() 1433 bool TIntermediate::isIntegralPromotion(TBasicType from, TBasicTyp argument 1450 isFPPromotion(TBasicType from, TBasicType to) const isFPPromotion() argument 1465 isIntegralConversion(TBasicType from, TBasicType to) const isIntegralConversion() argument 1545 isFPConversion(TBasicType from, TBasicType to) const isFPConversion() argument 1554 isFPIntegralConversion(TBasicType from, TBasicType to) const isFPIntegralConversion() argument 1596 canImplicitlyPromote(TBasicType from, TBasicType to, TOperator op) const canImplicitlyPromote() argument [all...] |
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_de.rs | 224 // from signed in test_i8() 234 // from unsigned in test_i8() 249 // from signed in test_i16() 259 // from unsigned in test_i16() 274 // from signed in test_i32() 284 // from unsigned in test_i32() 299 // from signed in test_i64() 309 // from unsigned in test_i64() 324 // from signed in test_i128() 334 // from unsigne in test_i128() [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | postproc.c | 256 struct pipe_surface *from = src_surfaces[i]; in vlVaPostProcBlit() local 263 from = src_surfaces[i & ~1]; in vlVaPostProcBlit() 266 from = src_surfaces[(i & ~1) + 1]; in vlVaPostProcBlit() 273 if (!from || !dst_surfaces[i]) in vlVaPostProcBlit() 277 blit.src.resource = from->texture; in vlVaPostProcBlit() 278 blit.src.format = from->format; in vlVaPostProcBlit() 280 blit.src.box.z = from->u.tex.first_layer; in vlVaPostProcBlit()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | tests.rs | 83 // Write to stdin in a new thread, so that we can read from stdout on this in rustfmt() 84 // thread. This keeps the child from blocking on writing to its stdout which in rustfmt() 85 // might block us from writing to its stdin. in rustfmt() 140 println!("+++ generated from: {:?}", header); in error_diff_mismatch() 164 PathBuf::from(env::var("OUT_DIR").unwrap()).join(name); in error_diff_mismatch() 184 let mut expectation = PathBuf::from(header); in compare_generated_header() 333 // Scoop up bindgen-flags from test header in create_bindgen_builder() 418 let header = PathBuf::from($header); 522 println!("Generated bindings differ from expected!"); in test_multiple_header_calls_in_builder() 615 let header = PathBuf::from("test in emit_depfile() [all...] |
/third_party/elfutils/src/ |
H A D | elfcmp.c | 101 GElf_Addr from; member 293 newp->from = shdr1->sh_offset; in main() 572 ehdr_region.from = 0; in main() 576 phdr_region.from = ehdr1->e_phoff; in main() 643 while (cnt < nregions && regionsarr[cnt].from < end) in main() 645 if (last < regionsarr[cnt].from) in main() 650 regionsarr[cnt].from - last) != 0)) in main() 813 if (r1->from < r2->from) in regioncompare()
|
/third_party/node/test/parallel/ |
H A D | test-crypto-sign-verify.js | 186 const data = Buffer.from('Test123'); 260 const wrongData = Buffer.from('Test1234'); 289 .update(Buffer.from(vector.message, 'hex')) 435 const data = Buffer.from('Hello world'); 446 const data = Buffer.from('Hello world'); 458 const data = Buffer.from('Hello world'); 459 const otherData = Buffer.from('Goodbye world'); 496 const data = Buffer.from('Hello world'); 542 const extSig = Buffer.from('494c18ab5c8a62a72aea5041966902bcfa229821af2bf65' +
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | node.js | 6 // node.location is the /-delimited path from the root module to the node. In 26 // reference will remove it from the old root's inventory and add it to the new 32 const nameFromFolder = require('@npmcli/name-from-folder') 134 throw new TypeError('could not detect node name from path or package') 152 // probably what we're getting from pacote, which IS trustworthy. 438 if (!edge.valid && !edge.from.isProjectRoot) { 495 const eBundler = edge.from.getBundler(path) 567 // delete from current root inventory 739 throw new Error('inventory contains node from other root') 778 if (edge.from [all...] |
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 597 * pass it from get_param to verify_param, since the latter checks in ossl_rsa_pss_get_param() 772 static int rsa_int_export_to(const EVP_PKEY *from, int rsa_type, in rsa_int_export_to() argument 777 RSA *rsa = from->pkey.rsa; in rsa_int_export_to() 865 /* Create the older RSA_PSS_PARAMS from RSA_PSS_PARAMS_30 data */ in rsa_int_import_from() 900 static int rsa_pkey_export_to(const EVP_PKEY *from, void *to_keydata, in rsa_pkey_export_to() argument 904 return rsa_int_export_to(from, RSA_FLAG_TYPE_RSA, to_keydata, in rsa_pkey_export_to() 908 static int rsa_pss_pkey_export_to(const EVP_PKEY *from, void *to_keydata, in rsa_pss_pkey_export_to() argument 912 return rsa_int_export_to(from, RSA_FLAG_TYPE_RSASSAPSS, to_keydata, in rsa_pss_pkey_export_to() 926 static int rsa_pkey_copy(EVP_PKEY *to, EVP_PKEY *from) in rsa_pkey_copy() argument 928 RSA *rsa = from in rsa_pkey_copy() [all...] |
/third_party/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 594 * pass it from get_param to verify_param, since the latter checks in ossl_rsa_pss_get_param() 737 static int rsa_int_export_to(const EVP_PKEY *from, int rsa_type, in rsa_int_export_to() argument 742 RSA *rsa = from->pkey.rsa; in rsa_int_export_to() 830 /* Create the older RSA_PSS_PARAMS from RSA_PSS_PARAMS_30 data */ in rsa_int_import_from() 865 static int rsa_pkey_export_to(const EVP_PKEY *from, void *to_keydata, in rsa_pkey_export_to() argument 869 return rsa_int_export_to(from, RSA_FLAG_TYPE_RSA, to_keydata, in rsa_pkey_export_to() 873 static int rsa_pss_pkey_export_to(const EVP_PKEY *from, void *to_keydata, in rsa_pss_pkey_export_to() argument 877 return rsa_int_export_to(from, RSA_FLAG_TYPE_RSASSAPSS, to_keydata, in rsa_pss_pkey_export_to() 891 static int rsa_pkey_copy(EVP_PKEY *to, EVP_PKEY *from) in rsa_pkey_copy() argument 893 RSA *rsa = from in rsa_pkey_copy() [all...] |
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/ |
H A D | export-with-incremental.js | 8 export * from "./tools.interface";
11 import { Data } from "lib2/public"; 19 export * from "./data";
22 export * from "./tools/public";
25 import { ITest } from "lib1/public"; 149 export * from "./tools.interface"; 173 export * from "./tools/public"; 195 import { ITest } from "lib1/public"; 222 export * from "./data"; 246 {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// <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; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \" [all...] |
H A D | export.js | 8 export * from "./tools.interface";
11 import { Data } from "lib2/public"; 19 export * from "./data";
22 export * from "./tools/public";
25 import { ITest } from "lib1/public"; 149 export * from "./tools.interface"; 173 export * from "./tools/public"; 195 import { ITest } from "lib1/public"; 222 export * from "./data";
|
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/ |
H A D | export-with-incremental.js | 8 export * from "./tools.interface";
11 import { Data } from "lib2/public"; 19 export * from "./data";
22 export * from "./tools/public";
25 import { ITest } from "lib1/public"; 149 export * from "./tools.interface"; 173 export * from "./tools/public"; 195 import { ITest } from "lib1/public"; 222 export * from "./data"; 246 {"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/tools.interface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// <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; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-13301115055-export * from \" [all...] |
H A D | export.js | 8 export * from "./tools.interface";
11 import { Data } from "lib2/public"; 19 export * from "./data";
22 export * from "./tools/public";
25 import { ITest } from "lib1/public"; 149 export * from "./tools.interface"; 173 export * from "./tools/public"; 195 import { ITest } from "lib1/public"; 222 export * from "./data";
|
/third_party/rust/crates/rustix/src/ |
H A D | io_uring.rs | 3 //! This API is very low-level. The main adaptations it makes from the raw 591 fn from(ptr: *mut c_void) -> Self { in from() functions 606 Self::from(null_mut()) in default() 633 /// Create a `Self` from a `u64` value. 646 /// Create a `Self` from a pointer value. 650 ptr: io_uring_ptr::from(ptr), in from_ptr() 1018 ($to:ident, $from:ident) => { in io_uring_layouts() 1021 (size_of::<sys::$from>(), align_of::<sys::$from>()) in io_uring_layouts() 1041 ($struct:ident, $to:ident, $from in io_uring_layouts() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A D | ap_ctrl_iface.c | 83 struct sockaddr_storage *from, in hostapd_ctrl_iface_attach() 86 return ctrl_iface_attach(&hapd->ctrl_dst, from, fromlen, input); in hostapd_ctrl_iface_attach() 91 struct sockaddr_storage *from, in hostapd_ctrl_iface_detach() 94 return ctrl_iface_detach(&hapd->ctrl_dst, from, fromlen); in hostapd_ctrl_iface_detach() 99 struct sockaddr_storage *from, in hostapd_ctrl_iface_level() 103 return ctrl_iface_level(&hapd->ctrl_dst, from, fromlen, level); in hostapd_ctrl_iface_level() 2940 struct sockaddr_storage *from, in hostapd_ctrl_iface_receive_process() 3003 if (hostapd_ctrl_iface_attach(hapd, from, fromlen, NULL)) in hostapd_ctrl_iface_receive_process() 3006 if (hostapd_ctrl_iface_attach(hapd, from, fromlen, buf + 7)) in hostapd_ctrl_iface_receive_process() 3009 if (hostapd_ctrl_iface_detach(hapd, from, fromle in hostapd_ctrl_iface_receive_process() 82 hostapd_ctrl_iface_attach(struct hostapd_data *hapd, struct sockaddr_storage *from, socklen_t fromlen, const char *input) hostapd_ctrl_iface_attach() argument 90 hostapd_ctrl_iface_detach(struct hostapd_data *hapd, struct sockaddr_storage *from, socklen_t fromlen) hostapd_ctrl_iface_detach() argument 98 hostapd_ctrl_iface_level(struct hostapd_data *hapd, struct sockaddr_storage *from, socklen_t fromlen, char *level) hostapd_ctrl_iface_level() argument 2937 hostapd_ctrl_iface_receive_process(struct hostapd_data *hapd, char *buf, char *reply, int reply_size, struct sockaddr_storage *from, socklen_t fromlen) hostapd_ctrl_iface_receive_process() argument 3396 struct sockaddr_storage from; hostapd_ctrl_iface_receive() local 3824 hostapd_global_ctrl_iface_attach(struct hapd_interfaces *interfaces, struct sockaddr_storage *from, socklen_t fromlen, char *input) hostapd_global_ctrl_iface_attach() argument 3833 hostapd_global_ctrl_iface_detach(struct hapd_interfaces *interfaces, struct sockaddr_storage *from, socklen_t fromlen) hostapd_global_ctrl_iface_detach() argument 4090 hostapd_global_ctrl_iface_ifname(struct hapd_interfaces *interfaces, const char *ifname, char *buf, char *reply, int reply_size, struct sockaddr_storage *from, socklen_t fromlen) hostapd_global_ctrl_iface_ifname() argument 4120 struct sockaddr_storage from; hostapd_global_ctrl_iface_receive() local [all...] |