Home
last modified time | relevance | path

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

12

/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+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+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+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/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dtftext_utils.cc150 constexpr int kValues = 0; in VerifyNgrams() local
159 auto input_values = GetInputType(func, kValues); in VerifyNgrams()
162 << "Input " << kValues << " should be a string tensor"; in VerifyNgrams()
164 auto output_values = GetResultType(func, kValues); in VerifyNgrams()
167 << "Output " << kValues << " should be a string tensor"; in VerifyNgrams()
172 return func.emitError() << "Input " << kValues << " and output " in VerifyNgrams()
173 << kValues << " should have the same rank"; in VerifyNgrams()
176 auto input_values = GetInputType(func, kValues); in VerifyNgrams()
180 << "Input " << kValues << " should be a 1D string tensor"; in VerifyNgrams()
182 auto output_values = GetResultType(func, kValues); in VerifyNgrams()
[all …]
/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/tflite-support/tensorflow_lite_support/custom_ops/kernel/
Dngrams.cc50 constexpr int kValues = 0; variable
90 TfLiteTensor* output_values = GetOutput(context, node, kValues); in Prepare()
92 const TfLiteTensor* input_values = GetInput(context, node, kValues); in Prepare()
133 const TfLiteTensor* input_values = GetInput(context, node, kValues); in Eval()
188 TfLiteTensor* output_values = GetOutput(context, node, kValues); in Eval()
/external/abseil-cpp/absl/random/internal/
Diostream_state_saver_test.cc153 const float kValues[] = { in TEST() local
190 for (const float f : kValues) { in TEST()
212 const double kValues[] = { in TEST() local
255 for (const double d : kValues) { in TEST()
288 const real_type kValues[] = { in TEST() local
333 for (const long double dd : kValues) { in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Diostream_state_saver_test.cc153 const float kValues[] = { in TEST() local
190 for (const float f : kValues) { in TEST()
212 const double kValues[] = { in TEST() local
255 for (const double d : kValues) { in TEST()
288 const real_type kValues[] = { in TEST() local
333 for (const long double dd : kValues) { in TEST()
/external/openscreen/third_party/abseil/src/absl/random/internal/
Diostream_state_saver_test.cc153 const float kValues[] = { in TEST() local
190 for (const float f : kValues) { in TEST()
212 const double kValues[] = { in TEST() local
255 for (const double d : kValues) { in TEST()
288 const real_type kValues[] = { in TEST() local
333 for (const long double dd : kValues) { in TEST()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Diostream_state_saver_test.cc153 const float kValues[] = { in TEST() local
190 for (const float f : kValues) { in TEST()
212 const double kValues[] = { in TEST() local
255 for (const double d : kValues) { in TEST()
288 const real_type kValues[] = { in TEST() local
333 for (const long double dd : kValues) { in TEST()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Diostream_state_saver_test.cc153 const float kValues[] = { in TEST() local
190 for (const float f : kValues) { in TEST()
212 const double kValues[] = { in TEST() local
255 for (const double d : kValues) { in TEST()
288 const real_type kValues[] = { in TEST() local
333 for (const long double dd : kValues) { 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/rust/crates/quiche/deps/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/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/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/perfetto/src/trace_processor/
Dexport_json_unittest.cc514 double kValues[] = {1.234, 2.345}; in TEST_F() local
533 arg0.value = Variadic::Real(kValues[0]); in TEST_F()
537 arg1.value = Variadic::Real(kValues[1]); in TEST_F()
554 EXPECT_DOUBLE_EQ(event["args"]["draw_duration_ms"][0].asDouble(), kValues[0]); in TEST_F()
555 EXPECT_DOUBLE_EQ(event["args"]["draw_duration_ms"][1].asDouble(), kValues[1]); in TEST_F()
606 int kValues[] = {123, 234}; in TEST_F() local
625 arg0.value = Variadic::Integer(kValues[0]); in TEST_F()
629 arg1.value = Variadic::Integer(kValues[1]); in TEST_F()
646 EXPECT_EQ(event["args"]["a"][0]["b"].asInt(), kValues[0]); in TEST_F()
647 EXPECT_EQ(event["args"]["a"][1]["b"].asInt(), kValues[1]); in TEST_F()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/random/
Dbeta_distribution_test.cc62 const TypeParam kValues[] = { in TYPED_TEST() local
92 for (TypeParam alpha : kValues) { in TYPED_TEST()
93 for (TypeParam beta : kValues) { in TYPED_TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dbeta_distribution_test.cc63 const TypeParam kValues[] = { in TYPED_TEST() local
93 for (TypeParam alpha : kValues) { in TYPED_TEST()
94 for (TypeParam beta : kValues) { in TYPED_TEST()
/external/abseil-cpp/absl/random/
Dbeta_distribution_test.cc62 const TypeParam kValues[] = { in TYPED_TEST() local
92 for (TypeParam alpha : kValues) { in TYPED_TEST()
93 for (TypeParam beta : kValues) { in TYPED_TEST()

12