Home
last modified time | relevance | path

Searched refs:K1 (Results 1 - 25 of 34) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
H A DtwiceNestedKeyofIndexInference.js2 type Set1<T, K1 extends keyof T> = T extends any[] ? T : Pick<T, Exclude<keyof T, K1>> & {
3 [SK1 in K1]-?: Required<Pick<T, SK1>>;
4 }[K1];
6 type Set2<T, K1 extends keyof T, K2 extends keyof T[K1]> = T extends any[] ? T : Pick<T, Exclude<keyof T, K1>> & {
7 [SK1 in K1]-?: Required<{
8 [key in K1]: Set1<T[K1], K
[all...]
H A Dqualify.js36 export module K1 {
46 var v2:K1.I3=v1;
47 var v3:K1.I3[]=v1;
48 var v4:()=>K1.I3=v1;
49 var v5:(k:K1.I3)=>void=v1;
50 var v6:{k:K1.I3;}=v1;
H A DdeepComparisons.js2 function f1<T, K1 extends keyof T, K2 extends keyof T[K1]>() {
4 let v2: Extract<T[K1], string> = 0 as any as T[K1]; // Error
5 let v3: Extract<T[K1][K2], string> = 0 as any as T[K1][K2]; // No error
H A DkeyofAndIndexedAccess.js363 function path<T, K1 extends keyof T>(obj: T, key1: K1): T[K1];
364 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][K
[all...]
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 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.js53 type K1 = keyof (A & B); // string | number | symbol
H A DintersectionReductionStrict.js53 type K1 = keyof (A & B); // string | number | symbol
H A DindexSignatures1.js321 type K1 = keyof Rec1; // Id
679 type K1 = keyof Rec1;
/third_party/ltp/testcases/kernel/syscalls/pread/
H A Dpread01.c22 #define K1 1024 macro
23 #define K2 (K1 * 2)
24 #define K3 (K1 * 3)
25 #define K4 (K1 * 4)
49 if (memcmp(write_buf[count], read_buf[count], K1) != 0) { in compare_bufers()
61 SAFE_PREAD(1, fildes, read_buf[2], K1, K2); in verify_pread()
65 SAFE_PREAD(1, fildes, read_buf[3], K1, K3); in verify_pread()
68 SAFE_READ(1, fildes, read_buf[0], K1); in verify_pread()
69 l_seek(fildes, 0, SEEK_CUR, K1); in verify_pread()
71 SAFE_PREAD(1, fildes, read_buf[1], K1, K in verify_pread()
[all...]
H A Dpread02.c23 #define K1 1024 macro
34 {&pipe_fd[0], K1, 0, "file descriptor is a PIPE or FIFO", ESPIPE},
35 {&fd, K1, -1, "specified offset is negative", EINVAL},
36 {&dir_fd, K1, 0, "file descriptor is a directory", EISDIR}
42 char buf[K1]; in verify_pread()
/third_party/ltp/testcases/kernel/syscalls/pwrite/
H A Dpwrite01.c23 #define K1 1024 macro
24 #define K2 (K1 * 2)
25 #define K3 (K1 * 3)
26 #define K4 (K1 * 4)
49 l_seek(fildes, count * K1, SEEK_SET, count * K1); in check_file_contents()
51 SAFE_READ(1, fildes, read_buf[count], K1); in check_file_contents()
53 if (memcmp(write_buf[count], read_buf[count], K1) != 0) { in check_file_contents()
65 SAFE_PWRITE(1, fildes, write_buf[0], K1, 0); in verify_pwrite()
67 l_seek(fildes, K1 / in verify_pwrite()
[all...]
H A Dpwrite04.c25 #define K1 1024 macro
26 #define K2 (K1 * 2)
27 #define K3 (K1 * 3)
58 l_seek(fd, K1, SEEK_SET, K1); in verify_pwrite()
59 SAFE_PWRITE(1, fd, write_buf[1], K1, 0); in verify_pwrite()
60 l_seek(fd, 0, SEEK_CUR, K1); in verify_pwrite()
73 write_buf[1] = SAFE_MALLOC(K1); in setup()
74 memset(write_buf[0], 1, K1); in setup()
/third_party/ltp/testcases/kernel/syscalls/write/
H A Dwrite06.c27 #define K1 1024 macro
28 #define K2 (K1 * 2)
29 #define K3 (K1 * 3)
49 off = SAFE_LSEEK(fd, K1, SEEK_SET); in verify_write()
50 if (off != K1) in verify_write()
51 tst_brk(TBROK, "Failed to seek to K1"); in verify_write()
53 SAFE_WRITE(SAFE_WRITE_ALL, fd, write_buf[1], K1); in verify_write()
73 memset(write_buf[1], 1, K1); in setup()
91 {&write_buf[1], .size = K1},
/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()
115 if ((ret = cmac_multiply_by_u(K1, L, block_size)) != 0) { 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.
273 unsigned char K1[MBEDTLS_CMAC_MAX_BLOCK_SIZE]; in mbedtls_cipher_cmac_finish() local
289 mbedtls_platform_zeroize(K1, sizeof(K1)); in mbedtls_cipher_cmac_finish()
291 cmac_generate_subkeys(ctx, K1, K2); in mbedtls_cipher_cmac_finish()
301 mbedtls_xor(M_last, last_block, K1, block_siz in mbedtls_cipher_cmac_finish()
96 cmac_generate_subkeys(mbedtls_cipher_context_t *ctx, unsigned char *K1, unsigned char *K2) cmac_generate_subkeys() argument
741 unsigned char K1[MBEDTLS_CMAC_MAX_BLOCK_SIZE]; cmac_test_subkeys() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsSEFrameLowering.cpp612 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::MFC0), Mips::K1) in emitInterruptPrologueStub()
617 STI.getInstrInfo()->storeRegToStack(MBB, MBBI, Mips::K1, false, in emitInterruptPrologueStub()
623 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::MFC0), Mips::K1) in emitInterruptPrologueStub()
628 STI.getInstrInfo()->storeRegToStack(MBB, MBBI, Mips::K1, false, in emitInterruptPrologueStub()
657 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1) in emitInterruptPrologueStub()
661 .addReg(Mips::K1) in emitInterruptPrologueStub()
665 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1) in emitInterruptPrologueStub()
669 .addReg(Mips::K1) in emitInterruptPrologueStub()
674 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1) in emitInterruptPrologueStub()
678 .addReg(Mips::K1) in emitInterruptPrologueStub()
[all...]
H A DMipsRegisterInfo.cpp152 Mips::ZERO, Mips::K0, Mips::K1, Mips::SP in getReservedRegs()
/third_party/ffmpeg/libavutil/
H A Dxtea.c83 #define DSTEP(SUM, K0, K1) \ in xtea_crypt_ecb()
85 v0 -= (((v1 << 4) ^ (v1 >> 5)) + v1) ^ (SUM - 0x9E3779B9U + K1) in xtea_crypt_ecb()
136 #define ESTEP(SUM, K0, K1) \ in xtea_crypt_ecb()
138 v1 += (((v0 << 4) ^ (v0 >> 5)) + v0) ^ (SUM + 0x9E3779B9U + K1) in xtea_crypt_ecb()
/third_party/pulseaudio/speex/libspeexdsp/
H A Dmath_approx.h183 #define K1 8192 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()
241 K1 = log(2)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Dxxhash.cpp109 uint64_t const K1 = round(0, endian::read64le(P)); in xxHash64() local
110 H64 ^= K1; in xxHash64()
/third_party/skia/modules/svg/include/
H A DSkSVGFeComposite.h22 SVG_ATTR(K1, SkSVGNumberType, SkSVGNumberType(0))
/third_party/skia/tools/viewer/
H A DTouchGesture.cpp69 const float K1 = 0.02f; in evaluateMatrix() local
70 const float speed = fSpeed0 * (sk_float_exp(- K0 * t) - K1); in evaluateMatrix()
/third_party/openssl/test/
H A Dmodes_internal_test.c272 static const u8 K1[16], P1[] = { 0 }, A1[] = { 0 }, IV1[12], C1[] = { 0 }; variable
279 # define K2 K1
726 # define K19 K1
755 # define K20 K1
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h322 ENTRY(K1) \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h522 case X86::K1: in addMaskPairOperands()

Completed in 12 milliseconds

12