Home
last modified time | relevance | path

Searched refs:K2 (Results 1 - 25 of 26) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
H A Dqualify.js41 export module K2 {
95 var K2;
96 (function (K2) {
103 })(K2 = Everest.K2 || (Everest.K2 = {}));
H A DtwiceNestedKeyofIndexInference.js6 type Set2<T, K1 extends keyof T, K2 extends keyof T[K1]> = T extends any[] ? T : Pick<T, Exclude<keyof T, K1>> & {
8 [key in K1]: Set1<T[K1], K2>;
14 declare function set<T, K1 extends keyof T, K2 extends keyof T[K1]>(source: T, path: [K1, K2], value: T[K1][K2]): Set2<T, K1, K2>;
H A DdeepComparisons.js2 function f1<T, K1 extends keyof T, K2 extends keyof T[K1]>() {
5 let v3: Extract<T[K1][K2], string> = 0 as any as T[K1][K2]; // No error
H A DgenericObjectRest.js20 function f3<T, K1 extends keyof T, K2 extends keyof T>(obj: T, k1: K1, k2: K2) {
26 function f4<K1 extends keyof Item, K2 extends keyof Item>(obj: Item, k1: K1, k2: K2) {
H A DkeyofAndIndexedAccess.js364 function path<T, K1 extends keyof T, K2 extends keyof T[K1]>(obj: T, key1: K1, key2: K2): T[K1][K2];
365 function path<T, K1 extends keyof T, K2 extends keyof T[K1], K3 extends keyof T[K1][K2]>(obj: T, key1: K1, key2: K2, key3: K3): T[K1][K2][K3];
390 const assignTo2 = <T, K1 extends keyof T, K2 extends keyof T[K1]>(object: T, key1: K1, key2: K2) =>
391 (value: T[K1][K2])
[all...]
H A DmappedTypeRelationships.js180 function f82<T, K1 extends keyof T, K2 extends keyof T[K1]>(t: T, k1: K1, k2: K2): Partial<T[K1][K2]> {
411 declare function f82<T, K1 extends keyof T, K2 extends keyof T[K1]>(t: T, k1: K1, k2: K2): Partial<T[K1][K2]>;
H A DintersectionReduction.js54 type K2 = keyof A | keyof B; // 'kind' | 'foo'
H A DintersectionReductionStrict.js54 type K2 = keyof A | keyof B; // 'kind' | 'foo'
H A DindexSignatures1.js322 type K2 = keyof Rec2; // Id
680 type K2 = keyof Rec2;
/third_party/ltp/testcases/kernel/syscalls/pwrite/
H A Dpwrite04.c26 #define K2 (K1 * 2) macro
49 SAFE_PWRITE(1, fd, write_buf[0], K2, 0); in verify_pwrite()
54 if (statbuf.st_size != K2) in verify_pwrite()
55 tst_res(TFAIL, "file size is %ld != K2", statbuf.st_size); in verify_pwrite()
71 write_buf[0] = SAFE_MALLOC(K2); in setup()
72 memset(write_buf[0], 0, K2); in setup()
H A Dpwrite01.c24 #define K2 (K1 * 2) macro
69 SAFE_PWRITE(1, fildes, write_buf[2], K1, K2); in verify_pwrite()
/third_party/ltp/testcases/kernel/syscalls/write/
H A Dwrite06.c28 #define K2 (K1 * 2) macro
41 SAFE_WRITE(SAFE_WRITE_ALL, fd, write_buf[0], K2); in verify_write()
46 if (statbuf.st_size != K2) in verify_write()
47 tst_res(TFAIL, "file size is %ld != K2", statbuf.st_size); in verify_write()
72 memset(write_buf[0], 0, K2); in setup()
90 {&write_buf[0], .size = K2},
/third_party/mbedtls/library/
H A Dcmac.c97 unsigned char *K1, unsigned char *K2) in cmac_generate_subkeys()
113 * Generate K1 and K2 in cmac_generate_subkeys()
119 if ((ret = cmac_multiply_by_u(K2, K1, block_size)) != 0) { in cmac_generate_subkeys()
136 * CBC and we use ECB mode, and anyway we need to XOR K1 or K2 in addition.
274 unsigned char K2[MBEDTLS_CMAC_MAX_BLOCK_SIZE]; in mbedtls_cipher_cmac_finish() local
290 mbedtls_platform_zeroize(K2, sizeof(K2)); in mbedtls_cipher_cmac_finish()
291 cmac_generate_subkeys(ctx, K1, K2); in mbedtls_cipher_cmac_finish()
298 mbedtls_xor(M_last, M_last, K2, block_size); in mbedtls_cipher_cmac_finish()
317 mbedtls_platform_zeroize(K2, sizeo in mbedtls_cipher_cmac_finish()
96 cmac_generate_subkeys(mbedtls_cipher_context_t *ctx, unsigned char *K1, unsigned char *K2) cmac_generate_subkeys() argument
742 unsigned char K2[MBEDTLS_CMAC_MAX_BLOCK_SIZE]; cmac_test_subkeys() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/pread/
H A Dpread01.c23 #define K2 (K1 * 2) macro
61 SAFE_PREAD(1, fildes, read_buf[2], K1, K2); in verify_pread()
92 SAFE_PWRITE(1, fildes, write_buf[2], K1, K2); in setup()
/third_party/pulseaudio/speex/libspeexdsp/
H A Dmath_approx.h184 #define K2 -4096 macro
195 return ADD32(K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))); in spx_cos()
199 return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2)))))); in spx_cos()
242 K2 = 3-4*log(2)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
H A DRPCSerialization.h651 template <typename ChannelT, typename K, typename V, typename K2, typename V2>
652 class SerializationTraits<ChannelT, std::map<K, V>, std::map<K2, V2>> {
654 /// Serialize a std::map<K, V> from std::map<K2, V2>.
655 static Error serialize(ChannelT &C, const std::map<K2, V2> &M) { in serialize()
661 SerializationTraits<ChannelT, K, K2>::serialize(C, E.first)) in serialize()
672 static Error deserialize(ChannelT &C, std::map<K2, V2> &M) { in deserialize()
680 std::pair<K2, V2> Val; in deserialize()
682 SerializationTraits<ChannelT, K, K2>::deserialize(C, Val.first)) in deserialize()
/third_party/skia/modules/svg/include/
H A DSkSVGFeComposite.h23 SVG_ATTR(K2, SkSVGNumberType, SkSVGNumberType(0))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h323 ENTRY(K2) \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstPrinterCommon.cpp352 printRegName(OS, X86::K2); in printVKPair()
H A DX86MCTargetDesc.cpp262 {codeview::RegisterId::AMD64_K2, X86::K2}, in initLLVMToSEHAndCVRegMapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h525 case X86::K2: in addMaskPairOperands()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dbtree.h429 template <typename K1, typename K2>
430 bool operator()(const K1 &a, const K2 &b) const { in operator ()()
1355 template <typename K1, typename K2>
1356 bool compare_keys(const K1 &a, const K2 &b) const { in compare_keys()
H A Draw_hash_set.h1543 template <class K2, class... Args>
1544 bool operator()(const K2& lhs, Args&&...) const {
/third_party/openssl/test/
H A Dmodes_internal_test.c279 # define K2 K1 macro
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp1240 unsigned K2 = getKillRegState(Op2.isKill()); in expandPostRAPseudo() local
1245 .addReg(Rs, K2); in expandPostRAPseudo()

Completed in 28 milliseconds

12