Home
last modified time | relevance | path

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

1234567891011

/external/rust/crates/protobuf-codegen/src/
Dscope.rs232 let v: Vec<&'a str> = self.path.iter().map(|m| m.get_name()).collect(); in prefix()
241 self.path.iter().map(|m| ProtobufIdent::from(m.get_name())), in protobuf_path_to_file()
265 fn get_name(&self) -> ProtobufIdent; in get_name() method
271 r.push_str(self.get_name().get()); in name_to_package()
277 r.append_ident(&ProtobufIdent::from(self.get_name())) in protobuf_name_to_package()
283 path.push_simple(self.get_name()); in name_absolute()
291 if r.is_empty() && rust::is_rust_keyword(self.get_name().get()) { in rust_name()
294 r.push_str(self.get_name().get()); in rust_name()
302 proto_path_to_rust_mod(self.get_scope().get_file_descriptor().get_name()), in rust_fq_name()
323 fn get_name(&self) -> ProtobufIdent { in get_name() method
[all …]
Dlib.rs196 w.write_line(&format!("//! Generated file from `{}`", file.get_name())); in gen_file()
232 name: format!("{}.rs", proto_path_to_rust_mod(file.get_name())), in gen_file()
235 mod_name: proto_path_to_rust_mod(file.get_name()).into_string(), in gen_file()
269 file_descriptors.iter().map(|f| (f.get_name(), f)).collect(); in gen()
271 let all_file_names: Vec<&str> = file_descriptors.iter().map(|f| f.get_name()).collect(); in gen()
Dextensions.rs33 panic!("required ext field: {}", self.field.get_name()) in repeated()
71 rust_field_name_for_protobuf_field_name(self.field.get_name()).get(), in write()
/external/rust/crates/protobuf/src/
Ddescriptorx.rs281 let v: Vec<&'a str> = self.path.iter().map(|m| m.get_name()).collect(); in prefix()
302 fn get_name(&self) -> &'a str; in get_name() method
308 r.push_str(self.get_name()); in name_to_package()
329 if r.is_empty() && rust::is_rust_keyword(self.get_name()) { in rust_name()
332 r.push_str(self.get_name()); in rust_name()
340 proto_path_to_rust_mod(self.get_scope().get_file_descriptor().get_name()), in rust_fq_name()
361 fn get_name(&self) -> &'a str { in get_name() method
362 self.message.get_name() in get_name()
441 .find(|v| v.get_name() == name) in value_by_name()
453 if rust::is_rust_keyword(self.get_name()) { in rust_name()
[all …]
/external/llvm-project/debuginfo-tests/dexter/dex/command/
DParseCommand.py40 DexExpectProgramState.get_name() : DexExpectProgramState,
41 DexExpectStepKind.get_name() : DexExpectStepKind,
42 DexExpectStepOrder.get_name() : DexExpectStepOrder,
43 DexExpectWatchType.get_name() : DexExpectWatchType,
44 DexExpectWatchValue.get_name() : DexExpectWatchValue,
45 DexLabel.get_name() : DexLabel,
46 DexLimitSteps.get_name() : DexLimitSteps,
47 DexUnreachable.get_name() : DexUnreachable,
48 DexWatch.get_name() : DexWatch
84 command_type.get_name(), { command_type.get_name(): command_type })
[all …]
/external/rust/crates/protobuf/src/reflect/
Dmessage.rs62 full_name.push_str(proto.get_name()); in compute_full_name()
78 field_proto_by_name.insert(field_proto.get_name(), field_proto); in new_non_generic_by_rust_name()
89 full_name.push_str(proto.message.get_name()); in new_non_generic_by_rust_name()
103 .insert(f.proto().get_name().to_owned(), i) in new_non_generic_by_rust_name()
106 .insert(f.proto().get_name().to_owned(), i) in new_non_generic_by_rust_name()
111 if json_name != f.proto().get_name() { in new_non_generic_by_rust_name()
142 field_proto_by_name.insert(field_proto.get_name(), field_proto); in new_non_generic_by_pb_name()
167 .insert(f.proto().get_name().to_owned(), i) in new_non_generic_by_pb_name()
170 .insert(f.proto().get_name().to_owned(), i) in new_non_generic_by_pb_name()
175 if json_name != f.proto().get_name() { in new_non_generic_by_pb_name()
[all …]
Dfind_message_or_enum.rs33 .find(|m| m.get_name() == first); in find_message_or_enum()
34 let child_enum = file.get_enum_type().iter().find(|e| e.get_name() == first); in find_message_or_enum()
48 package_to_name.push_str(message.get_name()); in find_message_or_enum()
53 .find(|m| m.get_name() == name); in find_message_or_enum()
57 .find(|e| e.get_name() == name); in find_message_or_enum()
Denums.rs23 self.proto.get_name() in name()
46 self.proto.get_name() in name()
67 index_by_name.insert(v.get_name().to_string(), i); in new()
101 index_by_name.insert(v.get_name().to_string(), i); in new_pb_name()
Dfield.rs37 assert_eq!(proto.get_name(), accessor.name); in new()
41 json_name(proto.get_name()) in new()
58 self.proto.get_name() in name()
/external/python/cpython2/Lib/test/
Dtest_importhooks.py164 self.assertEqual(hooktestmodule.get_name(),
166 self.assertEqual(hooktestpackage.get_name(),
168 self.assertEqual(hooktestpackage.sub.get_name(),
170 self.assertEqual(hooktestpackage.sub.subber.get_name(),
187 self.assertEqual(hooktestpackage.oldabs.get_name(),
193 self.assertEqual(hooktestpackage.newrel.get_name(),
199 self.assertEqual(subest.get_name(),
205 self.assertEqual(hooktestpackage.futrel.get_name(),
211 self.assertEqual(sub.get_name(), "sub")
214 self.assertEqual(hooktestpackage.newabs.get_name(),
Dtest_symtable.py40 if ch.get_name() == name:
149 self.assertEqual(self.top.get_name(), "top")
150 self.assertEqual(self.spam.get_name(), "spam")
151 self.assertEqual(self.spam.lookup("x").get_name(), "x")
152 self.assertEqual(self.Mine.get_name(), "Mine")
/external/vulkan-validation-layers/layers/
Dstateless_validation.h139 …ss << misc.api_name << ": parameter " << parameter_name.get_name() << " (= " << value << ") is gre… in ValidateGreaterThan()
169 … "%s: required parameter %s specified as NULL.", apiName, parameterName.get_name().c_str()); in validate_required_pointer()
201 … "%s: parameter %s must be greater than 0.", apiName, countName.get_name().c_str()); in validate_array()
208 … "%s: required parameter %s specified as NULL.", apiName, arrayName.get_name().c_str()); in validate_array()
243 countName.get_name().c_str()); in validate_array()
277 … "%s: required parameter %s specified as NULL", apiName, parameterName.get_name().c_str()); in validate_struct_type()
281 … "%s: parameter %s->sType must be %s.", apiName, parameterName.get_name().c_str(), sTypeName); in validate_struct_type()
321 … "%s: parameter %s[%d].sType must be %s", apiName, arrayName.get_name().c_str(), i, sTypeName); in validate_struct_type_array()
360 countName.get_name().c_str()); in validate_struct_type_array()
387 parameter_name.get_name().c_str()); in validate_required_handle()
[all …]
/external/tpm2-tss/test/integration/
Desys-createloaded.int.c28 TPM2B_NAME *get_name = NULL; in check_name() local
35 r = Esys_TR_GetName(esys_context, object_handle, &get_name); in check_name()
38 if (read_name->size != get_name->size) { in check_name()
40 read_name->size, get_name->size); in check_name()
44 result = memcmp(read_name->name, get_name->name, get_name->size) == 0; in check_name()
48 Esys_Free(get_name); in check_name()
/external/grpc-grpc/src/ruby/stress/
Dmetrics_server.rb19 def get_name method in Gauge
41 @gauges[gauge.get_name] = gauge
45 response = GaugeResponse.new(:name => gauge.get_name)
/external/libxkbcommon/src/
Dkeysym.c59 get_name(const struct name_keysym *entry) in get_name() function
81 return istrcmp(key, get_name(entry)); in compare_by_name()
99 return snprintf(buffer, size, "%s", get_name(entry)); in xkb_keysym_get_name()
135 if (!icase && strcmp(get_name(entry), name) == 0) in find_sym()
141 if (!icase && strcmp(get_name(iter), name) == 0) in find_sym()
143 if (istrcmp(get_name(iter), get_name(entry)) != 0) in find_sym()
151 if (!icase && strcmp(get_name(iter), name) == 0) in find_sym()
153 if (istrcmp(get_name(iter), get_name(entry)) != 0) in find_sym()
/external/mesa3d/src/intel/genxml/
Dgen_sort_tags.py14 def get_name(element): function
111 enums = sorted(genxml.findall('enum'), key=get_name)
121 structs = sorted(xml.findall('./struct'), key=get_name)
136 instructions = sorted(xml.findall('./instruction'), key=get_name)
140 registers = sorted(xml.findall('./register'), key=get_name)
/external/iproute2/ip/
Diplink_bond.c87 static const char *get_name(const char **tbl, int index) in get_name() function
378 const char *mode = get_name(mode_tbl, in bond_print_opt()
462 const char *arp_validate = get_name(arp_validate_tbl, arp_v); in bond_print_opt()
474 const char *arp_all_targets = get_name(arp_all_targets_tbl, in bond_print_opt()
497 const char *primary_reselect = get_name(primary_reselect_tbl, in bond_print_opt()
506 const char *fail_over_mac = get_name(fail_over_mac_tbl, in bond_print_opt()
515 const char *xmit_hash_policy = get_name(xmit_hash_policy_tbl, in bond_print_opt()
560 const char *lacp_rate = get_name(lacp_rate_tbl, in bond_print_opt()
569 const char *ad_select = get_name(ad_select_tbl, in bond_print_opt()
/external/libabigail/src/
Dabg-suppression.cc1171 if (!suppression_matches_type_name(*this, get_name(type))) in suppresses_type()
1324 if ((fn_call->get_name() == "offset_of" in eval_boundary()
1325 || fn_call->get_name() == "offset_after") in eval_boundary()
1336 if ((*it)->get_name() == member_name) in eval_boundary()
1338 if (fn_call->get_name() == "offset_of") in eval_boundary()
1340 else if (fn_call->get_name() == "offset_after") in eval_boundary()
1556 if (section.get_name() != "suppress_type") in read_type_suppression()
2119 function_suppression::get_name() const in get_name() function in abigail::suppr::function_suppression
2477 if (!get_name().empty()) in suppresses_function()
2479 if (get_name() != fn->get_qualified_name()) in suppresses_function()
[all …]
/external/rust/crates/grpcio-compiler/src/
Dcodegen.rs242 to_snake_case(self.proto.get_name()) in name()
246 format!("\"{}/{}\"", self.service_path, &self.proto.get_name()) in fq_name()
549 format!("/{}", proto.get_name()) in new()
551 format!("/{}.{}", file.get_package(), proto.get_name()) in new()
559 util::to_camel_case(proto.get_name()), in new()
570 util::to_camel_case(self.proto.get_name()) in service_name()
661 let base = protobuf::descriptorx::proto_path_to_rust_mod(file.get_name()); in gen_file()
685 file_descriptors.iter().map(|f| (f.get_name(), f)).collect(); in gen()
/external/tensorflow/tensorflow/python/keras/utils/
Dvis_utils.py258 sub_n_first_node[layer.name].get_name())
262 name = sub_w_first_node[layer.layer.name].get_name()
266 name = sub_n_last_node[inbound_layer.name].get_name()
268 output_name = sub_n_first_node[layer.name].get_name()
276 sub_w_last_node[inbound_layer_name].get_name(),
/external/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
DDIATable.cpp23 return invokeBstrMethod(*Table, &IDiaTable::get_name); in getName()
28 if (S_OK != Table->get_name(&Name16)) in getTableType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIATable.cpp23 return invokeBstrMethod(*Table, &IDiaTable::get_name); in getName()
28 if (S_OK != Table->get_name(&Name16)) in getTableType()
/external/autotest/client/site_tests/graphics_dEQP/
Dgenerate_controlfiles.py101 return 'control.%s' % get_name(test, shard)
116 def get_name(test, shard): function
126 return 'graphics_dEQP.%s' % get_name(test, shard)
/external/python/cpython3/Lib/test/
Dtest_symtable.py48 if ch.get_name() == name:
191 self.assertEqual(self.top.get_name(), "top")
192 self.assertEqual(self.spam.get_name(), "spam")
193 self.assertEqual(self.spam.lookup("x").get_name(), "x")
194 self.assertEqual(self.Mine.get_name(), "Mine")
/external/harfbuzz_ng/src/
Dhb-debug.hh403 (&c->debug_depth, c->get_name (), this, HB_FUNC, \
416 (&c->debug_depth, c->get_name (), this, HB_FUNC, \
440 (&c->debug_depth, c->get_name (), this, HB_FUNC, \
457 (&c->debug_depth, c->get_name (), this, HB_FUNC, \

1234567891011