/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | ctrl_iface_common.h | 35 int ctrl_iface_attach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, 37 int ctrl_iface_detach(struct dl_list *ctrl_dst, struct sockaddr_storage *from, 39 int ctrl_iface_level(struct dl_list *ctrl_dst, struct sockaddr_storage *from,
|
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A D | entry-arcv2.S | 172 ;############# Return from Intr/Excp/Trap (ARCv2 ISA Specifics) ############## 181 # Interrpts are actually disabled from this point on, but will get 182 # reenabled after we return from interrupt/exception. 190 breq r11, 0, .Lexcept_ret ; No intr active, ret from Exception 192 ;####### Return from Intr ####### 206 ; won't be switched to correct U mode value (from AUX_SP) 216 ;####### Return from Exception / pure kernel mode ####### 224 ;####### Return from Intr to insn in delay slot ####### 235 ; and return from pure kernel mode which does right things for delay slot
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | signal.c | 5 * Extracted from signal_32.c and signal_64.c 43 void __user *from) in copy_fpr_from_user() 48 if (__copy_from_user(buf, from, ELF_NFPREG * sizeof(double))) in copy_fpr_from_user() 70 void __user *from) in copy_vsx_from_user() 75 if (__copy_from_user(buf, from, ELF_NVSRHALFREG * sizeof(double))) in copy_vsx_from_user() 97 void __user *from) in copy_ckfpr_from_user() 102 if (__copy_from_user(buf, from, ELF_NFPREG * sizeof(double))) in copy_ckfpr_from_user() 124 void __user *from) in copy_ckvsx_from_user() 129 if (__copy_from_user(buf, from, ELF_NVSRHALFREG * sizeof(double))) in copy_ckvsx_from_user() 328 * need to use the stack pointer from th in get_tm_stackpointer() 42 copy_fpr_from_user(struct task_struct *task, void __user *from) copy_fpr_from_user() argument 69 copy_vsx_from_user(struct task_struct *task, void __user *from) copy_vsx_from_user() argument 96 copy_ckfpr_from_user(struct task_struct *task, void __user *from) copy_ckfpr_from_user() argument 123 copy_ckvsx_from_user(struct task_struct *task, void __user *from) copy_ckvsx_from_user() argument [all...] |
/kernel/linux/linux-5.10/fs/hostfs/ |
H A D | hostfs_user.c | 277 int make_symlink(const char *from, const char *to) in make_symlink() argument 281 err = symlink(to, from); in make_symlink() 327 int link_file(const char *to, const char *from) in link_file() argument 331 err = link(to, from); in link_file() 349 int rename_file(char *from, char *to) in rename_file() argument 353 err = rename(from, to); in rename_file() 359 int rename2_file(char *from, char *to, unsigned int flags) in rename2_file() argument 373 err = syscall(SYS_renameat2, AT_FDCWD, from, AT_FDCWD, to, flags); in rename2_file()
|
/kernel/linux/linux-6.6/fs/hostfs/ |
H A D | hostfs_user.c | 278 int make_symlink(const char *from, const char *to) in make_symlink() argument 282 err = symlink(to, from); in make_symlink() 328 int link_file(const char *to, const char *from) in link_file() argument 332 err = link(to, from); in link_file() 350 int rename_file(char *from, char *to) in rename_file() argument 354 err = rename(from, to); in rename_file() 360 int rename2_file(char *from, char *to, unsigned int flags) in rename2_file() argument 374 err = syscall(SYS_renameat2, AT_FDCWD, from, AT_FDCWD, to, flags); in rename2_file()
|
/test/xts/acts/security/cryptoFramework/js_api_test_one/entry/src/ohosTest/js/test/utils/symmetric/ |
H A D | publicSymmetricCallback.js | 15 import { expect } from "@ohos/hypium";
16 import cryptoFramework from "@ohos.security.cryptoFramework";
24 } from "../common/publicDoString";
29 } from "./publicSymmetricCommon";
215 globalCipherText = Array.from(globalCipherText.data);
216 finalOutput = Array.from(finalOutput.data);
332 globalCipherText = Array.from(globalCipherText.data);
333 finalOutput = Array.from(finalOutput.data);
|
/test/xts/dcts/testtools/disjsTest/server/ |
H A D | testApi.js | 15 import disData from '@ohos.data.distributedKVStore'; 16 import backgroundTaskManager from '@ohos.backgroundTaskManager'; 17 import dataRdb from '@ohos.data.rdb'; 18 import ApiResult from '../common/apiResult'; 19 import distributedObject from '@ohos.data.distributedDataObject'; 20 import deviceinfo from '@ohos.deviceInfo' 21 import UIAbility from '@ohos.app.ability.UIAbility'; 23 import common from "@ohos.app.ability.common"
|
/third_party/glslang/glslang/Include/ |
H A D | arrays.h | 21 // from this software without specific prior written permission. 48 // This is used to mean there is no size yet (unsized), it is waiting to get a size from somewhere else. 89 TSmallArrayVector& operator=(const TSmallArrayVector& from) in operator =() 91 if (from.sizes == nullptr) in operator =() 95 *sizes = *from.sizes; in operator =() 237 TArraySizes& operator=(const TArraySizes& from) in operator =() 239 implicitArraySize = from.implicitArraySize; in operator =() 240 variablyIndexed = from.variablyIndexed; in operator =() 241 sizes = from.sizes; in operator =() 242 implicitlySized = from in operator =() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | DataDrivenCalendarTest.java | 98 //logln("Set Source calendar: " + from); in testConvert() 150 String from = currentCase.getString("from"); in testConvert() 151 fromSet.parseFrom(from); in testConvert() 157 logln(caseString +" "+locale+"/"+from+" >>> "+loc+"/" in testConvert() 161 logln(caseString +" "+locale+"/"+from+" <<< "+loc+"/" in testConvert() 173 // Get 'from' time in testOps() 189 // Headers { "locale","from","operation","params","to" } in testOps() 199 // #2 'from' info in testOps() 200 param = "from"; in testOps() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | DataDrivenCalendarTest.java | 101 //logln("Set Source calendar: " + from); in testConvert() 153 String from = currentCase.getString("from"); in testConvert() 154 fromSet.parseFrom(from); in testConvert() 160 logln(caseString +" "+locale+"/"+from+" >>> "+loc+"/" in testConvert() 164 logln(caseString +" "+locale+"/"+from+" <<< "+loc+"/" in testConvert() 176 // Get 'from' time in testOps() 192 // Headers { "locale","from","operation","params","to" } in testOps() 202 // #2 'from' info in testOps() 203 param = "from"; in testOps() [all...] |
/third_party/node/deps/v8/tools/ |
H A D | generate-ten-powers.scm | 14 ;; from this software without specific prior written permission. 88 (define (generate-powers from to mantissa-size) 90 (offset (- from)) 91 (nb-elements (+ (- from) to 1)) 105 (unless (< (- i) from) 135 (define (print-c powers from to struct-type 166 (display-power power (+ i from)) 225 (print "static const int GRISU_CACHE_OFFSET = " (- from) ";")) 232 (define *from* #f) 249 (("--from" [all...] |
/third_party/typescript/tests/baselines/reference/tsbuild/sample1/ |
H A D | listEmittedFiles.js | 42 import * as c from '../core/index';
46 import * as mod from '../core/anotherModule';
66 import * as c from '../core/index';
67 import * as logic from '../logic/index';
72 import * as mod from '../core/anotherModule';
92 import * as logic from '../logic';
219 import * as mod from '../core/anotherModule';
240 {"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 ' [all...] |
H A D | listFiles.js | 42 import * as c from '../core/index';
46 import * as mod from '../core/anotherModule';
66 import * as c from '../core/index';
67 import * as logic from '../logic/index';
72 import * as mod from '../core/anotherModule';
92 import * as logic from '../logic';
218 import * as mod from '../core/anotherModule';
239 {"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 ' [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | message.cc | 16 // contributors may be used to endorse or promote products derived from 81 void Message::MergeFrom(const Message& from) { in MergeFrom() argument 83 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) in MergeFrom() 84 << ": Tried to merge from a message with a different type. " in MergeFrom() 88 "from: " in MergeFrom() 89 << from.GetDescriptor()->full_name(); in MergeFrom() 90 ReflectionOps::Merge(from, this); in MergeFrom() 97 void Message::CopyFrom(const Message& from) { in CopyFrom() argument 99 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) in CopyFrom() 100 << ": Tried to copy from in CopyFrom() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/ |
H A D | l2_packet_privsep.c | 99 struct sockaddr_un from; in l2_packet_receive() local 100 socklen_t fromlen = sizeof(from); in l2_packet_receive() 102 os_memset(&from, 0, sizeof(from)); in l2_packet_receive() 103 res = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *) &from, in l2_packet_receive() 115 if (from.sun_family != AF_UNIX || in l2_packet_receive() 116 os_strncmp(from.sun_path, l2->priv_addr.sun_path, in l2_packet_receive() 117 sizeof(from.sun_path)) != 0) { in l2_packet_receive() 118 wpa_printf(MSG_DEBUG, "L2: Received message from unexpected " in l2_packet_receive()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/ |
H A D | l2_packet_privsep.c | 99 struct sockaddr_un from; in l2_packet_receive() local 100 socklen_t fromlen = sizeof(from); in l2_packet_receive() 102 os_memset(&from, 0, sizeof(from)); in l2_packet_receive() 103 res = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *) &from, in l2_packet_receive() 115 if (from.sun_family != AF_UNIX || in l2_packet_receive() 116 os_strncmp(from.sun_path, l2->priv_addr.sun_path, in l2_packet_receive() 117 sizeof(from.sun_path)) != 0) { in l2_packet_receive() 118 wpa_printf(MSG_DEBUG, "L2: Received message from unexpected " in l2_packet_receive()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | entry-compact.S | 159 ; Returns from L2 context fine 263 ; Re-enable them by pretending to return from exception 299 ; Wrapper for Linux page fault handler called from EV_TLBMiss* 319 ;############# Return from Intr/Excp/Trap (ARC Specifics) ############## 327 # Interrupts are actually disabled from this point on, but will get 328 # reenabled after we return from interrupt/exception. 342 ; Returning from Interrupts (Level 1 or 2) 346 ; Level 2 interrupt return Path - from hardware standpoint 361 ; things to what they were, before returning from L2 context 383 INTERRUPT_EPILOGUE 2 ; return from leve [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | ip6_fib.h | 207 struct fib6_info __rcu *from; member 294 struct fib6_info *from; in rt6_get_cookie() local 302 from = rcu_dereference(rt->from); in rt6_get_cookie() 303 if (from) in rt6_get_cookie() 304 fib6_get_cookie_safe(from, &cookie); in rt6_get_cookie() 474 const struct fib6_info *from; in rt6_get_prefsrc() local 478 from = rcu_dereference(rt->from); in rt6_get_prefsrc() 479 if (from) { in rt6_get_prefsrc() [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-request.c | 54 const struct v4l2_ctrl_handler *from) in v4l2_ctrl_request_clone() 59 if (WARN_ON(!hdl || hdl == from)) in v4l2_ctrl_request_clone() 67 mutex_lock(from->lock); in v4l2_ctrl_request_clone() 68 list_for_each_entry(ref, &from->ctrl_refs, node) { in v4l2_ctrl_request_clone() 72 /* Skip refs inherited from other devices */ in v4l2_ctrl_request_clone() 79 mutex_unlock(from->lock); in v4l2_ctrl_request_clone() 152 struct v4l2_ctrl_handler *from) in v4l2_ctrl_request_bind() 156 ret = v4l2_ctrl_request_clone(hdl, from); in v4l2_ctrl_request_bind() 160 from, false, &hdl->req_obj); in v4l2_ctrl_request_bind() 162 mutex_lock(from in v4l2_ctrl_request_bind() 53 v4l2_ctrl_request_clone(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_handler *from) v4l2_ctrl_request_clone() argument 150 v4l2_ctrl_request_bind(struct media_request *req, struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl_handler *from) v4l2_ctrl_request_bind() argument [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | ip6_fib.h | 211 struct fib6_info __rcu *from; member 295 struct fib6_info *from; in rt6_get_cookie() local 303 from = rcu_dereference(rt->from); in rt6_get_cookie() 304 if (from) in rt6_get_cookie() 305 fib6_get_cookie_safe(from, &cookie); in rt6_get_cookie() 467 const struct fib6_info *from; in rt6_get_prefsrc() local 471 from = rcu_dereference(rt->from); in rt6_get_prefsrc() 472 if (from) in rt6_get_prefsrc() [all...] |
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/ |
H A D | SecurityHuksSM2BasicCallbackJsunit.test.js | 16 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, arrayEqual } from '../../../../../../../utils/param/publicFunc';
161 if (Array.from(inDataArray).length < dateSize) {
165 let count = Math.floor(Array.from(inDataArray).length / dateSize);
166 let remainder = Array.from(inDataArray).length % dateSize;
168 HuksOptions.inData = new Uint8Array(Array.from(huksOptionsInData).slice(dateSize * i, dateSize * (i + 1)));
174 Array.from(huksOptionsInData).slice(dateSize * count, uint8ArrayToString(inDataArray).length)
221 encryptedResult = Array.from(dat [all...] |
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_promise_BasicTest/entry/src/ohosTest/js/test/Cipher/ |
H A D | SecurityHuksCipherSM2BasicPromiseJsunit.test.js | 16 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, arrayEqual } from '../../../../../../../utils/param/publicFunc';
111 if (Array.from(inDataArray).length < dateSize) {
115 let count = Math.floor(Array.from(inDataArray).length / dateSize);
116 let remainder = Array.from(inDataArray).length % dateSize;
118 HuksOptions.inData = new Uint8Array(Array.from(huksOptionsInData).slice(dateSize * i, dateSize * (i + 1)));
124 Array.from(huksOptionsInData).slice(dateSize * count, uint8ArrayToString(inDataArray).length)
160 encryptedResult = Array.from(dat [all...] |
/third_party/node/test/parallel/ |
H A D | test-crypto-rsa-dsa-revert.js | 55 const bufferToEncrypt = Buffer.from(input); 56 const bufferPassword = Buffer.from('password'); 70 key: Buffer.from(ab).toString('hex'), 72 }, Buffer.from(ab2enc).toString('hex')); 157 }, Buffer.from(plaintext)); 199 passphrase: Buffer.from('password') 205 passphrase: Buffer.from('wrong') 215 const bufferToEncrypt = Buffer.from(input); 262 const label = oaepLabel ? Buffer.from(oaepLabel, 'hex') : undefined; 269 }, Buffer.from(c [all...] |
H A D | test-crypto-rsa-dsa.js | 54 const bufferToEncrypt = Buffer.from(input); 55 const bufferPassword = Buffer.from('password'); 69 key: Buffer.from(ab).toString('hex'), 71 }, Buffer.from(ab2enc).toString('hex')); 156 }, Buffer.from(plaintext)); 198 passphrase: Buffer.from('password') 204 passphrase: Buffer.from('wrong') 214 const bufferToEncrypt = Buffer.from(input); 279 const label = oaepLabel ? Buffer.from(oaepLabel, 'hex') : undefined; 286 }, Buffer.from(c [all...] |
/third_party/skia/src/core/ |
H A D | SkGlyph.cpp | 100 size_t SkGlyph::setMetricsAndImage(SkArenaAlloc* alloc, const SkGlyph& from) { in setMetricsAndImage() argument 107 fAdvanceX = from.fAdvanceX; in setMetricsAndImage() 108 fAdvanceY = from.fAdvanceY; in setMetricsAndImage() 109 fWidth = from.fWidth; in setMetricsAndImage() 110 fHeight = from.fHeight; in setMetricsAndImage() 111 fTop = from.fTop; in setMetricsAndImage() 112 fLeft = from.fLeft; in setMetricsAndImage() 113 fForceBW = from.fForceBW; in setMetricsAndImage() 114 fMaskFormat = from.fMaskFormat; in setMetricsAndImage() 117 if (from in setMetricsAndImage() [all...] |