/external/protobuf/python/google/protobuf/internal/ |
python_message.py | 326 for field_name, field_value in kwargs.iteritems(): 327 field = _GetFieldByName(message_descriptor, field_name) 330 (message_descriptor.name, field_name)) 344 setattr(self, field_name, field_value) 351 def _GetFieldByName(message_descriptor, field_name): 356 field_name: The name of the field to retrieve. 361 return message_descriptor.fields_by_name[field_name] 363 raise ValueError('Protocol message has no "%s" field.' % field_name) 622 def HasField(self, field_name): 624 field = singular_fields[field_name] [all...] |
reflection_test.py | 611 def TestGetAndDeserialize(field_name, value, expected_type): 613 setattr(proto, field_name, value) 614 self.assertTrue(isinstance(getattr(proto, field_name), expected_type)) 617 self.assertTrue(isinstance(getattr(proto2, field_name), expected_type)) 635 def TestMinAndMaxIntegers(field_name, expected_min, expected_max): 637 setattr(pb, field_name, expected_min) 638 self.assertEqual(expected_min, getattr(pb, field_name)) 639 setattr(pb, field_name, expected_max) 640 self.assertEqual(expected_max, getattr(pb, field_name)) 641 self.assertRaises(ValueError, setattr, pb, field_name, expected_min - 1 [all...] |
/external/clang/docs/tools/ |
dump_format_style.py | 102 field_type, field_name = re.match(r'([<>:\w]+)\s+(\w+);', line).groups() 103 option = Option(str(field_name), str(field_type), comment)
|
/external/mesa3d/src/glsl/ |
link_uniform_initializers.cpp | 92 const char *field_name = ralloc_asprintf(mem_ctx, "%s.%s", name, local 94 set_uniform_initializer(mem_ctx, prog, field_name,
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_field.cc | 175 (*variables)["field_name"] = descriptor->name(); 205 "// An alternative name is used for field \"$field_name$\" because:\n"
|
java_helpers.cc | 74 bool IsForbidden(const string& field_name) { 76 if (field_name == kForbiddenWordList[i]) { 84 string field_name; local 89 field_name = field->message_type()->name(); 91 field_name = field->name(); 93 if (IsForbidden(field_name)) { 96 field_name += "#"; 98 return field_name;
|
java_message.cc | 197 "\"$field_name$\", ", 198 "field_name", info->capitalized_name); 425 "$field_name$($field_number$),\n", 426 "field_name", 446 " case $field_number$: return $field_name$;\n", 449 "field_name", [all...] |
/external/nanopb-c/generator/google/protobuf/internal/ |
python_message.py | 310 for field_name, field_value in kwargs.iteritems(): 311 field = _GetFieldByName(message_descriptor, field_name) 314 (message_descriptor.name, field_name)) 328 setattr(self, field_name, field_value) 335 def _GetFieldByName(message_descriptor, field_name): 340 field_name: The name of the field to retrieve. 345 return message_descriptor.fields_by_name[field_name] 347 raise ValueError('Protocol message has no "%s" field.' % field_name) 593 def HasField(self, field_name): 595 field = singular_fields[field_name] [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wpas_glue.c | 800 const char *field_name, const char *txt) 811 field_name, ssid->id, txt); 835 const char *field_name, *txt = NULL; local 842 field_name = wpa_supplicant_ctrl_req_to_string(field, default_txt, 844 if (field_name == NULL) { 850 wpas_notify_eap_status(wpa_s, "eap parameter needed", field_name); 852 wpas_send_ctrl_req(wpa_s, ssid, field_name, txt);
|
/external/nanopb-c/generator/google/protobuf/ |
message.py | 231 def HasField(self, field_name): 233 field_name is not defined in the message descriptor, ValueError will be 237 def ClearField(self, field_name):
|
/external/protobuf/python/google/protobuf/ |
message.py | 235 def HasField(self, field_name): 237 field_name is not defined in the message descriptor, ValueError will be 241 def ClearField(self, field_name):
|
/external/protobuf/python/google/protobuf/pyext/ |
message.cc | 418 const char* field_name = existing_field->name().c_str(); local 420 cmessage->composite_fields, field_name); 430 return PyDict_DelItemString(cmessage->composite_fields, field_name); 872 const google::protobuf::Message* message, const char* field_name, bool* in_oneof) { 875 descriptor->FindFieldByName(field_name); 878 message->GetDescriptor()->FindOneofByName(field_name); 893 char* field_name; local 894 if (PyString_AsStringAndSize(arg, &field_name, NULL) < 0) { 896 char* field_name = PyUnicode_AsUTF8(arg); 897 if (!field_name) { 1118 char* field_name; local 1520 const string& field_name = fields[i]->full_name(); local 1547 const string& field_name = fields[i]->name(); local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
StopDebuggee.java | 66 public static final String FIELD_NAME = "exception";
|
StopTest.java | 70 debuggeeWrapper.vmMirror.getFieldID(classID, StopDebuggee.FIELD_NAME);
|
/external/protobuf/src/google/protobuf/ |
wire_format.h | 239 const char* field_name); 247 const char* field_name); 325 const char* field_name) { 327 WireFormat::VerifyUTF8StringFallback(data, size, op, field_name);
|
/external/protobuf/src/google/protobuf/compiler/python/ |
python_generator.cc | 767 m["field_name"] = oneof->field(j)->name(); 771 " $descriptor_name$.fields_by_name['$field_name$'])\n"); 774 "$descriptor_name$.fields_by_name['$field_name$'].containing_oneof = " 807 m["field_name"] = descriptor.name(); 809 "$descriptor_name$.extensions_by_name['$field_name$'] = " 810 "$field_name$\n"; 1210 string field_name; local [all...] |
/art/test/004-JniTest/ |
jni_test.cc | 109 jstring field_name = env->NewStringUTF("testReflectFieldGetFromAttachedNativeThreadField"); local 110 assert(field_name != nullptr); 113 jobject field = env->CallObjectMethod(clazz, getFieldMetodId, field_name); 455 jfieldID GetFieldID(jclass c, const char* field_name) { 456 jfieldID m = env_->GetFieldID(c, field_name, "Z");
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
JapaneseTest.java | 253 final String[] FIELD_NAME = { 268 logln(FIELD_NAME[fieldNum]+": "+ actualVal); 270 errln("FAIL: "+FIELD_NAME[fieldNum]+": expected "+ expectedVal + " got " + actualVal);
|
/external/boringssl/src/crypto/asn1/ |
tasn_new.c | 282 if (tt->field_name) 283 CRYPTO_push_info(tt->field_name);
|
tasn_prn.c | 356 fname = tt->field_name; 373 indent, "", tname, tt->field_name) <= 0)
|
/external/flac/include/FLAC/ |
metadata.h | [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/docs/ |
testing-applications.txt | 59 files. The uploaded files are a list of ``(field_name, filename,
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_helpers.cc | 179 string field_name = UnderscoresToCamelCase(field->name(), true); local 180 string result = "k" + field_name + "FieldNumber";
|
/external/v8/tools/ |
gc-nvp-trace-processor.py | 72 field_name = m.group(1) 73 if field_name not in fields:
|
/external/linux-tools-perf/src/tools/perf/Documentation/ |
perf-script-python.txt | 579 flag_str(event_name, field_name, field_value) - returns the string represention corresponding to field_value for the flag field field_name of event event_name 580 symbol_str(event_name, field_name, field_value) - returns the string represention corresponding to field_value for the symbolic field field_name of event event_name
|