/test/xts/acts/communication/wifi_p2p/entry/src/ohosTest/js/test/ |
H A D | WifiManagerP2PEvent.test.js | 16 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from '@ohos/hypium'
17 import wifiMg from '@ohos.wifiManager'
18 import osaccount from '@ohos.account.osAccount'
19 import bundle from '@ohos.bundle'
20 import abilityAccessCtrl from '@ohos.abilityAccessCtrl'
|
/test/xts/acts/security/huks/security_huks_basic/huks_hmac_promise_BasicTest/entry/src/ohosTest/js/test/HMAC/ |
H A D | SecurityHuksHmacBasicPromiseJsunit.test.js | 16 import { describe, it, expect } from "@ohos/hypium";
17 import huks from "@ohos.security.huks";
18 import Data from "../../../../../../../utils/data.json";
19 import { HuksHmac } from "../../../../../../../utils/param/hmac/publicHmacParam.js";
20 import { stringToArray } from "../../../../../../../utils/param/publicFunc.js";
|
/third_party/ffmpeg/libavcodec/ |
H A D | jacosubdec.c | 66 const char *from; member 148 const char *from = ass_codes_map[i].from; in jacosub_to_ass() local 150 size_t codemap_len = strlen(from); in jacosub_to_ass() 152 if (!strncmp(src, from, codemap_len)) { in jacosub_to_ass()
|
/third_party/elfutils/libelf/ |
H A D | elf_strptr.c | 1 /* Return string pointer from string section. 56 static bool validate_str (const char *str, size_t from, size_t to) in validate_str() argument 61 || (to - from > 0 && memrchr (&str[from], '\0', to - from - 1) != NULL)); in validate_str() 64 if (to <= from) in validate_str() 186 /* Make sure the string is NUL terminated. Start from the end, in elf_strptr() 204 /* Make sure the string is NUL terminated. Start from the end, in elf_strptr() 221 /* Make sure the string is NUL terminated. Start from in elf_strptr()
|
/third_party/node/test/parallel/ |
H A D | test-fs-mkdtemp.js | 65 const tmpFolder = fs.mkdtempSync(Buffer.from(path.join(tmpdir.path, 'foo.'))); 70 const utf8 = fs.mkdtempSync(Buffer.from(path.join(tmpdir.path, '\u0222abc.'))); 75 fs.mkdtemp(Buffer.from(path.join(tmpdir.path, 'bar.')), common.mustCall(handler)); 79 fs.mkdtemp(Buffer.from(path.join(tmpdir.path, 'bar.')), {}, common.mustCall(handler)); 82 fs.mkdtemp(Buffer.from(path.join(tmpdir.path, 'bar.X')), common.mustCall(handler));
|
/third_party/mesa3d/src/mesa/math/ |
H A D | m_matrix.h | 135 _math_matrix_copy( GLmatrix *to, const GLmatrix *from ); 138 _math_matrix_push_copy(GLmatrix *to, GLmatrix *from); 165 _math_transposef( GLfloat to[16], const GLfloat from[16] ); 168 _math_transposed( GLdouble to[16], const GLdouble from[16] ); 171 _math_transposefd( GLfloat to[16], const GLdouble from[16] );
|
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
H A D | internal.js | 36 if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '?') { 61 buf = Buffer.from(buf); 80 return Buffer.from(str, this.enc); 100 return Buffer.from(str, "base64"); 104 return Buffer.from(this.prevStr, "base64"); 119 // to convert from UTF-16 (which all JS strings are encoded in).
|
/third_party/libdrm/ |
H A D | util_double_list.h | 69 static inline void list_replace(struct list_head *from, struct list_head *to) in list_replace() argument 71 to->prev = from->prev; in list_replace() 72 to->next = from->next; in list_replace() 73 from->next->prev = to; in list_replace() 74 from->prev->next = to; in list_replace()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | LowerEmuTLS.cpp | 42 const GlobalVariable *from, in copyLinkageVisibility() 44 to->setLinkage(from->getLinkage()); in copyLinkageVisibility() 45 to->setVisibility(from->getVisibility()); in copyLinkageVisibility() 46 if (from->hasComdat()) { in copyLinkageVisibility() 48 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility() 97 // Get non-zero initializer from GV's initializer. in addEmuTlsVar() 41 copyLinkageVisibility(Module &M, const GlobalVariable *from, GlobalVariable *to) copyLinkageVisibility() argument
|
/third_party/node/deps/v8/src/compiler/ |
H A D | node-properties.cc | 27 Node* const node = edge.from(); in IsValueEdge() 35 Node* const node = edge.from(); in IsContextEdge() 43 Node* const node = edge.from(); in IsFrameStateEdge() 51 Node* const node = edge.from(); in IsEffectEdge() 59 Node* const node = edge.from(); in IsControlEdge() 70 if (edge.from()->opcode() == IrOpcode::kIfException) { in IsExceptionalCall() 71 if (out_exception != nullptr) *out_exception = edge.from(); in IsExceptionalCall() 84 if (edge.from()->opcode() == IrOpcode::kIfSuccess) { in FindSuccessfulControlProjection() 85 return edge.from(); in FindSuccessfulControlProjection() 183 if (edge.from() in ReplaceUses() [all...] |
/third_party/typescript/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/ |
H A D | exports-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"; import { Data2 } from "./data2"; 36 import { Data } from "./data"; 160 export * from "./tools.interface"; 184 export * from "./tools/public"; 200 import { Data } from " [all...] |
H A D | exports.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"; import { Data2 } from "./data2"; 36 import { Data } from "./data"; 160 export * from "./tools.interface"; 184 export * from "./tools/public"; 200 import { Data } from " [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | DateIntervalFormatTest.java | 68 // Note that from_data/to_data are specified using era names from root, for the calendar specified by locale. in TestFormat() 1406 Calendar from = Calendar.getInstance(); in testGetInstance_String_DateIntervalInfo() 1407 from.set(2000, Calendar.JANUARY, 1, 12, 0); in testGetInstance_String_DateIntervalInfo() 1410 DateInterval interval = new DateInterval(from.getTimeInMillis(), to.getTimeInMillis()); in testGetInstance_String_DateIntervalInfo() 1411 dateIntervalFormat.setTimeZone(from.getTimeZone()); in testGetInstance_String_DateIntervalInfo() 1422 Calendar from = Calendar.getInstance(); in testGetInstance_String_Locale_DateIntervalInfo() 1423 from.set(2000, Calendar.JANUARY, 1, 12, 0); in testGetInstance_String_Locale_DateIntervalInfo() 1426 DateInterval interval = new DateInterval(from.getTimeInMillis(), to.getTimeInMillis()); in testGetInstance_String_Locale_DateIntervalInfo() 1427 dateIntervalFormat.setTimeZone(from.getTimeZone()); in testGetInstance_String_Locale_DateIntervalInfo() 1481 Calendar from in TestTicket9919GetInstance() [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 56 int from, int to, bool allow) in sja1105_port_allow_traffic() 59 l2_fwd[from].reach_port |= BIT(to); in sja1105_port_allow_traffic() 61 l2_fwd[from].reach_port &= ~BIT(to); in sja1105_port_allow_traffic() 65 int from, int to) in sja1105_can_forward() 67 return !!(l2_fwd[from].reach_port & BIT(to)); in sja1105_can_forward() 138 * deliberately removing the RX VLAN from the port's VMEMB_PORT list, in sja1105_commit_pvid() 139 * to prevent DSA tag spoofing from the link partner. Untagged packets in sja1105_commit_pvid() 237 /* Disallow untagged packets from being received on the in sja1105_init_mac_settings() 403 * Maybe correlate with no_linklocal_learn from bridge driver? in sja1105_init_l2_lookup_params() 453 /* Set up a default VLAN for untagged traffic injected from th 55 sja1105_port_allow_traffic(struct sja1105_l2_forwarding_entry *l2_fwd, int from, int to, bool allow) sja1105_port_allow_traffic() argument 64 sja1105_can_forward(struct sja1105_l2_forwarding_entry *l2_fwd, int from, int to) sja1105_can_forward() argument 515 int from, to; sja1105_init_l2_forwarding() local 1984 int from, to, rc; sja1105_manage_flood_domains() local 2839 sja1105_mirror_apply(struct sja1105_private *priv, int from, int to, bool ingress, bool enabled) sja1105_mirror_apply() argument [all...] |
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/crypto/sha/ |
H A D | sha256-armv4.S | 136 add r4,r4,r12 @ h+=Maj(a,b,c) from the past 143 add r4,r4,r12 @ h+=Maj(a,b,c) from the past 178 ldr r2,[sp,#2*4] @ from future BODY_16_xx 180 ldr r1,[sp,#15*4] @ from future BODY_16_xx 194 add r11,r11,r3 @ h+=Maj(a,b,c) from the past 201 add r11,r11,r3 @ h+=Maj(a,b,c) from the past 236 ldr r2,[sp,#3*4] @ from future BODY_16_xx 238 ldr r1,[sp,#0*4] @ from future BODY_16_xx 252 add r10,r10,r12 @ h+=Maj(a,b,c) from the past 259 add r10,r10,r12 @ h+=Maj(a,b,c) from th [all...] |
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/sha/ |
H A D | sha256-armv4.S | 136 add r4,r4,r12 @ h+=Maj(a,b,c) from the past 143 add r4,r4,r12 @ h+=Maj(a,b,c) from the past 178 ldr r2,[sp,#2*4] @ from future BODY_16_xx 180 ldr r1,[sp,#15*4] @ from future BODY_16_xx 194 add r11,r11,r3 @ h+=Maj(a,b,c) from the past 201 add r11,r11,r3 @ h+=Maj(a,b,c) from the past 236 ldr r2,[sp,#3*4] @ from future BODY_16_xx 238 ldr r1,[sp,#0*4] @ from future BODY_16_xx 252 add r10,r10,r12 @ h+=Maj(a,b,c) from the past 259 add r10,r10,r12 @ h+=Maj(a,b,c) from th [all...] |
/kernel/linux/linux-5.10/arch/mips/txx9/rbtx4939/ |
H A D | setup.c | 4 * and RBTX49xx patch from CELF patch archive. 277 /* convert from map_to_seg7() notation */ in rbtx4939_7segled_putc() 327 unsigned long from, ssize_t len) in rbtx4939_flash_copy_from() 333 from += (unsigned long)map->virt; in rbtx4939_flash_copy_from() 339 0x400000 - (from & (0x400000 - 1))); in rbtx4939_flash_copy_from() 341 (void *)((from & ~0xc00000) | in rbtx4939_flash_copy_from() 342 ((((from >> 22) + shift) & 3) << 22)), in rbtx4939_flash_copy_from() 345 from += curlen; in rbtx4939_flash_copy_from() 355 0x400000 - (from & (0x400000 - 1))); in rbtx4939_flash_copy_from() 356 memcpy(to, (void *)(from in rbtx4939_flash_copy_from() 326 rbtx4939_flash_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) rbtx4939_flash_copy_from() argument [all...] |
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | fpsimdmacros.h | 196 * STR (vector from ZA array): 253 .macro __for from:req, to:req 254 .if (\from) == (\to) 255 _for__body %\from 257 __for %\from, %((\from) + ((\to) - (\from)) / 2) 258 __for %((\from) + ((\to) - (\from)) / 2 + 1), %\to 262 .macro _for var:req, from [all...] |
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A D | entry-compact.S | 159 ; Returns from L2 context fine 287 ; Wrapper for Linux page fault handler called from EV_TLBMiss* 304 ;############# Return from Intr/Excp/Trap (ARC Specifics) ############## 312 # Interrupts are actually disabled from this point on, but will get 313 # reenabled after we return from interrupt/exception. 327 ; Returning from Interrupts (Level 1 or 2) 331 ; Level 2 interrupt return Path - from hardware standpoint 346 ; things to what they were, before returning from L2 context 368 INTERRUPT_EPILOGUE 2 ; return from level 2 interrupt 376 INTERRUPT_EPILOGUE 1 ; return from leve [all...] |
/test/xts/acts/security/huks/security_huks_reformed_test/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/ |
H A D | SecurityHuksRSABasicCallbackJsunit.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 } from '../../../../../../../utils/param/publicFunc'; 184 if (Array.from(inDataArray).length < dateSize) { 188 let count = Math.floor(Array.from(inDataArray).length / dateSize); 189 let remainder = Array.from(inDataArray).length % dateSize; 191 HuksOptions.inData = new Uint8Array(Array.from(huksOptionsInData).slice(dateSize * i, dateSize * (i + 1))); 197 Array.from(huksOptionsInData).slice(dateSize * count, uint8ArrayToString(inDataArray).length) 251 updateResult = Array.from(dat [all...] |
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/ |
H A D | SecurityHuksRSABasicCallbackJsunit.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 } from '../../../../../../../utils/param/publicFunc';
159 if (Array.from(inDataArray).length < dateSize) {
163 let count = Math.floor(Array.from(inDataArray).length / dateSize);
164 let remainder = Array.from(inDataArray).length % dateSize;
166 HuksOptions.inData = new Uint8Array(Array.from(huksOptionsInData).slice(dateSize * i, dateSize * (i + 1)));
172 Array.from(huksOptionsInData).slice(dateSize * count, uint8ArrayToString(inDataArray).length)
218 updateResult = Array.from(dat [all...] |
/third_party/node/src/ |
H A D | node_options-inl.h | 120 void OptionsParser<Options>::AddAlias(const char* from, in AddAlias() argument 122 aliases_[from] = { to }; in AddAlias() 126 void OptionsParser<Options>::AddAlias(const char* from, in AddAlias() argument 128 aliases_[from] = to; in AddAlias() 133 const char* from, in AddAlias() 135 AddAlias(from, std::vector<std::string>(to)); in AddAlias() 139 void OptionsParser<Options>::Implies(const char* from, in Implies() argument 145 from, Implication{it->second.type, to, it->second.field, true}); in Implies() 149 void OptionsParser<Options>::ImpliesNot(const char* from, in ImpliesNot() argument 155 from, Implicatio in ImpliesNot() 132 AddAlias( const char* from, const std::initializer_list<std::string>& to) AddAlias() argument [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/ |
H A D | sigstore_common.js | 306 digest: isSet(object.digest) ? Buffer.from(bytesFromBase64(object.digest)) : Buffer.alloc(0), 324 signature: isSet(object.signature) ? Buffer.from(bytesFromBase64(object.signature)) : Buffer.alloc(0), 341 return { keyId: isSet(object.keyId) ? Buffer.from(bytesFromBase64(object.keyId)) : Buffer.alloc(0) }; 357 ? Buffer.from(bytesFromBase64(object.signedTimestamp)) 374 rawBytes: isSet(object.rawBytes) ? Buffer.from(bytesFromBase64(object.rawBytes)) : undefined, 427 value: isSet(object.value) ? Buffer.from(bytesFromBase64(object.value)) : Buffer.alloc(0), 460 return { rawBytes: isSet(object.rawBytes) ? Buffer.from(bytesFromBase64(object.rawBytes)) : Buffer.alloc(0) }; 547 return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64")); 560 return tsProtoGlobalThis.Buffer.from(ar [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-typed-array.cc | 57 int64_t from = 0; in BUILTIN() local 69 from = CapRelativeIndex(num, 0, len); in BUILTIN() 80 int64_t count = std::min<int64_t>(final - from, len - to); in BUILTIN() 104 // new_len or from > new_len, the count below will be < 0, so we don't in BUILTIN() 109 count = std::min<int64_t>(final - from, new_len - to); in BUILTIN() 117 DCHECK_GE(from, 0); in BUILTIN() 118 DCHECK_LT(from, len); in BUILTIN() 125 from = from * element_size; in BUILTIN() 131 reinterpret_cast<base::Atomic8*>(data + from), coun in BUILTIN() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | staticAnonymousTypeNotReferencingTypeParameter.js | 103 static slice<T>(dit: typeof ListWrapper, l: T[], from: number = 0, to: number = null): T[] { 104 return l.slice(from, to === null ? undefined : to); 106 static splice<T>(dit: typeof ListWrapper, l: T[], from: number, length: number): T[] { return l.splice(from, length); } 258 ListWrapper.slice = function (dit, l, from, to) {
259 if (from === void 0) { from = 0; }
261 return l.slice(from, to === null ? undefined : to);
263 ListWrapper.splice = function (dit, l, from, length) { return l.splice(from, lengt [all...] |