/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
Core.py | 17 def define_flag_field(event_name, field_name, delim): 18 flag_fields[event_name][field_name]['delim'] = delim 20 def define_flag_value(event_name, field_name, value, field_str): 21 flag_fields[event_name][field_name]['values'][value] = field_str 23 def define_symbolic_field(event_name, field_name): 27 def define_symbolic_value(event_name, field_name, value, field_str): 28 symbolic_fields[event_name][field_name]['values'][value] = field_str 30 def flag_str(event_name, field_name, value): 33 if flag_fields[event_name][field_name]: 35 keys = flag_fields[event_name][field_name]['values'].keys( [all...] |
/frameworks/base/libs/common_time/ |
common_time_server_packets.cpp | 40 #define SERIALIZE_FIELD(field_name, type, converter) \ 42 if ((offset + sizeof(field_name)) > length) \ 44 *((type*)(data + offset)) = converter(field_name); \ 45 offset += sizeof(field_name); \ 47 #define SERIALIZE_INT16(field_name) SERIALIZE_FIELD(field_name, int16_t, htons) 48 #define SERIALIZE_INT32(field_name) SERIALIZE_FIELD(field_name, int32_t, htonl) 49 #define SERIALIZE_INT64(field_name) SERIALIZE_FIELD(field_name, int64_t, htonq [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
Core.pm | 63 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/opencv/ |
cvjni.h | 231 bool is_NULL_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name, const char* field_type) {
239 jfieldID fid = env->GetFieldID(clazz, field_name, field_type);
249 bool is_NULL_vec_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) {
250 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Vector3;");
253 bool is_NULL_point_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) {
254 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Point3;");
257 bool is_NULL_axis_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) {
258 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Axis;");
261 bool is_NULL_pivot_field_JavaObj(JNIEnv* env, jobject java_obj, const char* field_name) {
262 return is_NULL_field_JavaObj(env, java_obj, field_name, "Lorg/siprop/opencv/util/Pivot3;"); [all...] |
/external/chromium_org/base/json/ |
json_value_converter.h | 377 void RegisterIntField(const std::string& field_name, 380 field_name, field, new internal::BasicValueConverter<int>)); 383 void RegisterStringField(const std::string& field_name, 386 field_name, field, new internal::BasicValueConverter<std::string>)); 389 void RegisterStringField(const std::string& field_name, 392 field_name, field, new internal::BasicValueConverter<string16>)); 395 void RegisterBoolField(const std::string& field_name, 398 field_name, field, new internal::BasicValueConverter<bool>)); 401 void RegisterDoubleField(const std::string& field_name, 404 field_name, field, new internal::BasicValueConverter<double>)) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
MixinEmitter.java | 30 private static final String FIELD_NAME = "CGLIB$DELEGATES"; 50 declare_field(Constants.ACC_PRIVATE, FIELD_NAME, Constants.TYPE_OBJECT_ARRAY, null); 57 e.putfield(FIELD_NAME); 69 e.getfield(FIELD_NAME);
|
/external/chromium_org/chrome/browser/extensions/api/proxy/ |
proxy_api_constants.cc | 33 const char* field_name[] = { "singleProxy", member in namespace:extensions::proxy_api_constants 47 COMPILE_ASSERT(arraysize(field_name) == SCHEME_MAX + 1,
|
proxy_api_constants.h | 46 extern const char* field_name[];
|
proxy_api_helpers.cc | 211 has_proxy[i] = proxy_rules->GetDictionary(keys::field_name[i], 231 keys::field_name[keys::SCHEME_ALL], keys::field_name[i]); 384 keys::field_name[keys::SCHEME_ALL], 391 keys::field_name[keys::SCHEME_HTTP], 396 keys::field_name[keys::SCHEME_HTTPS], 401 keys::field_name[keys::SCHEME_FTP], 406 keys::field_name[keys::SCHEME_FALLBACK],
|
/external/chromium_org/mojo/public/tools/bindings/generators/js_templates/ |
struct_definition.tmpl | 45 {%- set field_name = packed_field.field.name %} 47 // validate {{struct.name}}.{{field_name}} 51 // validate {{struct.name}}.{{field_name}} 55 // validate {{struct.name}}.{{field_name}} 59 // validate {{struct.name}}.{{field_name}}
|
/external/chromium_org/mojo/python/tests/ |
bindings_structs_unittest.py | 78 def _TestIntegerField(self, entity, field_name, bits, signed): 85 entity.__setattr__(field_name, min_value) 86 entity.__setattr__(field_name, max_value) 88 entity.__setattr__(field_name, None) 90 entity.__setattr__(field_name, min_value - 1) 92 entity.__setattr__(field_name, max_value + 1) 94 entity.__setattr__(field_name, 'hello world')
|
/external/antlr/antlr-3.4/runtime/Perl5/t/author/ |
api.t | 84 my $field_name = $java_field->name; 85 ok($class_name->can($field_name), $field_name);
|
/external/chromium_org/chromeos/network/onc/ |
onc_mapper.cc | 89 const std::string& field_name, 95 GetFieldSignature(object_signature, field_name); 99 << "Found missing value signature at field '" << field_name << "'."; 103 DVLOG(1) << "Found unknown field name: '" << field_name << "'";
|
onc_validator.cc | 149 const std::string& field_name, 154 path_.push_back(field_name); 157 field_name, object_signature, onc_value, ¤t_field_unknown, error); 159 DCHECK_EQ(field_name, path_.back()); 164 std::string message = MessageHeader() + "Field name '" + field_name + 254 std::string field_name; local 255 if (!(*it)->GetAsString(&field_name)) { 261 GetFieldSignature(object_signature, field_name); 278 " field '" + field_name + "' cannot be recommended."; 335 const std::string& field_name, [all...] |
onc_mapper.h | 78 // Maps the value |onc_value| of field |field_name| according to its field 80 // |found_unknown_field| to true and returns NULL if |field_name| cannot be 83 const std::string& field_name,
|
onc_validator.h | 116 // Pushes/pops the |field_name| to |path_|, otherwise like |Mapper::MapField|. 118 const std::string& field_name, 172 const std::string& field_name, 176 const std::string &field_name, 181 const std::string& field_name);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/ |
ImmutableBean.java | 35 private static final String FIELD_NAME = "CGLIB$RWBean"; 80 ce.declare_field(Constants.ACC_FINAL | Constants.ACC_PRIVATE, FIELD_NAME, targetType, null); 88 e.putfield(FIELD_NAME); 100 e.getfield(FIELD_NAME);
|
/external/chromium_org/device/nfc/ |
nfc_ndef_record_utils_chromeos.cc | 59 // Maps the field name |field_name| given as defined in NfcNdefRecord to the 63 std::string NdefRecordFieldToDBusProperty(const std::string& field_name) { 64 if (field_name == NfcNdefRecord::kFieldEncoding) 66 if (field_name == NfcNdefRecord::kFieldLanguageCode) 68 if (field_name == NfcNdefRecord::kFieldText) 70 if (field_name == NfcNdefRecord::kFieldURI) 72 if (field_name == NfcNdefRecord::kFieldMimeType) 74 if (field_name == NfcNdefRecord::kFieldTargetSize)
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
cpp_message.py | 477 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) [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/ |
trace-event-perl.c | 67 const char *field_name, 81 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); 96 const char *field_name) 98 define_symbolic_value(ev_name, field_name, field->value, field->str); 100 define_symbolic_values(field->next, ev_name, field_name); 104 const char *field_name) 113 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); 125 const char *field_name, 139 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); 154 const char *field_name) [all...] |
/external/chromium_org/chromeos/network/ |
policy_util.cc | 39 std::string field_name = it.key(); local 42 onc_object->GetWithoutPathExpansion(field_name, &value); 50 onc::GetFieldSignature(signature, field_name); 54 LOG(ERROR) << "ONC has unrecoginzed field: " << field_name; 61 onc::FieldIsCredential(signature, field_name)) { 65 onc_object->RemoveWithoutPathExpansion(field_name, NULL);
|
/hardware/intel/common/libva/test/videoprocess/ |
videoprocess.cpp | 86 read_value_string(FILE *fp, const char* field_name, char* value) 93 if (!fp || !field_name || !value) { 111 if (strncmp(field, field_name, strlen(field_name))) 131 read_value_uint8(FILE* fp, const char* field_name, uint8_t* value) 135 if (read_value_string(fp, field_name, str)) { 136 printf("Failed to find integer field: %s", field_name); 145 read_value_uint32(FILE* fp, const char* field_name, uint32_t* value) 149 if (read_value_string(fp, field_name, str)) { 150 printf("Failed to find integer field: %s", field_name); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
FieldWithLocationTest.java | 36 private static final String FIELD_NAME = "testIntField"; 93 fieldId = debuggeeWrapper.vmMirror.getFieldID(debuggeeClassId, FIELD_NAME);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
calregts.h | 88 static const char* FIELD_NAME[];
|
/external/icu/icu4c/source/test/intltest/ |
calregts.h | 88 static const char* FIELD_NAME[];
|