/external/ltp/testcases/kernel/syscalls/pread/ |
pread01.c | 81 #define K1 1024 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...] |
pread02.c | 77 #define K1 1024 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);
|
pread03.c | 84 #define K1 2048 114 nbytes = K1; 187 read_buf[count] = malloc(K1);
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
pwrite01.c | 84 #define K1 1024 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 of data (2's) at offset K2 o [all...] |
pwrite04.c | 52 #define K1 1024 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 / 2) [all...] |
pwrite02.c | 44 #define K1 1024 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/ |
CacheBuilder.java | 352 <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( 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, V1> getRemovalListener() [all...] |
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 457 * 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( 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); [all...] |
/external/clang/lib/Format/ |
FormatToken.h | 291 template <typename A, typename B> bool isOneOf(A K1, B K2) const { 292 return is(K1) || is(K2); 295 bool isOneOf(A K1, B K2, Ts... Ks) const { 296 return is(K1) || isOneOf(K2, Ks...); 303 bool startsSequence(A K1, Ts... Tokens) const { 304 return startsSequenceInternal(K1, Tokens...); 310 bool endsSequence(A K1, Ts... Tokens) const { 311 return endsSequenceInternal(K1, Tokens...); 448 bool startsSequenceInternal(A K1, Ts... Tokens) const { 450 return Next->startsSequenceInternal(K1, Tokens...) [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapListTest.java | 135 final ImapString K1 = new ImapSimpleString("aBCd"); 140 K1, STRING_1, 161 assertElement(null, buildList(K1).getKeyedElementOrNull("abcd", false)); 165 final ImapString K1 = new ImapSimpleString("Key"); 166 ImapList list = buildList(K1, LIST_1); 178 final ImapString K1 = new ImapSimpleString("Key"); 179 ImapList list = buildList(K1, STRING_1); 191 final ImapString K1 = new ImapSimpleString("aBCd"); 195 ImapList list = buildList(K1, K2, K3);
|
/external/elfutils/lib/ |
sha1.c | 206 #define K1 0x6ed9eba1 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...] |
/toolchain/binutils/binutils-2.25/libiberty/ |
sha1.c | 271 #define K1 0x5a827999 328 R( a, b, c, d, e, F1, K1, x[ 0] ); 329 R( e, a, b, c, d, F1, K1, x[ 1] ); 330 R( d, e, a, b, c, F1, K1, x[ 2] ); 331 R( c, d, e, a, b, F1, K1, x[ 3] ); 332 R( b, c, d, e, a, F1, K1, x[ 4] ); 333 R( a, b, c, d, e, F1, K1, x[ 5] ); 334 R( e, a, b, c, d, F1, K1, x[ 6] ); 335 R( d, e, a, b, c, F1, K1, x[ 7] ); 336 R( c, d, e, a, b, F1, K1, x[ 8] ) [all...] |
/external/clang/test/SemaCXX/ |
using-directive.cpp | 23 class K1 { 55 void K1::foo() {} // okay
|
/external/e2fsprogs/lib/ext2fs/ |
dirhash.c | 64 #define K1 0 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 [all...] |
/external/autotest/client/site_tests/video_WebRtcCamera/ |
ssim.js | 61 var K1 = 0.01; 64 var C1 = (K1 * L) * (K1 * L);
|
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/ |
ssim.js | 61 var K1 = 0.01; 64 var C1 = (K1 * L) * (K1 * L);
|
/external/clang/test/SemaTemplate/ |
instantiate-declref.cpp | 10 static enum K1 { K1Val = sizeof(T) } Kind1; 15 K1 k1 = K1Val; local 23 K1 k1 = K1Val; local 46 enum { K1Val = sizeof(T) } k1; local
|
/external/clang/include/clang/Lex/ |
Token.h | 96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { 97 return is(K1) || is(K2); 100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { 101 return is(K1) || isOneOf(K2, Ks...);
|
/external/clang/test/Sema/ |
warn-duplicate-enum.c | 67 K1,
|
/external/guava/guava-tests/test/com/google/common/hash/ |
SipHashFunctionTest.java | 33 private static final long K1 = 0x0f0e0d0c0b0a0908L; 34 private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1); 122 long k1 = 0x0f0e0d0c0b0a0908L; local 124 assertEquals(0xa129ca6149be45e5L, Hashing.sipHash24(k0, k1).hashBytes(message).asLong()); 159 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITH_KEY.toString()); 160 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITHOUT_KEY.toString());
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Lex/ |
Token.h | 96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { 97 return is(K1) || is(K2); 100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { 101 return is(K1) || isOneOf(K2, Ks...);
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Lex/ |
Token.h | 96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { 97 return is(K1) || is(K2); 100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { 101 return is(K1) || isOneOf(K2, Ks...);
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Lex/ |
Token.h | 96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { 97 return is(K1) || is(K2); 100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { 101 return is(K1) || isOneOf(K2, Ks...);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Lex/ |
Token.h | 96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { 97 return is(K1) || is(K2); 100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { 101 return is(K1) || isOneOf(K2, Ks...);
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/Lex/ |
Token.h | 96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { 97 return is(K1) || is(K2); 100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { 101 return is(K1) || isOneOf(K2, Ks...);
|