/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/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...] |
/frameworks/base/core/jni/ |
core_jni_helpers.h | 33 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, 35 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); 36 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); 47 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, 49 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); 50 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name);
|
/external/libchrome/base/json/ |
json_value_converter.h | 366 void RegisterIntField(const std::string& field_name, 369 field_name, field, new internal::BasicValueConverter<int>)); 372 void RegisterStringField(const std::string& field_name, 375 field_name, field, new internal::BasicValueConverter<std::string>)); 378 void RegisterStringField(const std::string& field_name, 381 field_name, field, new internal::BasicValueConverter<string16>)); 384 void RegisterBoolField(const std::string& field_name, 387 field_name, field, new internal::BasicValueConverter<bool>)); 390 void RegisterDoubleField(const std::string& field_name, 393 field_name, field, new internal::BasicValueConverter<double>)) [all...] |
/external/tpm2/generator/ |
structure_generator.py | 148 field_name: a string, the name of the field. 171 def __init__(self, field_type, field_name, 179 field_name: Initial value for the field name attribute. 194 self.field_name = '' 197 self.field_name = field_name 217 'name': self.field_name, 236 'name': self.field_name, 343 field |field_name| in structure 'source'. 350 'name': field.field_name}) [all...] |
structure_generator_test.py | 173 self.assertEqual(tpm_obj.fields[0].field_name, 'field1') 175 self.assertEqual(tpm_obj.fields[1].field_name, 'field2') 177 self.assertEqual(tpm_obj.fields[2].field_name, 'field3') 180 self.assertEqual(tpm_obj.fields[3].field_name, 'field4') 183 self.assertEqual(tpm_obj.fields[4].field_name, 'field5') 189 self.assertEqual(tpm_obj.fields[0].field_name, 'field1') 191 self.assertEqual(tpm_obj.fields[1].field_name, 'field2')
|
/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/wpa_supplicant_8/wpa_supplicant/ |
wpas_glue.h | 26 const char *field_name, const char *txt);
|
/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/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);
|
/device/google/contexthub/firmware/inc/ |
util.h | 33 #define container_of(addr, struct_name, field_name) \ 34 ((struct_name *)((char *)(addr) - offsetof(struct_name, field_name)))
|
/external/webrtc/webrtc/system_wrappers/source/ |
field_trial_default.cc | 44 std::string field_name(trials_string, next_item, 50 if (name == field_name)
|
/external/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/webrtc/tools/python_charts/webrtc/ |
data_helper.py | 40 def CreateData(self, field_name, start_frame=0, end_frame=0): 50 field_name: String name of the field, must be present in the data 69 column and one column of the specified field_name column per data 82 column_name = '%s_%s' % (field_name, dataset_index) 83 column_type = self.table_description[field_name][0] 101 column_name = '%s_%s' % (field_name, dataset_index) 105 self.data_list[dataset_index][row_number][field_name]
|
/system/webservd/libwebserv/dbus_bindings/ |
org.chromium.WebServer.RequestHandler.dbus-xml | 27 - (s) field_name 33 - (s) field_name
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
mbim_message.py | 71 @param kwargs: Dictionary of (field_name, field_value) pairs or 105 for _, field_name, field_type in fields: 106 if field_name not in kwargs: 114 field_value = defaults.get(field_name, None) 119 field_name, cls.__name__)) 122 field_values.append(kwargs.pop(field_name)) 294 for _, field_name, field_type in fields: 296 field_names.append(field_name) 524 for field_name in self.__class__.get_field_names(get_all=True): 526 field_name, str(getattr(self, field_name)) [all...] |
/external/autotest/scheduler/shard/ |
shard_client_integration_tests.py | 69 def _local_update_field(hqe, field_name, value): 71 if field_name == 'complete': 74 **{field_name: value}) 75 setattr(hqe, field_name, value)
|
/system/tpm/trunks/generator/ |
generator.py | 523 result = Serialize_%(field_type)s(value.%(field_name)s, buffer); 531 if (arraysize(value.%(field_name)s) < %(count)s) { 535 result = Serialize_%(field_type)s(value.%(field_name)s[i], buffer); 555 &value->%(field_name)s, 564 if (arraysize(value->%(field_name)s) < %(count)s) { 570 &value->%(field_name)s[i], 627 def AddField(self, field_type, field_name): 632 field_name: The name of the field. 634 self.fields.append((field_type, FixName(field_name))) 739 field_name = self.fields[1][1 [all...] |
/external/pdfium/third_party/libtiff/ |
tif_dirinfo.c | 319 strncmp("Tag ", fld->field_name, 4) == 0) { 320 _TIFFfree(fld->field_name); [all...] |
tif_close.c | 86 strncmp("Tag ", fld->field_name, 4) == 0) { 87 _TIFFfree(fld->field_name);
|
/external/opencv3/3rdparty/libtiff/ |
tif_dirinfo.c | 303 strncmp("Tag ", fld->field_name, 4) == 0) { 304 _TIFFfree(fld->field_name); 337 int ret = strcmp(ta->field_name, tb->field_name); [all...] |
tif_close.c | 86 strncmp("Tag ", fld->field_name, 4) == 0) { 87 _TIFFfree(fld->field_name);
|
/device/google/marlin/vr/ |
vr.c | 68 ALOGI("\tfield_name = %s", instance->fields[i].field_name); 172 config->fields[0].field_name = (char*)malloc(sizeof(char)*max_string_size); 173 memset(config->fields[0].field_name, 0, sizeof(char)*max_string_size); 185 free(config->fields[0].field_name); 204 strlcpy(config->fields[0].field_name, "disable", max_string_size); 234 strlcpy(config->fields[0].field_name, "disable", max_string_size);
|
/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);
|