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

12

/external/ltp/testcases/kernel/syscalls/pread/
H A Dpread01.c81 #define K1 1024 macro
82 #define K2 (K1 * 2)
83 #define K3 (K1 * 3)
84 #define K4 (K1 * 4)
115 * Call pread() of K1 data (should be 2's) at offset K2.
117 nread = pread(fildes, read_buf[2], K1, K2);
120 if (nread != K1) {
134 /* pread() K1 of data (should be 3's) at offset K3. */
135 nread = pread(fildes, read_buf[3], K1, K3);
136 if (nread != K1) {
[all...]
H A Dpread02.c77 #define K1 1024 macro
104 1, K1, 0, "file descriptor is a PIPE or FIFO", ESPIPE, setup1}, {
105 2, K1, -1, "specified offset is -ve or invalid", EINVAL, setup2}, {
219 /* Write known data (0's) of K1 bytes */
220 if (write(pfd[1], write_buf[0], K1) != K1) {
263 write_buf[count] = malloc(K1);
264 read_buf[count] = malloc(K1);
270 memset(write_buf[count], count, K1);
H A Dpread03.c84 #define K1 2048 macro
115 nbytes = K1;
198 read_buf[count] = malloc(K1);
/external/ltp/testcases/kernel/syscalls/pwrite/
H A Dpwrite01.c84 #define K1 1024 macro
85 #define K2 (K1 * 2)
86 #define K3 (K1 * 3)
87 #define K4 (K1 * 4)
115 * Call pwrite() to write K1 bytes of data (0's) at offset 0
118 nwrite = pwrite(fildes, write_buf[0], K1, 0);
121 if (nwrite != K1) {
134 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2);
137 * Again, pwrite() K1 o
[all...]
H A Dpwrite04.c52 #define K1 1024 macro
53 #define K2 (K1 * 2)
54 #define K3 (K1 * 3)
55 #define K4 (K1 * 4)
56 #define K5 (K1 * 5)
91 * pwrite() K1 of data (0's) at offset 0.
93 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) {
108 l_seek(fd, K1 / 2, SEEK_SET, K1 /
[all...]
H A Dpwrite02.c44 #define K1 1024 macro
48 static char write_buf[K1];
125 memset(write_buf, 'a', K1);
151 TEST(pwrite(pipe_fds[1], write_buf, K1, 0));
166 TEST(pwrite(fd, write_buf, K1, -1));
177 TEST(pwrite(fd, write_buf, K1, 0));
188 TEST(pwrite(fd, write_buf, K1, 0));
203 TEST(pwrite(fd, buf, K1, 0));
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
H A DCacheBuilder.java352 <K1 extends K, V1 extends V> Weigher<K1, V1> getWeigher() {
353 return (Weigher<K1, V1>) MoreObjects.firstNonNull(weigher, OneWeigher.INSTANCE);
490 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener( argument
491 RemovalListener<? super K1, ? super V1> listener) {
496 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this;
503 <K1 extends K, V1 extends V> RemovalListener<K1, V
541 build( CacheLoader<? super K1, V1> loader) argument
[all...]
/external/guava/guava/src/com/google/common/cache/
H A DCacheBuilder.java457 * instance, this method returns {@code CacheBuilder<K1, V1>}. From this point on, either the
475 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> weigher( argument
476 Weigher<? super K1, ? super V1> weigher) {
485 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this;
499 <K1 extends K, V1 extends V> Weigher<K1, V1> getWeigher() {
500 return (Weigher<K1, V1>) MoreObjects.firstNonNull(weigher, OneWeigher.INSTANCE);
735 public <K1 extend argument
786 build( CacheLoader<? super K1, V1> loader) argument
[all...]
/external/autotest/client/site_tests/video_WebRtcCamera/
H A Dssim.js61 var K1 = 0.01; variable
64 var C1 = (K1 * L) * (K1 * L);
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
H A Dssim.js61 var K1 = 0.01; variable
64 var C1 = (K1 * L) * (K1 * L);
/external/clang/test/SemaTemplate/
H A Dinstantiate-declref.cpp10 static enum K1 { K1Val = sizeof(T) } Kind1; enum in struct:N::Outer::Inner::InnerTemplate::VeryInner
15 K1 k1 = K1Val;
23 K1 k1 = K1Val;
/external/elfutils/lib/
H A Dsha1.c206 #define K1 0x6ed9eba1 macro
301 OP (20, FG, A, B, C, D, E, K1);
302 OP (21, FG, E, A, B, C, D, K1);
303 OP (22, FG, D, E, A, B, C, K1);
304 OP (23, FG, C, D, E, A, B, K1);
305 OP (24, FG, B, C, D, E, A, K1);
306 OP (25, FG, A, B, C, D, E, K1);
307 OP (26, FG, E, A, B, C, D, K1);
308 OP (27, FG, D, E, A, B, C, K1);
309 OP (28, FG, C, D, E, A, B, K1);
[all...]
/external/clang/test/SemaCXX/
H A Dusing-directive.cpp23 class K1 { class in namespace:A
55 void K1::foo() {} // okay
/external/clang/lib/Format/
H A DFormatToken.h291 template <typename A, typename B> bool isOneOf(A K1, B K2) const { argument
292 return is(K1) || is(K2);
295 bool isOneOf(A K1, B K2, Ts... Ks) const { argument
296 return is(K1) || isOneOf(K2, Ks...);
303 bool startsSequence(A K1, Ts... Tokens) const { argument
304 return startsSequenceInternal(K1, Tokens...);
310 bool endsSequence(A K1, Ts... Tokens) const { argument
311 return endsSequenceInternal(K1, Tokens...);
448 bool startsSequenceInternal(A K1, Ts... Tokens) const { argument
450 return Next->startsSequenceInternal(K1, Token
469 endsSequenceInternal(A K1, Ts... Tokens) const argument
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Ddirhash.c64 #define K1 0 macro
76 ROUND(F, a, b, c, d, in[0] + K1, 3);
77 ROUND(F, d, a, b, c, in[1] + K1, 7);
78 ROUND(F, c, d, a, b, in[2] + K1, 11);
79 ROUND(F, b, c, d, a, in[3] + K1, 19);
80 ROUND(F, a, b, c, d, in[4] + K1, 3);
81 ROUND(F, d, a, b, c, in[5] + K1, 7);
82 ROUND(F, c, d, a, b, in[6] + K1, 11);
83 ROUND(F, b, c, d, a, in[7] + K1, 19);
115 #undef K1 macro
[all...]
/external/clang/test/Sema/
H A Dwarn-duplicate-enum.c67 K1, enumerator in enum:__anon2915
/external/guava/guava-tests/test/com/google/common/hash/
H A DSipHashFunctionTest.java33 private static final long K1 = 0x0f0e0d0c0b0a0908L; field in class:SipHashFunctionTest
34 private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1);
159 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITH_KEY.toString());
160 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITHOUT_KEY.toString());
/external/pdfium/third_party/lcms2-2.6/src/
H A Dcmsintrp.c263 cmsS15Fixed16Number k0, k1, rk, K0, K1; local
277 K1 = p16 -> opta[0] * k1;
281 Output[OutChan] = LinearInterp(rk, LutTable[K0+OutChan], LutTable[K1+OutChan]);
834 int K0, K1; local
861 K1 = K0 + (Input[0] == 0xFFFFU ? 0 : p16->opta[3]);
937 LutTable += K1;
1020 int k0, K0, K1; local
1031 K1 = K0 + (Input[0] >= 1.0 ? 0 : p->opta[3]);
1041 T = LutTable + K1;
1064 int K0, K1; local
1107 int k0, K0, K1; local
1152 int K0, K1; local
1194 int k0, K0, K1; local
1238 int K0, K1; local
1279 int k0, K0, K1; local
1324 int K0, K1; local
1364 int k0, K0, K1; local
[all...]
/external/openssh/openbsd-compat/
H A Drmd160.c64 #define K1 0x5A827999U macro
208 R(e, a, b, c, d, F1, K1, 7, 7);
209 R(d, e, a, b, c, F1, K1, 6, 4);
210 R(c, d, e, a, b, F1, K1, 8, 13);
211 R(b, c, d, e, a, F1, K1, 13, 1);
212 R(a, b, c, d, e, F1, K1, 11, 10);
213 R(e, a, b, c, d, F1, K1, 9, 6);
214 R(d, e, a, b, c, F1, K1, 7, 15);
215 R(c, d, e, a, b, F1, K1, 15, 3);
216 R(b, c, d, e, a, F1, K1,
[all...]
/external/clang/include/clang/Lex/
H A DToken.h96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { argument
97 return is(K1) || is(K2);
100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { argument
101 return is(K1) || isOneOf(K2, Ks...);
/external/speex/libspeex/
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))))));
199 return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2))))));
241 K1 = log(2)
/external/llvm/lib/Target/Mips/
H A DMipsSEFrameLowering.cpp588 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::MFC0), Mips::K1)
593 STI.getInstrInfo()->storeRegToStack(MBB, MBBI, Mips::K1, false,
599 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::MFC0), Mips::K1)
604 STI.getInstrInfo()->storeRegToStack(MBB, MBBI, Mips::K1, false,
633 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1)
637 .addReg(Mips::K1)
641 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1)
645 .addReg(Mips::K1)
650 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1)
654 .addReg(Mips::K1)
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/MCTargetDesc/
H A DMipsBaseInfo.h95 case Mips::K1: case Mips::K1_64: case Mips::F27: case Mips::D27_64:
/external/skia/src/views/
H A DSkTouchGesture.cpp69 const float K1 = 0.02f; local
70 const float speed = fSpeed0 * (sk_float_exp(- K0 * t) - K1);
/external/guava/guava-tests/test/com/google/common/reflect/
H A DTypeTokenResolutionTest.java503 private interface SubTypeOfWithFalseRecursiveType<K1, V1>
504 extends WithFalseRecursiveType<List<K1>, List<V1>> {
505 SubTypeOfWithFalseRecursiveType<V1, K1> revertKeyAndValueTypes();
537 assertEquals("java.util.List<K1>", keyType.getType().toString());

Completed in 874 milliseconds

12