Home
last modified time | relevance | path

Searched refs:refl (Results 1 - 11 of 11) sorted by relevance

/third_party/protobuf/src/google/protobuf/
H A Drepeated_field_reflection_unittest.cc59 const Reflection* refl = message.GetReflection(); in TEST() local
81 refl->GetRepeatedField<int32>(message, fd_repeated_int32); in TEST()
83 refl->GetRepeatedField<double>(message, fd_repeated_double); in TEST()
87 refl->MutableRepeatedField<int32>(&message, fd_repeated_int32); in TEST()
89 refl->MutableRepeatedField<double>(&message, fd_repeated_double); in TEST()
93 refl->GetRepeatedPtrField<std::string>(message, fd_repeated_string); in TEST()
95 refl->GetRepeatedPtrField<ForeignMessage>(message, in TEST()
98 refl->GetRepeatedPtrField<Message>(message, fd_repeated_foreign_message); in TEST()
102 refl->MutableRepeatedPtrField<std::string>(&message, fd_repeated_string); in TEST()
104 refl in TEST()
158 const Reflection* refl = extended_message.GetReflection(); TEST() local
216 const Reflection* refl = message.GetReflection(); TEST() local
441 const Reflection* refl = message.GetReflection(); TEST() local
531 const Reflection* refl = extended_message.GetReflection(); TEST() local
581 const Reflection* refl = m0.GetReflection(); TEST() local
695 const Reflection* refl = dynamic_message->GetReflection(); TEST() local
[all...]
H A Ddynamic_message_unittest.cc291 const Reflection* refl = message->GetReflection(); in TEST_F() local
305 EXPECT_EQ(false, refl->HasField(*message, optional_int32)); in TEST_F()
306 refl->SetInt32(message, optional_int32, 42); in TEST_F()
307 EXPECT_EQ(true, refl->HasField(*message, optional_int32)); in TEST_F()
308 refl->SetInt32(message, optional_int32, 0); in TEST_F()
309 EXPECT_EQ(false, refl->HasField(*message, optional_int32)); in TEST_F()
311 EXPECT_EQ(false, refl->HasField(*message, optional_msg)); in TEST_F()
312 refl->MutableMessage(message, optional_msg); in TEST_F()
313 EXPECT_EQ(true, refl->HasField(*message, optional_msg)); in TEST_F()
314 delete refl in TEST_F()
[all...]
H A Dmap_test.cc1113 const Reflection* refl = message.GetReflection(); in TEST_F() local
1159 refl->GetRepeatedPtrField<Message>(message, fd_map_int32_int32); in TEST_F()
1161 refl->GetRepeatedPtrField<Message>(message, fd_map_int32_double); in TEST_F()
1163 refl->GetRepeatedPtrField<Message>(message, fd_map_string_string); in TEST_F()
1165 refl->GetRepeatedPtrField<Message>(message, fd_map_int32_foreign_message); in TEST_F()
1169 refl->MutableRepeatedPtrField<Message>(&message, fd_map_int32_int32); in TEST_F()
1171 refl->MutableRepeatedPtrField<Message>(&message, fd_map_int32_double); in TEST_F()
1173 refl->MutableRepeatedPtrField<Message>(&message, fd_map_string_string); in TEST_F()
1175 refl->MutableRepeatedPtrField<Message>(&message, in TEST_F()
1300 const Reflection* refl in TEST_F() local
1808 const Reflection* refl = m0.GetReflection(); TEST_F() local
[all...]
H A Darena_unittest.cc891 const Reflection* refl = message->GetReflection(); in TEST() local
898 refl->SetString(message, string_field, "Test value"); in TEST()
899 EXPECT_TRUE(refl->HasOneof(*message, oneof)); in TEST()
900 refl->ClearOneof(message, oneof); in TEST()
901 EXPECT_FALSE(refl->HasOneof(*message, oneof)); in TEST()
903 Message* submsg = refl->MutableMessage(message, msg_field); in TEST()
904 EXPECT_TRUE(refl->HasOneof(*message, oneof)); in TEST()
905 refl->ClearOneof(message, oneof); in TEST()
906 EXPECT_FALSE(refl->HasOneof(*message, oneof)); in TEST()
907 refl in TEST()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dshader_module_gles.cpp190 Gles::PushConstantReflection refl; in ProcessShaderModule() local
191 refl.type = read.GetUint32(); in ProcessShaderModule()
192 refl.offset = read.GetUint16(); in ProcessShaderModule()
193 refl.size = read.GetUint16(); in ProcessShaderModule()
194 refl.arraySize = read.GetUint16(); in ProcessShaderModule()
195 refl.arrayStride = read.GetUint16(); in ProcessShaderModule()
196 refl.matrixStride = read.GetUint16(); in ProcessShaderModule()
197 refl.name = "CORE_PC_0"; in ProcessShaderModule()
198 refl.name += read.GetStringView(); in ProcessShaderModule()
199 refl in ProcessShaderModule()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dra144.c1545 int ff_eval_refl(int *refl, const int16_t *coefs, AVCodecContext *avctx) in ff_eval_refl() argument
1556 refl[LPC_ORDER-1] = bp2[LPC_ORDER-1]; in ff_eval_refl()
1572 int a = bp2[j] - ((int)(refl[i+1] * (unsigned)bp2[i-j]) >> 12); in ff_eval_refl()
1576 bp1[j] = (int)((bp2[j] - ((int)(refl[i+1] * (unsigned)bp2[i-j]) >> 12)) * (unsigned)b) >> 12; in ff_eval_refl()
1582 refl[i] = bp1[i]; in ff_eval_refl()
1593 void ff_eval_coefs(int *coefs, const int *refl) in ff_eval_coefs() argument
1601 b1[i] = refl[i] * 16; in ff_eval_coefs()
1604 b1[j] = ((int)(refl[i] * (unsigned)b2[i-j-1]) >> 12) + b2[j]; in ff_eval_coefs()
H A Dra144.h70 int ff_eval_refl(int *refl, const int16_t *coefs, AVCodecContext *avctx);
71 void ff_eval_coefs(int *coefs, const int *refl);
H A Dcngdec.c82 static void make_lpc_coefs(float *lpc, const float *refl, int order) in make_lpc_coefs() argument
90 next[m] = refl[m]; in make_lpc_coefs()
92 next[i] = cur[i] + refl[m] * cur[m - i - 1]; in make_lpc_coefs()
H A Dvp9block.c391 int refl = td->left_ref_ctx[row7], refa = s->above_ref_ctx[col]; in decode_mode() local
393 if (refl == refa && refa == s->s.h.varcompref[1]) { in decode_mode()
396 if ((refa == s->s.h.fixcompref && refl == s->s.h.varcompref[0]) || in decode_mode()
397 (refl == s->s.h.fixcompref && refa == s->s.h.varcompref[0])) { in decode_mode()
400 c = (refa == refl) ? 3 : 1; in decode_mode()
403 if (refa == s->s.h.varcompref[1] && refl != s->s.h.varcompref[1]) { in decode_mode()
406 c = (refl == s->s.h.varcompref[1] && in decode_mode()
410 if (refl == s->s.h.varcompref[1] && refa != s->s.h.varcompref[1]) { in decode_mode()
414 refl != s->s.h.varcompref[1]) ? 2 : 4; in decode_mode()
417 c = (refl in decode_mode()
[all...]
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dmain.cpp1282 for (const auto& refl : pushConstantReflection) {
1283 push(reflection, refl.type);
1284 push(reflection, static_cast<uint16_t>(refl.offset));
1285 push(reflection, static_cast<uint16_t>(refl.size));
1286 push(reflection, static_cast<uint16_t>(refl.arraySize));
1287 push(reflection, static_cast<uint16_t>(refl.arrayStride));
1288 push(reflection, static_cast<uint16_t>(refl.matrixStride));
1289 push(reflection, static_cast<uint16_t>(refl.name.size()));
1290 reflection.insert(reflection.end(), std::begin(refl.name), std::end(refl
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_manager.cpp1456 const auto& refl = computeShaders_[arrayIndex].gsp->GetReflection();
1457 return { refl.threadGroupSizeX, refl.threadGroupSizeY, refl.threadGroupSizeZ };

Completed in 18 milliseconds