Home
last modified time | relevance | path

Searched refs:kValues (Results 1 – 21 of 21) sorted by relevance

/external/protobuf/objectivec/Tests/
DGPBArrayTests.m131 //% static const TYPE kValues[] = { VAL1, VAL2, VAL3, VAL4 };
133 //% [[GPB##NAME##Array alloc] initWithValues:kValues
134 //% NAME$S count:GPBARRAYSIZE(kValues)];
145 //% XCTAssertEqual(value, kValues[idx]);
153 //% XCTAssertEqual(value, kValues[idx]);
161 //% XCTAssertEqual(value, kValues[idx]);
172 //% XCTAssertEqual(value, kValues[idx]);
221 //% const TYPE kValues[] = { VAL1, VAL2, VAL3, VAL4 };
223 //% [[GPB##NAME##Array alloc] initWithValues:kValues
224 //% NAME$S count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+Bool.m83 const uint32_t kValues[] = { 100U, 101U };
85 [[GPBBoolUInt32Dictionary alloc] initWithValues:kValues
87 count:GPBARRAYSIZE(kValues)];
113 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
188 const uint32_t kValues[] = { 100U, 101U };
190 [[GPBBoolUInt32Dictionary alloc] initWithValues:kValues
192 count:GPBARRAYSIZE(kValues)];
209 const uint32_t kValues[] = { 100U, 101U };
211 [[GPBBoolUInt32Dictionary alloc] initWithValues:kValues
213 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+Int32.m123 const uint32_t kValues[] = { 100U, 101U, 102U };
125 [[GPBInt32UInt32Dictionary alloc] initWithValues:kValues
127 count:GPBARRAYSIZE(kValues)];
157 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
232 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
234 [[GPBInt32UInt32Dictionary alloc] initWithValues:kValues
236 count:GPBARRAYSIZE(kValues)];
253 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
255 [[GPBInt32UInt32Dictionary alloc] initWithValues:kValues
257 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+String.m123 const uint32_t kValues[] = { 100U, 101U, 102U };
125 [[GPBStringUInt32Dictionary alloc] initWithValues:kValues
127 count:GPBARRAYSIZE(kValues)];
157 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
232 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
234 [[GPBStringUInt32Dictionary alloc] initWithValues:kValues
236 count:GPBARRAYSIZE(kValues)];
253 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
255 [[GPBStringUInt32Dictionary alloc] initWithValues:kValues
257 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+Int64.m123 const uint32_t kValues[] = { 100U, 101U, 102U };
125 [[GPBInt64UInt32Dictionary alloc] initWithValues:kValues
127 count:GPBARRAYSIZE(kValues)];
157 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
232 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
234 [[GPBInt64UInt32Dictionary alloc] initWithValues:kValues
236 count:GPBARRAYSIZE(kValues)];
253 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
255 [[GPBInt64UInt32Dictionary alloc] initWithValues:kValues
257 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+UInt32.m123 const uint32_t kValues[] = { 100U, 101U, 102U };
125 [[GPBUInt32UInt32Dictionary alloc] initWithValues:kValues
127 count:GPBARRAYSIZE(kValues)];
157 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
232 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
234 [[GPBUInt32UInt32Dictionary alloc] initWithValues:kValues
236 count:GPBARRAYSIZE(kValues)];
253 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
255 [[GPBUInt32UInt32Dictionary alloc] initWithValues:kValues
257 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+UInt64.m123 const uint32_t kValues[] = { 100U, 101U, 102U };
125 [[GPBUInt64UInt32Dictionary alloc] initWithValues:kValues
127 count:GPBARRAYSIZE(kValues)];
157 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
232 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
234 [[GPBUInt64UInt32Dictionary alloc] initWithValues:kValues
236 count:GPBARRAYSIZE(kValues)];
253 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
255 [[GPBUInt64UInt32Dictionary alloc] initWithValues:kValues
257 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests.pddm362 //% const VALUE_TYPE kValues[] = { VAL1, VAL2, VAL3 };
365 //% KEY_NAME$S VALUE_NAME$S rawValues:kValues
367 … KEY_NAME$S VALUE_NAME$S count:GPBARRAYSIZE(kValues)];
395 //% XCTAssertEqual##VSUFFIX(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
414 //% XCTAssertEqual##VSUFFIX(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
494 //% const VALUE_TYPE kValues[] = { VAL1, VAL2, VAL3, VAL4 }; // Unknown
497 //% KEY_NAME$S VALUE_NAME$S rawValues:kValues
499 … KEY_NAME$S VALUE_NAME$S count:GPBARRAYSIZE(kValues)];
516 //% const VALUE_TYPE kValues[] = { VAL1, VAL2, VAL3, VAL4 }; // Unknowns
519 //% KEY_NAME$S VALUE_NAME$S rawValues:kValues
[all …]
/external/grpc-grpc/test/cpp/microbenchmarks/
Dfullstack_context_mutators.h64 return kValues[rand() % kValues.size()]; in Value()
69 static const std::vector<grpc::string> kValues; variable
87 return kValues[rand() % kValues.size()]; in Value()
92 static const std::vector<grpc::string> kValues; variable
130 const std::vector<grpc::string> RandomBinaryMetadata<length>::kValues =
137 const std::vector<grpc::string> RandomAsciiMetadata<length>::kValues =
/external/libaom/libaom/test/
Dbinary_codes_test.cc42 const uint16_t kValues = 16; in TEST() local
43 uint16_t enc_values[kRanges][kSubexpParams][kReferences][kValues][4]; in TEST()
51 for (int v = 0; v < kValues; ++v) { in TEST()
70 for (int v = 0; v < kValues; ++v) { in TEST()
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dmatrix_unittest.cc202 const int kValues[kNumRows][kNumCols] = {{4, 9}, {16, 0}}; in TEST() local
205 Matrix<int> operand_mat(*kValues, kNumRows, kNumCols); in TEST()
219 const complex<float> kValues[kNumRows][kNumCols] = { in TEST() local
225 Matrix<complex<float> > operand_mat(*kValues, kNumRows, kNumCols); in TEST()
241 const complex<float> kValues[kNumRows][kNumCols] = { in TEST() local
246 Matrix<complex<float> > operand_mat(*kValues, kNumRows, kNumCols); in TEST()
262 const float kValues[kNumRows][kNumCols] = {{2.4f, -4.f, 3.3f}}; in TEST() local
265 Matrix<float> operand_mat(*kValues, kNumRows, kNumCols); in TEST()
/external/tensorflow/tensorflow/core/lib/strings/
Dordered_code_test.cc380 constexpr int kValues = 64; in BM_WriteNum() local
381 T values[kValues]; in BM_WriteNum()
385 for (int i = 0; i < kValues; i++) { in BM_WriteNum()
392 OCWriteToString<T>(&result, values[index % kValues]); in BM_WriteNum()
402 constexpr int kValues = 64; in BM_ReadNum() local
403 string values[kValues]; in BM_ReadNum()
404 for (int i = 0; i < kValues; i++) { in BM_ReadNum()
411 StringPiece s = values[index++ % kValues]; in BM_ReadNum()
/external/boringssl/src/crypto/asn1/
Dasn1_test.cc78 const std::vector<int64_t> kValues = { in TEST() local
81 for (const auto &i : kValues) { in TEST()
/external/v8/src/builtins/
Dbuiltins-object-gen.cc65 enum CollectType { kEntries, kValues }; enumerator
239 DCHECK(collect_type == CollectType::kValues); in GetOwnValuesOrEntries()
251 DCHECK(collect_type == CollectType::kValues); in GetOwnValuesOrEntries()
890 GetOwnValuesOrEntries(context, object, CollectType::kValues); in TF_BUILTIN()
Dbuiltins-typed-array-gen.cc1511 IterationKind::kValues); in TF_BUILTIN()
Dbuiltins-array-gen.cc3495 IterationKind::kValues)); in TF_BUILTIN()
3688 Int32Constant(static_cast<int>(IterationKind::kValues))), in TF_BUILTIN()
/external/v8/src/
Dglobals.h1388 enum class IterationKind { kKeys, kValues, kEntries }; enumerator
1394 case IterationKind::kValues:
Dapi.cc7119 kValues = i::JS_MAP_VALUE_ITERATOR_TYPE enumerator
7143 if (kind == MapAsArrayKind::kEntries || kind == MapAsArrayKind::kValues) { in MapAsArray()
/external/v8/src/compiler/
Djs-create-lowering.cc866 case IterationKind::kValues: in MapForCollectionIterationKind()
876 case IterationKind::kValues: in MapForCollectionIterationKind()
Djs-call-reducer.cc3455 return ReduceArrayIterator(node, IterationKind::kValues); in ReduceJSCall()
3658 return ReduceArrayIterator(node, IterationKind::kValues); in ReduceJSCall()
3685 IterationKind::kValues); in ReduceJSCall()
3697 IterationKind::kValues); in ReduceJSCall()
5069 iteration_kind == IterationKind::kValues); in ReduceArrayIteratorPrototypeNext()
5127 DCHECK_EQ(IterationKind::kValues, iteration_kind); in ReduceArrayIteratorPrototypeNext()
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.cc7991 static const uint64_t kValues[] = {0x8000000000000000, in TEST() local
7998 LoadIntValueHelper(kValues, sizeof(kValues) / sizeof(kValues[0])); in TEST()
8003 static const uint32_t kValues[] = {0x80000000, in TEST() local
8011 LoadIntValueHelper(kValues, sizeof(kValues) / sizeof(kValues[0])); in TEST()
8047 static const double kValues[] = {-0.0, 0.0, -1.0, 1.0, -1e10, 1e10}; in TEST() local
8049 LoadFPValueHelper(kValues, sizeof(kValues) / sizeof(kValues[0])); in TEST()
8054 static const float kValues[] = {-0.0, 0.0, -1.0, 1.0, -1e10, 1e10}; in TEST() local
8056 LoadFPValueHelper(kValues, sizeof(kValues) / sizeof(kValues[0])); in TEST()