Home
last modified time | relevance | path

Searched refs:K1 (Results 1 – 25 of 185) sorted by relevance

12345678

/external/ltp/testcases/kernel/syscalls/pread/
Dpread01.c82 #define K1 1024 macro
83 #define K2 (K1 * 2)
84 #define K3 (K1 * 3)
85 #define K4 (K1 * 4)
118 nread = pread(fildes, read_buf[2], K1, K2); in main()
121 if (nread != K1) { in main()
136 nread = pread(fildes, read_buf[3], K1, K3); in main()
137 if (nread != K1) { in main()
150 if ((nread = read(fildes, read_buf[0], K1)) != K1) { in main()
156 l_seek(fildes, 0, SEEK_CUR, K1); in main()
[all …]
Dpread02.c78 #define K1 1024 macro
105 1, K1, 0, "file descriptor is a PIPE or FIFO", ESPIPE, setup1}, {
106 2, K1, -1, "specified offset is -ve or invalid", EINVAL, setup2}, {
218 if (write(pfd[1], write_buf[0], K1) != K1) { in setup1()
261 write_buf[count] = malloc(K1); in init_buffers()
262 read_buf[count] = malloc(K1); in init_buffers()
268 memset(write_buf[count], count, K1); in init_buffers()
Dpread03.c84 #define K1 2048 macro
114 nbytes = K1; in main()
187 read_buf[count] = malloc(K1); in init_buffers()
/external/ltp/testcases/kernel/syscalls/pwrite/
Dpwrite01.c85 #define K1 1024 macro
86 #define K2 (K1 * 2)
87 #define K3 (K1 * 3)
88 #define K4 (K1 * 4)
119 nwrite = pwrite(fildes, write_buf[0], K1, 0); in main()
122 if (nwrite != K1) { in main()
135 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2); in main()
141 nwrite = pwrite(fildes, write_buf[2], K1, K2); in main()
142 if (nwrite != K1) { in main()
150 l_seek(fildes, 0, SEEK_CUR, K1 / 2); in main()
[all …]
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)
93 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) { in main()
108 l_seek(fd, K1 / 2, SEEK_SET, K1 / 2); in main()
113 if ((nbytes = pwrite(fd, wbuf[2], K1, K2)) != K1) { in main()
123 l_seek(fd, 0, SEEK_CUR, K1 / 2); in main()
134 if ((nbytes = write(fd, wbuf[3], K1)) != K1) { in main()
[all …]
/external/python/cryptography/vectors/cryptography_vectors/KDF/
Dansx963_2001.txt16 K1 = bf71dffd8f4d99223936beb46fee8ccc60439b7e
24 K1 = ec3e224446bfd7b3be1df404104af953c1b2d0f5
32 K1 = a1f9cef361c26fb9280f582851ecd5f20144e7cd
40 K1 = d8106c1ee5e7be18fa2e3550459e24f75db4b302
48 K1 = 96f1cac19f41a8ce5f5bdd84856b89ba5f8aa5c1
56 K1 = 5c2e39b7571111ba6cad54b63abd3536b74adacc
64 K1 = 098758b7ed8dac02a5991411b76b3d2c9481d11a
72 K1 = 9e2a45a4a8984a563f5776ee7ebfd5c6a977a244
80 K1 = c5d126d15ca3d358ee78db4c1ba0df44f67e64a9
88 K1 = a5370056ae13f6270490ded98b08c68bb8366fa7
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DChainedMap.java21 …public static class M3<K2, K1, V> extends ChainedMap implements Iterable<Map.Entry<K2, Map<K1, V>>…
23 private M3(Map<K2, Object> map2, Map<K1, Object> map1, Class<V> valueClass) { in M3() argument
32 public V get(K2 key2, K1 key1) { in get()
37 public Map<K1, V> get(K2 key2) { in get()
38 Map<K1, V> map = (Map<K1, V>) super.mapBase.get(key2); in get()
43 public V put(K2 key2, K1 key1, V value) { in put()
49 public Iterator<Entry<K2, Map<K1, V>>> iterator() { in iterator()
50 return (Iterator<Entry<K2, Map<K1, V>>>) super.iterator(); in iterator()
54 public Iterable<Row.R3<K2, K1, V>> rows() { in rows()
55 List<R3<K2, K1, V>> result = new ArrayList<>(); in rows()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/
DTagContextImplTest.java52 private static final TagKey K1 = TagKey.create("k1"); field in TagContextImplTest
68 TagContextImpl tags = new TagContextImpl(ImmutableMap.of(K1, V1, K2, V2)); in getTags_nonEmpty()
69 assertThat(tags.getTags()).containsExactly(K1, V1, K2, V2); in getTags_nonEmpty()
74 TagContext tags = new TagContextImpl(ImmutableMap.of(K1, V1)); in put_newKey()
76 .containsExactly(K1, V1, K2, V2); in put_newKey()
81 TagContext tags = new TagContextImpl(ImmutableMap.of(K1, V1)); in put_existingKey()
82 assertThat(((TagContextImpl) tagger.toBuilder(tags).put(K1, V2).build()).getTags()) in put_existingKey()
83 .containsExactly(K1, V2); in put_existingKey()
88 TagContext tags = new TagContextImpl(ImmutableMap.of(K1, V1)); in put_nullKey()
97 TagContext tags = new TagContextImpl(ImmutableMap.of(K1, V1)); in put_nullValue()
[all …]
DTaggerImplTest.java48 private static final TagKey K1 = TagKey.create("k1"); field in TaggerImplTest
56 private static final Tag TAG1 = Tag.create(K1, V1);
93 assertThat(tagContextToList(builder.put(K1, V1).build())).containsExactly(Tag.create(K1, V1)); in emptyBuilder_TaggingReenabled()
113 Tag tag1 = Tag.create(K1, V1); in currentBuilder_RemoveDuplicateTags()
114 Tag tag2 = Tag.create(K1, V2); in currentBuilder_RemoveDuplicateTags()
164 Tag tag1 = Tag.create(K1, V1); in toBuilder_RemoveDuplicatesFromUnknownTagContext()
165 Tag tag2 = Tag.create(K1, V2); in toBuilder_RemoveDuplicatesFromUnknownTagContext()
213 Tag tag1 = Tag.create(K1, V1); in getCurrentTagContext_RemoveDuplicatesFromUnknownTagContext()
214 Tag tag2 = Tag.create(K1, V2); in getCurrentTagContext_RemoveDuplicatesFromUnknownTagContext()
262 Tag tag1 = Tag.create(K1, V1); in withTagContext_RemoveDuplicatesFromUnknownTagContext()
[all …]
/external/guava/android/guava/src/com/google/common/cache/
DCacheBuilder.java516 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> weigher( in weigher()
517 Weigher<? super K1, ? super V1> weigher) { in weigher() argument
528 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; in weigher()
542 <K1 extends K, V1 extends V> Weigher<K1, V1> getWeigher() { in getWeigher()
543 return (Weigher<K1, V1>) MoreObjects.firstNonNull(weigher, OneWeigher.INSTANCE); in getWeigher()
797 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener( in removalListener()
798 RemovalListener<? super K1, ? super V1> listener) { in removalListener() argument
803 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; in removalListener()
810 <K1 extends K, V1 extends V> RemovalListener<K1, V1> getRemovalListener() { in getRemovalListener()
811 return (RemovalListener<K1, V1>) in getRemovalListener()
[all …]
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java515 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> weigher( in weigher()
516 Weigher<? super K1, ? super V1> weigher) { in weigher() argument
527 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; in weigher()
541 <K1 extends K, V1 extends V> Weigher<K1, V1> getWeigher() { in getWeigher()
542 return (Weigher<K1, V1>) MoreObjects.firstNonNull(weigher, OneWeigher.INSTANCE); in getWeigher()
897 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener( in removalListener()
898 RemovalListener<? super K1, ? super V1> listener) { in removalListener() argument
903 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; in removalListener()
910 <K1 extends K, V1 extends V> RemovalListener<K1, V1> getRemovalListener() { in getRemovalListener()
911 return (RemovalListener<K1, V1>) in getRemovalListener()
[all …]
/external/clang/lib/Format/
DFormatToken.h291 template <typename A, typename B> bool isOneOf(A K1, B K2) const { in isOneOf()
292 return is(K1) || is(K2); in isOneOf()
295 bool isOneOf(A K1, B K2, Ts... Ks) const { in isOneOf()
296 return is(K1) || isOneOf(K2, Ks...); in isOneOf()
303 bool startsSequence(A K1, Ts... Tokens) const { in startsSequence()
304 return startsSequenceInternal(K1, Tokens...); in startsSequence()
310 bool endsSequence(A K1, Ts... Tokens) const { in endsSequence()
311 return endsSequenceInternal(K1, Tokens...); in endsSequence()
448 bool startsSequenceInternal(A K1, Ts... Tokens) const { in startsSequenceInternal()
450 return Next->startsSequenceInternal(K1, Tokens...); in startsSequenceInternal()
[all …]
/external/crosvm/devices/src/virtio/fs/
Dmultikey.rs12 pub struct MultikeyBTreeMap<K1, K2, V> {
16 main: BTreeMap<K1, (K2, V)>,
17 alt: BTreeMap<K2, K1>,
20 impl<K1, K2, V> MultikeyBTreeMap<K1, K2, V>
22 K1: Clone + Ord,
39 K1: Borrow<Q>, in get()
72 pub fn insert(&mut self, k1: K1, k2: K2, v: V) -> Option<V> { in insert() argument
96 K1: Borrow<Q>, in remove()
/external/e2fsprogs/lib/ext2fs/
Ddirhash.c66 #define K1 0 macro
78 ROUND(F, a, b, c, d, in[0] + K1, 3); in halfMD4Transform()
79 ROUND(F, d, a, b, c, in[1] + K1, 7); in halfMD4Transform()
80 ROUND(F, c, d, a, b, in[2] + K1, 11); in halfMD4Transform()
81 ROUND(F, b, c, d, a, in[3] + K1, 19); in halfMD4Transform()
82 ROUND(F, a, b, c, d, in[4] + K1, 3); in halfMD4Transform()
83 ROUND(F, d, a, b, c, in[5] + K1, 7); in halfMD4Transform()
84 ROUND(F, c, d, a, b, in[6] + K1, 11); in halfMD4Transform()
85 ROUND(F, b, c, d, a, in[7] + K1, 19); in halfMD4Transform()
117 #undef K1
/external/guava/android/guava/src/com/google/common/hash/
DFarmHashFingerprint64.java46 private static final long K1 = 0xb492b66fbe98f273L; field in FarmHashFingerprint64
144 long a = load64(bytes, offset) * K1; in hashLength17to32()
176 long y = seed * K1 + 113; in hashLength65Plus()
186 x = rotateRight(x + y + v[0] + load64(bytes, offset + 8), 37) * K1; in hashLength65Plus()
187 y = rotateRight(y + v[1] + load64(bytes, offset + 48), 42) * K1; in hashLength65Plus()
190 z = rotateRight(z + w[0], 33) * K1; in hashLength65Plus()
191 weakHashLength32WithSeeds(bytes, offset, v[1] * K1, x + w[0], v); in hashLength65Plus()
198 long mul = K1 + ((z & 0xFF) << 1); in hashLength65Plus()
/external/guava/guava/src/com/google/common/hash/
DFarmHashFingerprint64.java46 private static final long K1 = 0xb492b66fbe98f273L; field in FarmHashFingerprint64
144 long a = load64(bytes, offset) * K1; in hashLength17to32()
176 long y = seed * K1 + 113; in hashLength65Plus()
186 x = rotateRight(x + y + v[0] + load64(bytes, offset + 8), 37) * K1; in hashLength65Plus()
187 y = rotateRight(y + v[1] + load64(bytes, offset + 48), 42) * K1; in hashLength65Plus()
190 z = rotateRight(z + w[0], 33) * K1; in hashLength65Plus()
191 weakHashLength32WithSeeds(bytes, offset, v[1] * K1, x + w[0], v); in hashLength65Plus()
198 long mul = K1 + ((z & 0xFF) << 1); in hashLength65Plus()
/external/llvm-project/clang/lib/Format/
DFormatToken.h455 template <typename A, typename B> bool isOneOf(A K1, B K2) const { in isOneOf()
456 return is(K1) || is(K2); in isOneOf()
459 bool isOneOf(A K1, B K2, Ts... Ks) const { in isOneOf()
460 return is(K1) || isOneOf(K2, Ks...); in isOneOf()
480 bool startsSequence(A K1, Ts... Tokens) const { in startsSequence()
481 return startsSequenceInternal(K1, Tokens...); in startsSequence()
491 bool endsSequence(A K1, Ts... Tokens) const { in endsSequence()
492 return endsSequenceInternal(K1, Tokens...); in endsSequence()
705 bool startsSequenceInternal(A K1, Ts... Tokens) const { in startsSequenceInternal()
707 return Next->startsSequenceInternal(K1, Tokens...); in startsSequenceInternal()
[all …]
/external/guava/android/guava-tests/test/com/google/common/hash/
DSipHashFunctionTest.java32 private static final long K1 = 0x0f0e0d0c0b0a0908L; field in SipHashFunctionTest
33 private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1);
162 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITH_KEY.toString()); in testToString()
163 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITHOUT_KEY.toString()); in testToString()
/external/guava/guava-tests/test/com/google/common/hash/
DSipHashFunctionTest.java32 private static final long K1 = 0x0f0e0d0c0b0a0908L; field in SipHashFunctionTest
33 private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1);
162 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITH_KEY.toString()); in testToString()
163 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITHOUT_KEY.toString()); in testToString()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/propagation/
DTagContextRoundtripTest.java37 private static final TagKey K1 = TagKey.create("k1"); field in TagContextRoundtripTest
54 testRoundtripSerialization(tagger.emptyBuilder().put(K1, V1).build()); in testRoundtripSerialization_NormalTagContext()
55 testRoundtripSerialization(tagger.emptyBuilder().put(K1, V1).put(K2, V2).put(K3, V3).build()); in testRoundtripSerialization_NormalTagContext()
56 testRoundtripSerialization(tagger.emptyBuilder().put(K1, V_EMPTY).build()); in testRoundtripSerialization_NormalTagContext()
/external/pdfium/third_party/lcms/src/
Dcmsintrp.c271 cmsS15Fixed16Number k0, k1, rk, K0, K1; in Eval1Input() local
285 K1 = p16 -> opta[0] * k1; in Eval1Input()
289 Output[OutChan] = LinearInterp(rk, LutTable[K0+OutChan], LutTable[K1+OutChan]); in Eval1Input()
842 int K0, K1; in Eval4Inputs() local
869 K1 = K0 + (Input[0] == 0xFFFFU ? 0 : p16->opta[3]); in Eval4Inputs()
945 LutTable += K1; in Eval4Inputs()
1028 int k0, K0, K1; in Eval4InputsFloat() local
1039 K1 = K0 + (fclamp(Input[0]) >= 1.0 ? 0 : p->opta[3]); in Eval4InputsFloat()
1049 T = LutTable + K1; in Eval4InputsFloat()
1072 int K0, K1; in Eval5Inputs() local
[all …]
/external/opencensus-java/exporters/stats/prometheus/src/test/java/io/opencensus/exporter/stats/prometheus/
DPrometheusExportUtilsTest.java85 private static final TagKey K1 = TagKey.create("k1"); field in PrometheusExportUtilsTest
102 VIEW_NAME_1, DESCRIPTION, MEASURE_DOUBLE, COUNT, Arrays.asList(K1, K2), CUMULATIVE);
107 VIEW_NAME_3, DESCRIPTION, MEASURE_DOUBLE, DISTRIBUTION, Arrays.asList(K1), CUMULATIVE);
109 View.create(VIEW_NAME_4, DESCRIPTION, MEASURE_DOUBLE, COUNT, Arrays.asList(K1), INTERVAL);
116 Arrays.asList(K1, TAG_KEY_LE),
166 convertToLabelNames(Arrays.asList(K1, K2)), in getSamples()
184 convertToLabelNames(Arrays.asList(K1, K3)), in getSamples()
204 convertToLabelNames(Arrays.asList(K1)), in getSamples()
223 convertToLabelNames(Arrays.asList(K1, K2)), in getSamples()
246 convertToLabelNames(Arrays.asList(K1, K2, K3)), in getSamples_KeysAndValuesHaveDifferentSizes()
/external/clang/test/SemaTemplate/
Dinstantiate-declref.cpp10 static enum K1 { K1Val = sizeof(T) } Kind1; enum
15 K1 k1 = K1Val; in foo()
23 K1 k1 = K1Val; in bar()
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-declref.cpp10 static enum K1 { K1Val = sizeof(T) } Kind1; enum
15 K1 k1 = K1Val; in foo()
23 K1 k1 = K1Val; in bar()
/external/llvm-project/clang/include/clang/Lex/
DToken.h99 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { in isOneOf() argument
100 return is(K1) || is(K2); in isOneOf()
103 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { in isOneOf() argument
104 return is(K1) || isOneOf(K2, Ks...); in isOneOf()

12345678