Home
last modified time | relevance | path

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

123

/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DCore.pm63 my ($event_name, $field_name, $value) = @_;
67 if ($flag_fields{$event_name}{$field_name}) {
69 foreach my $idx (sort {$a <=> $b} keys %{$flag_fields{$event_name}{$field_name}{"values"}}) {
71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
75 if ($print_delim && $flag_fields{$event_name}{$field_name}{'delim'}) {
76 $string .= " $flag_fields{$event_name}{$field_name}{'delim'} ";
78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
90 my ($event_name, $field_name, $delim) = @_;
92 $flag_fields{$event_name}{$field_name}{"delim"} = $delim;
97 my ($event_name, $field_name, $value, $field_str) = @_;
[all …]
/external/linux-tools-perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py17 def define_flag_field(event_name, field_name, delim): argument
18 flag_fields[event_name][field_name]['delim'] = delim
20 def define_flag_value(event_name, field_name, value, field_str): argument
21 flag_fields[event_name][field_name]['values'][value] = field_str
23 def define_symbolic_field(event_name, field_name): argument
27 def define_symbolic_value(event_name, field_name, value, field_str): argument
28 symbolic_fields[event_name][field_name]['values'][value] = field_str
30 def flag_str(event_name, field_name, value): argument
33 if flag_fields[event_name][field_name]:
35 keys = flag_fields[event_name][field_name]['values'].keys()
[all …]
/external/opencv/
Dcvjni.h231 bool is_NULL_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name, const char* field… in is_NULL_field_JavaObj() argument
239 jfieldID fid = env->GetFieldID(clazz, field_name, field_type); in is_NULL_field_JavaObj()
249 bool is_NULL_vec_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_vec_field_JavaObj() argument
250 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Vector3;"); in is_NULL_vec_field_JavaObj()
253 bool is_NULL_point_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_point_field_JavaObj() argument
254 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Point3;"); in is_NULL_point_field_JavaObj()
257 bool is_NULL_axis_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_axis_field_JavaObj() argument
258 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Axis;"); in is_NULL_axis_field_JavaObj()
261 bool is_NULL_pivot_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) { in is_NULL_pivot_field_JavaObj() argument
262 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Pivot3;"); in is_NULL_pivot_field_JavaObj()
[all …]
/external/chromium_org/base/json/
Djson_value_converter.h377 void RegisterIntField(const std::string& field_name, in RegisterIntField() argument
380 field_name, field, new internal::BasicValueConverter<int>)); in RegisterIntField()
383 void RegisterStringField(const std::string& field_name, in RegisterStringField() argument
386 field_name, field, new internal::BasicValueConverter<std::string>)); in RegisterStringField()
389 void RegisterStringField(const std::string& field_name, in RegisterStringField() argument
392 field_name, field, new internal::BasicValueConverter<string16>)); in RegisterStringField()
395 void RegisterBoolField(const std::string& field_name, in RegisterBoolField() argument
398 field_name, field, new internal::BasicValueConverter<bool>)); in RegisterBoolField()
401 void RegisterDoubleField(const std::string& field_name, in RegisterDoubleField() argument
404 field_name, field, new internal::BasicValueConverter<double>)); in RegisterDoubleField()
[all …]
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dcpp_message.py477 for field_name, field_value in kwargs.iteritems():
478 field_cdescriptor = self.__descriptors.get(field_name, None)
480 raise ValueError('Protocol message has no "%s" field.' % field_name)
483 field_name = getattr(self, field_name)
485 field_name.add().MergeFrom(val)
487 getattr(self, field_name).extend(field_value)
489 getattr(self, field_name).MergeFrom(field_value)
491 setattr(self, field_name, field_value)
518 def HasField(self, field_name): argument
519 return self._cmsg.HasField(field_name)
[all …]
Dpython_message.py310 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): argument
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): argument
595 field = singular_fields[field_name]
598 'Protocol message has no singular "%s" field.' % field_name)
[all …]
/external/linux-tools-perf/util/scripting-engines/
Dtrace-event-perl.c64 const char *field_name, in define_symbolic_value() argument
78 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_symbolic_value()
93 const char *field_name) in define_symbolic_values() argument
95 define_symbolic_value(ev_name, field_name, field->value, field->str); in define_symbolic_values()
97 define_symbolic_values(field->next, ev_name, field_name); in define_symbolic_values()
101 const char *field_name) in define_symbolic_field() argument
110 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_symbolic_field()
122 const char *field_name, in define_flag_value() argument
136 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_flag_value()
151 const char *field_name) in define_flag_values() argument
[all …]
Dtrace-event-python.c59 const char *field_name, in define_value() argument
78 PyTuple_SetItem(t, n++, PyString_FromString(field_name)); in define_value()
95 const char *field_name) in define_values() argument
97 define_value(field_type, ev_name, field_name, field->value, in define_values()
101 define_values(field_type, field->next, ev_name, field_name); in define_values()
106 const char *field_name, in define_field() argument
124 PyTuple_SetItem(t, n++, PyString_FromString(field_name)); in define_field()
/external/chromium_org/chromeos/network/onc/
Donc_validator.cc149 const std::string& field_name, in MapField() argument
154 path_.push_back(field_name); in MapField()
157 field_name, object_signature, onc_value, &current_field_unknown, error); in MapField()
159 DCHECK_EQ(field_name, path_.back()); in MapField()
164 std::string message = MessageHeader() + "Field name '" + field_name + in MapField()
254 std::string field_name; in ValidateRecommendedField() local
255 if (!(*it)->GetAsString(&field_name)) { in ValidateRecommendedField()
261 GetFieldSignature(object_signature, field_name); in ValidateRecommendedField()
278 " field '" + field_name + "' cannot be recommended."; in ValidateRecommendedField()
310 const std::string& field_name, in FieldExistsAndHasNoValidValue() argument
[all …]
Donc_validator.h117 const std::string& field_name,
164 const std::string &field_name,
168 const std::string &field_name,
173 const std::string& field_name);
Donc_mapper.cc89 const std::string& field_name, in MapField() argument
95 GetFieldSignature(object_signature, field_name); in MapField()
99 << "Found missing value signature at field '" << field_name << "'."; in MapField()
103 DVLOG(1) << "Found unknown field name: '" << field_name << "'"; in MapField()
/external/chromium_org/chromeos/network/
Dpolicy_util.cc39 std::string field_name = it.key(); in RemoveFakeCredentials() local
42 onc_object->GetWithoutPathExpansion(field_name, &value); in RemoveFakeCredentials()
50 onc::GetFieldSignature(signature, field_name); in RemoveFakeCredentials()
54 LOG(ERROR) << "ONC has unrecoginzed field: " << field_name; in RemoveFakeCredentials()
61 onc::FieldIsCredential(signature, field_name)) { in RemoveFakeCredentials()
65 onc_object->RemoveWithoutPathExpansion(field_name, NULL); in RemoveFakeCredentials()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dtext_format.cc313 string field_name; in ConsumeField() local
321 DO(ConsumeIdentifier(&field_name)); in ConsumeField()
325 field_name += "."; in ConsumeField()
326 field_name += part; in ConsumeField()
331 ? finder_->FindExtension(message, field_name) in ConsumeField()
332 : reflection->FindKnownExtensionByName(field_name)); in ConsumeField()
336 ReportError("Extension \"" + field_name + "\" is not defined or " in ConsumeField()
341 ReportWarning("Extension \"" + field_name + "\" is not defined or " in ConsumeField()
347 DO(ConsumeIdentifier(&field_name)); in ConsumeField()
349 field = descriptor->FindFieldByName(field_name); in ConsumeField()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_proxy_api_helpers.cc180 has_proxy[i] = proxy_rules->GetDictionary(keys::field_name[i], in GetProxyRulesStringFromExtensionPref()
200 keys::field_name[keys::SCHEME_ALL], keys::field_name[i]); in GetProxyRulesStringFromExtensionPref()
344 extension_proxy_rules->Set(keys::field_name[keys::SCHEME_ALL], in CreateProxyRulesDict()
350 extension_proxy_rules->Set(keys::field_name[keys::SCHEME_HTTP], in CreateProxyRulesDict()
355 keys::field_name[keys::SCHEME_HTTPS], in CreateProxyRulesDict()
359 extension_proxy_rules->Set(keys::field_name[keys::SCHEME_FTP], in CreateProxyRulesDict()
363 extension_proxy_rules->Set(keys::field_name[keys::SCHEME_FALLBACK], in CreateProxyRulesDict()
Dextension_proxy_api_constants.cc32 const char* field_name[] = { "singleProxy", variable
46 COMPILE_ASSERT(arraysize(field_name) == SCHEME_MAX + 1,
/external/chromium_org/chrome/browser/extensions/api/proxy/
Dproxy_api_constants.cc33 const char* field_name[] = { "singleProxy", variable
47 COMPILE_ASSERT(arraysize(field_name) == SCHEME_MAX + 1,
Dproxy_api_helpers.cc211 has_proxy[i] = proxy_rules->GetDictionary(keys::field_name[i], in GetProxyRulesStringFromExtensionPref()
231 keys::field_name[keys::SCHEME_ALL], keys::field_name[i]); in GetProxyRulesStringFromExtensionPref()
384 keys::field_name[keys::SCHEME_ALL], in CreateProxyRulesDict()
391 keys::field_name[keys::SCHEME_HTTP], in CreateProxyRulesDict()
396 keys::field_name[keys::SCHEME_HTTPS], in CreateProxyRulesDict()
401 keys::field_name[keys::SCHEME_FTP], in CreateProxyRulesDict()
406 keys::field_name[keys::SCHEME_FALLBACK], in CreateProxyRulesDict()
/external/flac/include/FLAC/
Dmetadata.h1756 …alue_pair(FLAC__StreamMetadata_VorbisComment_Entry *entry, const char *field_name, const char *fie…
1777 …alue_pair(const FLAC__StreamMetadata_VorbisComment_Entry entry, char **field_name, char **field_va…
1791 …ches(const FLAC__StreamMetadata_VorbisComment_Entry entry, const char *field_name, unsigned field_…
1810 …mment_find_entry_from(const FLAC__StreamMetadata *object, unsigned offset, const char *field_name);
1823 …a_object_vorbiscomment_remove_entry_matching(FLAC__StreamMetadata *object, const char *field_name);
1836 …object_vorbiscomment_remove_entries_matching(FLAC__StreamMetadata *object, const char *field_name);
/external/antlr/antlr-3.4/runtime/Perl5/t/author/
Dapi.t84 my $field_name = $java_field->name;
85 ok($class_name->can($field_name), $field_name);
/external/protobuf/python/google/protobuf/
Dmessage.py217 def HasField(self, field_name): argument
220 def ClearField(self, field_name): argument
Dreflection.py369 for field_name, field_value in kwargs.iteritems():
370 field = _GetFieldByName(message_descriptor, field_name)
373 (message_descriptor.name, field_name))
394 def _GetFieldByName(message_descriptor, field_name): argument
404 return message_descriptor.fields_by_name[field_name]
406 raise ValueError('Protocol message has no "%s" field.' % field_name)
643 def HasField(self, field_name): argument
645 field = singular_fields[field_name]
648 'Protocol message has no singular "%s" field.' % field_name)
660 def ClearField(self, field_name): argument
[all …]
/external/protobuf/src/google/protobuf/
Dtext_format.cc237 string field_name; in ConsumeField() local
243 DO(ConsumeIdentifier(&field_name)); in ConsumeField()
247 field_name += "."; in ConsumeField()
248 field_name += part; in ConsumeField()
252 field = reflection->FindKnownExtensionByName(field_name); in ConsumeField()
255 ReportError("Extension \"" + field_name + "\" is not defined or " in ConsumeField()
261 DO(ConsumeIdentifier(&field_name)); in ConsumeField()
263 field = descriptor->FindFieldByName(field_name); in ConsumeField()
268 string lower_field_name = field_name; in ConsumeField()
278 && field->message_type()->name() != field_name) { in ConsumeField()
[all …]
/external/flac/libFLAC/
Dmetadata_object.c295 …from_(const FLAC__StreamMetadata *object, unsigned offset, const char *field_name, unsigned field_… in vorbiscomment_find_entry_from_() argument
301 FLAC__ASSERT(0 != field_name); in vorbiscomment_find_entry_from_()
304 …t_vorbiscomment_entry_matches(object->data.vorbis_comment.comments[i], field_name, field_name_leng… in vorbiscomment_find_entry_from_()
1311 …alue_pair(FLAC__StreamMetadata_VorbisComment_Entry *entry, const char *field_name, const char *fie… in FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair() argument
1314 FLAC__ASSERT(0 != field_name); in FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair()
1317 if(!FLAC__format_vorbiscomment_entry_name_is_legal(field_name)) in FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair()
1323 const size_t nn = strlen(field_name); in FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair()
1328 memcpy(entry->entry, field_name, nn); in FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair()
1337 …alue_pair(const FLAC__StreamMetadata_VorbisComment_Entry entry, char **field_name, char **field_va… in FLAC__metadata_object_vorbiscomment_entry_to_name_value_pair() argument
1340 FLAC__ASSERT(0 != field_name); in FLAC__metadata_object_vorbiscomment_entry_to_name_value_pair()
[all …]
/external/chromium/chrome/browser/autofill/
Dautofill_field.cc66 std::string field_name = UTF16ToUTF8(name); in FieldSignature() local
68 std::string field_string = field_name + "&" + type; in FieldSignature()
/external/chromium_org/third_party/protobuf/python/google/protobuf/
Dmessage.py231 def HasField(self, field_name): argument
237 def ClearField(self, field_name): argument

123