Home
last modified time | relevance | path

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

1234567891011

/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/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<R3<K2, K1, V>>(); 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/epid-sdk/ext/ipp/sources/ippcp/
Dpcpsms4ecby8cn.h100 #define TRANSPOSE_INP(K0,K1,K2,K3, T) \ argument
101 T = _mm_unpacklo_epi32(K0, K1); \
102 K1 = _mm_unpackhi_epi32(K0, K1); \
106 K2 = _mm_unpacklo_epi64(K1, K3); \
107 K3 = _mm_unpackhi_epi64(K1, K3); \
108 K1 = _mm_unpackhi_epi64(T, K0); \
111 #define TRANSPOSE_OUT(K0,K1,K2,K3, T) \ argument
112 T = _mm_unpacklo_epi32(K1, K0); \
113 K0 = _mm_unpackhi_epi32(K1, K0); \
114 K1 = _mm_unpacklo_epi32(K3, K2); \
[all …]
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java475 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> weigher( in weigher()
476 Weigher<? super K1, ? super V1> weigher) { in weigher() argument
485 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; in weigher()
499 <K1 extends K, V1 extends V> Weigher<K1, V1> getWeigher() { in getWeigher()
500 return (Weigher<K1, V1>) MoreObjects.firstNonNull(weigher, OneWeigher.INSTANCE); in getWeigher()
735 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener( in removalListener()
736 RemovalListener<? super K1, ? super V1> listener) { in removalListener() argument
741 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; in removalListener()
748 <K1 extends K, V1 extends V> RemovalListener<K1, V1> getRemovalListener() { in getRemovalListener()
749 return (RemovalListener<K1, V1>) in getRemovalListener()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java352 <K1 extends K, V1 extends V> Weigher<K1, V1> getWeigher() { in getWeigher()
353 return (Weigher<K1, V1>) MoreObjects.firstNonNull(weigher, OneWeigher.INSTANCE); in getWeigher()
490 public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener( in removalListener()
491 RemovalListener<? super K1, ? super V1> listener) { in removalListener() argument
496 CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this; in removalListener()
503 <K1 extends K, V1 extends V> RemovalListener<K1, V1> getRemovalListener() { in getRemovalListener()
504 return (RemovalListener<K1, V1>) in getRemovalListener()
541 public <K1 extends K, V1 extends V> LoadingCache<K1, V1> build( in build()
542 CacheLoader<? super K1, V1> loader) { in build() argument
544 return new LocalCache.LocalLoadingCache<K1, V1>(this, loader); in build()
[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/perf_data_converter/src/quipper/testdata/
Dperf.data.piped.intel_pt-4.14.pr.out.pb_text5104K1\177\000\000\010Y:\212\000\000\000\000M\260\365\326K\234\222\370\nM_\343\325KY;\200\004M\305\000…
6057K1\177\000\000Y\025\000\000\000\000\000}`M\325K1\177\000\000\000\000\000\000\000\000\000m@\023\000…
/external/e2fsprogs/lib/ext2fs/
Ddirhash.c64 #define K1 0 macro
76 ROUND(F, a, b, c, d, in[0] + K1, 3); in halfMD4Transform()
77 ROUND(F, d, a, b, c, in[1] + K1, 7); in halfMD4Transform()
78 ROUND(F, c, d, a, b, in[2] + K1, 11); in halfMD4Transform()
79 ROUND(F, b, c, d, a, in[3] + K1, 19); in halfMD4Transform()
80 ROUND(F, a, b, c, d, in[4] + K1, 3); in halfMD4Transform()
81 ROUND(F, d, a, b, c, in[5] + K1, 7); in halfMD4Transform()
82 ROUND(F, c, d, a, b, in[6] + K1, 11); in halfMD4Transform()
83 ROUND(F, b, c, d, a, in[7] + K1, 19); in halfMD4Transform()
115 #undef K1
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DObjectTransformLayerTest.cpp199 auto K1 = ES.allocateVModule(); in TEST() local
201 M.expectAddObject(K1, Obj1); in TEST()
202 cantFail(T1.addObject(K1, std::move(Obj1))); in TEST()
228 M.expectFindSymbolIn(K1, Name, ExportedOnly); in TEST()
229 llvm::JITSymbol Sym2 = T1.findSymbolIn(K1, Name, ExportedOnly); in TEST()
233 M.expectEmitAndFinalize(K1); in TEST()
234 cantFail(T2.emitAndFinalize(K1)); in TEST()
240 M.expectMapSectionAddress(K1, Buffer, MockAddress); in TEST()
241 T1.mapSectionAddress(K1, Buffer, MockAddress); in TEST()
/external/pdfium/third_party/lcms/src/
Dcmsintrp.c263 cmsS15Fixed16Number k0, k1, rk, K0, K1; in Eval1Input() local
277 K1 = p16 -> opta[0] * k1; in Eval1Input()
281 Output[OutChan] = LinearInterp(rk, LutTable[K0+OutChan], LutTable[K1+OutChan]); in Eval1Input()
834 int K0, K1; in Eval4Inputs() local
861 K1 = K0 + (Input[0] == 0xFFFFU ? 0 : p16->opta[3]); in Eval4Inputs()
937 LutTable += K1; in Eval4Inputs()
1020 int k0, K0, K1; in Eval4InputsFloat() local
1031 K1 = K0 + (Input[0] >= 1.0 ? 0 : p->opta[3]); in Eval4InputsFloat()
1041 T = LutTable + K1; in Eval4InputsFloat()
1064 int K0, K1; in Eval5Inputs() local
[all …]
/external/openssh/openbsd-compat/
Drmd160.c64 #define K1 0x5A827999U macro
208 R(e, a, b, c, d, F1, K1, 7, 7); in RMD160Transform()
209 R(d, e, a, b, c, F1, K1, 6, 4); in RMD160Transform()
210 R(c, d, e, a, b, F1, K1, 8, 13); in RMD160Transform()
211 R(b, c, d, e, a, F1, K1, 13, 1); in RMD160Transform()
212 R(a, b, c, d, e, F1, K1, 11, 10); in RMD160Transform()
213 R(e, a, b, c, d, F1, K1, 9, 6); in RMD160Transform()
214 R(d, e, a, b, c, F1, K1, 7, 15); in RMD160Transform()
215 R(c, d, e, a, b, F1, K1, 15, 3); in RMD160Transform()
216 R(b, c, d, e, a, F1, K1, 7, 12); in RMD160Transform()
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DSipHashFunctionTest.java33 private static final long K1 = 0x0f0e0d0c0b0a0908L; field in SipHashFunctionTest
34 private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1);
159 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITH_KEY.toString()); in testToString()
160 assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITHOUT_KEY.toString()); in testToString()
/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/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/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
Dssim.js61 var K1 = 0.01;
64 var C1 = (K1 * L) * (K1 * L);
/external/autotest/client/site_tests/video_WebRtcCamera/
Dssim.js61 var K1 = 0.01;
64 var C1 = (K1 * L) * (K1 * L);
/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/clang/include/clang/Lex/
DToken.h96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { in isOneOf() argument
97 return is(K1) || is(K2); in isOneOf()
100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const { in isOneOf() argument
101 return is(K1) || isOneOf(K2, Ks...); in isOneOf()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsSEFrameLowering.cpp613 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::MFC0), Mips::K1) in emitInterruptPrologueStub()
618 STI.getInstrInfo()->storeRegToStack(MBB, MBBI, Mips::K1, false, in emitInterruptPrologueStub()
624 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::MFC0), Mips::K1) in emitInterruptPrologueStub()
629 STI.getInstrInfo()->storeRegToStack(MBB, MBBI, Mips::K1, false, in emitInterruptPrologueStub()
658 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1) in emitInterruptPrologueStub()
662 .addReg(Mips::K1) in emitInterruptPrologueStub()
666 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1) in emitInterruptPrologueStub()
670 .addReg(Mips::K1) in emitInterruptPrologueStub()
675 BuildMI(MBB, MBBI, DL, STI.getInstrInfo()->get(Mips::INS), Mips::K1) in emitInterruptPrologueStub()
679 .addReg(Mips::K1) in emitInterruptPrologueStub()
[all …]

1234567891011