Home
last modified time | relevance | path

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

/external/protobuf/objectivec/Tests/
DGPBArrayTests.m137 //% static const TYPE kValues[] = { VAL1, VAL2, VAL3, VAL4 };
139 //% [[GPB##NAME##Array alloc] initWithValues:kValues
140 //% NAME$S count:GPBARRAYSIZE(kValues)];
151 //% XCTAssertEqual(value, kValues[idx]);
159 //% XCTAssertEqual(value, kValues[idx]);
167 //% XCTAssertEqual(value, kValues[idx]);
178 //% XCTAssertEqual(value, kValues[idx]);
233 //% const TYPE kValues[] = { VAL1, VAL2, VAL3, VAL4 };
235 //% [[GPB##NAME##Array alloc] initWithValues:kValues
236 //% NAME$S count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+Bool.m85 const uint32_t kValues[] = { 100U, 101U };
87 [[GPBBoolUInt32Dictionary alloc] initWithUInt32s:kValues
89 count:GPBARRAYSIZE(kValues)];
115 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
190 const uint32_t kValues[] = { 100U, 101U };
192 [[GPBBoolUInt32Dictionary alloc] initWithUInt32s:kValues
194 count:GPBARRAYSIZE(kValues)];
211 const uint32_t kValues[] = { 100U, 101U };
213 [[GPBBoolUInt32Dictionary alloc] initWithUInt32s:kValues
215 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+Int32.m116 const uint32_t kValues[] = { 100U, 101U, 102U };
118 [[GPBInt32UInt32Dictionary alloc] initWithUInt32s:kValues
120 count:GPBARRAYSIZE(kValues)];
150 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
225 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
227 [[GPBInt32UInt32Dictionary alloc] initWithUInt32s:kValues
229 count:GPBARRAYSIZE(kValues)];
246 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
248 [[GPBInt32UInt32Dictionary alloc] initWithUInt32s:kValues
250 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+String.m116 const uint32_t kValues[] = { 100U, 101U, 102U };
118 [[GPBStringUInt32Dictionary alloc] initWithUInt32s:kValues
120 count:GPBARRAYSIZE(kValues)];
150 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
225 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
227 [[GPBStringUInt32Dictionary alloc] initWithUInt32s:kValues
229 count:GPBARRAYSIZE(kValues)];
246 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
248 [[GPBStringUInt32Dictionary alloc] initWithUInt32s:kValues
250 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+UInt64.m116 const uint32_t kValues[] = { 100U, 101U, 102U };
118 [[GPBUInt64UInt32Dictionary alloc] initWithUInt32s:kValues
120 count:GPBARRAYSIZE(kValues)];
150 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
225 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
227 [[GPBUInt64UInt32Dictionary alloc] initWithUInt32s:kValues
229 count:GPBARRAYSIZE(kValues)];
246 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
248 [[GPBUInt64UInt32Dictionary alloc] initWithUInt32s:kValues
250 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+UInt32.m116 const uint32_t kValues[] = { 100U, 101U, 102U };
118 [[GPBUInt32UInt32Dictionary alloc] initWithUInt32s:kValues
120 count:GPBARRAYSIZE(kValues)];
150 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
225 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
227 [[GPBUInt32UInt32Dictionary alloc] initWithUInt32s:kValues
229 count:GPBARRAYSIZE(kValues)];
246 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
248 [[GPBUInt32UInt32Dictionary alloc] initWithUInt32s:kValues
250 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests+Int64.m116 const uint32_t kValues[] = { 100U, 101U, 102U };
118 [[GPBInt64UInt32Dictionary alloc] initWithUInt32s:kValues
120 count:GPBARRAYSIZE(kValues)];
150 XCTAssertEqual(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
225 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
227 [[GPBInt64UInt32Dictionary alloc] initWithUInt32s:kValues
229 count:GPBARRAYSIZE(kValues)];
246 const uint32_t kValues[] = { 100U, 101U, 102U, 103U };
248 [[GPBInt64UInt32Dictionary alloc] initWithUInt32s:kValues
250 count:GPBARRAYSIZE(kValues)];
[all …]
DGPBDictionaryTests.pddm366 //% const VALUE_TYPE kValues[] = { VAL1, VAL2, VAL3 };
369 //% KEY_NAME$S VALUE_NAME$S rawValues:kValues
371 … KEY_NAME$S VALUE_NAME$S count:GPBARRAYSIZE(kValues)];
399 //% XCTAssertEqual##VSUFFIX(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
418 //% XCTAssertEqual##VSUFFIX(kValues[i], seenValues[j], @"i = %d, j = %d", i, j);
498 //% const VALUE_TYPE kValues[] = { VAL1, VAL2, VAL3, VAL4 }; // Unknown
501 //% KEY_NAME$S VALUE_NAME$S rawValues:kValues
503 … KEY_NAME$S VALUE_NAME$S count:GPBARRAYSIZE(kValues)];
520 //% const VALUE_TYPE kValues[] = { VAL1, VAL2, VAL3, VAL4 }; // Unknowns
523 //% 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/perfetto/src/trace_processor/
Dexport_json_unittest.cc499 double kValues[] = {1.234, 2.345}; in TEST_F() local
518 arg0.value = Variadic::Real(kValues[0]); in TEST_F()
522 arg1.value = Variadic::Real(kValues[1]); in TEST_F()
539 EXPECT_DOUBLE_EQ(event["args"]["draw_duration_ms"][0].asDouble(), kValues[0]); in TEST_F()
540 EXPECT_DOUBLE_EQ(event["args"]["draw_duration_ms"][1].asDouble(), kValues[1]); in TEST_F()
591 int kValues[] = {123, 234}; in TEST_F() local
610 arg0.value = Variadic::Integer(kValues[0]); in TEST_F()
614 arg1.value = Variadic::Integer(kValues[1]); in TEST_F()
631 EXPECT_EQ(event["args"]["a"][0]["b"].asInt(), kValues[0]); in TEST_F()
632 EXPECT_EQ(event["args"]["a"][1]["b"].asInt(), kValues[1]); in TEST_F()
[all …]
/external/angle/src/tests/gl_tests/
DFramebufferMixedSamplesTest.cpp154 GLenum kValues[] = {GL_NONE, GL_RGB, GL_RGBA, GL_ALPHA}; in TEST_P() local
155 for (auto expect : kValues) in TEST_P()
/external/v8/src/builtins/
Dtyped-array-values.tq20 return CreateArrayIterator(array, IterationKind::kValues);
Dbuiltins-object-gen.cc61 enum CollectType { kEntries, kValues }; enumerator
199 DCHECK(collect_type == CollectType::kValues); in GetOwnValuesOrEntries()
211 DCHECK(collect_type == CollectType::kValues); in GetOwnValuesOrEntries()
655 GetOwnValuesOrEntries(context, object, CollectType::kValues); in TF_BUILTIN()
Dbuiltins-array-gen.cc1155 IterationKind::kValues)); in TF_BUILTIN()
1347 Int32Constant(static_cast<int>(IterationKind::kValues))), in TF_BUILTIN()
/external/v8/src/common/
Dglobals.h1445 enum class IterationKind { kKeys, kValues, kEntries }; enumerator
1451 case IterationKind::kValues:
/external/v8/src/objects/
Djs-array.tq6 constexpr 'IterationKind' { kKeys, kValues, kEntries }
/external/vixl/test/aarch64/
Dtest-assembler-fp-aarch64.cc316 static const double kValues[] = {-0.0, 0.0, -1.0, 1.0, -1e10, 1e10}; in TEST() local
318 LoadFPValueHelper(kValues, sizeof(kValues) / sizeof(kValues[0])); in TEST()
323 static const float kValues[] = {-0.0, 0.0, -1.0, 1.0, -1e10, 1e10}; in TEST() local
325 LoadFPValueHelper(kValues, sizeof(kValues) / sizeof(kValues[0])); in TEST()
Dtest-assembler-aarch64.cc3919 static const uint64_t kValues[] = {0x8000000000000000, in TEST() local
3926 LoadIntValueHelper(kValues, sizeof(kValues) / sizeof(kValues[0])); in TEST()
3931 static const uint32_t kValues[] = {0x80000000, in TEST() local
3939 LoadIntValueHelper(kValues, sizeof(kValues) / sizeof(kValues[0])); in TEST()
/external/v8/src/compiler/
Djs-create-lowering.cc840 case IterationKind::kValues: in MapForCollectionIterationKind()
850 case IterationKind::kValues: in MapForCollectionIterationKind()
Djs-call-reducer.cc4303 IterationKind::kValues); in ReduceJSCall()
4511 IterationKind::kValues); in ReduceJSCall()
4530 IterationKind::kValues); in ReduceJSCall()
4542 IterationKind::kValues); in ReduceJSCall()
5872 iteration_kind == IterationKind::kValues); in ReduceArrayIteratorPrototypeNext()
5930 DCHECK_EQ(IterationKind::kValues, iteration_kind); in ReduceArrayIteratorPrototypeNext()
/external/v8/src/api/
Dapi.cc7006 kValues = i::JS_MAP_VALUE_ITERATOR_TYPE enumerator
7011 kValues = i::JS_SET_VALUE_ITERATOR_TYPE enumerator
7022 kind == MapAsArrayKind::kEntries || kind == MapAsArrayKind::kValues; in MapAsArray()
7157 SetAsArray(isolate, obj->table(), 0, SetAsArrayKind::kValues)); in AsArray()